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
