I use JBoss 3.0.6 with Jetty .
I Have configured an Oracle Pool Connection.
My problem is that everytime I get a Connection:
Context initCtx = new InitialContext();
Context envCtx = (Context) initCtx.lookup("java:comp/env");
// Look up our data source
DataSource MyDS = (DataSource) envCtx.lookup("jdbc/MyDS");
conn = MyDS.getConnection();
The number of available connection
AvailableConnectionCount decrease of 1
but if I close the connection :
This number doesn't increase.
I had forgotten that in my jsp there
was an inclusion file with a Connection...that I hadn't closed...
So now it's all right...