← Back to team overview

dhis2-devs team mailing list archive

Re: [Bug 426254] Re: Rev. 639 fails to start on windows

 

Hi Jason,

Your log actually says that it found the hibernate.poperties file and that
it tried, BUT failed to connect to your postgres database:

* INFO 12:30:57,095 Hibernate properties file found:
c:\dhis2\hibernate.properties (DefaultHibernateConfigurationProvider.java
[Thread-1])
* WARN 12:31:28,658
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@a36771 --
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])
org.postgresql.util.PSQLException: FATAL: password authentication failed for
user "sa"

Looks like your database wasn't running or the connection properties are
wrong.


Ola Hodne Titlestad |Technical Officer|
Health Metrics Network (HMN) | World Health Organization
Avenue Appia 20 |1211 Geneva 27, Switzerland | Email: titlestado@xxxxxxx|Tel:
+41 788216897
Website: www.healthmetricsnetwork.org

Better Information. Better Decisions. Better Health.


2009/9/8 jason.p.pickering <jason.p.pickering@xxxxxxxxx>

>
> ** Attachment added: "stack.txt"
>   http://launchpadlibrarian.net/31490264/stack.txt
>
> --
> Rev. 639 fails to start on windows
> https://bugs.launchpad.net/bugs/426254
> You received this bug notification because you are a member of DHIS 2
> coordinators, which is the registrant for DHIS.
>
> Status in DHIS 2: New
>
> Bug description:
> Using the generate war file from source (rev 639) DHIS2 fails to start on
> Windows. Same war file starts fine on Ububtu. It seems the
> hibernate.properties files cannot be found for some reason, even though it
> is there (c:\dhis2\hibernate.properties)
>
> hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect
> hibernate.connection.driver_class = org.postgresql.Driver
> hibernate.connection.url = jdbc:postgresql:dhis2_zm
> hibernate.connection.password = (REMOVED)
> hibernate.hbm2ddl.auto = update
>

-- 
Rev. 639 fails to start on windows
https://bugs.launchpad.net/bugs/426254
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.

Status in DHIS 2: New

Bug description:
Using the generate war file from source (rev 639) DHIS2 fails to start on Windows. Same war file starts fine on Ububtu. It seems the hibernate.properties files cannot be found for some reason, even though it is there (c:\dhis2\hibernate.properties)

hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect
hibernate.connection.driver_class = org.postgresql.Driver
hibernate.connection.url = jdbc:postgresql:dhis2_zm
hibernate.connection.password = (REMOVED)
hibernate.hbm2ddl.auto = update



Follow ups

References