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:
-
Stop the Rhino SDK if it is running.
-
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
-
-
Enable the embedded REM in the SDK by changing the value of the
REM_ENABLED
configuration variable inRhinoSDK/config/config_variables
totrue
, as shown below:# Element Manager REM_ENABLED=true
If you cannot find the file RhinoSDK/config/config_variables
, start the SDK to generate it. -
Grant necessary permissions by uncommenting the following lines in
RhinoSDK/config/rhino.policy
:// permission java.io.FilePermission "$${rhino.dir.work}$${/}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";
-
Start the Rhino SDK.
You can access REM at localhost:8066/rem/.