tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <craig...@apache.org>
Subject Re: TC 4.0.1: classes being cached - requires restart to update
Date Fri, 09 Nov 2001 21:06:49 GMT


On 9 Nov 2001, Brett B. Tofel wrote:

> Date: 09 Nov 2001 15:45:44 EST
> From: Brett B. Tofel <Brett.B.Tofel@Dartmouth.EDU>
> Reply-To: Tomcat Users List <tomcat-user@jakarta.apache.org>
> To: tomcat-user@jakarta.apache.org
> Subject: Re: TC 4.0.1: classes being cached - requires restart to update
>
> --- You wrote:
> Where is the class file itself?  It must be under /WEB-INF/classes or in a
> JAR file in /WEB-INF/lib for reloading to work.
>
> Are you waiting long enough after recompiling (default check interval is
> 15 seconds) for Tomcat to get around to checking?  If this interval is too
> long for your taste, you can either set a shorter timeout on the <Manager>
> element in server.xml, or use the Manager web app to force a reload any
> time you like.  (The class still has to be in the right place -- see
> above.)
> --- end of quote ---
> so would that include subdirectories as stated in my last post? the class files
> in question reside in a folder of WEB-INF/classes/<package name>/<class
> name>.class
>

You are correct that you have to nest the class in its package hierarchy.

> woudl that be ok and get reloaded?
>

Could you please try Remy's test case?

> thanks,
> brett
>

Craig


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message