You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Antony Paul <an...@gmail.com> on 2005/03/07 14:00:47 UTC

Persistence manager ClassNotFoundException during deserialization

Hi all,
    I am getting ClassNotFoundException when deserialising
arrays/Lists stored in session. It have no problem with normal objects
but have error when it is made an array or List.
    The set up is Tomcat 4.1.12 standalone. Sun J2SE 1.4.2_04. Using
Filestore persistent manager which is set in example config.
    The full stack trace is given below from catalina.out.

2005-03-07 18:22:23 CoyoteAdapter An exception or error occurred in
the container during the request processing
java.lang.IllegalStateException: Error deserializing Session
8D30D6F68AA046F5DEB574FCA3C8E06F: java.lang.ClassNotFoundException:
[Lmd.edrugstore.model.AuthenticatedWebUser;
	at org.apache.catalina.session.PersistentManagerBase.swapIn(PersistentManagerBase.java:717)
	at org.apache.catalina.session.PersistentManagerBase.findSession(PersistentManagerBase.java:593)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:173)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380)
	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
	at java.lang.Thread.run(Thread.java:534)

rgds
Antony Paul

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Persistence manager ClassNotFoundException during deserialization

Posted by Antony Paul <an...@gmail.com>.
Although I am getting a different stacktrace, I hope #19701 will solve
my issue.
Thanks for spending your valuable time for me.

On Tue, 22 Mar 2005 20:27:45 +0000, Mark Thomas <ma...@apache.org> wrote:
> It is only a guess but it looks like you have hit
> http://issues.apache.org/bugzilla/show_bug.cgi?id=19701
> 
> This was fixed in the 4.1.31 release
> 
> Mark
> 
> Antony Paul wrote:
> > I need to have a bug registered for this as I could convince my
> > manager. I searched bugzilla but could'nt find one. If anyone know the
> > relevant bug# please post it or shall I post a bug report and any one
> > close it immediately ?.
> >
> >
> > On Wed, 9 Mar 2005 15:05:13 +0530, Antony Paul <an...@gmail.com> wrote:
> >
> >>It is working in 4.1.31. Thanks for the help
> >>
> >>rgds
> >>Antony Paul
> >>
> >>
> >>On Tue, 08 Mar 2005 22:52:50 +0000, Mark Thomas <ma...@apache.org> wrote:
> >>
> >>>What happens on 4.1.31?
> >>>
> >>>Mark
> >>>
> >>>Antony Paul wrote:
> >>>
> >>>>I created a sample application and is available at
> >>>>http://geocities.com/antonypaul24/web.html . Any one can download it
> >>>>and test.
> >>>>
> >>>>rgds
> >>>>Antony Paul
> >>>>
> >>>>
> >>>>On Tue, 8 Mar 2005 10:01:13 +0530, Antony Paul <an...@gmail.com> wrote:
> >>>>
> >>>>
> >>>>>I am waiting for some knowledgeable person to answer my questions.
> >>>>>Meanwhile I will write a test application, download Tomcat source code
> >>>>>and try to debug the problem.
> >>>>>
> >>>>>rgds
> >>>>>Antony Paul
> >>>>>
> >>>>>
> >>>>>On Mon, 7 Mar 2005 18:30:47 +0530, Antony Paul <an...@gmail.com> wrote:
> >>>>>
> >>>>>
> >>>>>>Hi all,
> >>>>>>   I am getting ClassNotFoundException when deserialising
> >>>>>>arrays/Lists stored in session. It have no problem with normal objects
> >>>>>>but have error when it is made an array or List.
> >>>>>>   The set up is Tomcat 4.1.12 standalone. Sun J2SE 1.4.2_04. Using
> >>>>>>Filestore persistent manager which is set in example config.
> >>>>>>   The full stack trace is given below from catalina.out.
> >>>>>>
> >>>>>>2005-03-07 18:22:23 CoyoteAdapter An exception or error occurred in
> >>>>>>the container during the request processing
> >>>>>>java.lang.IllegalStateException: Error deserializing Session
> >>>>>>8D30D6F68AA046F5DEB574FCA3C8E06F: java.lang.ClassNotFoundException:
> >>>>>>[Lmd.edrugstore.model.AuthenticatedWebUser;
> >>>>>>       at org.apache.catalina.session.PersistentManagerBase.swapIn(PersistentManagerBase.java:717)
> >>>>>>       at org.apache.catalina.session.PersistentManagerBase.findSession(PersistentManagerBase.java:593)
> >>>>>>       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:173)
> >>>>>>       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> >>>>>>       at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
> >>>>>>       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> >>>>>>       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
> >>>>>>       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> >>>>>>       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> >>>>>>       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> >>>>>>       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
> >>>>>>       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> >>>>>>       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> >>>>>>       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> >>>>>>       at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
> >>>>>>       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
> >>>>>>       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380)
> >>>>>>       at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
> >>>>>>       at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
> >>>>>>       at java.lang.Thread.run(Thread.java:534)
> >>>>>>
> >>>>>>rgds
> >>>>>>Antony Paul
> >>>>>>
> >>>>>
> >>>>---------------------------------------------------------------------
> >>>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >>>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >>>>
> >>>>
> >>>>
> >>>
> >>>---------------------------------------------------------------------
> >>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >>>
> >>>
> >>
> >>--
> >>rgds
> >>Antony Paul
> >>http://www.geocities.com/antonypaul24/
> >>
> >
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 


