Commit 41f49e4d authored by afreyssin's avatar afreyssin

The call to System.runFinalization in AgentServer.stop method seems to cause deadlock with JOnAS.

Normally this call is no longer needed so we remove it.
parent 09baa376
......@@ -1668,7 +1668,10 @@ public final class AgentServer {
// Wait for the transaction manager stop
Runtime.getRuntime().gc();
System.runFinalization();
// AF: This call seems to cause deadlock with JOnAS and it is no longer needed so
// we will remove it.
// System.runFinalization();
logmon.log(BasicLevel.WARN, getName() + ", stopped at " + new Date());
} catch (Throwable t) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment