Hi,
   Thanks a lot for your comments. I tried out a few things regarding this.
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 WebApp Class loader but couldnot gather much. 

Is picking jar files within a respository alphabetical or random ?

Kindly advise.

Thanks and Regards,
Satya

-----Original Message-----
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 14, 2004 08:24 PM
To: Tomcat Users 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 the same repository, you can't control loading order.
For what repositories are available to you and their priority from the
webapp's perspective, RTFM on the Classloader How-To.

Yoav



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to