dhis2-users team mailing list archive
-
dhis2-users team
-
Mailing list archive
-
Message #09775
Re: New DHIS2 Installation white/blank screen
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.
--
Adam
On Thu, Mar 24, 2016 at 5:12 PM, Adam Dawoodjee <adam.daveed@xxxxxxxxx>
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
>
>
References