Re: ClassNotFoundException when deserializing persisted sessions

2009-10-15 Thread Manlio Malaidini
On Wed, Oct 14, 2009 at 5:09 PM, Manlio Malaidini wrote: > I'll check bugzilla and eventually file a bug, thanks. Bug filed as 48007 https://issues.apache.org/bugzilla/show_bug.cgi?id=48007 MM - To unsubscribe, e-mail: users-u

Re: ClassNotFoundException when deserializing persisted sessions

2009-10-14 Thread Manlio Malaidini
On Wed, Oct 14, 2009 at 3:00 PM, Christopher Schultz wrote: > Hmm... would you be willing to hack Tomcat's code a bit? I would, but I'd rather not: we don't control every environment where we deploy our software, hence it may be impossible to deploy a patched version of Tomcat. > If you modify >

Re: ClassNotFoundException when deserializing persisted sessions

2009-10-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Manlio, On 10/14/2009 2:30 PM, Manlio Malaidini wrote: > On Wed, Oct 14, 2009 at 2:13 PM, Christopher Schultz > wrote: >> Oh, it looks like you are using explicit session persistence for >> /in-use/ sessions. > > Indeed. > >> I apologize for confus

Re: ClassNotFoundException when deserializing persisted sessions

2009-10-14 Thread Manlio Malaidini
On Wed, Oct 14, 2009 at 2:13 PM, Christopher Schultz wrote: > Oh, it looks like you are using explicit session persistence for > /in-use/ sessions. Indeed. > I apologize for confusing the issue: I am using > Tomcat's simple session-persistence-during-restart capabilities, which > may or may not

Re: ClassNotFoundException when deserializing persisted sessions

2009-10-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Manlio, On 10/14/2009 1:59 PM, Manlio Malaidini wrote: > On Wed, Oct 14, 2009 at 12:53 PM, Christopher Schultz > wrote: >> Is this happening in production,or only in development? > > Development. > >> Could [serialVersionId] be your problem? > > I

Re: ClassNotFoundException when deserializing persisted sessions

2009-10-14 Thread Manlio Malaidini
On Wed, Oct 14, 2009 at 12:53 PM, Christopher Schultz wrote: > Is this happening in production,or only in development? Development. A couple of words about my environment: *) Mac OS/X 10.6.1 *) JDK 1.6.0_15 *) Tomcat 5.5.27 > I ask because each Class has a serialVersionId which essentially > ver

Re: ClassNotFoundException when deserializing persisted sessions

2009-10-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Manlio, On 10/14/2009 12:30 PM, Manlio Malaidini wrote: > I've come across a problem that I haven't found a clear solution yet > (despite some extensive time spent on google & books). If you persist > sessions for example with FileStore, everything is

ClassNotFoundException when deserializing persisted sessions

2009-10-14 Thread Manlio Malaidini
Hi all, I've come across a problem that I haven't found a clear solution yet (despite some extensive time spent on google & books). If you persist sessions for example with FileStore, everything is fine & dandy except for when you start putting custom objects in the session: when I do so, I get a