Hello, 

I have been working with Jbpm a while now until i came across this weird 
phenomenon.. 
In my workflow there are 2 task-nodes one after the other :

   <task-node name="AdminApproves">
  |       <task name="admin approves" swimlane="admin" >
  |                     <event type="task-create">
  |                      <action class="com.adminsys.action.SetupGroupTaskAH" />
  |             </event>
  |       </task>
  |       <transition name="tr1" to="boss approves"></transition>
  |     </task-node>
  |     
  |     <task-node name="boss approves">
  |        
  |        <task name="gilias approve" swimlane="admin">
  |                     <event type="task-create">
  |                      <action class="com.adminsys.action.SetupGroupTaskAH" />
  |             </event>
  |       </task>
  |      <transition name="tr1" to="end"></transition>  
  |    </task-node> 

In the actionhandler , a JMS message is constructed and sent to a queue binded 
in JBoss' JNDI using a JMS producer class.
After some functionality, another JMS message is sent (in another queue) which 
signals that the task was completed and is supposed to continue the execution.
The MDB that listens to this queue opens a JBPM session and tries to retrieve 
the task instance of the task that is waiting (described in the message), so 
that it can call taskInstance.end();.

So the problem is the following: If i call the taskInstance.end() then the 
execution continues with transition to the next task ,and therefore trying to 
send another JMS message, so i get a 
 com.adminsys.util.ServiceLocatorException: javax.naming.NameNotFoundException: 
jms not bound 

I know it's not clearly a JBPM issue but i dont know who else to refer to.
Can anyone please help ? Am i missing out sth here ?

Any help and suggestions are welcome.

Thanks in advace,
George

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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to