You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by "diego.villecco@11x.com.ar (JIRA)" <ji...@apache.org> on 2010/02/13 19:50:28 UTC

[jira] Created: (COMDEV-16) A ResourcePool could not acquire a resource from its primary factory or source.

A ResourcePool could not acquire a resource from its primary factory or source.
-------------------------------------------------------------------------------

                 Key: COMDEV-16
                 URL: https://issues.apache.org/jira/browse/COMDEV-16
             Project:  	 Community Development 
          Issue Type: Question
         Environment: Tomcat, Hibernate, Postgresql
            Reporter: diego.villecco@11x.com.ar
            Priority: Critical


Hi, hopefully you can help me, I am stuck with this error.
 
 
My site works great locally but when deployed at the server I get the following error, you can see it at 11x.com.ar
 
java.sql.SQLException: An SQLException was provoked by the following failure: com.mchange.v2.resourcepool.ResourcePoolException: A ResourcePool cannot acquire 
 
I am using hibernate and postgresql.
The db is created with name toyta01_11xar101
The hibernate.cfg.xml file defines:
<property name="hibernate.connection.driver_class">org.postgresql.Driver</property><property name="hibernate.connection.url">jdbc:postgresql://localhost/toyta01_11xar101</property><property name="hibernate.connection.username">toyta01_fana</property><property name="hibernate.connection.password">***</property><property name="hibernate.connection.shutdown">true</property><property name="dialect">org.hibernate.dialect.PostgreSQLDialect</property><property name="transaction.factory_class">org.hibernate.transaction.JDBCTransactionFactory</property><property name="show_sql">true</property><property name="hibernate.cache.provider_class">org.hibernate.cache.HashtableCacheProvider</property> I just removed the password here, I understand. Then I have<property name="connection.provider_class">org.hibernate.connection.C3P0ConnectionProvider</property><property name="hibernate.c3p0.max_size">20</property><property name="hibernate.c3p0.min_size">0</property><property name="hibernate.c3p0.timeout">5000</property><property name="hibernate.c3p0.max_statements">100</property><property name="hibernate.c3p0.idle_test_period">3000</property><property name="hibernate.c3p0.acquire_increment">2</property> User toyta01_fana has enough privileges.  Thanks in advance. Diego


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (COMDEV-16) A ResourcePool could not acquire a resource from its primary factory or source.

Posted by "Ross Gardler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COMDEV-16?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ross Gardler closed COMDEV-16.
------------------------------

    Resolution: Invalid

This issue appears to have been misfiled against the community development project.

> A ResourcePool could not acquire a resource from its primary factory or source.
> -------------------------------------------------------------------------------
>
>                 Key: COMDEV-16
>                 URL: https://issues.apache.org/jira/browse/COMDEV-16
>             Project: Community Development
>          Issue Type: Question
>         Environment: Tomcat, Hibernate, Postgresql
>            Reporter: diego.villecco@11x.com.ar
>            Priority: Critical
>
> Hi, hopefully you can help me, I am stuck with this error.
>  
>  
> My site works great locally but when deployed at the server I get the following error, you can see it at 11x.com.ar
>  
> java.sql.SQLException: An SQLException was provoked by the following failure: com.mchange.v2.resourcepool.ResourcePoolException: A ResourcePool cannot acquire 
>  
> I am using hibernate and postgresql.
> The db is created with name toyta01_11xar101
> The hibernate.cfg.xml file defines:
> <property name="hibernate.connection.driver_class">org.postgresql.Driver</property><property name="hibernate.connection.url">jdbc:postgresql://localhost/toyta01_11xar101</property><property name="hibernate.connection.username">toyta01_fana</property><property name="hibernate.connection.password">***</property><property name="hibernate.connection.shutdown">true</property><property name="dialect">org.hibernate.dialect.PostgreSQLDialect</property><property name="transaction.factory_class">org.hibernate.transaction.JDBCTransactionFactory</property><property name="show_sql">true</property><property name="hibernate.cache.provider_class">org.hibernate.cache.HashtableCacheProvider</property> I just removed the password here, I understand. Then I have<property name="connection.provider_class">org.hibernate.connection.C3P0ConnectionProvider</property><property name="hibernate.c3p0.max_size">20</property><property name="hibernate.c3p0.min_size">0</property><property name="hibernate.c3p0.timeout">5000</property><property name="hibernate.c3p0.max_statements">100</property><property name="hibernate.c3p0.idle_test_period">3000</property><property name="hibernate.c3p0.acquire_increment">2</property> User toyta01_fana has enough privileges.  Thanks in advance. Diego

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.