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?
I *think* that's not doable, at least wrt WS. I would achieve that by having an additional host (loadbalancer or such) in front of the actual JBoss AS and rejecting new requests on that while letting the AS finish serving already in progress ones.