← Back to team overview

dhis2-devs team mailing list archive

[Bug 1266632] Re: Database tables loaded upon start and deleted upon shutdown of tomcat

 

Hi Lars,
Thanks for the prompt feedback. The hibernate.properties entries are below (with password concealed):
hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect
hibernate.connection.driver_class = org.postgresql.Driver
hibernate.connection.url = jdbc:postgresql:mifumi
hibernate.connection.username = dhis
hibernate.connection.password = xxxxx
hibernate.hbm2dll.auto = update

The path in environment variables: 
Variable name: DHIS2_HOME
Variable path: C:\DHIS2

Also attached is the cataline logfile

Thanks and looking forward.
With kind regards,
Simon.


** Attachment added: "catalina.2014-01-07.log"
   https://bugs.launchpad.net/dhis2/+bug/1266632/+attachment/3942497/+files/catalina.2014-01-07.log

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1266632

Title:
  Database tables loaded upon start and deleted upon shutdown of tomcat

Status in DHIS 2:
  Invalid

Bug description:
  I have a scenario on Windows7, tomcat 7.0.42 (in xampp) with Postgres9.2, DHIS2 v13:
  When I fire up tomcat, it populates my database with 255 tables and all seems fine. Data can be inserted, password changed etc; and this reflects in the database.
  Now, when I shutdown tomcat, it deletes all tables, leaving on 6 aggregate tables.

  When I restart tomcat, it loads brand new tables; without data into
  the database, as if it is running a new deployment. This also happened
  to me online on a Linux server.

  Has anyone encountered this problem? And what might be the remedy?

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1266632/+subscriptions


References