Hi all,

I'm actually working with servicemix 3.2.3 integrated in Tomcat (6) + jdk
1.5

I have created a jsr181 su and i want to use a jdbc JNDI (OracleDatasource)
declared on the server (not in the jndi.xml of servicemix).

>From a jsp page when i'm doing : new
InitialContext().lookup("java:comp/env/jdbc/myJndi"), it's working fine

Now i have tried this in my java class in the jsr181 su and it doesn't work.
So i tried to lookup with the ComponentContext / JBIContext and also
unsuccessful ...

Is there any way to have an access to a JNDI declared only on the web
container (if we can call Tomcat as it) and not in the servicemix jndi.xml
file ?

Thanks for reply :)
-- 
View this message in context: 
http://old.nabble.com/servicemix-jsr181-and-JNDI-resource-...-tp28413985p28413985.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to