This page last changed on Dec 29, 2015 by gw400.

I have installed unlimited crypto library, synchronized controller with Designer and restarted controller, but I still get this error in boot log:

TRACE 2015-12-29 21:08:10,730 : Unable to retrieve controller identity
org.openremote.controller.exception.ConnectionException: The required password for user '' was not found. Password manager error : User credentials were not present, please synchronize the controller with your OpenRemote Designer/Beehive account first.
at org.openremote.controller.service.BeehiveCommandCheckService$BeehiveCommandChecker.connect(Unknown Source)
at org.openremote.controller.service.BeehiveCommandCheckService$BeehiveCommandChecker.httpRequest(Unknown Source)
at org.openremote.controller.service.BeehiveCommandCheckService$BeehiveCommandChecker.httpPost(Unknown Source)
at org.openremote.controller.service.BeehiveCommandCheckService$BeehiveCommandChecker.getControllerIdentity(Unknown Source)
at org.openremote.controller.service.BeehiveCommandCheckService$BeehiveCommandChecker.getRemoteCommandService(Unknown Source)
at org.openremote.controller.service.BeehiveCommandCheckService$BeehiveCommandChecker.run(Unknown Source)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.openremote.controller.service.Deployer$PasswordException: User credentials were not present, please synchronize the controller with your OpenRemote Designer/Beehive account first.
at org.openremote.controller.service.Deployer.getPassword(Unknown Source)
... 7 more
INFO 2015-12-29 21:08:10,730 : Unable to retrieve controller identity, retrying in 1 000 milliseconds...
INFO 2015-12-29 21:08:10,730 : Unable to retrieve controller identity, retrying in 1 000 milliseconds...
DEBUG 2015-12-29 21:08:11,855 : Error in attempting to retrieve the return code while cleaning up connection : Could not initialize class javax.crypto.SunJCE_b
java.lang.NoClassDefFoundError: Could not initialize class javax.crypto.SunJCE_b
at javax.crypto.KeyGenerator.a(DashoA13*..)
at javax.crypto.KeyGenerator.<init>(DashoA13*..)
at javax.crypto.KeyGenerator.getInstance(DashoA13*..)
at com.sun.net.ssl.internal.ssl.JsseJce.getKeyGenerator(JsseJce.java:223)
at com.sun.net.ssl.internal.ssl.RSAClientKeyExchange.<init>(RSAClientKeyExchange.java:91)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverHelloDone(ClientHandshaker.java:747)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:241)
at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:593)
at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:529)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:943)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1188)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1215)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1199)
at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:434)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:166)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1195)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:379)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:318)
at org.openremote.controller.service.BeehiveCommandCheckService$BeehiveCommandChecker.getResponseCode(Unknown Source)
at org.openremote.controller.service.BeehiveCommandCheckService$BeehiveCommandChecker.release(Unknown Source)
at org.openremote.controller.service.BeehiveCommandCheckService$BeehiveCommandChecker.connect(Unknown Source)
at org.openremote.controller.service.BeehiveCommandCheckService$BeehiveCommandChecker.httpRequest(Unknown Source)
at org.openremote.controller.service.BeehiveCommandCheckService$BeehiveCommandChecker.httpPost(Unknown Source)
at org.openremote.controller.service.BeehiveCommandCheckService$BeehiveCommandChecker.getControllerIdentity(Unknown Source)
at org.openremote.controller.service.BeehiveCommandCheckService$BeehiveCommandChecker.getRemoteCommandService(Unknown Source)
at org.openremote.controller.service.BeehiveCommandCheckService$BeehiveCommandChecker.run(Unknown Source)
at java.lang.Thread.run(Thread.java:662)

I expected the commercial Openremote Controller to work out of the box, but unfortunately this does not seem to be the case.
Any idea what my next steps should be to resolve this?

Hi

I got very bored with trying to resolve this, so in the end I followed the second part of this thread and changed the password storage to plaintext, it worked perfectly.

http://www.openremote.org/display/forums/OpenRemote+Pro+Release+1.3.0

Please let us know how you get on.

Posted by mdar at Dec 29, 2015 23:30

Thank you Stuart!
Installing JCE for Java 6 seems to work with Pro release 1.4.0.

Posted by gw400 at Dec 30, 2015 08:13

That's excellent news

I might venture a road test with 1.4 now then.

Just for the benefit of anyone finding this in the future.

I hope you mean you've installed Java JDK6, target than JCE

Posted by mdar at Dec 30, 2015 08:39

It works for me on JRE (1.7 in my case on the Synology DS212+)

Posted by pz1 at Dec 30, 2015 11:43

Yes, of course
1. Install JDK6
2. Copy JCE files for Java 6 to ..jre\lib\security folder

Posted by gw400 at Dec 31, 2015 10:32
Document generated by Confluence on Jun 05, 2016 09:32