You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Chuck Carson <Ch...@syrrx.com> on 2002/10/07 18:29:22 UTC

Reload Servlets/Classes

Sorry if this has been asked before, but when working in a development
environment, how can I reload newly compiled classes w/o restarting the
tomcat server?

Thanks,
CC


----------
This message contains confidential information and is intended only for
the individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and
delete this e-mail from your system. E-mail transmission cannot be
guaranteed to be secure or error-free as information could be
intercepted, corrupted, lost, destroyed, arrive late or incomplete, or
contain viruses. The sender therefore does not accept liability for any
errors or omissions in the contents of this message, which arise as a
result of e-mail transmission. If verification is required please
request a hard-copy version. 

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Reload Servlets/Classes

Posted by Padhu Vinirs <p....@verizon.net>.
I asked the same question few minutes back. One of two ways:

1. set reloadable=true for your web app context element in server.xml. 
Restart tomcat.

2. Copy the ant build.xml in tomcat-docs/appdev/sample into your web 
app, edit the build.xml for ur app and call "ant reload" everytime.


-- padhu




Chuck Carson wrote:

>Sorry if this has been asked before, but when working in a development
>environment, how can I reload newly compiled classes w/o restarting the
>tomcat server?
>
>Thanks,
>CC
>
>
>----------
>This message contains confidential information and is intended only for
>the individual named. If you are not the named addressee you should not
>disseminate, distribute or copy this e-mail. Please notify the sender
>immediately by e-mail if you have received this e-mail by mistake and
>delete this e-mail from your system. E-mail transmission cannot be
>guaranteed to be secure or error-free as information could be
>intercepted, corrupted, lost, destroyed, arrive late or incomplete, or
>contain viruses. The sender therefore does not accept liability for any
>errors or omissions in the contents of this message, which arise as a
>result of e-mail transmission. If verification is required please
>request a hard-copy version. 
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>  
>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>