wood burning stoves 2.0*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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.
 
 
subject: SQLException: Cannot obtain connection
 
Similar Threads
Class not found exception
SessionBean - DAO, CMT and Tables with relations
Is there a way to get the parameters for a stored PRocedure?
EJB 2.1 spec
J2ee application and JNDI in a Servlet