Integrate weblogic10 jsf1.2 hibernate3 in Windows

Source: Internet
Author: User

The solution is as follows:

 

1. The function XXX must be used with a prefix when a default namespace is not specified

The prefix of the XXX method is not indicated in the default life cycle.
Example: <RICH: datatable value = "# {tablebean. XXX ()}">
There are two solutions. 1. Replace Tomcat 6 with Tomcat 7.
2. tablebean. XXX (). Here, XXX () is a method, and a data source is returned. The method is to bind the attribute directly without binding the method.
Value = {tablebean. xxx}


2. servlet response already use stream, writer not possible
WebLogic 10 only supports JSF 1.2 or MyFaces 1.1.
Solution: replace JSF 1.2 with three packages under wlserver_10.3 \ common \ deployable-libraries \ jsf-1.2 \ WEB-INF \ Lib

3.org. hibernate. hql. Ast. hqltoken

1. The problem is that the jar package conflict hibernate3 requires antlr-2.7.6.jar support, while in weblogic10.3 my installation directory
There are two jar files under "D:/BEA/modules" (com. Bea. Core. antl_2.7.7.jar, Com. Bea. Core. anlr. runtime_2.7.7.jar)
Conflicts with the jar (antlr-2.7.6.jar) package in the project. Delete com. Bea. Core. anlr. runtime_2.7.7.jar and copy the antlr-2.7.6.jar
D:/BEA/modules

Open the setdomainenv. CMD or startweblogic. CMD file and find

Set pre_classpath = % domain_home %/lib/antlr-2.7.6.jar;

Add set classpath = % pre_classpath %; % save_classpath % ath %

 

2. Method 2: The experiment proves that you do not need to modify anything. Simply delete D:/BEA/modules/COM. Bea. Core. anlr. runtime_2.7.7.jar.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.