New DHIS2 Installation white/blank screen

Hello Communty,

I just finished installing DHIS2. When I run 192.x.x.2 (port 80). I get a blank screen. The only clue I’ve got is the abnormal catalina.out log:

···

dhis@webserver:~$ tail -f tomcat-dhis/logs/catalina.out

    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

    at java.util.concurrent.FutureTask.run(FutureTask.java:266)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

    at java.lang.Thread.run(Thread.java:745)

Mar 24, 2016 5:04:31 PM org.apache.coyote.AbstractProtocol start

INFO: Starting ProtocolHandler [“http-bio-80”]

Mar 24, 2016 5:04:31 PM org.apache.catalina.startup.Catalina start

INFO: Server startup in 966 ms


Seeing **concurrent **I thought perhaps I have two tomcat/java instances running. But stopping tomcat and starting one instance leaves nothing running (I get

This site can’t be reached in the browser).

Kindly help.

Thanks

Adam

Hi Adam, there is bound to be more interesting info before the tail end of the log that you shared.

···

On Thu, Mar 24, 2016 at 4:12 PM, Adam Dawoodjee adam.daveed@gmail.com wrote:

Hello Communty,

I just finished installing DHIS2. When I run 192.x.x.2 (port 80). I get a blank screen. The only clue I’ve got is the abnormal catalina.out log:


dhis@webserver:~$ tail -f tomcat-dhis/logs/catalina.out

    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

Mar 24, 2016 5:04:31 PM org.apache.coyote.AbstractProtocol start

INFO: Starting ProtocolHandler [“http-bio-80”]

Mar 24, 2016 5:04:31 PM org.apache.catalina.startup.Catalina start

INFO: Server startup in 966 ms


Seeing **concurrent **I thought perhaps I have two tomcat/java instances running. But stopping tomcat and starting one instance leaves nothing running (I get

This site can’t be reached in the browser).

Kindly help.

Thanks

Adam


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

Also, if you are running just plain Tomcat (without nginx reverse proxy), you probably want to look at port 8080 instead.

···

On Thu, Mar 24, 2016 at 4:30 PM, Knut Staring knutst@gmail.com wrote:

Hi Adam, there is bound to be more interesting info before the tail end of the log that you shared.

On Thu, Mar 24, 2016 at 4:12 PM, Adam Dawoodjee adam.daveed@gmail.com wrote:

Hello Communty,

I just finished installing DHIS2. When I run 192.x.x.2 (port 80). I get a blank screen. The only clue I’ve got is the abnormal catalina.out log:


dhis@webserver:~$ tail -f tomcat-dhis/logs/catalina.out

    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

Mar 24, 2016 5:04:31 PM org.apache.coyote.AbstractProtocol start

INFO: Starting ProtocolHandler [“http-bio-80”]

Mar 24, 2016 5:04:31 PM org.apache.catalina.startup.Catalina start

INFO: Server startup in 966 ms


Seeing **concurrent **I thought perhaps I have two tomcat/java instances running. But stopping tomcat and starting one instance leaves nothing running (I get

This site can’t be reached in the browser).

Kindly help.

Thanks

Adam


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

And do you not have a name for your .war file? meaning /dhis or something

···

On Thu, Mar 24, 2016 at 4:32 PM, Knut Staring knutst@gmail.com wrote:

Also, if you are running just plain Tomcat (without nginx reverse proxy), you probably want to look at port 8080 instead.

On Thu, Mar 24, 2016 at 4:30 PM, Knut Staring knutst@gmail.com wrote:

Hi Adam, there is bound to be more interesting info before the tail end of the log that you shared.


Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

On Thu, Mar 24, 2016 at 4:12 PM, Adam Dawoodjee adam.daveed@gmail.com wrote:

Hello Communty,

I just finished installing DHIS2. When I run 192.x.x.2 (port 80). I get a blank screen. The only clue I’ve got is the abnormal catalina.out log:


dhis@webserver:~$ tail -f tomcat-dhis/logs/catalina.out

    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

