Mauricio Salatino [http://community.jboss.org/people/salaboy21] created the 
discussion

"Re: CommandBasedWSHumanTaskHandler session, client ???"

To view the discussion, visit: http://community.jboss.org/message/621036#621036

--------------------------------------------------------------
Hi Gary,
I think that you find the reason why you need to create the handlers and 
register them each time that. Runtime Handlers are not persisted with the 
session information, that means that each time that you load the session you 
need to re-register them in order to be sure that they will work for that 
runtime session. If you create a new Handler, the session is persisted and 
another thread or JVM loads the session persistend in the database the handler 
cannot be shared. 

I'm right now changing the code inside the TaskHandlers to improve it, but as 
you can see, the handler contains a task client that as soon as its created it 
tryies to reach a Human Task server. Mina was the first transport supported and 
now that we support a couple of them + the local implementation this code needs 
to be changed a little bit. As I mention, I'm working on that now and I hope to 
get it done for tomorrow.

Cheers
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/621036#621036]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to