Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Re: stopping-restarting Tomcat

Veniamin Fichin

2004-06-02

Replies:

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:3ca28f66@(protected)]
> Sent: Wednesday, June 02, 2004 12:53 PM
> To: Tomcat Users List
> Subject: Re: stopping-restarting Tomcat
>
> santosh.kawade@(protected):
>
>>  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: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.