File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Problem getting DB Connection from Datasource in OpenEJB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Problem getting DB Connection from Datasource in OpenEJB" Watch "Problem getting DB Connection from Datasource in OpenEJB" New topic
Author

Problem getting DB Connection from Datasource in OpenEJB

Rajul Konkar
Greenhorn

Joined: Nov 05, 2008
Posts: 20

Hi

I am having problem getting DB Connection from Datasource
though I can get the DB Connection using DriverManager using same credentials : url/name/password
I get the datasource object using JNDI, but when i try to get Connection from datasource object, It gives following error :


I am using Tomcat + Openejb + oracle

Thanks in advance !!
-- Rajul Konkar


Only pioneer take the untraveled path

amit punekar
Ranch Hand

Joined: May 14, 2004
Posts: 516
Hello,
Please share how you have configured the Datasource.
I believe it must be done on Tomcat.
It might give us a clue.

Regards,
Amit
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem getting DB Connection from Datasource in OpenEJB