For RIP mode, check the application server's startup script (see the Application Server table) for the environment variables or for a script that gets executed that may set them externally. A good tip for checking what is being set is to locate the line in the script files that starts the JVM (usually it's near the end and begins with java-install-path/bin/java) and insert a line that pipes the environment to a file.
Start the application server and edit the env.fil file. Search for the environment variables listed in the ENOVIA Live Collaboration environment variable table. The MATRIXHOME environment variable should be noted since most traces and scripts are found using this path. This method should be used if using ENOVIA Live Collaboration Servers. In this mode, ENOVIA Live Collaboration Servers are started using rmireg.sh (Unix) or rmireg.bat (Windows). A good practice to ensure that the environment variables are set is to create a script or batch file that contains them and call the script directly from the application server startup script or from rmireg. In Windows, environment variables are checked as follows: the enovia.ini file is checked first; if the variable does not exist then the environment is checked. If still not found, internal defaults are used. Setting Environment Variables in the Windows RegistryWhen using the RMI service, environment variables may be also set in the registry. In the Windows Registry Editor a registry key called "Env" can exist under the following key:
This key can contain ENOVIA Live Collaboration environment variables as registry values. When the RMI service starts it will add these to its environment. These variables can be changed or added directly using regedit or by using the rmiservice with some parameters, for example:
or
Note that "eMatrix Rmi Server" is the default RMI registry key name. For more information about each ENOVIA Live Collaboration environment variable, see Configuring ENOVIA Live Collaboration and Installing ENOVIA Live Collaboration Server. Registry Keys to Avoid RMI Gateway-Related Display ProblemWhen two or more RMI gateways are set, displaying an object can take time. For example, the following scenario illustrates this behavior: Preparation:
Execute the following steps:
If a different user logs into the same client, display of an object occurs immediately. If the same user logs into a different client, display of an object takes time, as described in the above scenario. The delay in the display occurs because an automatic update of the root's Windows certificate is tried each time you load a component that verifies a certificate, such as when creating an HTTS connection. This is done only once until the Microsoft DLL is not unloaded. Setting the following registry keys disables this behavior:
|