Re: ClassCastException on cluster deserialization

2006-05-23 Thread Jean-Christophe Praud
Hi, I've upgraded with your JAR, and corrected some bugs in my SessionListener (it only logs messages to trace session updates between nodes). It seems to work fine. Thank you all for your help :) JC Filip Hanik - Dev Lists wrote: Hi Jean-Christophe, can you try out this JAR, it sets the

Re: ClassCastException on cluster deserialization

2006-05-21 Thread Filip Hanik - Dev Lists
Hi Jean-Christophe, can you try out this JAR, it sets the context class loader upon attribute realization. http://people.apache.org/~fhanik/catalina-cluster.jar filip Jean-Christophe Praud wrote: Hi all, I'm setting up a Tomcat cluster on two servers, and I keep getting a ClassCastException

Re: ClassCastException on cluster deserialization

2006-05-21 Thread Peter Rossbach
Hmm, you are right... I see that we only set context classloader at DeltaManager.loadDeltaRequest at deserialize information Loader loader = null; ClassLoader classLoader = null; //fix to be able to run the DeltaManager //stand alone without a container.

Re: ClassCastException on cluster deserialization

2006-05-21 Thread Martin Gainty
s List" Sent: Sunday, May 21, 2006 7:58 AM Subject: Re: ClassCastException on cluster deserialization what does line ClusterAppSessionListener.java:47 do? can you send us a test case, could be possible that the context classloader isn't set, hence the loading is failing. java.lang.C

Re: ClassCastException on cluster deserialization

2006-05-21 Thread Filip Hanik - Dev Lists
what does line ClusterAppSessionListener.java:47 do? can you send us a test case, could be possible that the context classloader isn't set, hence the loading is failing. java.lang.ClassCastException: com.package1.subpackage1.GW at common.listeners.ClusterAppSessionListener.printSessionIn

Re: ClassCastException on cluster deserialization

2006-05-18 Thread Jean-Christophe Praud
No. This a specific class for my webapp. It is located in the webapp's /classes tree, and is instantiated only once per session. Tim Lucia wrote: Are there multiple copies of this class in scope (loaded by different class loaders)? I know if you have some Oracle classes in WEB-INF/lib AND in

RE: ClassCastException on cluster deserialization

2006-05-18 Thread Tim Lucia
Are there multiple copies of this class in scope (loaded by different class loaders)? I know if you have some Oracle classes in WEB-INF/lib AND in common/lib, you can get a CCE casting from a oracle.X to an oracle.X as they come from different class loaders. Tim -Original Message- From: