6 Replies Latest reply on Jun 27, 2008 4:35 AM by Leo de Blaauw

    Jbpm-jpdl failed to launch login console in JBoss-4.0.2GA

    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(Configu
      rationLocator.java:177)
       at org.jbpm.jsf.core.config.ConfigurationLocator.handleConfiguration(ConfigurationLo
      cator.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.ja
      va:51)
       at org.jbpm.jsf.core.phase.ProcessFilePhaseListener.beforePhase(ProcessFilePhaseList
      ener.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(ApplicationFilte
      rChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.j
      ava:173)
       at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:
      672)
       at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatch
      er.java:463)
       at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.ja
      va:398)
       at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java
      :301)
       at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticato
      r.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.ja
      va: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(ApplicationFilte
      rChain.java:275)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.j
      ava:173)
       at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:
      672)
       at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatch
      er.java:463)
       at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.ja
      va:398)
       at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java
      :301)
       at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticato
      r.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.ja
      va: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