tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mauro Daniel Ardolino <ma...@altersoft.com.ar>
Subject RE: Does Tomcat require restart when chaning classes?
Date Fri, 13 Sep 2002 14:02:42 GMT
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:mauro@altersoft.com.ar]
> 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:mauro@altersoft.com.ar]
> > 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: ccarson@syrrx.com <mailto:ccarson@syrrx.com>
> > > 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: mauro@altersoft.com.ar
> > website: http://www.altersoft.com.ar
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> > <mailto:tomcat-user-help@jakarta.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> <mailto:tomcat-user-help@jakarta.apache.org>
> >
> >
> 
> --
> Ing.Mauro Daniel Ardolino
> Departamento de Desarrollo y Servicios
> Altersoft
> Billinghurst 1599 - Piso 9
> C1425DTE - Capital Federal
> Tel/Fax: 4821-3376 / 4822-8759
> mailto: mauro@altersoft.com.ar
> website: http://www.altersoft.com.ar
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-user-help@jakarta.apache.org>
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>
> 
> 

-- 
Ing.Mauro Daniel Ardolino
Departamento de Desarrollo y Servicios
Altersoft
Billinghurst 1599 - Piso 9
C1425DTE - Capital Federal
Tel/Fax: 4821-3376 / 4822-8759
mailto: mauro@altersoft.com.ar
website: http://www.altersoft.com.ar


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message