This page last changed on May 16, 2015 by corindm.

hi just installed controller but get the below messages. The controller fails to start (no service running on 8080). Can anyone help?

INFO 2015-05-16 14:12:56,546 : Controller Definition File Watcher for Default De
ployer started.
INFO 2015-05-16 14:13:48,554 :

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

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\co
ntroller.xml' (for version 2.0)
INFO 2015-05-16 14:13:48,556 : Controller Definition File Watcher for Default De
ployer started.
INFO 2015-05-16 14:15:13,672 :

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

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\co
ntroller.xml' (for version 2.0)
INFO 2015-05-16 14:15:13,674 : Controller Definition File Watcher for Default De
ployer started.

C:\crap\remote\OpenRemote-Controller-2.1.0\logs>del boot.log

C:\crap\remote\OpenRemote-Controller-2.1.0\logs>cd..

C:\crap\remote\OpenRemote-Controller-2.1.0>bin\openremote run
Using CATALINA_BASE: C:\crap\remote\OpenRemote-Controller-2.1.0
Using CATALINA_HOME: C:\crap\remote\OpenRemote-Controller-2.1.0
Using CATALINA_TMPDIR: C:\crap\remote\OpenRemote-Controller-2.1.0\temp
Using JRE_HOME: c:\program files\java\jdk1.6.0_45
16-May-2015 14:31:56 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: C:\crap\rem
ote\OpenRemote-Controller-2.1.0\webapps\controller\WEB-INF\lib\native
16-May-2015 14:31:56 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
16-May-2015 14:31:56 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 186 ms
16-May-2015 14:31:56 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
16-May-2015 14:31:56 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
16-May-2015 14:31:56 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive webconsole.war
16-May-2015 14:31:57 org.openremote.controller.bootstrap.Startup redirectJULtoLo
g4j
INFO: Initialized JUL to LOG4J Redirector.
INFO 2015-05-16 14:31:57,609 :

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

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\co
ntroller.xml' (for version 2.0)
INFO 2015-05-16 14:31:57,611 : Controller Definition File Watcher for Default De
ployer started.
16-May-2015 14:31:57 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
16-May-2015 14:31:57 org.apache.catalina.startup.Catalina start
INFO: Server startup in 1287 ms
16-May-2015 14:31:57 org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create8005:
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
at java.net.ServerSocket.bind(ServerSocket.java:328)
at java.net.ServerSocket.<init>(ServerSocket.java:194)
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:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
16-May-2015 14:31:57 org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
16-May-2015 14:31:58 org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
16-May-2015 14:31:59 org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080

C:\crap\remote\OpenRemote-Controller-2.1.0>cd logs

C:\crap\remote\OpenRemote-Controller-2.1.0\logs>dir
Volume in drive C is OSDisk
Volume Serial Number is 360B-22EA

Directory of C:\crap\remote\OpenRemote-Controller-2.1.0\logs

16/05/2015 14:31 <DIR> .
16/05/2015 14:31 <DIR> ..
16/05/2015 14:07 <DIR> container
16/05/2015 14:07 <DIR> dev
16/05/2015 14:07 <DIR> dsc
16/05/2015 14:07 <DIR> enocean
16/05/2015 14:07 <DIR> http
16/05/2015 14:07 <DIR> isy99
16/05/2015 14:07 <DIR> knx
16/05/2015 14:07 <DIR> lagarto
16/05/2015 14:07 <DIR> onewire
16/05/2015 14:07 <DIR> telnet
16/05/2015 14:07 <DIR> vera
16/05/2015 14:07 <DIR> zwave
0 File(s) 0 bytes
14 Dir(s) 111,177,830,400 bytes free

C:\crap\remote\OpenRemote-Controller-2.1.0\logs>dir /od
Volume in drive C is OSDisk
Volume Serial Number is 360B-22EA

Directory of C:\crap\remote\OpenRemote-Controller-2.1.0\logs

16/05/2015 14:07 <DIR> container
16/05/2015 14:07 <DIR> onewire
16/05/2015 14:07 <DIR> dsc
16/05/2015 14:07 <DIR> isy99
16/05/2015 14:07 <DIR> vera
16/05/2015 14:07 <DIR> http
16/05/2015 14:07 <DIR> zwave
16/05/2015 14:07 <DIR> enocean
16/05/2015 14:07 <DIR> telnet
16/05/2015 14:07 <DIR> lagarto
16/05/2015 14:07 <DIR> dev
16/05/2015 14:07 <DIR> knx
16/05/2015 14:31 <DIR> .
16/05/2015 14:31 <DIR> ..
0 File(s) 0 bytes
14 Dir(s) 111,172,767,744 bytes free

C:\crap\remote\OpenRemote-Controller-2.1.0\logs>cd..

