tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bo Xu>
Subject Re: Class Reloading
Date Fri, 11 May 2001 19:36:40 GMT
"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.

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
  % I only can put class file in WEB-INF/classes, I can not put jar file in
  % 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
  only those .class file in WEB-INF/classes should be auto-reloaded

  is the above right?

Thanks in advance for your time! :-)

May.11, 2001

View raw message