Skip to main content

Migration from glassfish v2 to v3 tp2

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
No replies
natashaafridi
Offline
Joined: 2013-05-16

Hello
My application was made on glassfish 2.1, netbeans 6.1 and jsf 1.2. I want to migrate my glassfish frm 2.1 to ve tp2 keeping the same version of netbeans 6.1 and jsf 1.2.
When i run my application on glassfish v3 tp2 it gives me the following error:
SEVERE: StandardWrapperValve[Faces Servlet]: PWC1406: Servlet.service() for servlet Faces Servlet threw exception

com.sun.rave.web.ui.appbase.ApplicationException: org.apache.jasper.JasperException: /Index.jsp(8,157) PWC6226: Could not add one or more tag libraries.

at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.cleanup(ViewHandlerImpl.java:594)

at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:325)

at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:109)

at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)

at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)

at com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.render(PartialTraversalLifecycle.java:106)

at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)

at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:333)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)

at com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:267)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:304)

at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)

at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)

at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)

at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)

at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)

at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)

at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)

at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:286)

at com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:605)

at com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:536)

at com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:785)

at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:137)

at com.sun.enterprise.v3.services.impl.HttpProtocolFilter.execute(HttpProtocolFilter.java:129)

at com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:61)

at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)

at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:75)

at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:52)

at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:54)

at com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:154)

Caused by: javax.faces.FacesException: org.apache.jasper.JasperException: /Index.jsp(8,157) PWC6226: Could not add one or more tag libraries.

at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:415)

at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:473)

at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:141)

at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:320)

... 39 more

Caused by: org.apache.jasper.JasperException: /Index.jsp(8,157) PWC6226: Could not add one or more tag libraries.

at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:78)

at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:373)

at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:130)

at org.apache.jasper.compiler.JspDocumentParser.parse(JspDocumentParser.java:255)

at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:224)

at org.apache.jasper.compiler.ParserController.parse(ParserController.java:140)

at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:200)

at org.apache.jasper.compiler.Compiler.compile(Compiler.java:425)

at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:608)

at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:360)

at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:487)

at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:381)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)

at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:871)

at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:719)

at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:558)

at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:490)

at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:382)

at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)

... 42 more

Have been working on it for two days now. Please somebody guide me.