This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JDBC and the fly likes ConnectionWaitTimeoutException......... Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply 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.........
 
Similar Threads
jdbc
Error in creating Instance
Connection pooling
Apache Commons DBCP
Too many connections