-- 
rgds
Antony Paul
http://www.geocities.com/antonypaul24/

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Persistence manager ClassNotFoundException during deserialization

Posted by Mark Thomas <ma...@apache.org>.
It is only a guess but it looks like you have hit
http://issues.apache.org/bugzilla/show_bug.cgi?id=19701

This was fixed in the 4.1.31 release

Mark

Antony Paul wrote:
> I need to have a bug registered for this as I could convince my
> manager. I searched bugzilla but could'nt find one. If anyone know the
> relevant bug# please post it or shall I post a bug report and any one
> close it immediately ?.
> 
> 
> On Wed, 9 Mar 2005 15:05:13 +0530, Antony Paul <an...@gmail.com> wrote:
> 
>>It is working in 4.1.31. Thanks for the help
>>
>>rgds
>>Antony Paul
>>
>>
>>On Tue, 08 Mar 2005 22:52:50 +0000, Mark Thomas <ma...@apache.org> wrote:
>>
>>>What happens on 4.1.31?
>>>
>>>Mark
>>>
>>>Antony Paul wrote:
>>>
>>>>I created a sample application and is available at
>>>>http://geocities.com/antonypaul24/web.html . Any one can download it
>>>>and test.
>>>>
>>>>rgds
>>>>Antony Paul
>>>>
>>>>
>>>>On Tue, 8 Mar 2005 10:01:13 +0530, Antony Paul <an...@gmail.com> wrote:
>>>>
>>>>
>>>>>I am waiting for some knowledgeable person to answer my questions.
>>>>>Meanwhile I will write a test application, download Tomcat source code
>>>>>and try to debug the problem.
>>>>>
>>>>>rgds
>>>>>Antony Paul
>>>>>
>>>>>
>>>>>On Mon, 7 Mar 2005 18:30:47 +0530, Antony Paul <an...@gmail.com> wrote:
>>>>>
>>>>>
>>>>>>Hi all,
>>>>>>   I am getting ClassNotFoundException when deserialising
>>>>>>arrays/Lists stored in session. It have no problem with normal objects
>>>>>>but have error when it is made an array or List.
>>>>>>   The set up is Tomcat 4.1.12 standalone. Sun J2SE 1.4.2_04. Using
>>>>>>Filestore persistent manager which is set in example config.
>>>>>>   The full stack trace is given below from catalina.out.
>>>>>>
>>>>>>2005-03-07 18:22:23 CoyoteAdapter An exception or error occurred in
>>>>>>the container during the request processing
>>>>>>java.lang.IllegalStateException: Error deserializing Session
>>>>>>8D30D6F68AA046F5DEB574FCA3C8E06F: java.lang.ClassNotFoundException:
>>>>>>[Lmd.edrugstore.model.AuthenticatedWebUser;
>>>>>>       at org.apache.catalina.session.PersistentManagerBase.swapIn(PersistentManagerBase.java:717)
>>>>>>       at org.apache.catalina.session.PersistentManagerBase.findSession(PersistentManagerBase.java:593)
>>>>>>       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:173)
>>>>>>       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>>>>>>       at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
>>>>>>       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>>>>>>       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
>>>>>>       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>>>>>>       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>>>>>>       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>>>>>>       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
>>>>>>       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>>>>>>       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>>>>>>       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>>>>>>       at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
>>>>>>       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
>>>>>>       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380)
>>>>>>       at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
>>>>>>       at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
>>>>>>       at java.lang.Thread.run(Thread.java:534)
>>>>>>
>>>>>>rgds
>>>>>>Antony Paul
>>>>>>
>>>>>
>>>>---------------------------------------------------------------------
>>>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>>>
>>>>
>>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>>
>>>
>>
>>--
>>rgds
>>Antony Paul
>>http://www.geocities.com/antonypaul24/
>>
> 
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Persistence manager ClassNotFoundException during deserialization

