opened
http://java.net/jira/browse/GLASSFISH-17528 with example war
included.
This is probably most basic stability bug which can application server
have. I really wonder about all people running glassfish in production
because application server will hang after number of exceptions thrown
reaches configured JDBC pool size.