This page last changed on Jun 20, 2014 by ggraja.

OpenRemote 2.1 Alpha SNAPSHOT 2013-07-18 keeps crashing while loading russound sensor. Works perfectly fine with OpenRemote 2.1 SNAPSHOT 2013-06-17

C:\OpenRemote>cd bin

C:\OpenRemote\bin>openremote run
Using CATALINA_BASE:   C:\OpenRemote
Using CATALINA_HOME:   C:\OpenRemote
Using CATALINA_TMPDIR: C:\OpenRemote\temp
Using JRE_HOME:        C:\Java\jdk1.6.0_45\
20 Jun, 2014 11:04:49 AM 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:\OpenRemo
te\webapps\controller\WEB-INF\lib\native
20 Jun, 2014 11:04:49 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
20 Jun, 2014 11:04:49 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 980 ms
20 Jun, 2014 11:04:50 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
20 Jun, 2014 11:04:50 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
20 Jun, 2014 11:04:50 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive webconsole.war
20 Jun, 2014 11:04:54 AM org.openremote.controller.bootstrap.Startup redirectJUL
toLog4j
INFO: Initialized JUL to LOG4J Redirector.
INFO 2014-06-20 11:05:00,507 :

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

  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

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


ERROR [main]: Could not start VeraClient:
java.lang.IllegalArgumentException: Host name may not be null
        at org.apache.http.HttpHost.<init>(HttpHost.java:83)
        at org.apache.http.impl.client.AbstractHttpClient.determineTarget(Abstra
ctHttpClient.java:586)
        at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpCl
ient.java:708)
        at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpCl
ient.java:700)
        at org.openremote.controller.protocol.vera.VeraClient.requestStatus(Vera
Client.java:244)
        at org.openremote.controller.protocol.vera.VeraClient.startVeraClient(Ve
raClient.java:79)
        at org.openremote.controller.protocol.vera.VeraCommandBuilder.startVeraC
lient(VeraCommandBuilder.java:155)
        at org.openremote.controller.protocol.vera.VeraCommandBuilder.<init>(Ver
aCommandBuilder.java:68)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at org.openremote.controller.command.CommandFactory.updateCommandBuilder
s(CommandFactory.java:104)
        at org.openremote.controller.deployer.Version20ModelBuilder.build(Versio
n20ModelBuilder.java:552)
        at org.openremote.controller.deployer.AbstractModelBuilder.buildModel(Ab
stractModelBuilder.java:154)
        at org.openremote.controller.service.Deployer.startup(Deployer.java:858)

        at org.openremote.controller.service.Deployer.startController(Deployer.j
ava:336)
        at org.openremote.controller.spring.SpringContext.initializeController(S
pringContext.java:109)
        at org.openremote.controller.service.ServiceContext.init(ServiceContext.
java:383)
        at org.openremote.controller.bootstrap.Startup.loadServiceContext(Startu
p.java:85)
        at org.openremote.controller.bootstrap.servlet.ServletStartup.initialize
ServiceContext(ServletStartup.java:190)
        at org.openremote.controller.bootstrap.servlet.ServletStartup.contextIni
tialized(ServletStartup.java:109)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
t.java:3843)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
342)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:77
1)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)

        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.jav
a:926)
        at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j
ava:889)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492
)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:311)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:117)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)

        at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)

        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443
)
        at org.apache.catalina.core.StandardService.start(StandardService.java:5
16)
        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: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)
INFO 2014-06-20 11:05:01,755 : No rule definitions found in 'C:\OpenRemote\webap
ps\controller\rules'.
INFO 2014-06-20 11:05:01,771 : Initialized event processor : Drools Rule Engine
INFO 2014-06-20 11:05:02,223 : Initialized event processor : RRD4J Data Logger
INFO 2014-06-20 11:05:02,223 : Initialized event processor : EmonCMS Data Logger

INFO 2014-06-20 11:05:04,532 : Registered sensor : Range Sensor (Name = 'Zone3 T
urnOnVolume', ID = '3710025', Min: 0, Max: 100)

The error comes from Vera protocol.

Posted by mredeker at Jun 22, 2014 19:16

Any suggestions on working around this issue?

Posted by ggraja at Jun 23, 2014 00:37

If you don't have Vera, delete Vera settings from controller properties.

Posted by mredeker at Jun 23, 2014 09:59

It's not a crash, it's an error in one of the protocol implementation, just ignore it, doesn't prevent the controller from starting and working correctly.

Posted by ebariaux at Jun 25, 2014 15:38
Document generated by Confluence on Jun 05, 2016 09:37