RE: Struts and commons DBCP

2003-12-09 Thread AMIR-TAHMASSEB Marc
bre 2003 09:38 > À : Struts Users Mailing List > Objet : RE: Struts and commons DBCP > > > tomcat 3? guess that was a stone age :-) > > My second question is : do i have to close the connection > when may request > is finished ? Does this really close the connection or j

RE: Struts and commons DBCP

2003-12-09 Thread Navjot Singh
tomcat 3? guess that was a stone age :-) My second question is : do i have to close the connection when may request is finished ? Does this really close the connection or just free the object i used, but save the oracle connection open ? Yes, please close the connection. Actually, this method get

Re: Struts and commons DBCP

2003-12-09 Thread Kwok Peng Tuck
Hi Amir, If you are really using a connection pool, then calling the close method just returns it to the pool for other use. Yes, you do have to return any connection you 'borrowed' from the pool, otherwise if you don't eventually you will run out of connections that the pool can give o

Struts and commons DBCP

2003-12-09 Thread AMIR-TAHMASSEB Marc
Hi, I'm using struts 1.02 and the commons DBCP to connect my Oracle 8i database and i have some problems because sometimes my tomcat 3 fall down without any reasons and we have to restart it.   I wonder to know how work the connection with commons DBCP, more specialy what happen wen i do a ge