This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 511
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
JDBC connection issue with RAC database
Not able to connect to the database with my JDBC program
connect oracle from java application
java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
java. lang. Class Not FoundException: