Local installation

Hello,

I locally installed DHIS2 on my laptop. When I try to access http://localhost:8080/dhis and I want to http://localhost:8080/dhis/dhis-web-commons/security/login.action but see anything.

I installed :

  1. apache-tomcat-9.0.98
  2. openlogic-openjdk-11.0.20+8-windows-x64
  3. postgresql-14.15-3-windows-x64
  4. postgis-bundle-pg14-3.5.0x64
  5. dhis2-stable-40.1.0.war

dhis.conf

Hibernate SQL dialect

connection.dialect = org.hibernate.dialect.PostgreSQLDialect

JDBC driver class

connection.driver_class = org.postgresql.Driver

Database connection URL

connection.url = jdbc:postgresql:dhis2

Database username

connection.username = dhis2

Database password

connection.password = 123456

Database schema behavior, can be validate, update, create, create-drop

connection.schema = update

Encryption password (sensitive)

encryption.password = abcd

DHIS2_HOME
C:\DHIS2

JRE_HOME
C:\Program Files\OpenLogic\jdk-11.0.20.8-hotspot\

Thanks

it should be simply http://localhost:8080 if you install DHIS war as ROOT.war

your url will only work if you isntalled the war are dhis.war but I always named it ROOT.war when I have a single war on a tomcat server.

br

1 Like