This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman 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


Win a copy of Elasticsearch in Action this week in the Big Data forum!
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.
 
Don't get me started about those stupid light bulbs.
 
subject: ConnectionWaitTimeoutException.........