tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Remy Maucherat" <rmauch...@home.com>
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:/foo.com/classes/ ) to its search
> path.
>
> Any ideas would greatly appreciated.   I don't want to have to write my
own
> 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.

Remy


--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message