Hi,
just to share with you:
1.) no probems with deploymen on Oracle Weblogic 10.3 - just deploy .war as application, that's it...
2.) problems occurred with BEA Weblogic 9.23 which could be solved by doing some updated in web.xml:
a.) change "<web-app ... ...>" to simple "<web-app>"
b.) remove the CompressionFilter
A valid web.xml for 9.23 is:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<web-app>
<display-name>JSF1</display-name>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
<filter>
<filter-name>org.eclnt.jsfserver.util.ThreadingFilter</filter-name>
<filter-class>org.eclnt.jsfserver.util.ThreadingFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>org.eclnt.jsfserver.util.ThreadingFilter</filter-name>
<url-pattern>*.jsp</url-pattern>
</filter-mapping>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet id="JnlpDownloadServlet">
<servlet-name>JnlpDownloadServlet</servlet-name>
<servlet-class>jnlp.sample.servlet.JnlpDownloadServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet id="AppletStarter">
<servlet-name>AppletStarter</servlet-name>
<servlet-class>org.eclnt.jsfserver.starter.AppletStarter</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>JnlpDownloadServlet</servlet-name>
<url-pattern>*.jnlp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>AppletStarter</servlet-name>
<url-pattern>*.ccapplet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>AppletStarter</servlet-name>
<url-pattern>*.ccwebstart</url-pattern>
</servlet-mapping>
<mime-mapping>
<extension>jnlp</extension>
<mime-type>application/x-java-jnlp-file</mime-type>
</mime-mapping>
</web-app>
Björn