Re: JDBCStore package for Tomcat 4.x

2001-04-16 Thread Bip Thelin
"Craig R. McClanahan" wrote: > > [...] > > One of my original thoughts was along this line ... a Store should be > responsible for expiring its own swapped-out sessions. In practice, you > would have a background thread inside JDBCStore doing this for you. The > Store would also double check th

Re: JDBCStore package for Tomcat 4.x

2001-04-16 Thread Kief Morris
Bip Thelin typed the following on 12:53 PM 4/16/2001 -0700 >the processexpires() in PersistentManagerBase is looking for current >sessions then swaping them >in and checking if they're valid, if so continue else invalidate. Hmm, it shouldn't be doing this, it should only be checking the sessions

Re: JDBCStore package for Tomcat 4.x

2001-04-16 Thread Craig R. McClanahan
On Mon, 16 Apr 2001, Bip Thelin wrote: > Kief Morris wrote: > > > > [...] > > > > I think this is a good way to go about it: it looks like the table name can be >configured > > in the server.xml file. Probably the column names should also maintained as >JDBCStore > > properties for configura

Re: JDBCStore package for Tomcat 4.x

2001-04-16 Thread Bip Thelin
Kief Morris wrote: > > [...] > > I think this is a good way to go about it: it looks like the table name can be >configured > in the server.xml file. Probably the column names should also maintained as JDBCStore > properties for configurability. Yes, that's why I wrote the last email to get som

Re: JDBCStore package for Tomcat 4.x

2001-04-14 Thread Kief Morris
Bip Thelin typed the following on 03:57 PM 4/13/2001 -0700 >> - Would it be possible to parameterize the SQL statements used to >> access the database? The idea would be that we can adapt to different >> table and column names (like JDBCRealm does on the authentication side). ... >I would lik

Re: JDBCStore package for Tomcat 4.x

2001-04-13 Thread Bip Thelin
"Craig R. McClanahan" wrote: > > [...] > > - Would it be possible to flesh out the rest of the JavaDoc comments? > I would like us to maintain the high quality level of JavaDocs that > Tomcat 4 is known for :-) Done. > - Would it be possible to parameterize the SQL statements used to > ac

Re: JDBCStore package for Tomcat 4.x

2001-04-10 Thread Craig R. McClanahan
On Tue, 10 Apr 2001, Bip Thelin wrote: > "Craig R. McClanahan" wrote: > > > > [...] > > > > A couple of quick notes: > > > > - Would it be possible to flesh out the rest of the JavaDoc comments? > > I would like us to maintain the high quality level of JavaDocs that > > Tomcat 4 is known

Re: JDBCStore package for Tomcat 4.x

2001-04-10 Thread Bip Thelin
"Craig R. McClanahan" wrote: > > [...] > > A couple of quick notes: > > - Would it be possible to flesh out the rest of the JavaDoc comments? > I would like us to maintain the high quality level of JavaDocs that > Tomcat 4 is known for :-) Flesh out? As in enhance the comments? Yes that's p

Re: JDBCStore package for Tomcat 4.x

2001-04-10 Thread Craig R. McClanahan
On Sat, 7 Apr 2001, Bip Thelin wrote: > Here's the JDBCStore implementation. To use it change your server.xml to something >like: > >className="org.apache.catalina.session.PersistentManager" > debug="0" saveOnRestart="true" maxActiveSessions="1" > minIdleSwap="-1" maxIdleS

JDBCStore package for Tomcat 4.x

2001-04-07 Thread Bip Thelin
Here's the JDBCStore implementation. To use it change your server.xml to something like: You also have to create a table that has the fields id, session. And where id is a varchar field and session is a binary field, i.e. Blob. Sort of like: CREATE TABLE [dbo].[tomcat$sessions] (