> Tushar Madhukar wrote:
>
> I have some utility classes in $tomcat/shared/lib 
> directory, which are used by several webapps. These
> need to be initialized before any of my webapps are
> called by the client. One of these shared classes gets 
> a reference to its class loader, by calling
> Thread.currentThread().getContextClassLoader().

Why aren't you using <ClassName>.class.getClassLoader() rather than the
indirect method above?

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to