Unable to start DHIS2 after installation

Thanks Sohel @jomutsani ,

But, I am not sure who marked this as a “Solution” but the issue is far from resolved and the final post can’t possibly constitute a definative solution.

1 Like

Hi @danboy,

Hope you are well. Did you manage to find a workaround this ?

Hi @jomutsani, sadly no!

1 Like

Have you tried using @sohel’s recommendations?

Hi James

You might be aware that Sohel’s recommendations differ wildly to the “recommended” or prescribed method in “Official” Implementation Guide dated May 2019. It is akin to try this or that and suck it and see!

However, if I don’t find a better alternative I may have no choice.

Thanks

Russell

1 Like

I hear you @danboy. Let me try and link you up with @julhas whom I am quite sure can help sort you out.

I hear you @danboy. Let me try and link you up with @julhas whom I am quite sure can help sort you out.

I hear you @danboy. Let me try and link you up with @julhas whom I am quite sure can help sort you out.

@danboy

Which JDK are you using? I see from earlier in the thread that you were using JDK11 initially at least. DHIS2 will not work with JDK11 at this time; you need JDK8.

Kind regards,
Phil

1 Like

Hi @danboy, I can see your issues over skype. My skype id is “julhas08”.

Thanks @jomutsani.

1 Like

Thank you @phil and @julhas :smile:

Thanks @jomutsani

@julhas & @phil I will contact Julhas by Skype at 1400 BST tomorrow.

I have two no three environments none of which work, however I’ll focus on the one and take it from there:

Ubuntu 18.04 Bionic running as a VM on Citrix with 4GB RAM
Postgres 10

Tomcat 8; Open Java 8
Using CATALINA_BASE: /home/dhis/tomcat-dhis
Using CATALINA_HOME: /usr/share/tomcat8
Using CATALINA_TMPDIR: /home/dhis/tomcat-dhis/temp
Using JRE_HOME: /usr/lib/jvm/java-8-openjdk-amd64
Using CLASSPATH: /usr/share/tomcat8/bin/bootstrap.jar:/usr/share/tomcat8/bin/tomcat-juli.jar
Tomcat started.
Tomcat started

As you can see from the sample below, Tomcat runs, however the deployment of the war file fails. Attempts to reach localhost:8080 and localhost:8080/management both fail returning 404

This is a Sample Web Application - Snoop Servlet

Host Name & IP Address: dhistest01 with IP=192.168.30.111

JVM Name: null

Date & Time: Mon Oct 14 19:34:20 BST 2019

HTTP Request URL : http://192.168.30.111:8080/SampleWebApp/welcome.jsp

HTTP Request Method : GET

HTTP Request Headers Received

host 192.168.30.111:8080
user-agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0
accept text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
accept-language en-GB,en;q=0.5
accept-encoding gzip, deflate
referer http://192.168.30.111:8080/SampleWebApp/
connection keep-alive
cookie JSESSIONID=EADA88005CF99538CFD5A423062F1FCF
upgrade-insecure-requests 1
cache-control max-age=0

HTTP Cookies Received

Thanks

1 Like