my dog learned polymorphism*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
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.
Don't get me started about those stupid light bulbs.
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