tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Remy Maucherat" <>
Subject Re: What causes WebappClassLoader.addRepository() to be called?
Date Thu, 08 Nov 2001 22:32:33 GMT
> I've been tracing through the code, and got lost trying to find what (if
> any) config setting can trigger a call to it.
> I need to add additional URLs (ex, http:/ ) to its search
> path.
> Any ideas would greatly appreciated.   I don't want to have to write my
> subclass of WebappClassLoader to accomplish this.
> But I'm almost to that point.

That functionality is used in embedded mode by the J2EE RI.
If you want to use it, it's quite easy to do by writing a lifecycle listener
(and call addRepository when you get the start event). There are a few
examples of lifecycle listeners in the Catalina source.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message