1 Reply Latest reply on Jul 5, 2006 3:14 PM by aguizar

    How do I make jbpm web admin console to work in jbpm-bpel?

    jiehuan_li

      I installed jbpm-3.1.1 on jboss as 4.0.4 GA patch 1, and it worked fine after I updated ehcache-1.1 to ehcache-1.2 under jbpm.sar. I was able to launch the jbpm web app at http://localhost:8080/jbpm to run the demo app and to monitor processes, however the administration tab gives a page with only the word "TODO" on it. Then I copied jbpm-bpel-1.1-beta1.sar to deploy directory, things in bpel works fine, but when I try to access http://localhost:8080/jbpm again, it throws the following exception:

      14:03:08,869 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
      java.lang.NullPointerException
       at org.jbpm.JbpmContext.setActorId(JbpmContext.java:459)
       at org.jbpm.web.JbpmContextFilter.doFilter(JbpmContextFilter.java:81)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
       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: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)
      


      I wonder what I need to do to make both jbpm app and jbpm-bpel work together. The deeper reason for me to ask this is that I may have dead processes hanging in jbpm-bpel due to unavailable web services at run-time and I'll have to manually push things through to end the processes. Jbpm web admin console seems to allow me to do the manual push through, but I haven't been able to make it work with jbpm-bpel. Any help would be highly appreciated.

      Jiehuan