C:\crap\remote\OpenRemote-Controller-2.1.0>dir
Volume in drive C is OSDisk
Volume Serial Number is 360B-22EA

Directory of C:\crap\remote\OpenRemote-Controller-2.1.0

16/05/2015 14:29 <DIR> .
16/05/2015 14:29 <DIR> ..
16/05/2015 13:45 <DIR> bin
16/05/2015 13:45 <DIR> conf
16/05/2015 13:45 172 contributors.txt
16/05/2015 14:29 937 crap.txt
16/05/2015 13:46 <DIR> lib
16/05/2015 13:45 92,716 LICENSE
16/05/2015 14:31 <DIR> logs
16/05/2015 13:45 66 README
16/05/2015 14:31 <DIR> security
16/05/2015 13:46 <DIR> temp
16/05/2015 14:07 <DIR> webapps
16/05/2015 14:07 <DIR> work
4 File(s) 93,891 bytes
10 Dir(s) 111,177,895,936 bytes free

C:\crap\remote\OpenRemote-Controller-2.1.0>cd logs

C:\crap\remote\OpenRemote-Controller-2.1.0\logs>dir
Volume in drive C is OSDisk
Volume Serial Number is 360B-22EA

Directory of C:\crap\remote\OpenRemote-Controller-2.1.0\logs

16/05/2015 14:31 <DIR> .
16/05/2015 14:31 <DIR> ..
16/05/2015 14:07 <DIR> container
16/05/2015 14:07 <DIR> dev
16/05/2015 14:07 <DIR> dsc
16/05/2015 14:07 <DIR> enocean
16/05/2015 14:07 <DIR> http
16/05/2015 14:07 <DIR> isy99
16/05/2015 14:07 <DIR> knx
16/05/2015 14:07 <DIR> lagarto
16/05/2015 14:07 <DIR> onewire
16/05/2015 14:07 <DIR> telnet
16/05/2015 14:07 <DIR> vera
16/05/2015 14:07 <DIR> zwave
0 File(s) 0 bytes
14 Dir(s) 111,177,895,936 bytes free

C:\crap\remote\OpenRemote-Controller-2.1.0\logs>cd..

C:\crap\remote\OpenRemote-Controller-2.1.0>bin\openremote run
Using CATALINA_BASE: C:\crap\remote\OpenRemote-Controller-2.1.0
Using CATALINA_HOME: C:\crap\remote\OpenRemote-Controller-2.1.0
Using CATALINA_TMPDIR: C:\crap\remote\OpenRemote-Controller-2.1.0\temp
Using JRE_HOME: c:\program files\java\jdk1.6.0_45
16-May-2015 14:32:38 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: C:\crap\rem
ote\OpenRemote-Controller-2.1.0\webapps\controller\WEB-INF\lib\native
16-May-2015 14:32:38 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
16-May-2015 14:32:38 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 185 ms
16-May-2015 14:32:38 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
16-May-2015 14:32:38 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
16-May-2015 14:32:38 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive webconsole.war
16-May-2015 14:32:39 org.openremote.controller.bootstrap.Startup redirectJULtoLo
g4j
INFO: Initialized JUL to LOG4J Redirector.
INFO 2015-05-16 14:32:39,645 :

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

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\co
ntroller.xml' (for version 2.0)
INFO 2015-05-16 14:32:39,646 : Controller Definition File Watcher for Default De
ployer started.
16-May-2015 14:32:39 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
16-May-2015 14:32:39 org.apache.catalina.startup.Catalina start
INFO: Server startup in 1183 ms
16-May-2015 14:32:39 org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create8005:
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
at java.net.ServerSocket.bind(ServerSocket.java:328)
at java.net.ServerSocket.<init>(ServerSocket.java:194)
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:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
16-May-2015 14:32:39 org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
16-May-2015 14:32:40 org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
16-May-2015 14:32:41 org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080

C:\crap\remote\OpenRemote-Controller-2.1.0>

This line:

INFO: Initializing Coyote HTTP/1.1 on http-8080

shows that the web server starts OK. Therefore you should be able to access http://localhost:8080/controller and sync the design. Check your firewall settings in case of problems. Alternatively, you can put the design in OpenRemote/webapps/controller/ manually.

Posted by aktur at May 17, 2015 12:40

thanks for the reply...appreciate it however the last line in the log suggests it stops again

INFO: Stopping Coyote HTTP/1.1 on http-8080

As I said in the origional post, there is no service running on 8080 and it's not a firewall issue.

Posted by corindm at May 17, 2015 15:24

It stops because it cannot bind address already in usage:

SEVERE: StandardServer.await: create8005:
java.net.BindException: Address already in use: JVM_Bind

It seems that you have already some process using port 8005. You can try to either kill this process or change the port in server.xml

Posted by aktur at May 17, 2015 17:09
Document generated by Confluence on Jun 05, 2016 09:33