To use the embeddable version of REM to manage the Rhino SDK, first embed the required REM files in the SDK and enable the SDK to run REM as part of the Rhino process. If you want to use the standalone version of REM, see the Rhino Element Manager (REM) Guide.

To embed REM, take the following steps:

  1. Stop the Rhino SDK if it is running.

  2. Extract the installation package of the embeddable REM to the RhinoSDK/lib directory.

    The following files are added to the directory:

    • rem.war

    • rem-container.jar

  3. Enable the embedded REM in the SDK by changing the value of the REM_ENABLED configuration variable in RhinoSDK/config/config_variables to true, as shown below:

    # Element Manager
    Note If you cannot find the file RhinoSDK/config/config_variables, start the SDK to generate it.
  4. Grant necessary permissions by uncommenting the following lines in RhinoSDK/config/rhino.policy:

    // permission "$${}$${/}tmp$${/}-","read";
    // permission java.lang.RuntimePermission "accessClassInPackage.sun.misc";
    // permission java.lang.RuntimePermission "accessDeclaredMembers";

    and adding the following extra line underneath:

    permission java.lang.RuntimePermission "getProtectionDomain";
  5. Start the Rhino SDK.

    You can access REM at localhost:8066/rem/.

Previous page Next page