tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ken Ramirez" <krami...@mastermind.com>
Subject RE: ClassNotFoundException
Date Wed, 27 Feb 2002 16:38:09 GMT
Totally awesome.  This worked like a charm.

Thanks,

Ken Ramirez - Principal/CTO
kramirez@mastermind.com
  
Master-Mind Consulting Services
http://www.mastermind.com
Ph - 570-688-9600
Fx - 208-275-2301
 

> -----Original Message-----
> From: Sriram Narayanan [mailto:sriramx_2000@yahoo.com]
> Sent: Wednesday, February 27, 2002 10:08 AM
> To: Tomcat Users List
> Subject: RE: ClassNotFoundException
> 
> Just a question,
> 
> Would
Thread.currentThread().getContextClassLoader().loadClass("myclassname")
> help ?
> 
> I don't have TC 3.3, but this works for me in TC 4.0.1
> 
> Sriram
> 
> 
> 2/27/02 6:45:11 PM, Larry Isaacs <Larry.Isaacs@sas.com> wrote:
> 
> >To deal with a situation like this, I have seen #1 below
> >implemented by providing an object that is loaded in the
> >webapp classloader to the base class.  A good candidate
> >would be "this" from MyServletClass.  MyBaseServletClass
> >can obtain the classloader of this object to gain access
> >to the webapp classloader.
> >
> >Cheers,
> >Larry
> >
> 
> 
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
> 



--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message