This page last changed on Jan 21, 2014 by peter.stadelman.

hi,

I have installed the OpenRemote-Controller=Pro1.0.11 on my Raspberry Pi according to the instructions.
When I start the controller I get the following error messages:

Using CATALINA_BASE: /home/pi/OpenRemote-Controller-Pro1.0.11
Using CATALINA_HOME: /home/pi/OpenRemote-Controller-Pro1.0.11
Using CATALINA_TMPDIR: /home/pi/OpenRemote-Controller-Pro1.0.11/temp
Using JRE_HOME: /usr

---- Logging ----------------------------------------------------------

Console (stdout) threshold CONTROLLER\_CONSOLE\_THRESHOLD: INFO

System logs:

  • Controller startup log CONTROLLER\_STARTUP\_LOG\_LEVEL: DEBUG

-----------------------------------------------------------------------
21-Jan-2014 19:40:26 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: /home/pi/OpenRemote-Controller-Pro1.0.11/webapps/controller/WEB-INF/lib/native
21-Jan-2014 19:40:27 org.apache.coyote.http11.Http11Protocol init
SEVERE: Error initializing endpoint
java.net.BindException: Address already in use<null>:8688
at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:502)
at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:176)
at org.apache.catalina.connector.Connector.initialize(Connector.java:1058)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:677)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)
at org.apache.catalina.startup.Catalina.load(Catalina.java:530)
at org.apache.catalina.startup.Catalina.load(Catalina.java:550)
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:616)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
21-Jan-2014 19:40:27 org.apache.catalina.startup.Catalina load
SEVERE: Catalina.start
LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use<null>:8688
at org.apache.catalina.connector.Connector.initialize(Connector.java:1060)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:677)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)
at org.apache.catalina.startup.Catalina.load(Catalina.java:530)
at org.apache.catalina.startup.Catalina.load(Catalina.java:550)
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:616)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
21-Jan-2014 19:40:27 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 9884 ms
21-Jan-2014 19:40:28 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
21-Jan-2014 19:40:28 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
21-Jan-2014 19:40:28 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive webconsole.war
21-Jan-2014 19:40:52 org.openremote.controller.bootstrap.Startup redirectJULtoLog4j
INFO: Initialized JUL to LOG4J Redirector.
INFO 2014-01-21 19:41:16,186 :

********************************************************************************

Controller definition was not found in this OpenRemote Controller instance.

If you are starting the controller for the first time, please use your web
browser to connect to the controller home page and synchronize it with your
online account.

********************************************************************************

