title: I am getting pool error Timeout waiting for idle object
body: <pre><code>  &lt;Resource name="jdbc/name" auth="Container" type="javax.sql.DataSource"
                 maxActive="100" maxIdle="30" maxWait="10000"
                 username="root" password="root" driverClassName="com.mysql.jdbc.Driver"
                 url="jdbc:mysql:url?autoReconnect=true"/&gt; 
  </code></pre>
  
  <p>I created connection pool using the above statement in Tomcat server.</p>
  
  <p>Some android app is connecting with my application using web service.Through web service i am sending and receiving some data.
  I am getting the error </p>
  
  <pre><code>SQLState: null
  [2013-12-05 14:13:06,156]ERROR069688[http-8080-10] - org.hibernate.util.JDBCExceptionReporter.logExceptions(JDBCExceptionReporter.java:78) -
   Cannot get a connection, pool error Timeout waiting for idle object
  </code></pre>
  
  <p>I saw <a href="https://stackoverflow.com/questions/7277760/connection-pool-exception-cannot-get-a-connection-pool-error-timeout-waiting-f">Connection Pool Exception: Cannot get a connection, pool error Timeout waiting for idle object</a> .</p>
  
  <p>But no clue for me.</p>
  
  <p>What are the reasons for this.</p>
  
  <p>Thanks in advance...</p>