[GLASSFISH-15503] [STRESS] JRockit: Deadlock observed from jstack with JMS PortMapper involved Created: 10/Jan/11 Updated: 19/Dec/16 Due: 18/Jan/11 Resolved: 07/Jun/13
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
Waiting for JRocket fix for bugster issues: 7011219 and 7011216
|Tags:||3_1-exclude, 3_1_1-scrubbed, 3_1_2-exclude, bj-reviewed-t3|
Details of the scenarios that shows this issue are in the parent issue: http://java.net/jira/browse/GLASSFISH-15425
Attaching the jstack.
We are not sure at this point if this is the root cause of all the issues mentioned on 15425.
|Comment by Satish Kumar [ 11/Jan/11 ]|
Nigel and I had detailed discussion on this issue, following is our analysis:
The root cause of this problem appears to be the following exception in which the "Grizzly proxy", after it has accepted a client connection in behalf of the portmapper, passes the SocketChannel to the port mapper itself.
We can only suggest that the NoClassDefFoundError is a JRockit bug (a similar NoClassDefFoundError occurs in a Shoal thread at about the same time).
The result of this exception will cause the MQ client to hang whilst reading data from the port mapper. The socket has been established but no data is being returned. As a result the application's call to createConnection() will block.
This is taking place whilst the connection pool is being enlarged. We notice that due to the connection pool holding various locks whilst this is taking place, all other connection pool activity (including closing connections) will block as well.
The JVM issue has been logged in bugster http://monaco.sfbay.sun.com/detail.jsf?cr=7011216.
There is not much we can do on this bug but to wait and watch until the JVM issue is resolved.
|Comment by Scott Fordin [ 23/Mar/11 ]|
Need more info to add issue to 3.1 Release Notes.
|Comment by Chris Kasso [ 18/Apr/11 ]|
Since JRockit is not supported in 3.1 I am removing this issue as a RN item.
|Comment by Satish Kumar [ 24/May/11 ]|
As mentioned in the status whiteboard and in the previous comment, is appears to be more of a JRockit issue. We are still waiting for the JRockit related bugster issues to be resolved- 7011219 and 7011216.
|Comment by Satish Kumar [ 08/Jul/11 ]|
Downgrading the priority of this issue to major since this is not critical for the 3.1.1 release. No further action is required here until the Jrocket issues are fixed.
|Comment by David Zhao [ 07/Jun/13 ]|
The JRockit defects were fixed in 28.2.2, so close this issue.