This page last changed on Jan 30, 2015 by pappabjoern.

Hi,
I hope that someone can help me. I'm having trouble to detect my zwave devices. It all started when I updated to the new openremote version, and everything stopped working. After a while I removed everything and removed my devices from the network and so on. I've also re-paird my devices with my aeonlabs zstick.

So I've followed the guide on setting up openremote and how to zwave.

And the debug logs for zwave doesn't give me anything. The boot.log doesn't say me much either so I have no idea anymore on what is causing the problem.

I've checked my zstick and my devices with another zwave software and they are working without a problem.

I'm running windows 7 64bit

Here's the logs

zwave-debug.log:
INFO 2015-01-30 19:40:41,579 (Z-Wave):

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

OpenRemote Z-Wave protocol version : '2.0.0'

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

boot.log
INFO 2015-01-30 19:30:34,417 :

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

DEPLOYING NEW CONTROLLER RUNTIME...

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

INFO 2015-01-30 19:30:34,787 : No rule definitions found in 'D:\OpenRemote\webapps\controller\rules'.
INFO 2015-01-30 19:30:34,787 : Initialized event processor : Drools Rule Engine
INFO 2015-01-30 19:30:34,947 : Initialized event processor : RRD4J Data Logger
INFO 2015-01-30 19:30:34,947 : Initialized event processor : EmonCMS Data Logger
INFO 2015-01-30 19:30:34,947 : Startup complete.
INFO 2015-01-30 19:30:34,947 : Controller Definition File Watcher for Default Deployer started.
ERROR 2015-01-30 19:31:35,135 : Unable to store user credentials. Background API requests will not be able to authenticate: java.io.IOException: Error initialising store of key store: java.security.InvalidKeyException: Illegal key size
org.openremote.security.KeyManager$KeyManagerException: java.io.IOException: Error initialising store of key store: java.security.InvalidKeyException: Illegal key size
at org.openremote.security.PasswordManager.add(PasswordManager.java:373)
at org.openremote.security.PasswordManager.addPassword(PasswordManager.java:185)
at org.openremote.controller.service.Deployer$BeehiveConnection.storeCredentials(Deployer.java:1665)
at org.openremote.controller.service.Deployer$BeehiveConnection.downloadZip(Deployer.java:1573)
at org.openremote.controller.service.Deployer$BeehiveConnection.access$200(Deployer.java:1470)
at org.openremote.controller.service.Deployer.deployFromOnline(Deployer.java:550)
at org.openremote.controller.action.ConfigManageController.syncOnline(ConfigManageController.java:140)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.springframework.web.servlet.mvc.multiaction.MultiActionController.invokeNamedMethod(MultiActionController.java:434)
at org.springframework.web.servlet.mvc.multiaction.MultiActionController.handleRequestInternal(MultiActionController.java:372)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:45)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:806)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:736)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:396)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:360)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.openremote.controller.rest.support.json.JSONCallbackFilter.doFilter(JSONCallbackFilter.java:63)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:78)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:354)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.security.KeyStoreException: java.io.IOException: Error initialising store of key store: java.security.InvalidKeyException: Illegal key size
at org.bouncycastle.jcajce.provider.keystore.bc.BcKeyStoreSpi.engineSetKeyEntry(Unknown Source)
at java.security.KeyStoreSpi.engineSetEntry(KeyStoreSpi.java:550)
at java.security.KeyStore.setEntry(KeyStore.java:1545)
at org.openremote.security.PasswordManager.add(PasswordManager.java:368)
... 41 more
INFO 2015-01-30 19:31:36,992 :

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

UNDEPLOYING CURRENT CONTROLLER RUNTIME...

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

INFO 2015-01-30 19:31:36,992 : Stopped event processor : Drools Rule Engine
INFO 2015-01-30 19:31:37,012 : Stopped event processor : RRD4J Data Logger
INFO 2015-01-30 19:31:37,012 : Stopped event processor : EmonCMS Data Logger
INFO 2015-01-30 19:31:37,012 : Shutdown complete.

Regards
Johan

Synchronization of your controller with the Online Designer failed because of a 'Keystore execption'. That means your Z-Wave commands haven't been downloaded from the Online Designer to the controller and as a result the Z-Wave network is not scanned because there are no Z-Wave commands (see 'Known Issues' in New Z-Wave 2.0.0 Release).

You could try the follwing in order to fix the 'Keystore exeception' issue: http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html

Please note that I'm not 100% sure if the previous download fixes the issue.

You could also try the following workaround:

  1. In the Online Designer export the openremote.zip to your local file system
  2. Upload openremote.zip "offline"
Posted by rhitz at Jan 30, 2015 19:42

EDIT

Hi,
Thanks for your tips. I finally manage to get it to work. But I had to re-install java, and also change the "Java Cryptography Extension".
I also had to re-install the app on my android. But now it is working again, so now I only need to start configuring everything =/

Thanks again!

Posted by pappabjoern at Jan 30, 2015 21:20
Document generated by Confluence on Jun 05, 2016 09:39