I Guys,
I have a server and I called to stop the server:
Acceptor.dispose(true);
But the call never come back. I don't know why:
java.lang.Thread.State: TIMED_WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x00000000f94bcd30> (a
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at
java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
at
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
at
java.util.concurrent.ThreadPoolExecutor.awaitTermination(ThreadPoolExecutor.java:1465)
at
org.apache.mina.core.service.AbstractIoService.dispose(AbstractIoService.java:307)
at
com.heidelberg.lvis.printdevice.sub.samba3.simu.DummySamba3JsonRpcServer.stop(DummySamba3JsonRpcServer.java:203)
at
test.heidelberg.lvis.printdevice.devices.TestUtilsSamba3.stopHardwareSimulation(TestUtilsSamba3.java:110)
at
test.heidelberg.lvis.printdevice.devices.Samba3HeadTemperatureTest.tearDown(Samba3HeadTemperatureTest.java:58)
I thinks, it must sure that this blocking call come back. Can you tell me in
which case this can indefinitely block?.
________________________________
Confidentiality note:
The information in this email and any attachment may contain confidential and
proprietary information of Heidelberger Druckmaschinen AG and/or its affiliates
and may be privileged or otherwise protected from disclosure. If you are not
the intended recipient, you are hereby notified that any review, reliance or
distribution by others or forwarding without express permission is strictly
prohibited and may cause liability. In case you have received this message due
to an error in transmission, we kindly ask you to notify the sender immediately
and to delete this email and any attachment from your system.