Here's one of the messages that leads me to believe the persistent sessions
have something to do with the intermittent errors I see.  This doesn't
happen every time I start up, but it's pretty clear that the objects I'm
placing into my session are not compatible with persistent storage.  It's
probably a good idea to make my objects conform to this requirement in the
future, but for right now, I'd like to turn this feature off.

(message is as follows...)




StandardManager[/cbb]: IOException while loading persisted sessions:
java.io.InvalidClassException: com.trams.common.DataSetDataWrapper; Local
class not compatible: stream classdesc serialVersionUID=4140097201138763762
local class serialVersionUID=394492694320362690
java.io.InvalidClassException: com.trams.common.DataSetDataWrapper; Local
class not compatible: stream classdesc serialVersionUID=4140097201138763762
local class serialVersionUID=394492694320362690
        at
java.io.ObjectStreamClass.validateLocalClass(ObjectStreamClass.java:523)
        at java.io.ObjectStreamClass.setClass(ObjectStreamClass.java:567)
        .
        .
        .




-----Original Message-----
From: Anthony Martin 
Sent: Thursday, April 18, 2002 2:44 PM
To: '[EMAIL PROTECTED]'
Subject: Occasionally get java.lang.NoClassDefFoundError


I get the exception, "java.lang.NoClassDefFoundError" from time to time
after starting Tomcat and browsing to certain Servlet mappings.  This
exception just goes away if I restart the server, but comes back the next
time I restart the server.

I have reason to believe that this is cause by persistent session objects.
If so, how do I prevent my session objects from being persistent between
shutdowns?

Any other ideas besides session persistency?


Anthony

On the other hand, you have different fingers.

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to