This page last changed on Feb 01, 2014 by tjoek.

Hi All,

OpenRemote has been running fine for a few weeks on a RPi running soft float debian with Java 6.
But after playing around with other things on the same Pi I wanted to do a clean install.

However this doesn't seem to work. Java is there and the server starts but the Controller is not started due to a listenerStart error.

Can anyone tell me how to fix this or where to look for more clues?

01-Feb-2014 12:48:46 org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performanc
e in production environments was not found on the java.library.path: /opt/openre
mote/webapps/controller/WEB-INF/lib/native
01-Feb-2014 12:48:47 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
01-Feb-2014 12:48:47 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 7004 ms
01-Feb-2014 12:48:48 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
01-Feb-2014 12:48:48 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
01-Feb-2014 12:48:48 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive webconsole.war
01-Feb-2014 12:48:53 org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
01-Feb-2014 12:48:53 org.apache.catalina.core.StandardContext start
SEVERE: Context [/controller] startup failed due to previous errors
01-Feb-2014 12:48:54 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
01-Feb-2014 12:48:54 org.apache.catalina.startup.Catalina start
INFO: Server startup in 7210 ms

Can you check the two log files under /logs/container and see if there's more detail there on the listenerError?

Posted by juha at Feb 03, 2014 11:40

I didn't some further checks on Saturday and discovered that not all files and directories in the controller directory where present. (No clue what happened here) Simply recopying them did remove the error message, but somehow I still couldn't resync from the designer. I expect a corrupt installation and will simply start from scratch later this week.

I will certainly have a look at the logs if the error occurs again.

Posted by tjoek at Feb 03, 2014 13:38

Hiii Sir..

Me too have the same problem...

I'm showing here two log files under /logs/container

appcontext:

Feb 18, 2014 11:00:30 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Error configuring application listener of class org.springframework.web.util.Log4jConfigListener
java.lang.ClassNotFoundException: org.springframework.web.util.Log4jConfigListener
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3786)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

Feb 18, 2014 11:00:30 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener
java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3786)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

Feb 18, 2014 11:00:30 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Skipped installing application listeners due to previous error(s)

tomcat-server:

Feb 18, 2014 11:00:29 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Users\dell\shProject\ORC\webapps\controller\WEB-INF\lib\native
Feb 18, 2014 11:00:30 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Feb 18, 2014 11:00:30 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 466 ms
Feb 18, 2014 11:00:30 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Feb 18, 2014 11:00:30 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
Feb 18, 2014 11:00:30 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive webconsole.war
Feb 18, 2014 11:00:30 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Feb 18, 2014 11:00:30 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/controller] startup failed due to previous errors
Feb 18, 2014 11:00:30 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Feb 18, 2014 11:00:30 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 715 ms

Posted by fazil abdulla at Feb 18, 2014 06:08

There's something wrong with your install or file permissions.

The core framework classes are not found: java.lang.ClassNotFoundException: org.springframework.web.util.Log4jConfigListener

This class is located in controller's /webapps/controller/WEB-INF/lib/spring.jar file.

Posted by juha at Feb 18, 2014 06:13

Thanks for the replay Sir....

I Downloaded a fresh copy and tried again now it's working fine....

Thank you sir.....

Posted by fazil abdulla at Feb 18, 2014 16:44
Document generated by Confluence on Jun 05, 2016 09:37