*
The moose likes JDBC 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » JDBC
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ConnectionWaitTimeoutException.........