tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "uthay" <uthan...@perceptiondm.com>
Subject Re: Tomcat class loader
Date Tue, 27 Feb 2001 16:43:21 GMT
Chris,
How did you test it?


My bean class (happens to be a session bean) is not released even after
stopping and starting tomcat!!!
I have tried removing all the class and java files with that name but
instead of showing class not found, somehow it finds the old class!


----- Original Message -----
From: "Chris Haynes" <chris@harvington.org.uk>
To: <tomcat-user@jakarta.apache.org>
Sent: Tuesday, February 27, 2001 4:13 PM
Subject: Re: Tomcat class loader


> 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" <uthana01@perceptiondm.com>
> To: <tomcat-user@jakarta.apache.org>
> 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" <miani@icanon.com>
> > To: <tomcat-user@jakarta.apache.org>
> > 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: tomcat-user-unsubscribe@jakarta.apache.org
> > > For additional commands, email:
> tomcat-user-help@jakarta.apache.org
> > >
> > >
> >
> >
> > --------------------------------------------------------------------
> -
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, email: tomcat-user-help@jakarta.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org
>
>


Mime
View raw message