RE: Class loading in tomcat 5.0

2004-10-18 Thread Narayan, Satya
List Subject: RE: Class loading in tomcat 5.0 Hi, What I want to achieve is control the way jars are loaded. I want to load a particular jar(say X.jar) before another jar(say Y.jar) . Can this be achieved ? Only be putting X.jar in a repository that has higher priority than Y.jar. Within

Re: Class loading in tomcat 5.0

2004-10-18 Thread QM
On Mon, Oct 18, 2004 at 10:55:28AM +0200, Narayan, Satya wrote: : I tried having different jars with the same class. As far my test goes the WebApp Class Loader picked up the jars in alphabetical order. : I tried with tomcat 5.5 under Windows 2000 file system. : I looked through the code of

RE: Class loading in tomcat 5.0

2004-10-18 Thread Shapira, Yoav
Hi, Is picking jar files within a respository alphabetical or random ? For design purposes, it's random. Making any assumptions about the classloading order of jars within the same repository is naïve at best and stupid at worst. Every container (and different versions of the same

Re: Class loading in tomcat 5.0

2004-10-14 Thread QM
On Thu, Oct 14, 2004 at 06:13:59AM +0200, Narayan, Satya wrote: : I have a doubt regarding class loading in tomcat 5.0 . Is it different from tomcat 4.0 ? Compare the classloader docs for the two versions and see. It's been a while since I've used Tomcat 4, but my guess is that if you

Re: Class loading in tomcat 5.0

2004-10-14 Thread Andoni
and CallingClass.java to find out? Andoni. - Original Message - From: QM [EMAIL PROTECTED] Newsgroups: gmane.comp.jakarta.tomcat.user Sent: Thursday, October 14, 2004 12:56 PM Subject: Re: Class loading in tomcat 5.0 On Thu, Oct 14, 2004 at 06:13:59AM +0200, Narayan, Satya wrote: : I have

RE: Class loading in tomcat 5.0

2004-10-14 Thread Narayan, Satya
: Thursday, October 14, 2004 05:27 PM To: Tomcat Users List Subject: Re: Class loading in tomcat 5.0 On Thu, Oct 14, 2004 at 06:13:59AM +0200, Narayan, Satya wrote: : I have a doubt regarding class loading in tomcat 5.0 . Is it different from tomcat 4.0 ? Compare the classloader docs for the two

RE: Class loading in tomcat 5.0

2004-10-14 Thread Shapira, Yoav
Hi, What I want to achieve is control the way jars are loaded. I want to load a particular jar(say X.jar) before another jar(say Y.jar) . Can this be achieved ? Only be putting X.jar in a repository that has higher priority than Y.jar. Within the same repository, you can't control loading