[jboss-dev-forums] [JBoss AS7 Development] - Re: ServerManager-Server(-ProcessManager) communication
Kabir Khan
do-not-reply at jboss.com
Thu Oct 7 10:41:58 EDT 2010
Kabir Khan [http://community.jboss.org/people/kabir.khan%40jboss.com] created the discussion
"Re: ServerManager-Server(-ProcessManager) communication"
To view the discussion, visit: http://community.jboss.org/message/565384#565384
--------------------------------------------------------------
I have modified the shutdown sequence (point 5 above) so PM is in charge of shutting down the servers:
5. PM's shutdown hook
1. PM sends SHUTDOWN command to SM
2. PM sends SHUTDOWN command to each server process
Currently I am using the DefaultRespawnPolicy (http://github.com/jbossas/jboss-as/blob/master/process-manager/src/main/java/org/jboss/as/process/RespawnPolicy.java) both for
1) Respawning SM by PM
2) Respawning Servers by SM when it receives DOWN
This is wrong for SM since DRS gives up after 15 times, so that needs replacing with something else, how about something that respawns it after 2 seconds with an unlimited number of respawns?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/565384#565384]
Start a new discussion in JBoss AS7 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20101007/e09f4a94/attachment.html
More information about the jboss-dev-forums
mailing list