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 = ParserFactory.m

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 w

RE: Class loading & classloader visibility test results

2000-12-06 Thread cmanolache
mcat.execute(Tomcat.java:195) > at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235) > > > Could you suggest anything else? > > Thanks again, > > Aron. > > > -Original Message- > From: Rob Shaw [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December

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

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 Aron Kramlik
95) at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235) Could you suggest anything else? Thanks again, Aron. -Original Message- From: Rob Shaw [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 05, 2000 9:51 PM To: [EMAIL PROTECTED] Subject: Re: Class loading & classloader visibilit

Re: Class loading & classloader visibility test results

2000-12-05 Thread Rob Shaw
your webapp's classloader. 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, > >

RE: Class loading & classloader visibility test results

2000-12-05 Thread Aron Kramlik
loading & classloader visibility test results For those that may be interested... 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. The test results are attached. Rob Shaw Servidium Inc.

Re: Class loading & classloader visibility test results

2000-12-05 Thread Rob Shaw
05, 2000 6:36 PM Subject: Re: Class loading & classloader visibility test results > 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. > > Th

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 Tomca

Re: Class loading & classloader visibility test results

2000-12-05 Thread Craig R. McClanahan
Rob Shaw wrote: > For those that may be interested... > > 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. > The test results are attached. > Rob, Thanks for doing the chart. I would also p

Class loading & classloader visibility test results

2000-12-05 Thread Rob Shaw
For those that may be interested... 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. The test results are attached. Rob Shaw Servidium Inc. Title: Tomcat Test Results Class Loading Tests Setu