Could not find a controller definition to load at path '../webapps/controller/controller.xml' (for version 2.0)
INFO 2014-01-21 19:41:16,226 : Controller Definition File Watcher for Default Deployer started.
21-Jan-2014 19:41:22 org.restlet.engine.http.connector.HttpClientHelper start
INFO: Starting the default HTTP client
21-Jan-2014 19:41:30 org.apache.coyote.http11.Http11Protocol start
SEVERE: Error starting endpoint
java.net.BindException: Address already in use<null>:8688
at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:502)
at org.apache.tomcat.util.net.JIoEndpoint.start(JIoEndpoint.java:519)
at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:203)
at org.apache.catalina.connector.Connector.start(Connector.java:1131)
at org.apache.catalina.core.StandardService.start(StandardService.java:531)
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:616)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
21-Jan-2014 19:41:30 org.apache.catalina.startup.Catalina start
SEVERE: Catalina.start:
LifecycleException: service.getName(): "Catalina"; Protocol handler start failed: java.net.BindException: Address already in use<null>:8688
at org.apache.catalina.connector.Connector.start(Connector.java:1138)
at org.apache.catalina.core.StandardService.start(StandardService.java:531)
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:616)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
21-Jan-2014 19:41:30 org.apache.catalina.startup.Catalina start
INFO: Server startup in 63206 ms
21-Jan-2014 19:41:30 org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create8005:
java.net.BindException: Address already in use
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:353)
at java.net.ServerSocket.bind(ServerSocket.java:336)
at java.net.ServerSocket.<init>(ServerSocket.java:202)
at org.apache.catalina.core.StandardServer.await(StandardServer.java:373)
at org.apache.catalina.startup.Catalina.await(Catalina.java:642)
at org.apache.catalina.startup.Catalina.start(Catalina.java:602)
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:616)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
21-Jan-2014 19:41:30 org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8688
21-Jan-2014 19:41:31 org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Unhandled Log Messages (may occur due to undefined or incorrect shutdown order):
--------------------------------------------------------------------------------
FINER OpenRemote.Controller.startup.deployer: Converted controller definition file location from URI '../webapps/controller.xml'
Unhandled Log Messages (may occur due to undefined or incorrect shutdown order):
--------------------------------------------------------------------------------
FINER OpenRemote.Controller.startup.deployer: Applied legacy resource path conversion to non-compatible URI '../webapps/controller/controller.xml'
Unhandled Log Messages (may occur due to undefined or incorrect shutdown order):
--------------------------------------------------------------------------------
FINER OpenRemote.Controller.startup.deployer: Converted controller definition file location from URI '../webapps/controller.xml'
Unhandled Log Messages (may occur due to undefined or incorrect shutdown order):
--------------------------------------------------------------------------------
FINER OpenRemote.Controller.startup.deployer: Applied legacy resource path conversion to non-compatible URI '../webapps/controller/controller.xml'
Unhandled Log Messages (may occur due to undefined or incorrect shutdown order):
--------------------------------------------------------------------------------
FINER OpenRemote.Controller.startup.deployer: Did not locate controller definitions for any known schema...
Unhandled Log Messages (may occur due to undefined or incorrect shutdown order):
--------------------------------------------------------------------------------
FINER OpenRemote.Controller.startup.deployer: Converted controller definition file location from URI '../webapps/controller.xml'
Unhandled Log Messages (may occur due to undefined or incorrect shutdown order):
--------------------------------------------------------------------------------
FINER OpenRemote.Controller.startup.deployer: Applied legacy resource path conversion to non-compatible URI '../webapps/controller/controller.xml'
Unhandled Log Messages (may occur due to undefined or incorrect shutdown order):
--------------------------------------------------------------------------------
FINER OpenRemote.Controller.startup.deployer: Converted controller definition file location from URI '../webapps/controller.xml'
Unhandled Log Messages (may occur due to undefined or incorrect shutdown order):
--------------------------------------------------------------------------------
FINER OpenRemote.Controller.startup.deployer: Applied legacy resource path conversion to non-compatible URI '../webapps/controller/controller.xml'
Unhandled Log Messages (may occur due to undefined or incorrect shutdown order):
--------------------------------------------------------------------------------
FINER OpenRemote.Controller.startup.deployer: Did not locate controller definitions for any known schema...
Unhandled Log Messages (may occur due to undefined or incorrect shutdown order):
--------------------------------------------------------------------------------
FINER OpenRemote.Controller.startup.deployer: Converted controller definition file location from URI '../webapps/controller.xml'
Unhandled Log Messages (may occur due to undefined or incorrect shutdown order):
--------------------------------------------------------------------------------
FINER OpenRemote.Controller.startup.deployer: Applied legacy resource path conversion to non-compatible URI '../webapps/controller/controller.xml'
Unhandled Log Messages (may occur due to undefined or incorrect shutdown order):
--------------------------------------------------------------------------------
FINER OpenRemote.Controller.startup.deployer: Converted controller definition file location from URI '../webapps/controller.xml'
Unhandled Log Messages (may occur due to undefined or incorrect shutdown order):
--------------------------------------------------------------------------------
FINER OpenRemote.Controller.startup.deployer: Applied legacy resource path conversion to non-compatible URI '../webapps/controller/controller.xml'
Unhandled Log Messages (may occur due to undefined or incorrect shutdown order):
--------------------------------------------------------------------------------
FINER OpenRemote.Controller.startup.deployer: Did not locate controller definitions for any known schema...
Unhandled Log Messages (may occur due to undefined or incorrect shutdown order):
--------------------------------------------------------------------------------
FINER OpenRemote.Controller.startup.deployer: Converted controller definition file location from URI '../webapps/controller.xml'
Unhandled Log Messages (may occur due to undefined or incorrect shutdown order):
--------------------------------------------------------------------------------
FINER OpenRemote.Controller.startup.deployer: Applied legacy resource path conversion to non-compatible URI '../webapps/controller/controller.xml'
Unhandled Log Messages (may occur due to undefined or incorrect shutdown order):
--------------------------------------------------------------------------------
FINER OpenRemote.Controller.startup.deployer: Converted controller definition file location from URI '../webapps/controller.xml'
Unhandled Log Messages (may occur due to undefined or incorrect shutdown order):
--------------------------------------------------------------------------------
FINER OpenRemote.Controller.startup.deployer: Applied legacy resource path conversion to non-compatible URI '../webapps/controller/controller.xml'
Unhandled Log Messages (may occur due to undefined or incorrect shutdown order):
--------------------------------------------------------------------------------
FINER OpenRemote.Controller.startup.deployer: Did not locate controller definitions for any known schema...
21-Jan-2014 19:41:42 org.apache.catalina.connector.MapperListener destroy
WARNING: Error unregistering MBeanServerDelegate
java.lang.NullPointerException
at org.apache.catalina.connector.MapperListener.destroy(MapperListener.java:165)
at org.apache.catalina.connector.Connector.stop(Connector.java:1179)
at org.apache.catalina.core.StandardService.stop(StandardService.java:593)
at org.apache.catalina.core.StandardServer.stop(StandardServer.java:744)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:628)
at org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:671)
21-Jan-2014 19:41:42 org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8688
pi@raspberrypi ~/OpenRemote-Controller-Pro1.0.11/bin $ cd ~/Desktop/OpenRemote-Controller-Pro1.0.11/bin

What is wrong here?

java.net.BindException: Address already in use<null>:8688

The port is already used by some other process. Either find that process and stop it or change its configuration, or change the port for the Pro controller.

Posted by ebariaux at Jan 22, 2014 09:51
Document generated by Confluence on Jun 05, 2016 09:35