4 Replies Latest reply on Sep 1, 2015 3:03 AM by Sathish Kumar

    Get Available connection via java code

    Sathish Kumar Newbie

      Hi All,

       

      I am able to see the available, max used, active and idle connection in Wildfly Adminstraion console.

      So now  I want to print the available connection in WildFly 8.2.0 Final, via java code it self. Is it possible ? if it is please help me..................

      I want like the following out put printed on the console each time we get the connection and closing the connection

       

      Assume Max connection : 100

      Getting Connection : 1 , Available connection : 99

      Releasing Connection : 1 , Available connection : 100

       

       

      Thanks in advancd !