This page last changed on Jan 30, 2014 by amymccravy.

Hi, all! I am fairly new to x-10 and very new to openremote, and I'm hoping someone can help direct me. I have set up a basic device (light switch) and ON and OFF commands, using a CM11a interface. I am using the openremote iphone app, and when I issue either of the commands, it works (yay!) – but then my openremote server crashes with the following output:

WARNING: RXTX Version mismatch
Jar version = RXTX-2.2pre1
native lib Version = RXTX-2.2pre2
Invalid memory access of location 0x1154af9d8 rip=0x110a9e12f
./openremote.sh: line 296: 619 Segmentation fault: 11 ( "/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/bin/java" -Dcatalina.home="/Users/alockaby/Desktop/OpenRemote-Controller-2.1.0_SNAPSHOT-2013-06-17" -Dcatalina.base="/Users/alockaby/Desktop/OpenRemote-Controller-2.1.0_SNAPSHOT-2013-06-17" -Djava.io.tmpdir="/Users/alockaby/Desktop/OpenRemote-Controller-2.1.0_SNAPSHOT-2013-06-17/temp" -Dtomcat.server.console.log.level=INFO -Dopenremote.controller.startup.log.level=DEBUG -Dopenremote.controller.console.threshold=INFO -Djava.library.path="/Users/alockaby/Desktop/OpenRemote-Controller-2.1.0_SNAPSHOT-2013-06-17/webapps/controller/WEB-INF/lib/native" "-Djava.util.logging.config.file=/Users/alockaby/Desktop/OpenRemote-Controller-2.1.0_SNAPSHOT-2013-06-17/conf/logging.properties" -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -classpath ":/Users/alockaby/Desktop/OpenRemote-Controller-2.1.0_SNAPSHOT-2013-06-17/bin/tomcat/bootstrap.jar" org.apache.catalina.startup.Bootstrap start )
sh-3.2#

Hoping this is something simple that you guys have seen before – I am encouraged that the command works, and so far I think I am really going to enjoy using openremote. Please let me know if you need more info... thanks

Amy

This yould be related to the RXTX native libs.
Which version of MAC are you using?

Posted by mredeker at Jan 31, 2014 08:32

10.7.5... thanks!

Posted by amymccravy at Jan 31, 2014 13:36

Hi Amy,

Were there any other errors printed after the segmentation fault?

Best regards,

– Juha

Posted by juha at Feb 01, 2014 04:38

No – the app crashes after that error.

Thanks!
Amy

Posted by amymccravy at Feb 01, 2014 15:05

You could try the RXTX native lib (librxtxSerial.jnilib) from here: http://blog.iharder.net/2009/08/18/rxtx-java-6-and-librxtxserial-jnilib-on-intel-mac-os-x/#comment-163295
You need to replace the one from webapps/controller/WEB-INF/lib/native

Posted by mredeker at Feb 01, 2014 19:16

Thanks, Marcus! That lib is giving me a different error:

ERROR HTTP\-Thread\-1: com.jpeterson.x10.GatewayException: Request com port /dev/tty.usbserial in use (Unknown Application).

I should note that I am using a serial-to-usb converter, since the old macbooks these days don't come with serial ports. (hah.) I had (falsely, it seems) assumed that it wouldn't be the culprit, since I am getting successful signals before the crash. I am not familiar with RXTX, but I guess some more research is in order. thanks for your help!

Amy

Posted by amymccravy at Feb 01, 2014 20:40

Maybe this will help: http://stackoverflow.com/questions/12866572/rxtx-on-mac-serial-port-already-in-use

Posted by mredeker at Feb 02, 2014 18:56

Thank you!! Absolutely did the trick. Very much appreciate the help!

Posted by amymccravy at Feb 02, 2014 23:17
Document generated by Confluence on Jun 05, 2016 09:39