Either don't call Connector.stop() twice (needs new API to know if started), or reduce
the logging level on the message it emits if stop() is called if already stopped.
From looking at the how the various TC protocols work, I don't see
how calling Connector.stop() will prevent keepalive requests on existing sockets either.
Both pause() and stop() deal with accepting sockets off the server socket and handing them
off to be handled; AFAICT they don't impact what happens with existing connections.
pause() -- pause the thread the accepts sockets off the server socket. Not good for
shutdown as it basically means connection requests will pile up on the socket rather than
promptly failing over.
stop() -- pause() plus close the server socket.
This for sure needs Remy's input.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089800#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...