[jboss-user] [Datasource Configuration] - Re: Unable to get managed connection for jdbc

Wolf-Dieter Fink do-not-reply at jboss.com
Fri Apr 29 06:26:38 EDT 2011


Wolf-Dieter Fink [http://community.jboss.org/people/wdfink] created the discussion

"Re: Unable to get managed connection for jdbc"

To view the discussion, visit: http://community.jboss.org/message/602677#602677

--------------------------------------------------------------
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
[http://community.jboss.org/message/602677#602677]

Start a new discussion in Datasource Configuration at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2077]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110429/3c84fd1a/attachment.html 


More information about the jboss-user mailing list