Thanks Craig,

I'm in the middle of some tricky development with Cocoon at the moment and I don't 
wont to risk breaking my environment just at this instant.

I hadn't consciously had a problem with this on Tomcat (only specifically within the 
internal ClassLoaders of Cocoon). I only mentioned it because the bug was one of these 
'hard to pinpoint' ones that meant that some people's setups seemed to work and others 
didn't for no apparent reason.  It stuck me that Tomcat was likely to be doing similar 
stuff, and it was worth looking for incase it was a problem for someone else.  
Hopefully some folk's setups will magically work now.

I will update my CVS copy soon.  Thanks again for following this up so quickly - I was 
worried this morning that I might have lead you on a wild goose chase!

Festive greetings from Scotland,

Stuart.


On Friday, December 22, 2000, at 06:07 PM, Craig R. McClanahan wrote:

> Stuart Roebuck wrote: 
>  
> > Craig, 
> > 
> > Here's one step towards what you were asking for.  It's a standalone test case of 
>the 
> problem.  I've written this because, judging from some of the issues that were 
>occuring 
> with Cocoon, I have a feeling that this problem is System/Java version dependent.  
>The 
> problem has been seen on Solaris, MacOS X and Windows with versions 1.2.2 and 1.3, 
>but it 
> may be only in certain combinations. 
> > 
>  
> Thanks for the test case.  I've got equivalent behavior to yours (classloader 1 
>fails, 
> classloader2 succeeds) on: 
> * Linux, Sun JDK 1.2.2 and Sun JDK 1.3.0 
> * Win98, Sun JDK 1.2.2 and Sun JDK 1.3.0 
>  
> > If this test case reproduces the problem on your system, then were going in the 
>right 
> direction.  If not, then we'll never produce a test case for you to be able to test. 
> > 
>  
> Yesterday, I committed the Tomcat 4.0 changes to use getCanonicalPath() instead of 
> getAbsolutePath() in all the relevant cases.  Looking at what we're seeing, I would 
>bet 
> you were certain to have problems (on the affected platforms) before if your 
> CATALINA_HOME had "../" elements, or if the document root of a particular web app 
>had 
> them. 
>  
> Have you had a chance to try the updated code yet?  The nightly build from last 
>night is 
> probably the easiest way. 
>  
> Craig 
>  


-------------------------------------------------------------------------
Stuart Roebuck                                  [EMAIL PROTECTED]
Lead Developer                                  Mac OS X, Java, XML, etc.
ADOLOS                                             http://www.adolos.com/

Reply via email to