hi
i try to migrate jboss 4.05 to 4.2.2
i use seam 1.2.1
i tried to keep myface implementation like they said on this page
http://wiki.jboss.org/wiki/Wiki.jsp?page=Running2.6WithJBossAS4.2.xAndMyFaces
WEB-INF\web.xml
|
|
| http://java.sun.com/xml/ns/javaee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; version="2.5"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd";>
|
|
| org.jboss.seam.servlet.SeamListener
|
|
| Seam Filter
| org.jboss.seam.web.SeamFilter
|
|
| Seam Filter
| /*
|
|
| Seam Filter
| *.seam
|
|
| Ajax4jsf Filter
| ajax4jsf
| org.ajax4jsf.FastFilter
|
|
| ajax4jsf
| Faces Servlet
| REQUEST
| FORWARD
| INCLUDE
|
|
| Seam Resource Servlet
| org.jboss.seam.servlet.ResourceServlet
|
|
| Seam Resource Servlet
| /seam/resource/*
|
|
|
|
org.apache.myfaces.webapp.StartupServletContextListener
|
|
| javax.faces.STATE_SAVING_METHOD
| client
|
|
| javax.faces.DEFAULT_SUFFIX
| .xhtml
|
|
| Faces Servlet
| javax.faces.webapp.FacesServlet
| 1
|
|
| Faces Servlet
| *.do
|
|
|
| 120
|
|
|
deploy\jboss-web.deployer\conf\web.conf
|
| com.sun.faces.injectionProvider
|
org.jboss.web.jsf.integration.injection.JBossInjectionProvider
|
|
|
|
| CommonHeadersFilter
|
org.jboss.web.tomcat.filters.ReplyHeaderFilter
|
| X-Powered-By
| Servlet 2.4; JBoss-4.2.2.GA (build:
SVNTag=JBoss_4_2_2_GA date=200710221139)/Tomcat-5.5
|
|
|
|
| CommonHeadersFilter
| /*
|
|
|
|
org.jboss.web.tomcat.security.SecurityFlushSessionListener
|
|
|
|
org.apache.myfaces.webapp.StartupServletContextListener
|
|
|
| default
|
org.apache.catalina.servlets.DefaultServlet
|
| debug
| 0
|
|
| listings
| false
|
| 1
|
|
|
| jsp
| org.apache.jasper.servlet.JspServlet
|
| fork
| false
|
|
| xpoweredBy
| false
|
|
| compilerSourceVM
| 1.5
|
|
|
|engineOptionsClass
|
org.jboss.web.tomcat.service.jasper.JspServletOptions
|
|
|
|JSF standard tlds
|tagLibJar0
|jsf-libs/jsf-impl.jar
|
|
|JSTL standard tlds
|tagLibJar1
|jstl.jar
|
|
| 3
|
|
|
| default
| /
|
|
|
|
|
|
|
| jsp
| *.jsp
|
|
|
| jsp
| *.jspx
|
|
|
| 30
|
|
|
| index.html
| index.htm
| index.jsp
|
|
when i start the server, i get
| [StartupServletContextListener] Serialization provider : class
org.apache.myfaces.shared_impl.util.serial.DefaultSerialFactory
| 09:50:57,203 WARN [JspServlet] Failed to load engineOptionsClass
| java.lang.reflect.InvocationTargetException
| at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
| at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
| at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
| at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
| at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:89)
| at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
| at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
| at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4071)
| at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4375)
| at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)
| at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)
| at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at
sun.reflect.NativeMethodAccessorIm