0 Replies Latest reply on Jan 9, 2007 7:32 AM by vaibhav kapoor

    JBoss EAR Deployment issue

    vaibhav kapoor Newbie

      I am using JBoss with MySQL for my application development. I have created the EAR file (with myapp.jar, webapp.jar and application.xml) as per the documentation. I am not getting any errors while deploying the EAR file.

      But upon accessing the application through browser, I am getting following exceptions.



      17:23:34,671 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.ADD_RESOURCE_CLASS' found, using default value org.apache.myfaces.renderkit.html.util.DefaultAdd

      Resource

      17:23:34,671 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.CHECK_EXTENSIONS_FILTER' found, using default value true

      17:23:34,671 ERROR [STDERR] javax.servlet.ServletException

      17:23:34,671 ERROR [STDERR] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:156)

      17:23:34,671 ERROR [STDERR] at com.razorsight.web.jsf.CustomerFaceServlet.service(CustomerFaceServlet.java:41)

      17:23:34,671 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)

      17:23:34,671 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

      17:23:34,671 ERROR [STDERR] at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)

      17:23:34,671 ERROR [STDERR] at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:465)

      17:23:34,671 ERROR [STDERR] at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)

      17:23:34,671 ERROR [STDERR] at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)

      17:23:34,671 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:363)

      17:23:34,687 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:284)

      17:23:34,687 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:136)

      17:23:34,687 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)

      17:23:34,687 ERROR [STDERR] at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)

      17:23:34,687 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)

      17:23:34,687 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)

      17:23:34,687 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)

      17:23:34,687 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)

      17:23:34,687 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)

      17:23:34,687 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)

      17:23:34,687 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)

      17:23:34,687 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception

      java.lang.ClassCastException: java.lang.ExceptionInInitializerError

      at com.razorsight.web.jsf.CustomerFaceServlet.service(CustomerFaceServlet.java:46)

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

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

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

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

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

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

      at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:363)

      at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:284)

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

      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)

      at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)

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

      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)

      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)

      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)

      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)

      at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)

      at java.lang.Thread.run(Thread.java:595)

      17:23:34,687 ERROR [[localhost]] Exception Processing ErrorPage[errorCode=404, location=/error-page/error404.jsf]

      java.lang.ClassCastException: java.lang.ExceptionInInitializerError

      at com.razorsight.web.jsf.CustomerFaceServlet.service(CustomerFaceServlet.java:46)

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

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

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

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

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

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

      at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:363)

      at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:284)

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

      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)

      at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)

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

      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)

      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)

      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)

      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)

      at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)

      at java.lang.Thread.run(Thread.java:595)


      This issue is really critical for me and needs to be fixed as really as posssible.

      Please do revert back if you can help me resolving it
      Thanks n Regards
      -Vaibhav