dhis2-users team mailing list archive
-
dhis2-users team
-
Mailing list archive
-
Message #10370
dhis2 2.20 War file fail to be executed:SEVERE: Error configuring application listener of class org.hisp.dhis.system.startup.StartupListener
Hi there,
I am trying to install a training server on ubuntu 14.04 with a recent
2.20 war file on a laptop. When i browser the nginx works fine but when i
include the full path to my test instance it fails to run.
Checking from the catalina logs file i realize that the system had severe
error.Can someone guide me how to deal with it? Here is the log details
May 26, 2016 6:25:04 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-127.0.0.1-8081"]
May 26, 2016 6:25:04 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 616 ms
May 26, 2016 6:25:04 PM org.apache.catalina.core.StandardService
startInternal
INFO: Starting service Catalina
May 26, 2016 6:25:04 PM org.apache.catalina.core.StandardEngine
startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.52 (Ubuntu)
May 26, 2016 6:25:04 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive /var/lib/dhis2/test/webapps/test.war
May 26, 2016 6:25:18 PM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
May 26, 2016 6:25:18 PM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Error configuring application listener of class
org.hisp.dhis.system.startup.StartupListener
java.lang.UnsupportedClassVersionError:
org/hisp/dhis/system/startup/StartupListener : Unsupported major.minor
version 52.0 (unable to load class
org.hisp.dhis.system.startup.StartupListener)
at
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2948)
at
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1208)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1688)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1569)
at
org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:529)
at
org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:511)
at
org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:139)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4888)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467)
at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1073)
at
org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
May 26, 2016 6:25:18 PM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Skipped installing application listeners due to previous error(s)
May 26, 2016 6:25:18 PM org.apache.catalina.core.StandardContext
startInternal
SEVERE: Error listenerStart
May 26, 2016 6:25:18 PM org.apache.catalina.core.StandardContext
startInternal
SEVERE: Context [/test] startup failed due to previous errors
May 26, 2016 6:25:18 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-127.0.0.1-8081"]
May 26, 2016 6:25:18 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 14165 ms
*Adolphe Kamugunga*
*MIS Technical Advisor*
*Knowledge Management, Data Use and Research*
Rwanda Health System Strengthening Activity
Management Sciences for Health
Rwanda-Kigali
Mobile: +250 788 740 578
Email:kaadol@xxxxxxxxx
Skype: ka.adolphe
<http://www.msh.org/>
Stronger health systems. Greater health impact.
On 25 May 2016 at 15:03, Lars Helge Øverland <lars@xxxxxxxxx> wrote:
> Sounds good.
>
> On Wed, May 25, 2016 at 2:53 PM, Uwe Wahser <uwe@xxxxxxxxx> wrote:
>
>> Oh sorry, I am still on 2.22. Good to know - will upgrade as soon as
>> possible.
>>
>> Thanks,
>>
>> Uwe
>> ---
>> > Lars Helge Øverland <lars@xxxxxxxxx> hat am 25. Mai 2016 um 15:50
>> geschrieben:
>> >
>> >
>> > Hi Uwe,
>> >
>> > which DHIS 2 version is this? It should already be like this in 2.23.
>> >
>> > regards,
>> >
>> > Lars
>> >
>> >
>> > On Wed, May 25, 2016 at 2:44 PM, Uwe Wahser <uwe@xxxxxxxxx> wrote:
>> >
>> > > Dear devs,
>> > >
>> > > would it be a big thing to extend the catalina logline "Data value
>> import
>> > > done"
>> > > with the number of values deleted? Currently there is only total,
>> import
>> > > and
>> > > update. Batch delete was only introduced recently, that might be the
>> > > reason why
>> > > this value is missing.
>> > >
>> > > Thanks a lot,
>> > >
>> > > Uwe
>> > >
>> > > _______________________________________________
>> > > Mailing list: https://launchpad.net/~dhis2-devs
>> > > Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>> > > Unsubscribe : https://launchpad.net/~dhis2-devs
>> > > More help : https://help.launchpad.net/ListHelp
>> > >
>> >
>> >
>> >
>> > --
>> > Lars Helge Øverland
>> > Lead developer, DHIS 2
>> > University of Oslo
>> > Skype: larshelgeoverland
>> > lars@xxxxxxxxx
>> > http://www.dhis2.org <https://www.dhis2.org/>
>>
>
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> lars@xxxxxxxxx
> http://www.dhis2.org <https://www.dhis2.org/>
>
>
> _______________________________________________
> 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