How to make tomcat persistant ?

View: New views
3 Messages — Rating Filter:   Alert me  

How to make tomcat persistant ?

by daulat khan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
For additional commands, e-mail: users-help@...


Re: How to make tomcat persistant ?

by Markus Schönhaber-10 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
For additional commands, e-mail: users-help@...


Re: How to make tomcat persistant ?

by daulat khan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks a lot mark.

It is fixed...

--Daulatkhan

2009/11/2 Markus Schönhaber <tomcat-users@...>:

> 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@...
> For additional commands, e-mail: users-help@...
>
>

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