Note that there are some explanatory texts on larger screens.

plurals
  1. POC3P0 Connection Problem
    primarykey
    data
    text
    <p>I am using hibernate and cp30 for database operations and getting error:</p> <pre><code>com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection </code></pre> <p>Here are my jdbc properties:</p> <pre><code> &lt;property name="acquireIncrement" value="2"/&gt; &lt;property name="initialPoolSize" value="6"/&gt; &lt;property name="maxIdleTime" value="21600"/&gt; &lt;property name="maxPoolSize" value="10"/&gt; &lt;property name="maxStatements" value="0"/&gt; &lt;property name="minPoolSize" value="2"/&gt; &lt;property name="idleConnectionTestPeriod" value="10800"/&gt; &lt;!--&lt;property name="testConnectionOnCheckout" value="true" / &gt;--&gt; &lt;property name="preferredTestQuery" value="SELECT NOW()"/&gt; &lt;property name="maxAdministrativeTaskTime" value="3590"/&gt; &lt;property name="unreturnedConnectionTimeout" value="3595"/&gt; &lt;property name="debugUnreturnedConnectionStackTraces" value="true"/&gt; </code></pre> <p>and cp30:</p> <pre><code> &lt;prop key="c3p0.acquire_increment"&gt;3&lt;/prop&gt; &lt;prop key="c3p0.idle_test_period"&gt;300&lt;/prop&gt; &lt;prop key="c3p0.max_size"&gt;15&lt;/prop&gt; &lt;prop key="c3p0.max_statements"&gt;0&lt;/prop&gt; &lt;prop key="c3p0.min_size"&gt;3&lt;/prop&gt; &lt;prop key="c3p0.timeout"&gt;5000&lt;/prop&gt; </code></pre> <p>Mysql is not giving me any connection right now. Is there any way to display the connection usage of mysql? And can i flush these bad connections? And the most important question is, what should i do to avoid this connection pool error?</p> <p>Thanks in advance.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload