dhis2-users team mailing list archive
-
dhis2-users team
-
Mailing list archive
-
Message #08988
Re: Error Upgrading from 2.20-2.21
Hi Tony
There is nothing I see from that output that tells me what the issue is.
But I would do a full clean of the webapps directory, and try again. Also
make sure that only one instance is running.
If you are running anything but the very latest version of Tomcat7/8 I
would also upgrade that (I know there was some issues in earlier versions
of tomcat 7)
--
Morten
On Tue, Jan 5, 2016 at 9:24 PM, tony <anthonydanso47@xxxxxxxxx> wrote:
> 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
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help : https://help.launchpad.net/ListHelp
>
>
Follow ups
References