We have a jboss 7 instance running and hosting a web application. JMX remote has been turned on with username/password authentication and we are able to connect to it fine. Kindly not we are using Jboss/bin/jconsole.bat to connect. However at times we notice after the following 2 cases it stops allowing any more connections to jmx unless we restart the jboss server. the cases are 1) we attempt a heap dump of the JVM using jconsole 2) We invoke a softreset method on a c3p0 datasource object that has been exposed via spring JMX
Not necessarily after doing any of the 2 it will always stop working. At times it stops taking new connections after trying one heap dump or at times after 3-4 successful attempts. Any clue on this random behaviour of jconsole?