Cannot Change Component Property Values

后端 未结 1 726
感动是毒
感动是毒 2020-12-22 03:44

I have the latest version of Redhawk and CentOS, and I have run into a few problems right off the bat. Initially I couldn\'t see the Chalkboard and Sandbox, but that issue w

相关标签:
1条回答
  • 2020-12-22 03:52

    UPDATE: This is not an issue starting with Java 7u65, 6u85. See ORB Singleton Class Loading Bug

    The problem is due to the IDE trying to replace some CORBA-related classes found in the Java bootstrap class path with JacORB-supplied ones. Java briefly disallowed this for a few updates starting with 7u55 and 6u71. JacORB references the need to modify the bootstrap class path in their manual, section 27.1: JacORB Programming Guide

    I was able to work around this with my 1.9.0 IDE by modifying the IDE's bootstrap class path to include JacORB and a JacORB dependency. My steps below assume an IDE in /usr/local/redhawk/eclipse. First, extract the JacORB jar from the plugin:

    cd /usr/local/redhawk/eclipse/plugins
    jar xf org.jacorb_* lib/jacorb.jar
    

    Next, note the filename for the slf4j plugin:

    ls org.slf4j.api_*
    

    Now modify /usr/local/redhawk/eclipse/eclipse.ini so that the two jars are prepended to the bootstrap classpath. You'll want to use the absolute path to the two jars. A snippet from mine is below:

    ...
    -vmargs
    -Xms40m
    -Xmx512m
    -XX:MaxPermSize=256m
    -Xbootclasspath/p:/usr/local/redhawk/eclipse/plugins/lib/jacorb.jar:/usr/local/redhawk/eclipse/plugins/org.slf4j.api_1.6.4.v20120130-2120.jar
    ...
    

    If you startup from a console, you may see an error from slf4j, but I haven't found it to be problematic. If you've done it correctly, you should see the Sandbox show up in the SCA Explorer View, just above the Target SDR.

    0 讨论(0)
提交回复
热议问题