JDBCStore Connection Pooling

2003-01-30 Thread Tom Anderson
insert newbie disclaimers here I have been trying to use the JDBCStore stuff and found it to be a little unstable especially when the database connections have problems (or when the database is bounced). So, I decided to make some modifications that would allow it to drop connections on

Re: JDBCStore Connection Pooling

2003-01-30 Thread Glenn Nielsen
A better solution might be to have a Store which can use a JNDI named DataSource. Then let the DataSource worry about connection pooling, etc. Glenn Tom Anderson wrote: insert newbie disclaimers here I have been trying to use the JDBCStore stuff and found it to be a little unstable especially

Re: JDBCStore Connection Pooling

2003-01-30 Thread Tom Anderson
True, that might be a better design but my motivation was for a quick fix with minimal impact to the design. On Thursday, January 30, 2003, at 01:25 PM, Glenn Nielsen wrote: A better solution might be to have a Store which can use a JNDI named DataSource. Then let the DataSource worry about

Re: JDBCStore Connection Pooling

2003-01-30 Thread Tom Anderson
In any case, here's my cvs diff -u JDBCStore.java. Index: JDBCStore.java === RCS file: /home/cvspublic/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/session/JDBCStore.java,v retrieving revision 1.8 diff -u -r1.8