tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glenn Nielsen <gl...@mail.more.net>
Subject Re: custom web app classloader
Date Fri, 31 Oct 2003 03:19:57 GMT
I have done this but I started by extending org.apache.catalina.loader.WebappLoader,
then overriding anything I needed to customize.

Regards,

Glenn

Jwahar Bammi wrote:
> I want to write my own custom web application class loader, for Tomcat 4.1*
> (and hopefully it will continue to work for Tomcat 5*). From the precious
> little info that is available, I have gleaned the following:
> 
>  
> 
> - the class I write should implement org.apache.catalina.Loader interface.
> 
> - once I write the class, I tell tomcat to use it by specifying it in the
> <Loader> tag of a <Context> in server.xml
> 
> - my class itself goes into $CATALINA_HOME/server/lib
> 
>  
> 
> Are my assumptions above correct?
> 
>  
> 
> It would be a real bonus to see an example. I am sure more than one person
> in this community has done this before.
> 
> Any words of advice?
> 
>  
> 
> Advanced Thanks,
> 
>  
> 
> Jwahar Bammi
> 
> Memento, Inc.
> 
> bammi@memento-inc.com
> 
>  
> 
>  
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message