This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman 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 Building Microservices this week in the Design 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: 540
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Problem getting DB Connection from Datasource in OpenEJB
 
It's not a secret anymore!