a good practice would be to handle the IOException in code
//lets assume foo was initialised to a Foo class and supposedly serialised
earlier (possibly in an earlier (init()) method)
String result;
try
{
result = foo.getNewMethod()
}
catch(IOException ioe)
{
System.out.println(foo is corrupt will reconstruct..)
foo = new Foo();
result = foo.getNewMethod();
}
Viel Gluck
Martin--
---
This e-mail message (including attachments, if any) is intended for the use of
the individual or entity to which it is addressed and may contain information
that is privileged, proprietary , confidential and exempt from disclosure. If
you are not the intended recipient, you are notified that any dissemination,
distribution or copying of this communication is strictly prohibited.
---
Le présent message électronique (y compris les pièces qui y sont annexées, le
cas échéant) s'adresse au destinataire indiqué et peut contenir des
renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le
destinataire de ce document, nous vous signalons qu'il est strictement interdit
de le diffuser, de le distribuer ou de le reproduire.
- Original Message -
From: Lisa [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Saturday, February 17, 2007 1:57 PM
Subject: Re: [OT] Weird Exception thrown on startup (how to resolve?)
I think this worked. I just recursively removed every .ser file there just
to make sure:
$find . -name '*.ser' -exec rm {} \;
thanks
L
Markus Schönhaber wrote:
Lisa wrote:
What is throwing the following Exception? How to fix?
---
INFO: Filter 'sessionFilter' configured successfully
Feb 15, 2007 10:15:18 AM org.apache.catalina.session.StandardManager
doLoad
SEVERE: IOException while loading persisted sessions:
java.io.EOFException
To me, this looks as if the serialized session data got somehow corrupted.
You
could try to move the corresponding files out of the way or delete them.
By default, for each webapp the session data will be serialized to
${catalina.home}/work/Engine/Host/webapp/SESSIONS.ser
Regards
mks
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/Weird-Exception-thrown-on-startup-%28how-to-resolve-%29-tf3234967.html#a9022770
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]