← Back to team overview

dhis2-users team mailing list archive

Re: dhis2 2.20 War file fail to be executed:SEVERE: Error configuring application listener of class org.hisp.dhis.system.startup.StartupListener

 

Thank you very much dear team
It ok now.

Regards,


*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 26 May 2016 at 20:03, Craig A <cappl@xxxxxxxxxxxxxxxxxxxxx> wrote:

> Hi,
>
> There's a mismatch with your java version. The default Java version for
> Ubuntu 14.04 is Java 7. You'll have to autoremove Java 7 and install Java
> 8. The instructions for installing Java 8 can be found near the bottom of this
> page
> <http://dhis2.github.io/dhis2-docs/master/en/implementer/html/ch08s03.html>
> .
>
> Sincerely,
> Craig
>
> On Thu, May 26, 2016 at 10:57 AM, Kamugunga Adolphe <kaadol@xxxxxxxxx>
> wrote:
>
>> 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
>>>
>>>
>>
>> _______________________________________________
>> 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
>>
>>
>
>
> --
> Craig Appl
> Lead Technical Program Manager, Mobile Health Innovations
> Grameen Foundation
> 2101 4th Ave | Suite 1550 | Seattle, WA 98121
> Skype:craigappl
> Facebook <http://www.facebook.com/StopPovertyNow>│Twitter
> <http://twitter.com/grameenfdn>│YouTube
> <http://www.youtube.com/user/grameen?blend=6&ob=5> | www.motechsuite.org
> *Connecting the World's Poor to Their Potential*
>

Follow ups

References