Details
-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
JBossAS-3.2.7 Final
-
None
Description
SourceForge Submitter: ejort .
org.jboss.mq.il.oil.OILServerILService
org.jboss.mq.il.uil2.UILServerILService
Closing the server socket in stopService()
does not interrupt the accept thread under java 1.3
nor does acceptThread.interrupt() if the thread is in
serverSocket.accept()
Does anybody know how to correctly interrupt a
thread that is in serverSocket.accept() under java 1.3
or is this due to crappy VM implementation?
Using SOTimeout isn't really an option since we
would have to make it a reasonable length of time
to stop it spinning.
Which means to allow a redeploy, we would have to
join the acceptThread.
This potentially means a long wait during a
redeploy or shutdown.