0 Replies Latest reply on Oct 10, 2006 6:07 AM by janripke

    Problems with deploying on the jbpm-server (Starterskit)

    janripke

      I downloaded the JBPM Eclipse called JBossIDE-2.0.0.Beta1-Bundle-win32 and the jbpm-starters-kit-3.1.2.

      So far so good.
      The JBPM Eclipse version works fine. Through the getting started guide i created the example proces flow and deployed it on the jbpm-server included in the jbpm-starters-kit-3.1.2.
      After that i started the webclient and executed the proces flow. It works fine. But then...

      I created a simple flow, a start-state, node and end-state. The node calls an self written actionhandler which implements the ActionHandler() class.
      In the self written handler i connect to oracle database and execute a package procedure.
      Within eclipse there is a testcase class, when executing this one everthing works fine. A connection is made and the package procedure is executed. After execution the procesflow steps to end-state and finishes the flow. Everthing works properly.

      But now, i deploy it to the jbpm-server (starterskit). I can initialize the process button after the start-state node is finished it crashes with the following error.

      javax.servlet.ServletException: Error calling action method of component with id taskform:transitionButton
      javax.faces.webapp.FacesServlet.service(FacesServlet.java:109)
      org.jbpm.webapp.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:55)
      org.jbpm.web.JbpmContextFilter.doFilter(JbpmContextFilter.java:83)
      org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)

      root cause

      javax.faces.FacesException: Error calling action method of component with id taskform:transitionButton
      org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74)
      javax.faces.component.UICommand.broadcast(UICommand.java:106)
      javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90)
      javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:164)
      org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:271)
      org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
      javax.faces.webapp.FacesServlet.service(FacesServlet.java:94)
      org.jbpm.webapp.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:55)
      org.jbpm.web.JbpmContextFilter.doFilter(JbpmContextFilter.java:83)
      org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)

      What is going here, can anyone help me out. What i'll do nothing seems to help.