Very helpfull! Specially when you are developing. Thank you. Mauro
On Fri, 13 Sep 2002, Miguel Angel Mulero Martinez wrote: > Make a backup of tour server.xml file. Open your server.xml file. Inside the > <host>...</host> you will see some <context...>. Make another similar. > To create a context for your webapp, put something like this: > > <Context path="/ceeieuropa" docBase="D:/Mulero/Mis > documentos/forte/miproyecto" reloadable="true" /> > > Whith this line, you map: http://localhost:8080/ceeiuropa to the directory > specified. > > I think you have used the ROOT directory, so search the line: > > <Context path="" docBase="ROOT" debug="0" /> > > and change it for: > > <Context path="" docBase="ROOT" debug="0" reloadable="true" /> > > If you don't want to create a context, simply put your application in the > webapps directory and put in the <host> ... </host> > > <DefaultContext reloadable="true" /> > > With reloadable="true" tomcat, every 15 seconds (by default) reloads the > application if some class changed. > > Regards > > > -----Mensaje original----- > De: Mauro Daniel Ardolino [mailto:[EMAIL PROTECTED]] > Enviado el: viernes, 13 de septiembre de 2002 15:40 > Para: Tomcat Users List > Asunto: RE: Does Tomcat require restart when chaning classes? > > Sorry for the next question, but... > Do I have to put this line in the web.xml? > How can I declare a context for my app? > > Thanks. > > Mauro > > > On Fri, 13 Sep 2002, Miguel Angel Mulero Martinez wrote: > > > In the context of the application, put the reloadable="true" attribute. If > > you don't have a context for this application, you can put a: > > > > <DefaultContext reloadable="true" /> > > > > Bye... > > > > -----Mensaje original----- > > De: Mauro Daniel Ardolino [mailto:[EMAIL PROTECTED]] > > Enviado el: viernes, 13 de septiembre de 2002 15:31 > > Para: Tomcat Users List > > Asunto: Re: Does Tomcat require restart when chaning classes? > > > > I think you have to restart Tomcat for changes like this. > > Do someone know another way to do it? > > > > Mauro > > > > On Thu, 12 Sep 2002, Chuck Carson wrote: > > > > > > > > I had the following class: > > > $TOMCAT_HOME/webapps/ROOT/WEB-INF/classes/MyClass.class > > > > > > If I modify this class (ie recompile) how can I make it active w/o > > > restarting tomcat? As it stands now (with my current server config, > > > which is pretty much default) I can only get news changes visible after > > > a server restart. > > > > > > Thanks, > > > CC > > > > > > Chuck Carson > > > Sr. Systems Administrator > > > Syrrx, Inc. > > > 10410 Science Center Drive > > > San Diego, CA 92121 > > > E: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > > > W: 858.731.3540 > > > M: 858.442.0827 > > > > > > > > > ---------- > > > 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. > > > > > > > -- > > Ing.Mauro Daniel Ardolino > > Departamento de Desarrollo y Servicios > > Altersoft > > Billinghurst 1599 - Piso 9 > > C1425DTE - Capital Federal > > Tel/Fax: 4821-3376 / 4822-8759 > > mailto: [EMAIL PROTECTED] > > website: http://www.altersoft.com.ar > > > > > > -- > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > > > -- > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > > > -- > Ing.Mauro Daniel Ardolino > Departamento de Desarrollo y Servicios > Altersoft > Billinghurst 1599 - Piso 9 > C1425DTE - Capital Federal > Tel/Fax: 4821-3376 / 4822-8759 > mailto: [EMAIL PROTECTED] > website: http://www.altersoft.com.ar > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- Ing.Mauro Daniel Ardolino Departamento de Desarrollo y Servicios Altersoft Billinghurst 1599 - Piso 9 C1425DTE - Capital Federal Tel/Fax: 4821-3376 / 4822-8759 mailto: [EMAIL PROTECTED] website: http://www.altersoft.com.ar -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>