tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony LaPaso" <tony.lap...@abnamro.com>
Subject Re: Servlet auto-reloading under ROOT context (was RE: simple question for servlet-configuration of tomcat)
Date Fri, 06 Apr 2001 20:00:42 GMT
I have a *similar* problem. None of my servlets are being reloaded using
Tomcat 4, b3. This includes the servlets in /examples context.

The only way I've been able to get servlets to reload (aside from
re-starting Tomcat) is to run /manager/reload?path=/<someContext>.

Apparently servlet reloading is completely broke in T4 b2/3.



----- Original Message -----
From: "Joel Parramore" <parramorej@homes.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Friday, April 06, 2001 2:28 PM
Subject: Servlet auto-reloading under ROOT context (was RE: simple question
for servlet-configuration of tomcat)


>
> On a slightly related note: are servlets under the ROOT context
> automatically reloaded?
>
> The docs in server.xml would appear to indicate that reloadable="true" is
> the default, but there's no entry for the ROOT context in my server.xml
> file, and it appears to be inconsistent on our server with regard to
> reloading a servlet which has (definitely) changed in
> webapps/ROOT/WEB-INF/classes (i.e., Tomcat apparently reloaded the servlet
> each time the class was changed, then suddenly stopped doing so, with no
> configuration changes made).
>
> Would placing an explicit CONTEXT entry for the ROOT in the server.xml
file,
> i.e.,
>
> <Context
> path="/"
> docbase="webapps/ROOT"
> crossContext="false"
> debug="0"
> reloadable="true">
> </Context>
>
> resolve this issue?  Has anyone else encountered a similar problem?
>
> I can supply more configuration upon request, but at least I'll note that
> the server configuration is with Apache 1.3.14 and Tomcat 3.2.1 running
> Redhat Linux 7.0 on an Intel box, JDK 1.2.2.  Tomcat, aside from slight
> changes for mod_jk operation with Apache, is unchanged from the default
> configuration.
>
> Regards,
> Joel Parramore
>
>
> > -----Original Message-----
> > From: Mandar Joshi [mailto:mandarj@commerceroute.com]
> > Sent: Friday, April 06, 2001 2:51 PM
> > To: tomcat-user@jakarta.apache.org
> > Subject: Re: simple question for servlet-configuration of tomcat
> >
> >
> >
> > You simply need to put your stuff uner ROOT context.
> >
> >
> > ----- Original Message -----
> > From: "TOPO graphics GmbH" <topographics@t-online.de>
> > To: <tomcat-user@jakarta.apache.org>
> > Sent: Friday, April 06, 2001 7:19 AM
> > Subject: simple question for servlet-configuration of tomcat
> >
> >
> > > Hello,
> > >
> > > since several weeks I am testing tomcat as a Servlet Engine with great
> > > success. I use Win98 SE2 with PWS.
> > > Now I have a simple problem (I think):
> > >
> > > What I have to do (in the configuration files) when I want to start my
> > > servlets with the URL:
> > >
> > > http://localhost/servlet/TestServlet
> > >
> > > and not with a WEPAPP-Directory like
> > > http://localhost/example/servlet/TestServlet
> > >
> > > Which settings I have to do in the configuration-files and in which
> > > directory I have to put my Servlets ?
> > >
> > > Thanks a lot for your answer
> > >
> > > With best regards
> > >
> > > M. Thorand
> > >
> > > TOPO graphics
> > > Geographische Informationssysteme GmbH
> > >
> > > EMail:      thorand@topographics.de
> > >
>


Mime
View raw message