On Fri, 11 May 2001, Bo Xu wrote:

> "Craig R. McClanahan" wrote:
> 
> > Thanks Kevin ... I think it's safe to assume that Beta 4 still has this
> > issue :-(.
> >
> > But, other than efficiency concerns, it should still work if the
> > particular class is *only* found in WEB-INF/classes and *not* in any of
> > the WEB-INF/lib/*.jar files, right?
> >
> > NOTE:  automatic reloading is currently supported only for unpacked
> > classes in WEB-INF/lib.
> >
> > Craig
> > [...]
> 
> sorry for sending a email to tomcat-dev List :-)  I have already installed
> jakarta-tomcat-4.0-b1/2/3(standalone, JDK1.3, winnt40), and this moring
> I installed TC4.0-b4, just from my work, I find that I can not enable
> auto-reloading with TC4.0-b2/3/4, auto-reloading works quite well with
> TC4.0-b1, the following is detail:
> 
> - in conf/server.xml, I set the following:
>   ... reloadable="true" ...
> 
> - my testing Servlet class(a class file, not a jar file) is in WEB-INF/classes,
>   I find it can not be auto-reloaded with TC4.0-b2/3/4
> 
> - with the same class, with TC4.0-b1, auto-reloading works quite well.
> 
> 
> and I also have a question:
> >NOTE:  automatic reloading is currently supported only for unpacked
> >classes in WEB-INF/lib.
> 

You're right ... it's been a long day already (and it's only 1pm Pacific
time).  I meant WEB-INF/classes.

The one and only place from which automatic reloading will work is
unpacked classes in WEB-INF/classes of your own web app.  No changes to
any classes or JAR files *anywhere* else are recognized.

However, you can trigger a reload manually on any app -- whether or not
you've set the "reloadable" attribute -- by using the Manager application.

> I think:
> - unpacked (Servlet) classes are in WEB-INF/classes, not in WEB-INF/lib,
>   is this a "writing error"? or I also can put .class file in WEB-INF/lib?  i.e.
>   % I only can put jar file in WEB-INF/lib, I can not put class file in
>       WEB-INF/lib
>   % I only can put class file in WEB-INF/classes, I can not put jar file in
>       WEB-INF/classes
>   % or I can put both class/jar file in both classes/lib folder?
> 
> - now all the jar files in TOMCAT_HOME/lib or WEB-INF/lib can Not be
> auto-reloaded,
>   only those .class file in WEB-INF/classes should be auto-reloaded
> 
>   is the above right?
> 
> 
> Thanks in advance for your time! :-)
> 
> 
> Bo
> May.11, 2001
> 
> 
> 
> 
Craig


Reply via email to