geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zilinchen <zilinc...@yahoo.com>
Subject Re: Geronimo 3.0 backward compatibility for JEE 5 component
Date Fri, 08 Feb 2013 01:40:57 GMT
1, var\config.xml, set load false to below 

    <module load="false"
name="org.apache.geronimo.configs/myfaces/3.0-w20120730/car"/>
    <module load="false"
name="org.apache.geronimo.configs/myfaces-deployer/3.0-w20120730/car"/>

2, package all old jars in WEB-INF\lib of my war
myfaces-api-1.2.8.jar
myfaces-impl-1.2.8.jar
jstl-1.2-1.jar
etc.

3, add listener definition in web.xml (otherwise complaint for that)

<listener>
 
<listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
</listener>

Now It can be dployed and loaded successfully, but after Form-Login
from index.jsp, get exception as below

2013-02-07 17:26:44,511 ERROR [compiler] Compiler Initialization Error
java.io.FileNotFoundException: JAR entry META-INF/ not found in
C:\devtools\WasCEDV\repository\asm\asm-all\3.2\asm-all-3.2.jar
	at
sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:133)
	at
sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:82)
	at com.sun.facelets.util.Classpath.search(Classpath.java:69)
	at
com.sun.facelets.compiler.TagLibraryConfig.loadImplicit(TagLibraryConfig.java:428)
	at com.sun.facelets.compiler.Compiler.initialize(Compiler.java:87)
	at com.sun.facelets.compiler.Compiler.compile(Compiler.java:104)
	at
com.sun.facelets.impl.DefaultFaceletFactory.createFacelet(DefaultFaceletFactory.java:218)
	at
com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:149)
	at
com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:100)
	at
com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:517)
	at
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:567)
	at
org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
	at
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:155)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
	at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:471)
	at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:402)
	at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:329)
	at
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:745)
	at
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:716)
	at org.apache.jsp.start_jsp._jspService(start_jsp.java:71)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
	at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
	at
org.apache.geronimo.tomcat.security.SecurityValve.invoke(SecurityValve.java:89)
	at
org.apache.geronimo.tomcat.security.jacc.JACCSecurityValve.invoke(JACCSecurityValve.java:54)
	at
org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:731)
	at
org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:48)
	at
org.apache.geronimo.tomcat.valve.ProtectedTargetValve.invoke(ProtectedTargetValve.java:53)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
	at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
	at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
	at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
	at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
	at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:267)
	at
org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(ThreadPool.java:397)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:896)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
	at java.lang.Thread.run(Thread.java:735)
2013-02-07 17:26:44,572 ERROR [viewhandler] Error Rendering View[/index.jsp]
java.lang.NullPointerException
	at
com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
	at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
	at com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95)
	at
com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:524)
	at
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:567)
	at
org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
	at
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:155)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
	at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:471)
	at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:402)
	at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:329)
	at
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:745)
	at
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:716)
	at org.apache.jsp.start_jsp._jspService(start_jsp.java:71)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
	at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
	at
org.apache.geronimo.tomcat.security.SecurityValve.invoke(SecurityValve.java:89)
	at
org.apache.geronimo.tomcat.security.jacc.JACCSecurityValve.invoke(JACCSecurityValve.java:54)
	at
org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:731)
	at
org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:48)
	at
org.apache.geronimo.tomcat.valve.ProtectedTargetValve.invoke(ProtectedTargetValve.java:53)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
	at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
	at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
	at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
	at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
	at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:267)
	at
org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(ThreadPool.java:397)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:896)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
	at java.lang.Thread.run(Thread.java:735)
2013-02-07 17:26:44,575 ERROR [[Faces Servlet]] Servlet.service() for
servlet Faces Servlet threw exception




--
View this message in context: http://apache-geronimo.328035.n3.nabble.com/Geronimo-3-0-backward-compatibility-for-JEE-5-component-tp3986278p3986296.html
Sent from the Users mailing list archive at Nabble.com.

Mime
View raw message