jQuery in Action, 2nd edition
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
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply 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: 490
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
 
Similar Threads
java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
connect oracle from java application
Not able to connect to the database with my JDBC program
java. lang. Class Not FoundException:
JDBC connection issue with RAC database