jemmerling [https://community.jboss.org/people/jemmerling] created the 
discussion

"Re: Using jbpm-human-task-war.war instead of DemoTaskService.class"

To view the discussion, visit: https://community.jboss.org/message/649519#649519

--------------------------------------------------------------
Although I haven't tried it, I think the simple answer is that you would kill 
the Demo Task Server. This is the reason:

Looking at the code for the WAR, I can see that it launches an instance of 
MinaTaskServer. If you look at the code for MinaTaskServer, I believe you will 
see that it is hard-coded to listen at port 9123. To put this in perspective, I 
believe this can be considered an example of "by convention" behavior as I 
believe this port number can be overridden however it doesn't require you to 
specify it, it will just listen at port 9123 "by convention".

So this seems to all be good, however, I don't think the WAR is a good 
deployment solution because it creates its own thread which is not managed by 
the Servlet Container - this could make life unpleasant when wanting to stop 
and start if using the Admin Console, etc.

Hope this helps!

--JE
--------------------------------------------------------------

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

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

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to