Re: Hot deployment

Mark Galbreath <[email protected]>
Newsgroups gmane.comp.java.sun.servlet
Message-ID <00de01c32782$6d9d4140$6700a8c0@mgalbreathc810>
I've hot-deployed JSPs and classes with Tomcat 4.0.1, JRun 4.0, and WebLogic
6.1SP2.

Mark

-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet API
Technology. [mailto:[email protected]] On Behalf Of Affan
Qureshi
Sent: Saturday, May 31, 2003 5:30 AM
To: [email protected]
Subject: Re: Hot deployment


So no server allows deployment of my classes without reloading the WebApp
right? I heard resin compiles even your servlets when it detects they have
been modified. I would be interested in knowing about some way to redeploy
some of my classes with restarting the webapp but i guess it has to do with
how server's ClassLoader is designed and the Servlet spec has no
restrictions for that.

Thanks,
Affan

----- Original Message -----
From: "Aaron Johnson" <[email protected]>
To: <[email protected]>
Sent: Saturday, May 31, 2003 1:37 AM
Subject: Re: Hot deployment


> Hi Andy,
>
>
> > Is it possible to enable hot deployment in Jakarta Tomcat?  If so, 
> > could someone please provide some configuration instructions?
>  -- by hot deployment do you mean you want to be able to deploy a 
> class or servlet to Tomcat and have Tomcat automatically recognize the 
> new version? If yes, then checkout the 'reloadable' attribute of the 
> Context Container:
>
> http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/context.html
>
> FYI: "Set to true if you want Catalina to monitor classes in 
> /WEB-INF/classes/ and /WEB-INF/lib for changes, and automatically 
> reload
the
> web application if a change is detected. This feature is very useful
during
> application development, but it requires significant runtime overhead 
> and
is
> not recommended for use on deployed production applications. You can 
> use
the
> Manager web application, however, to trigger reloads of deployed 
> applications on demand."
>
> If you mean you want to able to hot-deploy an entire application, then 
> you'll want to check out the Manager application that comes w/ Tomcat:
>
> http://jakarta.apache.org/tomcat/tomcat-4.0-doc/manager-howto.html
>
> The manager is a web application that allows you to:
>
>  -- Deploy a new web application, on a specified context path, from a 
> specified directory or WAR file pathname.
>  -- List the currently deployed web applications, as well as the 
> sessions that are currently active for those web apps.
>  -- Cause an existing application to be reloaded.
>  -- Undeploy an existing web application.
>  -- Stop an existing application (so that it becomes unavailable), but 
> do not undeploy it.
>  -- Start a stopped application (thus making it available again).
>
> hth,
>
> AJ
>
> Aaron Johnson
> [email protected]
> http://cephas.net/blog/
>
>
___________________________________________________________________________
> To unsubscribe, send email to [email protected] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: 
> http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>

___________________________________________________________________________
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.