← Back to team overview

dhis2-users team mailing list archive

Error Upgrading from 2.20-2.21

 

HI Users,

	Am trying to upgrade one of my instance on the production server from 2.20 to 2.21 and its not deploying found this in the log.
Any help on this?

I upgraded the Java to Java 8 as per the upgrade requirement.

tony@www:~$ java -version 
openjdk version "1.8.0_72-internal"
OpenJDK Runtime Environment (build 1.8.0_72-internal-b05)
OpenJDK 64-Bit Server VM (build 25.72-b05, mixed mode)

Tomcat Log
Jan 05, 2016 2:13:11 PM org.apache.catalina.startup.HostConfig deployWAR
SEVERE: Error deploying web application archive /var/lib/dhis2/tracker/webapps/tracker.war
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/tracker]]
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:898)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:958)
        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1599)
        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)

Jan 05, 2016 2:13:11 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-127.0.0.1-8088"]
Jan 05, 2016 2:13:11 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 2757 ms

Follow ups