← Back to team overview

dhis2-users team mailing list archive

Re: Error when loading 2.19 sample data

 

You need to make sure the database name, database user name, and database
password are correct in the hibernate.properties file.

Knut

On Wed, Sep 9, 2015 at 2:25 AM, Adam Preston <adam704a@xxxxxxxxxxx> wrote:

> I am running my own instance of 2.19 and everything goes fine until I try
> to load in the sample data for that version.  When I do I get this error:
>
> Acquisition Attempt Failed!!! Clearing pending acquires. While trying to
> acquire a needed new resource, we failed to succeed more than the maximum
> number of allowed acquisition attempts (30). Last acquisition attempt
> exception:  (BasicResourcePool.java
> [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0])
>
> web_1 | org.postgresql.util.PSQLException: The connection attempt failed.
>
> web_1 | at
> org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:233)
>
>
> Everything went fine loading the data.
>
>
> Has anyone seen this before? Do I need to adjust some hibernate setting?
>
>
>
> Thanks,
>
>
> Adam
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring
Dept. of Informatics, University of Oslo
Norway: +4791880522
Skype: knutstar
http://dhis2.org

Follow ups

References