tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hammad Sophie" <ham...@globalnorthstar.com>
Subject RE: hot deployment questions
Date Mon, 28 Aug 2006 14:32:34 GMT
I wasn't aware of SessionManager. However, I'm not sure it will help.
Generally we are installing patches on a live server that has
transactions/activity going on while we patch. I'd like to know if its
possible for us to do a hot patch without causing any disruption to any
user. If we reload, it will cause users to lose data that they are
working on.

Hammad.

-----Original Message-----
From: Andrés González [mailto:angoro@gmail.com] 
Sent: Monday, August 28, 2006 7:11 PM
To: Tomcat Users List
Subject: Re: hot deployment questions


Only one question: why don't you want the webapp to be reloaded?

You can save your sessions easily using the Session Manager (just
insert the following in your context.xml:   <Manager
className="org.apache.catalina.session.StandardManager"/>):

http://tomcat.apache.org/tomcat-5.0-doc/config/manager.html



On 8/28/06, Hammad Sophie <hammad@globalnorthstar.com> wrote:
> Hello.
>
> I've searched through and read a number of messages related to 'hot 
> deployment'. All of them deal with hot deploying the ENTIRE webapp, 
> not just particular classes in my webapp.
>
> We use tomcat as the application server/container for our application.

> We use a single production server running a single instance of tomcat 
> on client sites. Frequently we run into a situation where a bug fix 
> must be deployed without restarting tomcat or even reloading the 
> webapp. This works well when a patch contains only JSPs. We simply 
> unzip/copy the jsps into the webapps/blah directory and tomcat 
> recompiles them itself automatically. However, alot of times, our 
> patches also contain our class files [located in 
> webapps/blah/WEB-INF/classes]. Currently we can copy these files to 
> the appropriate directory within tomcat, but they do not get picked up

> unless tomcat is restarted or the webapp redeployed. Is there any way 
> to 'hot deploy' certain classes within a webapp such that the entire 
> webapp does not reload, but only the new classes are picked up and 
> used?
>
> Thanks.
>
> Hammad.
>
>
>


-- 

-=-=-=-=-=-=-=-=-=-=-=-=-
Andrés González.

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


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


Mime
View raw message