Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SQLException: Cannot obtain connection

 
Steven Sobczak
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm deploying some CMP Entity Beans in WebLogic 6.0 sp1 and getting the error SQLException: Cannot obtain connection after 10 seconds.
Can anyone help?
Steven
 
George Brown
Ranch Hand
Posts: 919
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would try writing a separate class to connect to your database, using the same JDBC driver, username, password and driver URL that you are currently using - see if it connects to your database. That way you can isolate the connection and ascertain whether it's to do with WLS or not.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic