Thanks jaikiran
The spring related code is:
| org.springframework.jndi.JndiTemplate context = new
org.springframework.jndi.JndiTemplate();
| context.lookup("java:TestDB");
|
I already tried the InitialContext but it didn't work, I got a null.
BTW - it is working just fine in an EAR deploy, and I can get some other java:xxxx objects
from the JNDI with the same code, it's very frustrating.
It have to be something with the differences between the EAR and WAR deploying but I
didn't figure out what.
Thanks.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4163907#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...