Re: Weird Classloaders

2001-09-17 Thread Glenn Nielsen
[EMAIL PROTECTED] wrote: > > On Sat, 15 Sep 2001, Bojan Smojver wrote: > > > - if the jar file is changed, the application will reload (due to some > > recent fixes there in DependClassLoader), but some resources might not > > get loaded properly (for instance a properties file from within that

Re: Weird Classloaders

2001-09-15 Thread cmanolache
On Sat, 15 Sep 2001, Bojan Smojver wrote: Could you file a bug in bugzilla and attach a very simple servlet and instructions on how to reproduce ? It would help a lot. Costin

Re: Weird Classloaders

2001-09-15 Thread Bojan Smojver
[EMAIL PROTECTED] wrote: > > On Sat, 15 Sep 2001, Bojan Smojver wrote: > > > - if the jar file is changed, the application will reload (due to some > > recent fixes there in DependClassLoader), but some resources might not > > get loaded properly (for instance a properties file from within that

Re: Weird Classloaders

2001-09-15 Thread Bojan Smojver
[EMAIL PROTECTED] wrote: > > On Sat, 15 Sep 2001, Bojan Smojver wrote: > > > Remy Maucherat wrote: > > > > > TC 4 uses a 100% custom URLClassLoader clone, and it accesses the JARs > > > directly (using JarFile objects). I'm really careful about properly closing > > > these objects when the CL is

Re: Weird Classloaders

2001-09-14 Thread cmanolache
On Sat, 15 Sep 2001, Bojan Smojver wrote: > Remy Maucherat wrote: > > > TC 4 uses a 100% custom URLClassLoader clone, and it accesses the JARs > > directly (using JarFile objects). I'm really careful about properly closing > > these objects when the CL is dumped when reloading. However, there are

Re: Weird Classloaders

2001-09-14 Thread cmanolache
On Sat, 15 Sep 2001, Bojan Smojver wrote: > - if the jar file is changed, the application will reload (due to some > recent fixes there in DependClassLoader), but some resources might not > get loaded properly (for instance a properties file from within that > jar) What do you mean ( i.e. how do

Re: Weird Classloaders

2001-09-14 Thread Bojan Smojver
Remy Maucherat wrote: > TC 4 uses a 100% custom URLClassLoader clone, and it accesses the JARs > directly (using JarFile objects). I'm really careful about properly closing > these objects when the CL is dumped when reloading. However, there are still > problems, at least under Windows (the sympt

Re: Weird Classloaders

2001-09-14 Thread Bojan Smojver
Remy Maucherat wrote: > > My environment is JDK 1.3.1_01, Linux. In some other discussions, people > > from TC 4 team mentioned that there are similar problems on Windows too. > > TC 4 uses a 100% custom URLClassLoader clone, and it accesses the JARs > directly (using JarFile objects). I'm reall

Re: Weird Classloaders

2001-09-14 Thread Remy Maucherat
> I'm playing with Classloader issues in Tomcat 3.3 (but from what I hear > it's not much different in TC 4) and the whole thing behaves really, > really strange. This is what I can observe, with automatic reloading > enabled: > > - a jar file in WEB-INF/lib will be picked up with no issues the ve

Weird Classloaders

2001-09-14 Thread Bojan Smojver
I'm playing with Classloader issues in Tomcat 3.3 (but from what I hear it's not much different in TC 4) and the whole thing behaves really, really strange. This is what I can observe, with automatic reloading enabled: - a jar file in WEB-INF/lib will be picked up with no issues the very first ti