6 Replies Latest reply on Jul 19, 2007 8:49 PM by Tony Herstell

    Deployed ear file generated with seam-gen

    Joshua Jackson Master

      Hi all,

      I got this error message when deploying a generated ear file using seam-gen from Seam 1.1.0CR1.

      19:14:24,774 ERROR [SeamExceptionFilter] uncaught exception handled by Seam
      javax.servlet.ServletException: Servlet execution threw an exception
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:313)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:206)
       at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter
      .java:32)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:235)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:206)
       at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilt
      er.java:46)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:235)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:206)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
      lter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:235)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:206)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
      alve.java:228)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
      alve.java:175)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
      yAssociationValve.java:174)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
      e.java:86)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
      ava:128)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
      ava:105)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
      ve.java:109)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
      a:212)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
      :818)
       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
      ss(Http11Protocol.java:624)
       at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
      5)
       at java.lang.Thread.run(Thread.java:619)
      Caused by: java.lang.LinkageError: loader constraints violated when linking java
      x/el/ELContext class
       at com.sun.facelets.el.ELAdaptor.getELContext(ELAdaptor.java:45)
       at com.sun.facelets.impl.DefaultFaceletContext.<init>(DefaultFaceletCont
      ext.java:85)
       at com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:91)
       at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java
      :510)
       at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.jav
      a:553)
       at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePha
      se.java:133)
       at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:244)
       at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:290)
       ... 22 more
      19:14:24,774 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet
       threw exception
      java.lang.LinkageError: loader constraints violated when linking javax/el/ELCont
      ext class
       at com.sun.facelets.el.ELAdaptor.getELContext(ELAdaptor.java:45)
       at com.sun.facelets.impl.DefaultFaceletContext.<init>(DefaultFaceletCont
      ext.java:85)
       at com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:91)
       at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java
      :510)
       at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.jav
      a:553)
       at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePha
      se.java:133)
       at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:244)
       at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:290)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:206)
       at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter
      .java:32)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:235)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:206)
       at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilt
      er.java:46)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:235)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:206)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
      lter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:235)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:206)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
      alve.java:228)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
      alve.java:175)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
      yAssociationValve.java:174)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
      e.java:86)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
      ava:128)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
      ava:105)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
      ve.java:109)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
      a:212)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
      :818)
       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
      ss(Http11Protocol.java:624)
       at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
      5)
       at java.lang.Thread.run(Thread.java:619)
      


      Do I need to preconfigure any other file to get this generated file? Have anyone else been into this problem before? Is it something that is fixed in 1.1.0CR2 release?

      Thanks in advance