4 Replies Latest reply: Apr 1, 2012 6:50 PM by jake wiliam RSS

    JBoss "Debug" (Connection Closing) Problem

    jake wiliam Newbie


      I have an application running on JBoss (4.0.5GA)+Oracle . I know there are connection leaks in the application code. For the time being i am using the "Debug" set to true which automatically closes all the open connections. I have monitored the inuseconnectioncount and things are good.

      Sometimes the inuseconnection count reaches to its maximum exhausting it and throwing the "no managed connection available within configured block" error. I have dumped the stack trace of "listinuseconnections()" and found out that all the stack traces are similar meaning they all follow the same pattern, same jsp file, same classes. Does that mean JBoss debug mode is not working for that specfic piece of code? It works on everything else on the application. Can JBoss somehow miss out the connection closing sometimes? I understand this has to been at application level, and we are doing that but just asking!