Posted by Antony Paul <an...@gmail.com>.
I need to have a bug registered for this as I could convince my
manager. I searched bugzilla but could'nt find one. If anyone know the
relevant bug# please post it or shall I post a bug report and any one
close it immediately ?.


On Wed, 9 Mar 2005 15:05:13 +0530, Antony Paul <an...@gmail.com> wrote:
> It is working in 4.1.31. Thanks for the help
> 
> rgds
> Antony Paul
> 
> 
> On Tue, 08 Mar 2005 22:52:50 +0000, Mark Thomas <ma...@apache.org> wrote:
> > What happens on 4.1.31?
> >
> > Mark
> >
> > Antony Paul wrote:
> > > I created a sample application and is available at
> > > http://geocities.com/antonypaul24/web.html . Any one can download it
> > > and test.
> > >
> > > rgds
> > > Antony Paul
> > >
> > >
> > > On Tue, 8 Mar 2005 10:01:13 +0530, Antony Paul <an...@gmail.com> wrote:
> > >
> > >>I am waiting for some knowledgeable person to answer my questions.
> > >>Meanwhile I will write a test application, download Tomcat source code
> > >>and try to debug the problem.
> > >>
> > >>rgds
> > >>Antony Paul
> > >>
> > >>
> > >>On Mon, 7 Mar 2005 18:30:47 +0530, Antony Paul <an...@gmail.com> wrote:
> > >>
> > >>>Hi all,
> > >>>    I am getting ClassNotFoundException when deserialising
> > >>>arrays/Lists stored in session. It have no problem with normal objects
> > >>>but have error when it is made an array or List.
> > >>>    The set up is Tomcat 4.1.12 standalone. Sun J2SE 1.4.2_04. Using
> > >>>Filestore persistent manager which is set in example config.
> > >>>    The full stack trace is given below from catalina.out.
> > >>>
> > >>>2005-03-07 18:22:23 CoyoteAdapter An exception or error occurred in
> > >>>the container during the request processing
> > >>>java.lang.IllegalStateException: Error deserializing Session
> > >>>8D30D6F68AA046F5DEB574FCA3C8E06F: java.lang.ClassNotFoundException:
> > >>>[Lmd.edrugstore.model.AuthenticatedWebUser;
> > >>>        at org.apache.catalina.session.PersistentManagerBase.swapIn(PersistentManagerBase.java:717)
> > >>>        at org.apache.catalina.session.PersistentManagerBase.findSession(PersistentManagerBase.java:593)
> > >>>        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:173)
> > >>>        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> > >>>        at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
> > >>>        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> > >>>        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
> > >>>        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> > >>>        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> > >>>        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > >>>        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
> > >>>        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> > >>>        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> > >>>        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > >>>        at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
> > >>>        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
> > >>>        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380)
> > >>>        at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
> > >>>        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
> > >>>        at java.lang.Thread.run(Thread.java:534)
> > >>>
> > >>>rgds
> > >>>Antony Paul
> > >>>
> > >>
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> > >
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
> >
> 
> --
> rgds
> Antony Paul
> http://www.geocities.com/antonypaul24/
> 


-- 
rgds
Antony Paul
http://www.geocities.com/antonypaul24/

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Persistence manager ClassNotFoundException during deserialization