Mar 24, 2016 5:04:31 PM org.apache.coyote.AbstractProtocol start

INFO: Starting ProtocolHandler [“http-bio-80”]

Mar 24, 2016 5:04:31 PM org.apache.catalina.startup.Catalina start

INFO: Server startup in 966 ms


Seeing **concurrent **I thought perhaps I have two tomcat/java instances running. But stopping tomcat and starting one instance leaves nothing running (I get

This site can’t be reached in the browser).

Kindly help.

Thanks

Adam


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

You’re right Knut!

I found the problem. In my case, I had cancelled the first dhis.war download and started a second. mv dhis.war tomcat-dhis/webapps/ROOT.war was copying the broken dhis.war file (colored peach). This can be seen from the log excerpt below:

INFO: Deploying web application archive /home/dhis/tomcat-dhis/webapps/ROOT.war

Mar 24, 2016 1:28:27 PM org.apache.catalina.startup.ContextConfig beforeStart

SEVERE: Exception fixing docBase for context

java.util.zip.ZipException: error in opening zip file

    at java.util.zip.ZipFile.open(Native Method)

    at java.util.zip.ZipFile.<init>(ZipFile.java:219)

    at java.util.zip.ZipFile.<init>(ZipFile.java:149)

    at java.util.jar.JarFile.<init>(JarFile.java:166)

    at java.util.jar.JarFile.<init>(JarFile.java:103)

    at sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:93)

    at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:69)

    at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:99)

    at sun.net.www.protocol.jar.JarURLConnection.connect

Only problem is I’m installing on a smaller server which is taking forever to extract the ROOT.war file. Over 30 minutes now.

···

On Thu, Mar 24, 2016 at 5:12 PM, Adam Dawoodjee adam.daveed@gmail.com wrote:

Hello Communty,

I just finished installing DHIS2. When I run 192.x.x.2 (port 80). I get a blank screen. The only clue I’ve got is the abnormal catalina.out log:


dhis@webserver:~$ tail -f tomcat-dhis/logs/catalina.out

    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

Mar 24, 2016 5:04:31 PM org.apache.coyote.AbstractProtocol start

INFO: Starting ProtocolHandler [“http-bio-80”]

Mar 24, 2016 5:04:31 PM org.apache.catalina.startup.Catalina start

INFO: Server startup in 966 ms


Seeing **concurrent **I thought perhaps I have two tomcat/java instances running. But stopping tomcat and starting one instance leaves nothing running (I get

This site can’t be reached in the browser).

Kindly help.

Thanks

Adam

I’ll consider changing the port once the .war is fully extracted.

PS: to be fully specific I’m running a smaller server with:

  • Ubuntu server 14.04

  • 2 GB RAM

  • Celeron D with >= 2.5GHz

···

On Thu, Mar 24, 2016 at 5:32 PM, Knut Staring knutst@gmail.com wrote:

Also, if you are running just plain Tomcat (without nginx reverse proxy), you probably want to look at port 8080 instead.

On Thu, Mar 24, 2016 at 4:30 PM, Knut Staring knutst@gmail.com wrote:

Hi Adam, there is bound to be more interesting info before the tail end of the log that you shared.


Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

On Thu, Mar 24, 2016 at 4:12 PM, Adam Dawoodjee adam.daveed@gmail.com wrote:

Hello Communty,

I just finished installing DHIS2. When I run 192.x.x.2 (port 80). I get a blank screen. The only clue I’ve got is the abnormal catalina.out log:


dhis@webserver:~$ tail -f tomcat-dhis/logs/catalina.out

    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

Mar 24, 2016 5:04:31 PM org.apache.coyote.AbstractProtocol start

INFO: Starting ProtocolHandler [“http-bio-80”]

Mar 24, 2016 5:04:31 PM org.apache.catalina.startup.Catalina start

INFO: Server startup in 966 ms


Seeing **concurrent **I thought perhaps I have two tomcat/java instances running. But stopping tomcat and starting one instance leaves nothing running (I get

This site can’t be reached in the browser).

Kindly help.

Thanks

Adam


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org