This page last changed on Jun 17, 2015 by phillipp.

im having trouble starting server. well it looks like it starts without error but am unable to connect to server but can connect to controller page and update from cloud.

log for run...

[root@localhost bin]# ./openremote.sh run
Using CATALINA_BASE: /opt/openremote
Using CATALINA_HOME: /opt/openremote
Using CATALINA_TMPDIR: /opt/openremote/temp
Using JRE_HOME: /usr

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

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

System logs:

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

-----------------------------------------------------------------------
Jun 17, 2015 10:50:56 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: /opt/openremote/webapps/controller/WEB-INF/lib/native
Jun 17, 2015 10:50:56 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jun 17, 2015 10:50:56 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1665 ms
Jun 17, 2015 10:50:56 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jun 17, 2015 10:50:56 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
Jun 17, 2015 10:50:56 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive webconsole.war
Jun 17, 2015 10:50:59 PM org.openremote.controller.bootstrap.Startup redirectJULtoLog4j
INFO: Initialized JUL to LOG4J Redirector.
INFO 2015-06-17 22:51:03,853 :

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

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 2015-06-17 22:51:03,855 : Controller Definition File Watcher for Default Deployer started.
Jun 17, 2015 10:51:05 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jun 17, 2015 10:51:05 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 9341 ms

################################################
from log after update from cloud.....

DEPLOYING NEW CONTROLLER RUNTIME...

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

INFO 2015-06-17 23:06:09,646 : No rule definitions found in '/opt/openremote/webapps/controller/rules'.
INFO 2015-06-17 23:06:09,647 : Initialized event processor : Drools Rule Engine
INFO 2015-06-17 23:06:09,980 : Initialized event processor : RRD4J Data Logger
INFO 2015-06-17 23:06:09,981 : Initialized event processor : EmonCMS Data Logger
INFO 2015-06-17 23:06:09,986 : Startup complete.
INFO 2015-06-17 23:06:09,999 : Controller Definition File Watcher for Default Deployer started.
INFO 2015-06-17 23:07:02,079 :

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

UNDEPLOYING CURRENT CONTROLLER RUNTIME...

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

INFO 2015-06-17 23:07:02,080 : Stopped event processor : Drools Rule Engine
INFO 2015-06-17 23:07:02,090 : Stopped event processor : RRD4J Data Logger
INFO 2015-06-17 23:07:02,090 : Stopped event processor : EmonCMS Data Logger
INFO 2015-06-17 23:07:02,092 : Shutdown complete.
INFO 2015-06-17 23:07:02,093 :

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

DEPLOYING NEW CONTROLLER RUNTIME...

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

INFO 2015-06-17 23:07:02,199 : No rule definitions found in '/opt/openremote/webapps/controller/rules'.
INFO 2015-06-17 23:07:02,200 : Initialized event processor : Drools Rule Engine
INFO 2015-06-17 23:07:02,259 : Initialized event processor : RRD4J Data Logger
INFO 2015-06-17 23:07:02,260 : Initialized event processor : EmonCMS Data Logger
INFO 2015-06-17 23:07:02,264 : Startup complete.

##################################################################################

the page i created only has one button and does nothing. nut i cannot connect to localhost:8080.
the port is open and the page loads but is blank.
it must be me because it does it on the two machines almost the same the other the controller page looks broken and wont connect to server

its a centos 7 machine..
[root@localhost bin]# uname -a
Linux localhost.localdomain 3.10.0-229.4.2.el7.x86_64 #1 SMP Wed May 13 10:06:09 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost bin]#

[root@localhost bin]# java -version
openjdk version "1.8.0_45"
OpenJDK Runtime Environment (build 1.8.0_45-b13)
OpenJDK 64-Bit Server VM (build 25.45-b02, mixed mode)
[root@localhost bin]#

hope this helps..

Phil

The controller is on http://localhost:8080/controller

Posted by aktur at Jun 18, 2015 07:24
Document generated by Confluence on Jun 05, 2016 09:34