dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #46832
Re: [Bug 1625181] Re: Organisation Unit Data Lost After Restarting Web Server
Your dhis.conf should look like this:
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
On Mon, Sep 19, 2016 at 3:15 PM, Brajesh Murari <1625181@xxxxxxxxxxxxxxxxxx>
wrote:
> Specially i did system integration testing with PostGres Data Base, i
> found data does't preserve and after restating server, it loses all data, i
> am not sure but it can be a bug or might be i am losing some system
> configuration issue which need to be taken care of apart form setting
> values like
>
> hibernate.connection.schema = update
>
> in dhis.conf or hibernate.property file. Guide me in this situation where
> i am not been able to find exact
> solution for above system integration testing use case.
>
> --
> You received this bug notification because you are a member of DHIS 2
> developers, which is subscribed to DHIS.
> https://bugs.launchpad.net/bugs/1625181
>
> Title:
> Organisation Unit Data Lost After Restarting Web Server
>
> Status in DHIS:
> New
>
> Bug description:
> When i am trying to create organisation unit hierarchy in new empty
> database, and after some time later when i am getting loged out and
> restarting server, it loses all organization unit hierarchy in
> database organisation unit table in database in spite of i have
> assigned value
>
> hibernate.connection.schema = update
>
> in "dhis.conf" file in "DHIS2_HOME" system environment variable.
>
> I think this is a very serious bug in dhis trunk and in dhis2.24
> branch.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/dhis2/+bug/1625181/+subscriptions
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help : https://help.launchpad.net/ListHelp
>
--
Knut Staring
Dept. of Informatics, University of Oslo
Norway: +4791880522
Skype: knutstar
http://dhis2.org
References