[jboss-user] [JBoss jBPM] - Not calling action handler class

kalyanikbt do-not-reply at jboss.com
Wed Mar 26 08:40:11 EDT 2008


Hi 

I am trying to create a process definition which consists of two nodes and the pd looks like this:

<process-definition
  |   xmlns="urn:jbpm.org:jpdl-3.2"  name="ExpeditorAdaptorProcess">
  |    <swimlane name="user">
  |       <assignment expression="user(ernie)"></assignment>
  |    </swimlane>
  |    <start-state name="start">
  |       <task name="Start Instance" swimlane="user">
  |          <controller>
  |             <variable name="integerValue"></variable>
  |          </controller>
  |       </task>
  |       <transition name="" to="Adaptor1"></transition>
  |    </start-state>
  |    <node name="Adaptor1">
  |       <transition name="" to="adaptor2">
  |          <action name="action1" class="com.expeditor.integration.File2DBActionHandler"></action>
  |       </transition>
  |    </node>
  |    <node name="adaptor2">
  |       <transition name="" to="end">
  |          <action name="action2" class="com.expeditor.integration.DB2JBPMActionHandler"></action>
  |       </transition>
  |    </node>
  |    <end-state name="end"></end-state>
  | </process-definition>

While deploying, every thing is fine but when the actual flow starts it is not reaching to the nodes i am getting the an error message which is as follows:


  | 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:56)
  | 	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:56)
  | 	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)
  | 
  | 

The action class which is mentioned in the processdefinition is not calling.
can any one help me in this with u r valuable suggestion.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138949#4138949

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138949



More information about the jboss-user mailing list