This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes ConnectionWaitTimeoutException......... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "ConnectionWaitTimeoutException........." Watch "ConnectionWaitTimeoutException........." New topic
Author

ConnectionWaitTimeoutException.........

karthik mama
Ranch Hand

Joined: Aug 27, 2007
Posts: 34
I created a DataSource Object to get connected to a database. I tested the connection and it was all ok. But when i deploy and run a web app where in i try to contact the database i get an exception saying

com.ibm.websphere.ce.j2c.ConnectionWaitTimeoutException: Connection not available, Timed out waiting for 180000

So where did i go wrong?
Subhani Sk
Greenhorn

Joined: Oct 04, 2003
Posts: 5
Can you cross check the Datasource names you are referring.
 
Have you checked out Aspose?
 
subject: ConnectionWaitTimeoutException.........
 
It's not a secret anymore!