0 Replies Latest reply on Jun 25, 2008 7:52 AM by Soumyajit Paul

    JBPM-3.2.2 failed to launch login console in JBoss standalon

    Soumyajit Paul Newbie

      I tried to deploy JBPM ear in 4.0.4GA.
      It deployed....
      I tried the same with 4.0.2GA
      Got following exception while launching the login console though sucessfully deployed the ear.

      2008-06-25 16:35:54,020 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/jbpm-console].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
      java.lang.NoSuchMethodError: org.w3c.dom.Element.getTextContent()Ljava/lang/String;
       at org.jbpm.jsf.core.config.ConfigurationLocator.handleAuthenticationService(ConfigurationLocator.java:177)
       at org.jbpm.jsf.core.config.ConfigurationLocator.handleConfiguration(ConfigurationLocator.java:229)
       at org.jbpm.jsf.core.config.ConfigurationLocator.searchWar(ConfigurationLocator.java:275)
       at org.jbpm.jsf.core.config.ConfigurationLocator.configure(ConfigurationLocator.java:60)
       at org.jbpm.jsf.core.config.ConfigurationLocator.getInstance(ConfigurationLocator.java:51)
       at org.jbpm.jsf.core.phase.ProcessFilePhaseListener.beforePhase(ProcessFilePhaseListener.java:45)
       at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:218)
       at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
       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:463)
       at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
       at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
       at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:238)
       at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:446)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
       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:856)
       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
       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)
      2008-06-25 16:35:54,020 WARN [org.apache.catalina.authenticator.FormAuthenticator] Unexpected error forwarding to login page
      javax.servlet.ServletException: Servlet execution threw an exception
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:275)
       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:463)
       at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
       at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
       at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:238)
       at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:446)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
       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:856)
       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
       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)
      
      


      Looked into JDK 1.5/JDK-1.4 API this method is not available. However this error is not thrown by 4.0.4 version.
      Process gets deployed from eclipse console fine.
      Following jars required during deployment of the ear.

      Hibernate 3.0 jar
      Jboss-hibernate.jar
      Jboss-backport-concurrent.jar
      Commons-io_xxx.jar
      Commons-fileupload.jar
      Commons-collections.jar

      Does anybody have an idea or tried this.
      Tell me if I am going wrong anywhere.

      Thanks in advance
      Regards
      Soumya