7 Replies Latest reply on Oct 20, 2008 8:00 AM by Eli Hadad

    Default JBoss Tools Seam Web Project crashes with 2.1.0.CR1

    Leandro Hermida Newbie

      Hello,


      I have experimented using JBoss Tools and Eclipse and the Seam Web Project Wizard to create a dynamic web project using Seam 2.1.0.CR1 picked as my Seam home when asked in the wizard. I picked EAR deployment.  Everything created successfully and synchronized to my JBoss 4.2.3.GA deploy dir.  Then when I startup JBoss from within Eclipse the EAR deploys correctly but when you then use a browser to go to the home page you get the following error after it loads the taglibs:



      "14:26:05,014 INFO  [Contexts] starting up: org.jboss.seam.security.identity
      14:26:05,435 ERROR [STDERR] Oct 3, 2008 2:26:05 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/home/sysfusn/jboss/jboss-4.2.3.GA/server/default/deploy/test-ear.ear/test.war/WEB-INF/lib/jboss-seam-mail.jar!/META-INF/seam-mail.taglib.xml
      14:26:05,450 ERROR [STDERR] Oct 3, 2008 2:26:05 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/home/sysfusn/jboss/jboss-4.2.3.GA/server/default/deploy/test-ear.ear/test.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/s.taglib.xml
      14:26:05,453 ERROR [STDERR] Oct 3, 2008 2:26:05 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/home/sysfusn/jboss/jboss-4.2.3.GA/server/default/deploy/test-ear.ear/test.war/WEB-INF/lib/jboss-seam-pdf.jar!/META-INF/seam-pdf.taglib.xml
      14:26:05,472 ERROR [STDERR] Oct 3, 2008 2:26:05 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/home/sysfusn/jboss/jboss-4.2.3.GA/server/default/deploy/test-ear.ear/test.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
      14:26:05,477 ERROR [STDERR] Oct 3, 2008 2:26:05 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/home/sysfusn/jboss/jboss-4.2.3.GA/server/default/deploy/test-ear.ear/test.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml
      14:26:05,489 ERROR [STDERR] Oct 3, 2008 2:26:05 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/home/sysfusn/jboss/jboss-4.2.3.GA/server/default/deploy/test-ear.ear/test.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml
      14:26:05,500 ERROR [STDERR] Oct 3, 2008 2:26:05 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/home/sysfusn/jboss/jboss-4.2.3.GA/server/default/deploy/test-ear.ear/test.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
      14:26:05,505 ERROR [STDERR] Oct 3, 2008 2:26:05 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/home/sysfusn/jboss/jboss-4.2.3.GA/server/default/deploy/test-ear.ear/test.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml
      14:26:05,519 ERROR [STDERR] Oct 3, 2008 2:26:05 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/home/sysfusn/jboss/jboss-4.2.3.GA/server/default/deploy/test-ear.ear/test.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/a4j.taglib.xml
      14:26:05,523 ERROR [STDERR] Oct 3, 2008 2:26:05 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/home/sysfusn/jboss/jboss-4.2.3.GA/server/default/deploy/test-ear.ear/test.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/ajax4jsf.taglib.xml
      14:26:05,527 ERROR [STDERR] Oct 3, 2008 2:26:05 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/home/sysfusn/jboss/jboss-4.2.3.GA/server/default/deploy/test-ear.ear/test.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/jsp.taglib.xml
      14:26:05,565 ERROR [STDERR] Oct 3, 2008 2:26:05 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/home/sysfusn/jboss/jboss-4.2.3.GA/server/default/deploy/test-ear.ear/test.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/rich.taglib.xml
      14:26:05,572 ERROR [STDERR] Oct 3, 2008 2:26:05 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/home/sysfusn/jboss/jboss-4.2.3.GA/server/default/deploy/test-ear.ear/test.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/richfaces.taglib.xml
      14:26:05,780 ERROR [lifecycle] JSF1054: (Phase ID: RENDER_RESPONSE 6, View ID: /home.xhtml) Exception thrown during phase execution: javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl@6cd97a79]
      14:26:05,784 WARN  [ExceptionFilter] handling uncaught exception
      javax.servlet.ServletException: Static resource not found for path /org/jboss/seam/ui/richfaces/styles.xcss
           at javax.faces.webapp.FacesServlet.service(FacesServlet.java:270)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
           at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:44)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:38)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:150)
           at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:267)
           at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:379)
           at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:506)
           at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
           at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
           at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
           at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
           at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
           at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
           at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
           at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
           at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
           at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
           at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
           at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
           at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
           at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
           at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
           at java.lang.Thread.run(Thread.java:595)
      Caused by: org.ajax4jsf.resource.ResourceNotFoundException: Static resource not found for path /org/jboss/seam/ui/richfaces/styles.xcss
           at org.ajax4jsf.resource.ResourceBuilderImpl.createStaticResource(ResourceBuilderImpl.java:454)
           at org.ajax4jsf.resource.ResourceBuilderImpl.createResource(ResourceBuilderImpl.java:256)
           at org.ajax4jsf.application.AjaxViewHandler.getResourceURL(AjaxViewHandler.java:170)
           at org.ajax4jsf.renderkit.LoadResourceRendererBase.encodeToHead(LoadResourceRendererBase.java:83)
           at org.ajax4jsf.context.ViewResources.processComponent(ViewResources.java:273)
           at org.ajax4jsf.context.ViewResources.traverse(ViewResources.java:312)
           at org.ajax4jsf.context.ViewResources.traverse(ViewResources.java:316)
           at org.ajax4jsf.context.ViewResources.processHeadResources(ViewResources.java:443)
           at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:256)
           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 javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
           ... 41 more
      14:26:05,786 WARN  [ExceptionFilter] exception root cause
      org.ajax4jsf.resource.ResourceNotFoundException: Static resource not found for path /org/jboss/seam/ui/richfaces/styles.xcss
           at org.ajax4jsf.resource.ResourceBuilderImpl.createStaticResource(ResourceBuilderImpl.java:454)
           at org.ajax4jsf.resource.ResourceBuilderImpl.createResource(ResourceBuilderImpl.java:256)
           at org.ajax4jsf.application.AjaxViewHandler.getResourceURL(AjaxViewHandler.java:170)
           at org.ajax4jsf.renderkit.LoadResourceRendererBase.encodeToHead(LoadResourceRendererBase.java:83)
           at org.ajax4jsf.context.ViewResources.processComponent(ViewResources.java:273)
           at org.ajax4jsf.context.ViewResources.traverse(ViewResources.java:312)
           at org.ajax4jsf.context.ViewResources.traverse(ViewResources.java:316)
           at org.ajax4jsf.context.ViewResources.processHeadResources(ViewResources.java:443)
           at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:256)
           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 javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
           at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:44)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:38)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:150)
           at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:267)
           at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:379)
           at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:506)
           at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
           at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
           at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
           at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
           at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
           at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
           at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
           at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
           at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
           at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
           at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
           at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
           at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
           at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
           at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
           at java.lang.Thread.run(Thread.java:595)
      14:26:05,786 WARN  [ExceptionFilter] running exception handlers
      "