File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes BEA/Weblogic and the fly likes SQLException:  Cannot obtain connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "SQLException:  Cannot obtain connection" Watch "SQLException:  Cannot obtain connection" New topic

SQLException: Cannot obtain connection

Steven Sobczak

Joined: Sep 06, 2001
Posts: 1
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?
George Brown
Ranch Hand

Joined: Sep 26, 2000
Posts: 919
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:
subject: SQLException: Cannot obtain connection
It's not a secret anymore!