tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dietmar.Muel...@eurotours.at
Subject PersistentManager with FileStore
Date Fri, 24 Jan 2003 14:57:45 GMT
Hy, first sorry for my bad english!

I use 4.0.6 / jdk1.3.1 / win32.

I want to store session information on filesystem so that it is possible
for me to
restart tomcat without loosing all sessioninformations.

To start tomcat as service with my runtime parameter I use an wrapper
from "Silver Egg Technology".

In the log from the wrapper I can see follow entries.

STATUS | wrapper  | 2003/01/24 12:41:28 | --> Wrapper Started as Service
STATUS | wrapper  | 2003/01/24 12:41:28 | Launching a JVM...
INFO   | jvm 1    | 2003/01/24 12:41:29 | Wrapper (Version 2.2.6)
INFO   | jvm 1    | 2003/01/24 12:41:29 | Copyright 2000, 2001 Silver Egg Technology, Inc.
INFO   | jvm 1    | 2003/01/24 12:41:29 | All rights reserved.
INFO   | jvm 1    | 2003/01/24 12:41:29 |
INFO   | jvm 1    | 2003/01/24 12:41:30 | Starting service kbhsrv03
INFO   | jvm 1    | 2003/01/24 12:41:30 | Apache Tomcat/4.0.6
INFO   | jvm 1    | 2003/01/24 12:41:35 | Starting service Tomcat-Apache
INFO   | jvm 1    | 2003/01/24 12:41:35 | Apache Tomcat/4.0.6
INFO   | jvm 1    | 2003/01/24 12:42:31 | java.lang.NullPointerException
INFO   | jvm 1    | 2003/01/24 12:42:31 |     at org.apache.catalina.session.StoreBase.processExpires(StoreBase.java:293)
INFO   | jvm 1    | 2003/01/24 12:42:31 |     at org.apache.catalina.session.StoreBase.run(StoreBase.java:350)
INFO   | jvm 1    | 2003/01/24 12:42:31 |     at java.lang.Thread.run(Thread.java:484)

 I config the persistentmanager in the context like this:

<Manager className=
              "org.apache.catalina.session.PersistentManager"
              debug="0"
              saveOnRestart="true"
              maxActiveSessions="-1"
              minIdleSwap="-1"
              maxIdleSwap="-1"
              maxIdleBackup="-1">
              <Store className=
                  "org.apache.catalina.session.FileStore"/>
          </Manager>

I build a simple servlet to isolate the problem and I always get the error on first try from
tomcat by save the
sessions to filesystem. About 60 secondes after startup (default).

Have someone a tip.
Is my configuration wrong. I try some default parameter to change.

regards Dietmar


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message