Posted by Antony Paul <an...@gmail.com>.
It is working in 4.1.31. Thanks for the help

rgds
Antony Paul


On Tue, 08 Mar 2005 22:52:50 +0000, Mark Thomas <ma...@apache.org> wrote:
> What happens on 4.1.31?
> 
> Mark
> 
> Antony Paul wrote:
> > I created a sample application and is available at
> > http://geocities.com/antonypaul24/web.html . Any one can download it
> > and test.
> >
> > rgds
> > Antony Paul
> >
> >
> > On Tue, 8 Mar 2005 10:01:13 +0530, Antony Paul <an...@gmail.com> wrote:
> >
> >>I am waiting for some knowledgeable person to answer my questions.
> >>Meanwhile I will write a test application, download Tomcat source code
> >>and try to debug the problem.
> >>
> >>rgds
> >>Antony Paul
> >>
> >>
> >>On Mon, 7 Mar 2005 18:30:47 +0530, Antony Paul <an...@gmail.com> wrote:
> >>
> >>>Hi all,
> >>>    I am getting ClassNotFoundException when deserialising
> >>>arrays/Lists stored in session. It have no problem with normal objects
> >>>but have error when it is made an array or List.
> >>>    The set up is Tomcat 4.1.12 standalone. Sun J2SE 1.4.2_04. Using
> >>>Filestore persistent manager which is set in example config.
> >>>    The full stack trace is given below from catalina.out.
> >>>
> >>>2005-03-07 18:22:23 CoyoteAdapter An exception or error occurred in
> >>>the container during the request processing
> >>>java.lang.IllegalStateException: Error deserializing Session
> >>>8D30D6F68AA046F5DEB574FCA3C8E06F: java.lang.ClassNotFoundException:
> >>>[Lmd.edrugstore.model.AuthenticatedWebUser;
> >>>        at org.apache.catalina.session.PersistentManagerBase.swapIn(PersistentManagerBase.java:717)
> >>>        at org.apache.catalina.session.PersistentManagerBase.findSession(PersistentManagerBase.java:593)
> >>>        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:173)
> >>>        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> >>>        at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
> >>>        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> >>>        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
> >>>        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> >>>        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> >>>        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> >>>        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
> >>>        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> >>>        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> >>>        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> >>>        at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
> >>>        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
> >>>        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380)
> >>>        at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
> >>>        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
> >>>        at java.lang.Thread.run(Thread.java:534)
> >>>
> >>>rgds
> >>>Antony Paul
> >>>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 


-- 
rgds
Antony Paul
http://www.geocities.com/antonypaul24/

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Persistence manager ClassNotFoundException during deserialization

Posted by Mark Thomas <ma...@apache.org>.
What happens on 4.1.31?

Mark

Antony Paul wrote:
> I created a sample application and is available at
> http://geocities.com/antonypaul24/web.html . Any one can download it
> and test.
> 
> rgds
> Antony Paul
> 
> 
> On Tue, 8 Mar 2005 10:01:13 +0530, Antony Paul <an...@gmail.com> wrote:
> 
>>I am waiting for some knowledgeable person to answer my questions.
>>Meanwhile I will write a test application, download Tomcat source code
>>and try to debug the problem.
>>
>>rgds
>>Antony Paul
>>
>>
>>On Mon, 7 Mar 2005 18:30:47 +0530, Antony Paul <an...@gmail.com> wrote:
>>
>>>Hi all,
>>>    I am getting ClassNotFoundException when deserialising
>>>arrays/Lists stored in session. It have no problem with normal objects
>>>but have error when it is made an array or List.
>>>    The set up is Tomcat 4.1.12 standalone. Sun J2SE 1.4.2_04. Using
>>>Filestore persistent manager which is set in example config.
>>>    The full stack trace is given below from catalina.out.
>>>
>>>2005-03-07 18:22:23 CoyoteAdapter An exception or error occurred in
>>>the container during the request processing
>>>java.lang.IllegalStateException: Error deserializing Session
>>>8D30D6F68AA046F5DEB574FCA3C8E06F: java.lang.ClassNotFoundException:
>>>[Lmd.edrugstore.model.AuthenticatedWebUser;
>>>        at org.apache.catalina.session.PersistentManagerBase.swapIn(PersistentManagerBase.java:717)
>>>        at org.apache.catalina.session.PersistentManagerBase.findSession(PersistentManagerBase.java:593)
>>>        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:173)
>>>        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>>>        at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
>>>        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>>>        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
>>>        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>>>        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>>>        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>>>        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
>>>        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>>>        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>>>        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>>>        at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
>>>        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
>>>        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380)
>>>        at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
>>>        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
>>>        at java.lang.Thread.run(Thread.java:534)
>>>
>>>rgds
>>>Antony Paul
>>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Persistence manager ClassNotFoundException during deserialization

