-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Arttu,
On 10/1/2011 6:04 PM, Arttu Tanner wrote:
> Ok, figured it out. I needed to use InitialContext.lookupLink()
> instead of InitialContext.lookup() what I was using before.
That should not be necessary. Here is the code I have been using for
year
Ok, figured it out.
I needed to use InitialContext.lookupLink() instead of
InitialContext.lookup() what I was using before.
Seems obvious now, but I didn't think there would be two similar methods.
I just thought I'll post my solution for further reference. It's
always annoying to find that somebod
Try:
* conf/Catalina/localhost/mywebapp.xml OR
* webapps/mywebapp/META-INF/context.xml OR
* If you put it in GlobalNamingResources then you have to add a
to . See the Configuration
documentation.
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html has a