Paul,
Here is an extract from server.xml as shipped with TC:
<!-- PersistentManager: Uncomment the section below to test Persistent
Sessions.
saveOnRestart: If true, all active sessions will be saved
to the Store when Catalina is shutdown, regardless of
other settings. All Sessions found in the Store will be
loaded on startup. Sessions past their expiration are
ignored in both cases.
maxActiveSessions: If 0 or greater, having too many active
sessions will result in some being swapped out. minIdleSwap
limits this. -1 means unlimited sessions are allowed.
0 means sessions will almost always be swapped out after
use - this will be noticeably slow for your users.
minIdleSwap: Sessions must be idle for at least this long
(in seconds) before they will be swapped out due to
maxActiveSessions. This avoids thrashing when the site is
highly active. -1 or 0 means there is no minimum - sessions
can be swapped out at any time.
maxIdleSwap: Sessions will be swapped out if idle for this
long (in seconds). If minIdleSwap is higher, then it will
override this. This isn't exact: it is checked periodically.
-1 means sessions won't be swapped out for this reason,
although they may be swapped out for maxActiveSessions.
If set to >= 0, guarantees that all sessions found in the
Store will be loaded on startup.
maxIdleBackup: Sessions will be backed up (saved to the Store,
but left in active memory) if idle for this long (in seconds),
and all sessions found in the Store will be loaded on startup.
If set to -1 sessions will not be backed up, 0 means they
should be backed up shortly after being used.
To clear sessions from the Store, set maxActiveSessions, maxIdleSwap,
and minIdleBackup all to -1, saveOnRestart to false, then restart
Catalina.
-->
It looks like you have enabled the peristence manager.
-----Original Message-----
From: Paul Tomsic [mailto:[EMAIL PROTECTED]]
Sent: Donnerstag, 05. Dezember 2002 18:16
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: re: exception loading sessions from persistent storage?
hmm, we're not persisting anything.
Is it Tomcat that's persisting something?
Where does tomcat persist sessions when it is shut
down?
Is there a directory that it serializes sessions to?
thanks again for the help..
Paul
>Well, to be honest, I have no idea :-( What are you
trying to
>serialize? From the stack trace, seems your
persisting something do is
>not serializable...I guest you will have to list what
you are trying to
>persist ....
>-- Jeanfrancois
>Paul Tomsic wrote:
>here's the whole stack trace:
>
>2002-12-04 11:54:59 StandardManager[/cdg] Exception
>loading sessions from persistent storage
>java.io.WriteAbortedException: Writing aborted by
>exception; java.io.NotSerializableException:
>org.apache.xerces.util.DOMErrorHandlerWrapper
> at
>java.io.ObjectInputStream.readObject(ObjectInputStream.java:440)
> at
>java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2258)
> at
>java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:514)
> at
>java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1407)
> at
>java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
> at
>java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
> snip
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
--
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]>