This page last changed on Sep 23, 2013 by tommaso.b.bianchi.

Hi,

I am trying to setup openremote controller on a Synology NAS.

I have been successfully to display a knx temperature value on my iphone.

After a little UI design, I made a sync and looked if the design was working, but.. the controller stops..

Could someone help me solving this issue? Why port 18581 seems busy?

Starting Nmap 6.00 ( http://nmap.org ) at 2013-09-23 19:01 CEST
Nmap scan report for 192.168.0.106
Host is up (0.040s latency).
Not shown: 985 closed ports
PORT STATE SERVICE
22/tcp open ssh
80/tcp open http
139/tcp open netbios-ssn
161/tcp open snmp
445/tcp open microsoft-ds
515/tcp open printer
548/tcp open afp
631/tcp open ipp
5000/tcp open upnp
5432/tcp open postgresql
20000/tcp open dnp
49152/tcp open unknown
49160/tcp open unknown
50001/tcp open unknown
50002/tcp open iiimsf

ssh root@192.168.0.106

BusyBox v1.16.1 (2013-08-17 02:30:39 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

dragonsnest> cd ..
dragonsnest> cd /volume1/@appstore/OpenRemote/bin
dragonsnest> ls
openremote.bat openremote.sh tomcat
dragonsnest> ./openremote.sh run
Using CATALINA_BASE: /volume1/@appstore/OpenRemote
Using CATALINA_HOME: /volume1/@appstore/OpenRemote
Using CATALINA_TMPDIR: /volume1/@appstore/OpenRemote/temp
Using JRE_HOME: /volume1/@appstore/java7/jre
Sep 23, 2013 6:48:25 PM 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: /volume1/@appstore/OpenRemote/webapps/controller/WEB-INF/lib/native
Sep 23, 2013 6:48:26 PM org.apache.coyote.http11.Http11Protocol init
SEVERE: Error initializing endpoint
java.net.BindException: Address already in use<null>:18581
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:606)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)

Sep 23, 2013 6:48:26 PM org.apache.catalina.startup.Catalina load
SEVERE: Catalina.start
LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use<null>:18581
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:606)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)

Sep 23, 2013 6:48:26 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 4867 ms
Sep 23, 2013 6:48:26 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Sep 23, 2013 6:48:26 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
Sep 23, 2013 6:48:26 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive webconsole.war
Sep 23, 2013 6:48:34 PM org.openremote.controller.bootstrap.Startup redirectJULtoLog4j
INFO: Initialized JUL to LOG4J Redirector.
INFO 2013-09-23 18:48:42,753 :

--------------------------------------------------------------------

DEPLOYING NEW CONTROLLER RUNTIME...

--------------------------------------------------------------------

INFO 2013-09-23 18:48:44,332 : No rule definitions found in '/volume1/@appstore/OpenRemote/webapps/controller/rules'.
INFO 2013-09-23 18:48:44,333 : Initialized event processor : Drools Rule Engine
INFO 2013-09-23 18:48:44,889 : Registered sensor : Sensor (Name = 'Temperatura Rilevata Taverna', ID = '91', State Mappings: {})
INFO 2013-09-23 18:48:44,914 : Startup complete.
INFO 2013-09-23 18:48:44,932 : Controller Definition File Watcher for Default Deployer started.
Sep 23, 2013 6:48:47 PM org.apache.coyote.http11.Http11Protocol start
SEVERE: Error starting endpoint
java.net.BindException: Address already in use<null>:18581
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:606)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

Sep 23, 2013 6:48:47 PM 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>:18581
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:606)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

Sep 23, 2013 6:48:47 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 21381 ms
Sep 23, 2013 6:48:47 PM 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:376)
at java.net.ServerSocket.bind(ServerSocket.java:376)
at java.net.ServerSocket.<init>(ServerSocket.java:237)
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:606)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

Sep 23, 2013 6:48:47 PM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-18581
Sep 23, 2013 6:48:48 PM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Exception in thread "Polling Sensor Thread ID = 91, Name ='Temperatura Rilevata Taverna'" java.lang.NullPointerException
at org.openremote.controller.protocol.knx.ApplicationProtocolDataUnit.getProtocolDataUnit(ApplicationProtocolDataUnit.java:616)
at org.openremote.controller.protocol.knx.KNXCommand.getCEMIFrame(KNXCommand.java:513)
at org.openremote.controller.protocol.knx.KNXCommand.toString(KNXCommand.java:276)
at java.text.MessageFormat.subformat(MessageFormat.java:1271)
at java.text.MessageFormat.format(MessageFormat.java:860)
at java.text.Format.format(Format.java:157)
at java.text.MessageFormat.format(MessageFormat.java:836)
at org.openremote.controller.bootstrap.Startup$Log4jRedirect.publish(Startup.java:242)
at java.util.logging.Logger.log(Logger.java:610)
at org.openremote.controller.utils.Logger.error(Logger.java:179)
at org.openremote.controller.model.sensor.Sensor$DeviceReader.read(Sensor.java:697)
at org.openremote.controller.model.sensor.Sensor$DeviceReader.run(Sensor.java:608)
at java.lang.Thread.run(Thread.java:724)
Sep 23, 2013 6:48:50 PM 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)

Sep 23, 2013 6:48:50 PM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-18581

Document generated by Confluence on Jun 05, 2016 09:41