WEB-INF/classes/some.package.Employee

If this Employee object is put in the session and then replicated across the
nodes for the given web application, the other nodes will have
ClassNotFoundExceptions when the InMemoryReplicationManager goes to
deserialize the session contents.  I see this exception in catalina.out when
the debug level for the InMemoryReplicationManager is set to 10.  

-----Original Message-----
From: Filip Hanik [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 13, 2003 11:01 AM
To: Tomcat Users List
Subject: RE: Deserializing data objects using InMemoryReplicationManager on
Tomcat cluster


I haven't seen this problem,
where is your Employee class file sitting?

Filip

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 13, 2003 8:24 AM
> To: [EMAIL PROTECTED]
> Subject: Deserializing data objects using InMemoryReplicationManager 
> on Tomcat cluster
>
>
> I have noticed when using the InMemoryReplicationManager for web 
> applications on a Tomcat cluster that you will encounter a 
> ClassNotFoundException when trying to deserialize the session contents 
> of serialized data objects specific to the web application (i.e. a 
> given web application may have an Employee class that is stored in the 
> session). Although this ClassNotFoundException is thrown by the 
> InMemoryReplicationManager, it appears that the class actually is 
> deserialized and replicated across the nodes of the cluster.
>
> My question is if this is an accurate assertion despite the 
> ClassNotFoundException?  Also, why is there a ClassNotFoundException 
> being thrown?  Is this because the InMemoryReplicationManager does not 
> use the Web Application Class Loader, Shared Class Loader, etc.?
>


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

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

Reply via email to