Re: [PATCH] JDBCStore-howto.html Updated
The JDBCStore-howto.html document is in catalina/docs.But I see that manager.xml is NOT up-to-date (does not document the "app" column in JDBCStore). Also, many of the attributes that are listed as required actually have default values. And, shouldn't the example of the created table contain the default column names? Here is a patch to manager.xml with my corrections. Take it for what it's worth. ;-) ~Tom On Monday, August 25, 2003, at 05:13 PM, Glenn Nielsen wrote: Thanks for the patch Tom. I don't see where we include this document in our release docs anymore. The JDBCStore is documented in /webapps/tomcat-docs/config/manager.xml . And those docs are up to date. Perhaps this file should be removed from CVS. Regards, Glenn Tom Anderson wrote: I noticed that the JDBCStore-howto.html no longer reflects reality so I updated it. Here's my patch. ~Tom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [PATCH] JDBCStore-howto.html Updated
Thanks for the patch Tom. I don't see where we include this document in our release docs anymore. The JDBCStore is documented in /webapps/tomcat-docs/config/manager.xml . And those docs are up to date. Perhaps this file should be removed from CVS. Regards, Glenn Tom Anderson wrote: I noticed that the JDBCStore-howto.html no longer reflects reality so I updated it. Here's my patch. ~Tom Index: JDBCStore-howto.html === RCS file: /home/cvspublic/jakarta-tomcat-4.0/catalina/docs/JDBCStore-howto.html,v retrieving revision 1.1 diff -u -r1.1 JDBCStore-howto.html --- JDBCStore-howto.html27 Apr 2001 22:11:03 - 1.1 +++ JDBCStore-howto.html25 Aug 2003 21:46:33 - @@ -44,6 +44,7 @@ create table tomcat$sessions ( id varchar(100) not null primary key, +app varchar(100) not null, valid char(1) not null, maxinactive int not null, lastaccess bigint, @@ -75,6 +76,7 @@ mysql> create table tomcat$sessions -> ( -> id varchar(100) not null primary key, +-> app varchar(100) not null, -> valid char(1) not null, -> maxinactive int not null, -> lastaccess bigint, @@ -109,6 +111,7 @@ connectionURL="jdbc:mysql://localhost/tomcat?user=test&password=test" sessionTable="tomcat$sessions" sessionIdCol="id" +sessionAppCol="app" sessionDataCol="data" sessionValidCol="valid" sessionMaxInactiveCol="maxinactive" @@ -155,6 +158,11 @@ sessionIdCol The column in the session table that contains the session ID + + + +sessionAppCol + The column in the session table that identifies the webapp (built from Engine, Host and Context). - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[PATCH] JDBCStore-howto.html Updated
I noticed that the JDBCStore-howto.html no longer reflects reality so I updated it. Here's my patch. ~Tom Index: JDBCStore-howto.html === RCS file: /home/cvspublic/jakarta-tomcat-4.0/catalina/docs/JDBCStore-howto.html,v retrieving revision 1.1 diff -u -r1.1 JDBCStore-howto.html --- JDBCStore-howto.html27 Apr 2001 22:11:03 - 1.1 +++ JDBCStore-howto.html25 Aug 2003 21:46:33 - @@ -44,6 +44,7 @@ create table tomcat$sessions ( id varchar(100) not null primary key, +app varchar(100) not null, valid char(1) not null, maxinactive int not null, lastaccess bigint, @@ -75,6 +76,7 @@ mysql> create table tomcat$sessions -> ( -> id varchar(100) not null primary key, +-> app varchar(100) not null, -> valid char(1) not null, -> maxinactive int not null, -> lastaccess bigint, @@ -109,6 +111,7 @@ connectionURL="jdbc:mysql://localhost/tomcat?user=test&password=test" sessionTable="tomcat$sessions" sessionIdCol="id" +sessionAppCol="app" sessionDataCol="data" sessionValidCol="valid" sessionMaxInactiveCol="maxinactive" @@ -155,6 +158,11 @@ sessionIdCol The column in the session table that contains the session ID + + + +sessionAppCol + The column in the session table that identifies the webapp (built from Engine, Host and Context). - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]