tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: custom classloader missing root
Date Wed, 12 Nov 2014 07:26:52 GMT
On 11/11/2014 17:20, Ed Rouse wrote:
>> -----Original Message-----
>> From: Mark Thomas [mailto:markt@apache.org]
>> Sent: Tuesday, November 11, 2014 12:14 PM
>> To: Tomcat Users List
>> Subject: Re: custom classloader missing root
>>
>> On 11/11/2014 17:01, Ed Rouse wrote:

<snip/>

>>> I already tried getResources() but it returns null. hence my
>>> confusion. As far as I can tell, tomcat is not setting the root or
>>> context on my class loader.
>>
>> That depends on when you call it.
> 
> Since it is the <Loader> in the context.xml file, I am not calling it, tomcat is.

You said you tried getResources() but it returns null.

Again, the result from getResources() in this case depends on when you
call it.

> Is there another way to do this so I can call it manually from within the webapp?

Nope.

Mark

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


Mime
View raw message