← Back to team overview

dhis2-devs team mailing list archive

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

 

This means that your database configuration is not being picked up. Can
you please post the tomcat log from the startup process? Check your
DHIS2_HOME env variable and your hibernate.properties files and
location.

** Changed in: dhis2
       Status: New => Invalid

-- 
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