stopping-restarting Tomcat
Hi All, Does one need to stop-restart Tomcat server every time when a servlet is changed/compiled ? The restart takes lots of time during the development and testing of web application. Is there any way to expedite this. Cheers, Santosh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: stopping-restarting Tomcat
[EMAIL PROTECTED] wrote: Does one need to stop-restart Tomcat server every time when a servlet is changed/compiled ? The restart takes lots of time during the development and testing of web application. Is there any way to expedite this. reloadable=true attribute of Context tag will do what you want. See tomcat-docs/config/context.html . - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: stopping-restarting Tomcat
Reloadable does the job only if the servlet changes, if you want to add another servlet you still have to Stop tomcat change the web.xml and start it again, afterwards the reloadable would work again. But you could workaround the web.xml problem I you enable the Invoker servlet. mfg Michael Nitschke -Original Message- From: Veniamin Fichin [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 02, 2004 12:53 PM To: Tomcat Users List Subject: Re: stopping-restarting Tomcat [EMAIL PROTECTED] wrote: Does one need to stop-restart Tomcat server every time when a servlet is changed/compiled ? The restart takes lots of time during the development and testing of web application. Is there any way to expedite this. reloadable=true attribute of Context tag will do what you want. See tomcat-docs/config/context.html . - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: stopping-restarting Tomcat
Nitschke Michael wrote: Reloadable does the job only if the servlet changes, if you want to add another servlet you still have to Stop tomcat change the web.xml and start it again, afterwards the reloadable would work again. Original question was about reloading (already deployed) servlet, so reloadable attribute is enough, but yes, when you add a new one, you should edit web.xml and restarting Tomcat or redeploy entire webapp. mfg Michael Nitschke -Original Message- From: Veniamin Fichin [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 02, 2004 12:53 PM To: Tomcat Users List Subject: Re: stopping-restarting Tomcat [EMAIL PROTECTED] wrote: Does one need to stop-restart Tomcat server every time when a servlet is changed/compiled ? The restart takes lots of time during the development and testing of web application. Is there any way to expedite this. reloadable=true attribute of Context tag will do what you want. See tomcat-docs/config/context.html . - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: stopping-restarting Tomcat
or you can use something like this http://download.com.com/3000-2417-10227362.html -- Veniamin Fichin wrote: Nitschke Michael wrote: Reloadable does the job only if the servlet changes, if you want to add another servlet you still have to Stop tomcat change the web.xml and start it again, afterwards the reloadable would work again. Original question was about reloading (already deployed) servlet, so reloadable attribute is enough, but yes, when you add a new one, you should edit web.xml and restarting Tomcat or redeploy entire webapp. mfg Michael Nitschke -Original Message- From: Veniamin Fichin [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 02, 2004 12:53 PM To: Tomcat Users List Subject: Re: stopping-restarting Tomcat [EMAIL PROTECTED] wrote: Does one need to stop-restart Tomcat server every time when a servlet is changed/compiled ? The restart takes lots of time during the development and testing of web application. Is there any way to expedite this. reloadable=true attribute of Context tag will do what you want. See tomcat-docs/config/context.html . - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]