jQuery in Action, 2nd edition*
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
Author

SQLException: Cannot obtain connection

Steven Sobczak
Greenhorn

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?
Steven
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: http://aspose.com/file-tools
 
subject: SQLException: Cannot obtain connection