Hello Lior!
LS> with conn.close() at the bottom of each page
conn.close() at the bottom not enough, what you need
is
conn= ..
try{
}finally{
conn.close();
}
LS> and initCtx.close() to release the connections
has nothing to do with closing connections
-Anton
Hi,
I created a Tomcat connection pool (4.1.18/Win2k) which gets exhausted fairly quickly
if a user refreshes a page a few times. I have all the pages with the following
code:
-
Context initCtx = new InitialContext();
Context envCtx = (Context) initCtx.lookup("java:co