This week's book giveaway is in the OCAJP forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff 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 OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ConnectionWaitTimeoutException.........