You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by daulat khan <da...@gmail.com> on 2009/11/02 12:29:29 UTC

How to make tomcat persistant ?

Hi,
I am developing servlet to run in tomcat 6.0.20. I need to store a
java class object in \
session. The class is not serialized. I got error message:

SEVERE: IOException while loading persisted sessions:
java.io.WriteAbortedException: \
writing aborted; java.io.NotSerializableException: (class name)

I know that tomcat use session manager to persist sessions and reload
them when \
server starts up. But I can not find where to configure it. How can I
turn it off so \
that I don't get the error message? Can anyone give some suggestion?
Thank you very \
much.


regards,
Daulatkhan

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


Re: How to make tomcat persistant ?

Posted by daulat khan <da...@gmail.com>.
Thanks a lot mark.

It is fixed...

--Daulatkhan

2009/11/2 Markus Schönhaber <to...@list-post.mks-mail.de>:
> daulat khan:
>
>> I know that tomcat use session manager to persist sessions and reload
>> them when \
>> server starts up. But I can not find where to configure it. How can I
>> turn it off so \
>> that I don't get the error message?
>
> Take a look at conf/context.xml.
>
> --
> Regards
>  mks
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

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


Re: How to make tomcat persistant ?

Posted by Markus Schönhaber <to...@list-post.mks-mail.de>.
daulat khan:

> I know that tomcat use session manager to persist sessions and reload
> them when \
> server starts up. But I can not find where to configure it. How can I
> turn it off so \
> that I don't get the error message?

Take a look at conf/context.xml.

-- 
Regards
  mks

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