On Thu, 19 Jul 2001, Bo Xu wrote:
> Hello Craig,
>
>
> Thanks for your email! :-) and I have another question because
> I find you come back to TC-USER List: //haha:-)
>
> I have already made my question very "short and only-one":
> is the following (my understanding) right? :-)
>
>
> * In beta-6, the class/jar in the following folder will be auto-reloaded:
> - WEB-INF/classes
> WEB-INF/lib
>
> * In beta-6, the class/jar in All the following folders will Not be
> auto-reloaded:
> - server/classes/ (Unpacked classes for "Catalina" classloader)
> server/lib/ (JAR files for "Catalina" classloader)
> - common/classes/ (Unpacked classes for "Common" classloader)
> common/lib/ ( JAR files for "Common" classloader)
> - classes/ (Unpacked classes for "Shared" classloader)
> lib/ (JAR files for "Shared" classloader)
>
You've got it right.
One additional point of general interest (unrelated to reloading) is the
order in which Tomcat 4 looks for classes to load. It works like this:
- /WEB-INF/classes
- /WEB-INF/lib (undefined order of JAR files)
- $CATALINA_HOME/classes
- $CATALINA_HOME/lib (undefined order of JAR files)
- $CATALINA_HOME/common/classes
- $CATALINA_HOME/common/lib (undefined order of JAR files)
Note that classes in /server/classes or /server/lib are visible only to
Catalina internal classes, not to web apps.
>
> Thanks in advance! :-)
>
>
> Bo
> July 19, 2001
>
Craig