Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem getting DB Connection from Datasource in OpenEJB

 
Rajul Konkar
Greenhorn
Posts: 20
Android Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
amit punekar
Ranch Hand
Posts: 544
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic