[jboss-dev-forums] [Design of JBoss jBPM] - Re: Asynchronous Continuation with JBPM 3.2.2

mandrita.ca do-not-reply at jboss.com
Fri Dec 7 01:32:28 EST 2007


Hi tom,
I checked out the web.xml file of the deployed web-app and found the following entry:

        <servlet-name>JobExecutorServlet</servlet-name>
        <servlet-class>org.jbpm.job.executor.JobExecutorServlet</servlet-class>
        <load-on-startup>1</load-on-startup>
    
    <servlet-mapping>
        <servlet-name>JobExecutorServlet</servlet-name>
        <url-pattern>/jobs</url-pattern>
    </servlet-mapping>
So the job executor loads up on startup.But is there some other way I can verify the same?
One more thing I am trying the fork-join concept.As the fork node states that it splits an execution path into branches.However when i associate two tasks with the fork handler and attach two action handler for the same to print the Thread IDs i find that the Thread IDs are same and also i verified that these classes are executed on the same thread as when one branch throws an error the entire execution stops.Also as you mentioned that pending messages get inserted into the JBPM_JOB table i didn't find any entry for the two asynch nodes.
Where am i going wrong?Totally clueless...
Please help.

Thanks,
Mandrita

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

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



More information about the jboss-dev-forums mailing list