2 Replies Latest reply on Jan 29, 2007 4:16 AM by A N

    How use jBpm with Task and JavaBean Controller?

    A N Newbie

      Hi,
      I use jBpm for implemets my workflow applications and JBoss as Application Server. Now i would like to assign for each my task nodes in the graph, one task that use variables from a JavaBean. I have configure tasks with Custom Controller and I have explain the JavaBean class path and the variables I want to use. After Deploy the process, I go to http://localhost:8080/jbpm, I login with "cookie monster" user but if I choose the process this is the result:

      _____________________________________________________________

      HTTP Status 500 -

      --------------------------------------------------------------------------------

      type Exception report

      message:

      description:
      The server encountered an internal error () that prevented it from fulfilling this request.

      exception:
      javax.servlet.ServletException: Error calling action method of component with id _id14_0:_id17
      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 _id14_0:_id17
      org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74)
      javax.faces.component.UICommand.broadcast(UICommand.java:106)
      javax.faces.component.UIData.broadcast(UIData.java:338)
      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)


      note The full stack trace of the root cause is available in the Apache Tomcat/5.5 logs.
      ____________________________________________________________

      How can I resolve my problem?

      Thank you!