[rules-dev] Rule flow : Human Task and Tomcat Restart

KiranP phadatarekiran at gmail.com
Mon Apr 12 03:28:39 EDT 2010


I have a use case where i have a rule flow which has many HT's 
the problem is the web application i m creating is in continual update
process
hence it is required to be restarted again and again ...........
but whenever i restart the server and complete some the human task which 
was created before restart would not resume the flow....

I later discovered that it was b'coz of the WSHumanTaskHandler class i used
internally
creates a call back to some other method but when u restart the app-server
the handler 
itself is destroyed.........hence the call back is not done...

how i implemented...

i start the task server externally on windows machine......simply >>>>java
StartTaskServer
where in StartTaskServer just start the thread of MinaTaskServer

then i start my app-server(Tomcat in this case) which loads up my
application

then through my application i create a process........

this process contain human Tasks(say A,B,C) and which can be completed at
this time

but now if i would restart the App-server......none of my HT(A,B,C) can be
completed

thanks,

-----
Keep Working >>
KiranP
-- 
View this message in context: http://n3.nabble.com/Rule-flow-Human-Task-and-Tomcat-Restart-tp712858p712858.html
Sent from the Drools - Dev mailing list archive at Nabble.com.


More information about the rules-dev mailing list