JSF 2.0 with WebLogic 10.3.3 not working properly
raovenu Jul 22, 2015 4:27 PMHi,
We are migrating from richfaces 3.3 and JSF 1.2 to richfaces 4.5.1 and JSF 2.0 (myfaces 2.2.1). Everything seems to work fine on Tomcat 7.0.42, however when I deploy it to the server where we use WebLogic 11g(10.3.3) I am having several issues, performance is very bad on WebLogic compared to Tomcat. I have a page where when the user submits the page I do certain business logic and in some cases I display a confirm alert box asking the user to confirm. If the user confirms (i.e. clicks on OK button) I go ahead and save the changes. This works fine in Tomcat but in WebLogic this confirm alert box is displayed 12 times and then it saves my changes.
I am wondering if I am doing something wrong with WebLogic or I am missing some libraries. I would really appreciate if anyone can point me in the right direction. I am using <h:head> and <h:body> tags. I have following in my web.xml. I am using servlet version 2.5.
<web-app
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
id="nams"
version="2.5">
<servlet>
<servlet-name>Resource Servlet</servlet-name>
<servlet-class>org.richfaces.webapp.ResourceServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Resource Servlet</servlet-name>
<url-pattern>/org.richfaces.resources/*</url-pattern>
</servlet-mapping>
<context-param>
<param-name>org.richfaces.resourceOptimization.enabled</param-name>
<param-value>true</param-value>
</context-param>
Following are some of the libraries I am supplying with my web application:
myfaces-api-2.2.1.jar
myfaces-impl-2.2.1.jar
richfaces-4.5.1.final.jar
richfaces-a4j-4.5.1.final.jar
richfaces-core-4.5.1.final.jar
I can provide additional information if needed.
Thanks,
Venu