You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Joel Rees <jo...@alpsgiken.gr.jp> on 2002/02/22 13:41:24 UTC

no re-load of indirect class

Indirectly referred classes don't seem to get reloaded. Is this a known
behavior?

I have one class referencing another before going out to a jsp page, and I
have to shut tomcat down and bring it back up after re-compiling the
indirectly referred class, to get the changes to have any effect.

Is this just another of those things I'm being thick-headed about?

Joel Rees
Alps Giken Kansai Systems Develoment
Suita, Osaka




--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: no re-load of indirect class

Posted by Joel Rees <jo...@alpsgiken.gr.jp>.
On Saturday, February 23, 2002 Craig R. McClanahan" advised:

> Depends on the Tomcat version, and where your classes are.
>
> If you're using Tomcat 4, and all the relevant classes are in
> /WEB-INF/classes or /WEB-INF/lib, this should work fine.  I know for sure
> that the Tomcat 3.2 webapp class loader didn't deal with stuff like this
> very well.  Don't know about 3.3.

That's it. I'm using 3.2. I should've mentioned that.

Thanks.

Joel

> On Fri, 22 Feb 2002, Joel Rees wrote:
>
> > Indirectly referred classes don't seem to get reloaded. Is this a known
> > behavior?
> >
> > I have one class referencing another before going out to a jsp page, and
I
> > have to shut tomcat down and bring it back up after re-compiling the
> > indirectly referred class, to get the changes to have any effect.
> >
> > Is this just another of those things I'm being thick-headed about?
> >
>




--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: no re-load of indirect class

Posted by "Craig R. McClanahan" <cr...@apache.org>.

On Fri, 22 Feb 2002, Joel Rees wrote:

> Date: Fri, 22 Feb 2002 21:41:24 +0900
> From: Joel Rees <jo...@alpsgiken.gr.jp>
> Reply-To: Tomcat Users List <to...@jakarta.apache.org>
> To: Tomcat Users List <to...@jakarta.apache.org>
> Subject: no re-load of indirect class
>
> Indirectly referred classes don't seem to get reloaded. Is this a known
> behavior?
>
> I have one class referencing another before going out to a jsp page, and I
> have to shut tomcat down and bring it back up after re-compiling the
> indirectly referred class, to get the changes to have any effect.
>
> Is this just another of those things I'm being thick-headed about?
>

Depends on the Tomcat version, and where your classes are.

If you're using Tomcat 4, and all the relevant classes are in
/WEB-INF/classes or /WEB-INF/lib, this should work fine.  I know for sure
that the Tomcat 3.2 webapp class loader didn't deal with stuff like this
very well.  Don't know about 3.3.

> Joel Rees
> Alps Giken Kansai Systems Develoment
> Suita, Osaka
>

Craig


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>