DHIS2 version 2.22 installation : SEVERE: Error listenerStart

Am making a fresh deployment of Dhis2.22 on my ubuntu test server.
I get the SEVERE: Error listenerStart, I can't understand why am getting
the error. I can run dhis2.18 straight up, no glitches on the same server.

The release not doesn't say much, except using dhis.conf instead of
the hibernate.properties.

I suspect it's the version of java am running, (java version "1.7.0_79")
OpenJDK Runtime Environment (IcedTea 2.5.5) (7u79-2.5.5-0ubuntu0.14.04.2)
OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode)

postgres@dhis:/home/dhis$ psql --version
psql (PostgreSQL) 9.3.9

This is what comes in the logs:

dhis@dhis:~$ tail -f tomcat-dhis/logs/catalina.out
Feb 06, 2016 10:12:43 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Feb 06, 2016 10:12:43 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 572 ms
Feb 06, 2016 10:12:44 AM org.apache.catalina.core.StandardService
startInternal
INFO: Starting service Catalina
Feb 06, 2016 10:12:44 AM org.apache.catalina.core.StandardEngine
startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.52 (Ubuntu)
Feb 06, 2016 10:12:44 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive
/home/dhis/tomcat-dhis/webapps/dhis.war
Feb 06, 2016 10:12:53 AM org.apache.catalina.core.StandardContext
startInternal
SEVERE: Error listenerStart
Feb 06, 2016 10:12:53 AM org.apache.catalina.core.StandardContext
startInternal
SEVERE: Context [/dhis] startup failed due to previous errors
Feb 06, 2016 10:12:53 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Feb 06, 2016 10:12:53 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Feb 06, 2016 10:12:53 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 9654 ms

Any leads?

Anthony

From version 2.21, java 8 is required, please refer: https://www.dhis2.org/221-upgrade

···

On Sat, Feb 6, 2016 at 1:51 PM, Muyepa A. muyepaa@gmail.com wrote:


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

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

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

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

Am making a fresh deployment of Dhis2.22 on my ubuntu test server.

I get the SEVERE: Error listenerStart, I can’t understand why am getting the error. I can run dhis2.18 straight up, no glitches on the same server.

The release not doesn’t say much, except using dhis.conf instead of the hibernate.properties.

I suspect it’s the version of java am running, (java version “1.7.0_79”)

OpenJDK Runtime Environment (IcedTea 2.5.5) (7u79-2.5.5-0ubuntu0.14.04.2)

OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode)

This is what comes in the logs:

postgres@dhis:/home/dhis$ psql --version

psql (PostgreSQL) 9.3.9

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

Feb 06, 2016 10:12:43 AM org.apache.coyote.AbstractProtocol init

INFO: Initializing ProtocolHandler [“ajp-bio-8009”]

Feb 06, 2016 10:12:43 AM org.apache.catalina.startup.Catalina load

INFO: Initialization processed in 572 ms

Feb 06, 2016 10:12:44 AM org.apache.catalina.core.StandardService startInternal

INFO: Starting service Catalina

Feb 06, 2016 10:12:44 AM org.apache.catalina.core.StandardEngine startInternal

INFO: Starting Servlet Engine: Apache Tomcat/7.0.52 (Ubuntu)

Feb 06, 2016 10:12:44 AM org.apache.catalina.startup.HostConfig deployWAR

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

Feb 06, 2016 10:12:53 AM org.apache.catalina.core.StandardContext startInternal

SEVERE: Error listenerStart

Feb 06, 2016 10:12:53 AM org.apache.catalina.core.StandardContext startInternal

SEVERE: Context [/dhis] startup failed due to previous errors

Feb 06, 2016 10:12:53 AM org.apache.coyote.AbstractProtocol start

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

Feb 06, 2016 10:12:53 AM org.apache.coyote.AbstractProtocol start

INFO: Starting ProtocolHandler [“ajp-bio-8009”]

Feb 06, 2016 10:12:53 AM org.apache.catalina.startup.Catalina start

INFO: Server startup in 9654 ms

Any leads?

Anthony

Regards,
Bharath Kumar. Ch