Posted by Antony Paul <an...@gmail.com>.
I created a sample application and is available at
http://geocities.com/antonypaul24/web.html . Any one can download it
and test.

rgds
Antony Paul


On Tue, 8 Mar 2005 10:01:13 +0530, Antony Paul <an...@gmail.com> wrote:
> I am waiting for some knowledgeable person to answer my questions.
> Meanwhile I will write a test application, download Tomcat source code
> and try to debug the problem.
> 
> rgds
> Antony Paul
> 
> 
> On Mon, 7 Mar 2005 18:30:47 +0530, Antony Paul <an...@gmail.com> wrote:
> > Hi all,
> >     I am getting ClassNotFoundException when deserialising
> > arrays/Lists stored in session. It have no problem with normal objects
> > but have error when it is made an array or List.
> >     The set up is Tomcat 4.1.12 standalone. Sun J2SE 1.4.2_04. Using
> > Filestore persistent manager which is set in example config.
> >     The full stack trace is given below from catalina.out.
> >
> > 2005-03-07 18:22:23 CoyoteAdapter An exception or error occurred in
> > the container during the request processing
> > java.lang.IllegalStateException: Error deserializing Session
> > 8D30D6F68AA046F5DEB574FCA3C8E06F: java.lang.ClassNotFoundException:
> > [Lmd.edrugstore.model.AuthenticatedWebUser;
> >         at org.apache.catalina.session.PersistentManagerBase.swapIn(PersistentManagerBase.java:717)
> >         at org.apache.catalina.session.PersistentManagerBase.findSession(PersistentManagerBase.java:593)
> >         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:173)
> >         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> >         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
> >         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> >         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
> >         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> >         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> >         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> >         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
> >         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> >         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> >         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> >         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
> >         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
> >         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380)
> >         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
> >         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
> >         at java.lang.Thread.run(Thread.java:534)
> >
> > rgds
> > Antony Paul
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Persistence manager ClassNotFoundException during deserialization

Posted by Antony Paul <an...@gmail.com>.
I am waiting for some knowledgeable person to answer my questions.
Meanwhile I will write a test application, download Tomcat source code
and try to debug the problem.

rgds
Antony Paul


On Mon, 7 Mar 2005 18:30:47 +0530, Antony Paul <an...@gmail.com> wrote:
> Hi all,
>     I am getting ClassNotFoundException when deserialising
> arrays/Lists stored in session. It have no problem with normal objects
> but have error when it is made an array or List.
>     The set up is Tomcat 4.1.12 standalone. Sun J2SE 1.4.2_04. Using
> Filestore persistent manager which is set in example config.
>     The full stack trace is given below from catalina.out.
> 
> 2005-03-07 18:22:23 CoyoteAdapter An exception or error occurred in
> the container during the request processing
> java.lang.IllegalStateException: Error deserializing Session
> 8D30D6F68AA046F5DEB574FCA3C8E06F: java.lang.ClassNotFoundException:
> [Lmd.edrugstore.model.AuthenticatedWebUser;
>         at org.apache.catalina.session.PersistentManagerBase.swapIn(PersistentManagerBase.java:717)
>         at org.apache.catalina.session.PersistentManagerBase.findSession(PersistentManagerBase.java:593)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:173)
>         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
>         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
>         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
>         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
>         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
>         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380)
>         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
>         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
>         at java.lang.Thread.run(Thread.java:534)
> 
> rgds
> Antony Paul
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org