tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <>
Subject Re: Availability of a resource in a realm
Date Tue, 17 Apr 2012 15:33:03 GMT
2012/4/17 Osipov, Michael <>:
> Hi folks,
> I have a resource declared in my context.xml (not a resource link). I want to retrieve
that resource as soon as possible in my realm. I tried start() and init() but it seems like
that at this time the InitialContext is not available. So at what time can I expect the context
being "complete"?
> I am on Tomcat 6.0.35

Look at DataSourceRealm for an example.

IIRC, what is seen as InitialContext depends on the value of
Thread.getContextClassLoader() when InitialContext instance is

Best regards,
Konstantin Kolinko

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

View raw message