JBoss Community

Re: Unable to get managed connection for jdbc

created by Wolf-Dieter Fink in Datasource Configuration - View the full discussion

I meant you should use a simple JNDI name without '/'.

 

<jndi-name>MyJDBCTest</jndi-name>

You should remove the 'use-java-context' element, I do not need it.

 

this lookup should work:

initialContext.lookup("java:MyJDBCTest");

 

If you have problems please attach the error log message.

Also I would recommend to use a newer ojdbc implementation, the ojdbc6.jar require a Java6 runtime environment.

 


Reply to this message by going to Community

Start a new discussion in Datasource Configuration at Community