You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Greg Vilardi <gv...@recurrentsoft.com> on 2005/10/17 22:02:41 UTC

Can the manager app drop sessions on a start?

I'm running Tomcat 5.0.28 on Linux, for a development platform. After updating 
an application, Tomcat (or possibly the manager app) can't start the 
application if it has sessions pending. One of my co-workers thinks that this 
is a session serialization issue, in that our application keeps lots of non-
serialized objects in the session. (Yes, I know that this is not optimal, but 
it is within our operational parameters for reliability.) I can restart the 
application by undeploying it and then redeploying the directory. 

If the session serialization hypothesis is correct, I'd like to be able to have 
the ability to tell manager to ignore these sessions and just start the 
application. I don't think that the manager has this capability anywhere, since 
I did RTFM, but I'd be delighted to be told that I'm wrong, or if I'm right, 
I'd love to hear some thoughts on how I'd be able to code this myself. I don't 
have thorough enough knowledge of Tomcat's innards to have any idea of where to 
begin my research.

Thanks,
	-Greg
-- 
Gregory H. Vilardi    631-752-2701x240     gvilardi@recurrentsoft.com
Project Manager / Lead Software Engineer           Fax: (631)752-3397
Recurrent Software Solutions, Inc.       http://www.recurrentsoft.com
1 Huntington Quadrangle, Suite 1C02, Melville, NY 11747 


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


Re: Can the manager app drop sessions on a start?

Posted by Wendy Smoak <ja...@wendysmoak.com>.
From: "Greg Vilardi" <gv...@recurrentsoft.com>

> I'm running Tomcat 5.0.28 on Linux, for a development platform.
...
> If the session serialization hypothesis is correct, I'd like to be able to 
> have
> the ability to tell manager to ignore these sessions and just start the
> application.

Take a look at PersistentManager and 'saveOnRestart'
http://tomcat.apache.org/tomcat-5.0-doc/config/manager.html

Also: http://www.systemmobile.com/wp/?p=20

-- 
Wendy Smoak


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