2nd attempt

Is nobody useing this feature with tomcat and have some experience and
want to give me some hint?

Dietmar





[EMAIL PROTECTED] am 24.01.2003 15:57:45

Bitte antworten an "Tomcat Users List" <[EMAIL PROTECTED]>

An:    [EMAIL PROTECTED]
Kopie:
Thema: PersistentManager with FileStore


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:[EMAIL PROTECTED]>
For additional commands, e-mail: <
mailto:[EMAIL PROTECTED]>








--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to