dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #28299
Re: DHIS2 on virtual machine
Hello,
Here is my file
[cid:848DE05F-F74D-44E7-9849-FF3AC954BE7D@fghmis.ht]
[cid:3F608889-A475-4660-B395-2E2A2C57CF08@fghmis.ht]
Le 27 févr. 2014 à 09:40, J. Ricardo de Juan Cajide <jricardo.dejuan@xxxxxxxxx<mailto:jricardo.dejuan@xxxxxxxxx>> a écrit :
Hi Germine,
when you created DHIS2_HOME environment variable with a specific value like C:\DHIS2\config
DHIS2_HOME=C:\DHIS2\config
Did you add the hibernate.properties file in C:\DHIS2\config?
hibernate.properties should include:
hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect
hibernate.connection.driver_class = org.postgresql.Driver
hibernate.connection.url = jdbc:postgresql:dhis2
hibernate.connection.username = dhis
hibernate.connection.password = dhis
hibernate.hbm2ddl.auto = update
else could you give more information about what manual did you follow to configure it?
Ricardo.
On Thu, Feb 27, 2014 at 2:19 PM, Seide, Germine <GSeide@xxxxxxxxxxxxxxxx<mailto:GSeide@xxxxxxxxxxxxxxxx>> wrote:
Hello J.,
I did all the configuration. See in attached file the description.
Germine.
<Capture d'écran 2014-02-27 08.06.46.png>
Le 26 févr. 2014 à 18:15, J. Ricardo de Juan Cajide <jricardo.dejuan@xxxxxxxxx<mailto:jricardo.dejuan@xxxxxxxxx>> a écrit :
Hi Germine,
I suppose that you have already created postgreSQL database with name dhis2 and dhis:dhis (user:password) in Windows 7.
Maybe you wrote DHIS2_Home instead of DHIS2_HOME??
or
If you are using dhis-live version(81 Mb v2.14), has you checked dhis-live/conf/hibernate.properties?? In this file you have to comment (#) H2 database's lines and to uncomment postgreSQL database.
regards,
Ricardo.
On Feb 26, 2014, at 11:44 PM, "Seide, Germine" <GSeide@xxxxxxxxxxxxxxxx<mailto:GSeide@xxxxxxxxxxxxxxxx>> wrote:
Hello team,
I am trying to Install DHIS 2 on a virtual machine windows 7 on my Mac OS X. I set up the DHIS2_Home variable for the hibernate file but still I cannot replace the database H2 by postgreSQL.
Some help if anyone worked on it already.
Thank you!
Germine.
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx<mailto:dhis2-devs@xxxxxxxxxxxxxxxxxxx>
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp
Follow ups
References