Re: Class loading classloader visibility test results

2000-12-06 Thread Craig R. McClanahan
Rob Shaw wrote: Tomcat 3.1 and 3.2. I haven't run the tests for 4.0. You will see the same results in 4.0, for the same reasons, on your simple test cases. However, there is a behavior difference in 4.0 related to the order in which class loaders are searched for classes -- see my upcoming

Re: Class loading classloader visibility test results

2000-12-06 Thread Craig R. McClanahan
Aron Kramlik wrote: Rob, This is great information. I wonder if you could explain why it is that I need to put xml4j.jar file under the $CLASSPATH (i.e. $TOMCAT_HOME/lib) that is loaded by an init() method of a servlet? Which version of Tomcat? There are different issues in each one of

RE: Class loading classloader visibility test results

2000-12-06 Thread cmanolache
From: Rob Shaw [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 05, 2000 9:51 PM To: [EMAIL PROTECTED] Subject: Re: Class loading classloader visibility test results Aron, Based on the stack trace alone it's difficult to debug the problem. If you want everything to be self contained w

Re: Class loading classloader visibility test results

2000-12-06 Thread Aron Kramlik
Thanks Craig, more great info. I am using Tomcat 3.2 Final Release. I do not see whereI might have the xml.jar file and so I don't think I am loading the DOM classes from a different .jar file. Acrtually, this makes sense since I need to put xml4j.jar in $TOMCAT/lib (under the CLASSPATH) for my

Re: Class loading classloader visibility test results

2000-12-06 Thread Aron Kramlik
Craig, I have changed the way that the init() method loads the parser and parses our XML files and this has fixed the problem. This is back to using Tomcat 3.2. Before we were doing this: private static Parser sXMLParser; Element root = null; Document doc; sXMLParser =

Re: Class loading classloader visibility test results

2000-12-05 Thread Brian Bucknam
Rob Shaw wrote: I was unclear as to how Tomcat was resolving class loading and the visibility of classes to a context's classloader so I created a simlpe test suite. That is very helpful and informative (and cool!). I (and probably others) would like to know, though: What version of Tomcat

Re: Class loading classloader visibility test results

2000-12-05 Thread Rob Shaw
Tomcat 3.1 and 3.2. I haven't run the tests for 4.0. Thanks for the feedback, Rob. - Original Message - From: "Brian Bucknam" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: "Rob Shaw" [EMAIL PROTECTED] Sent: Tuesday, December 05, 2000 6:36 PM Subject: Re: Class

Re: Class loading classloader visibility test results

2000-12-05 Thread Rob Shaw
. Hopefully this helps. Rob - Original Message - From: "Aron Kramlik" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, December 05, 2000 8:36 PM Subject: RE: Class loading classloader visibility test results Rob, This is great information. I wonder if you could ex