This page last changed on Feb 24, 2014 by dalemontoya.

I was able to get the Controller to run yesterday, but now when I try to make sure the controller started up properly, with http://localhost:8080/controller, I get an error that it could not be loaded. The only thing I did between yesterday and today
was to install samba to try and share files with other computers on my network. I tried purging samba, but still have the same
results. Below is the result of trying to run openremote.sh. Any help would be appreciated.

pi@raspberrypi ~/OpenRemote-Controller-2.1.0_SNAPSHOT-2013-06-17/bin $ sudo ./openremote.sh run
Using CATALINA_BASE: /home/pi/OpenRemote-Controller-2.1.0_SNAPSHOT-2013-06-17
Using CATALINA_HOME: /home/pi/OpenRemote-Controller-2.1.0_SNAPSHOT-2013-06-17
Using CATALINA_TMPDIR: /home/pi/OpenRemote-Controller-2.1.0_SNAPSHOT-2013-06-17/temp
Using JRE_HOME: /usr

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

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

System logs:

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

-----------------------------------------------------------------------
Feb 23, 2014 9:17:37 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: /home/pi/OpenRemote-Controller-2.1.0_SNAPSHOT-2013-06-17/webapps/controller/WEB-INF/lib/native
Feb 23, 2014 9:17:38 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Feb 23, 2014 9:17:38 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 7507 ms
Feb 23, 2014 9:17:39 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Feb 23, 2014 9:17:39 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
Feb 23, 2014 9:17:40 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive webconsole.war
Feb 23, 2014 9:17:51 PM org.openremote.controller.bootstrap.Startup redirectJULtoLog4j
INFO: Initialized JUL to LOG4J Redirector.
INFO 2014-02-23 21:18:07,281 :

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

DEPLOYING NEW CONTROLLER RUNTIME...

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

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

The license restrictions Sigma Designs places on Z-Wave
implementations prevents us from distributing Z-Wave with
an Open Source product.

To test Z-Wave, download a freely available binary from
http://download.openremote.org/free/zwave and follow the
installation instructions at http://www.openremote.org/x/xAo4AQ

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

INFO 2014-02-23 21:18:09,646 : No rule definitions found in '/home/pi/OpenRemote-Controller-2.1.0_SNAPSHOT-2013-06-17/webapps/controller/rules'.
INFO 2014-02-23 21:18:09,650 : Initialized event processor : Drools Rule Engine
INFO 2014-02-23 21:18:11,642 : Initialized event processor : RRD4J Data Logger
INFO 2014-02-23 21:18:11,647 : Initialized event processor : EmonCMS Data Logger
INFO 2014-02-23 21:18:11,709 : Startup complete.
INFO 2014-02-23 21:18:11,727 : Controller Definition File Watcher for Default Deployer started.
Feb 23, 2014 9:18:16 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Feb 23, 2014 9:18:16 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 38151 ms
Feb 23, 2014 9:18:16 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)

Feb 23, 2014 9:18:17 PM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
Feb 23, 2014 9:18:18 PM 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: 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'
Feb 23, 2014 9:18:21 PM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080

Your port 8005 is busy.

Posted by mredeker at Feb 25, 2014 08:29
Document generated by Confluence on Jun 05, 2016 09:38