JBoss Community

restart jboss in "drain" mode

created by ian diddams in JBoss Web Services - View the full discussion

Hi all,

 

we are running jboss-as-7.1.1.Final.

 

We would like to see if it is possible to stop the jboss instance ...  BUT...  not lose any connected sessions.  That is, say we have 10 sessions connected to our instance.  We want to NOT accept any more connections but serve these 10 until they are completed - or 20 minutes anyway.

 

So is it possible to tell the jboss instance to stop in 20 minut6es time but not accept any new connections in that time, darining the instance in the interim of existing connections?

 

cheers

 

Ian

Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community