What I've observed is that it only reloads the classes it *directly*
knows about.
I.E. it will reload amended Servlet classes and JSP files, but if they
then refer to other classes, these other classes will NOT be reloaded
if they change.
So you have to keep stopping and starting tomcat unless you use ONLY
simple JSP pages (with no other changing classes referred to ) and
servlets which use only stable classes.
Chris
----- Original Message -----
From: "uthay" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 27, 2001 3:35 PM
Subject: Re: Tomcat class loader
> Thx Jim
>
> I tried that.
> I also want to bring some other thing I read recently.
> It states that although tomcat supports class reloading on updation
it is
> still not supported to those classes that are not servlets.
> What does that supposed to mean?
>
>
>
> ----- Original Message -----
> From: "Jim Miani" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, February 27, 2001 1:40 PM
> Subject: RE: Tomcat class loader
>
>
> >
> > Uthay - I was having the same problem. See my post yesterday under
subject
> > JSP caching.
> >
> > The problem is that your WEB-INF directory is probably in your
CLASSPATH
> > when you start Tomcat - see the FAQ - it won't reload classes in
your
> > CLASSPATH
> >
> > There is a question/answer in the FAQ re: this - I feel dumb about
it. Now
> > you can too :)
> >
> > Good luck.
> >
> > Jim
> >
> >
> > >From: "uthay"
> > >Subject: Tomcat class loader
> > >Date: Tue, 27 Feb 2001 13:15:44 -0000
> > >
> > > It was stated in the tomcat installation instructions that
tomcat will
> > > reload any servelet or jsp file if the file is changed.
> > > I am using a package through a servlet. Although I have modified
the
> > > package, tomcat is refusing to load the new classes and holding
onto the
> > > older ones.
> > > May be its because they are not servlets??????
> > > Is there anyway of solving this.
> > > Does tomcat follow a different class loading mechanism for
classes
> > >that are not servlets. (classes in WEB-INF)?
> >
> >
> >
> >
>
> --------------------------------------------------------------------
-
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, email:
[EMAIL PROTECTED]
> >
> >
>
>
> --------------------------------------------------------------------
-
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]