File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SQLException: Cannot obtain connection

 
Steven Sobczak
Greenhorn
Posts: 1
  • 0
  • 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
  • 0
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic