1 Reply Latest reply on Mar 31, 2006 7:48 AM by Thomas Heute

    EJB3 & Jboss-4.0.4

    moez moez Newbie

      Hi all,
      I am working on a J2EE applications with EJB3.
      I am using JBOSS-4.0.4 with EJB3 RC5 distribution.
      I have already deployed 2 applications:
      - the first is with hibernate.property file: I had errors and here is the stack trace:
      exeption

      javax.servlet.ServletException: Servlet.init() for servlet action threw exception
      org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54)
      org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174)
      org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
      org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
      org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
      org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
      java.lang.Thread.run(Thread.java:595)

      root cause


      java.lang.NoClassDefFoundError: org/apache/commons/validator/ValidatorResources
      org.apache.struts.validator.ValidatorPlugIn.initResources(ValidatorPlugIn.java:233)
      org.apache.struts.validator.ValidatorPlugIn.init(ValidatorPlugIn.java:164)
      org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:839)
      org.apache.struts.action.ActionServlet.init(ActionServlet.java:332)
      javax.servlet.GenericServlet.init(GenericServlet.java:211)
      org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54)
      org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174)
      org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
      org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
      org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
      org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
      java.lang.Thread.run(Thread.java:595)

      - the second is with persistance.xml file: Unfortunately I can have no display.

      Please if any one of you could help me, do not hesitate to contact me.
      Thank you in advance.