ENOVIA Live Collaboration Server Port Number Configuration

This topic describes how to configure ENOVIA Live Collaboration Server port numbers. If you want to change port numbers, you must change them in a few different places in the rmireg.sh file. The default setup initiates a log file that uses the port number in the file name. The easiest way to change port numbers consistently is to search on the number itself, knowing which new number will replace the originally configured port. For example, assume the original installation took the default ENOVIA Live Collaboration Server port number and installed the RMI Gateway with the default number of server processes. Now you want to change the ports to use 2000, 2001, and 2002. You could search for 1099 and change all occurrences to 2000, then find 1100 and change all to 2001, and finally all 1101 and change to 2002.

Related Topics
Configuring the ENOVIA Live Collaboration Server
Implementing the Security Wrapper on RMI Gateway
ENOVIA Live Collaboration Server Windows Service Configuration

Below is a sample portion of the rmireg.sh file that would require editing in order to reconfigure the server's ENOVIA Live Collaboration Server port number(s):

echo "Starting RMI Daemons"

echo $JAVA_PATH/rmid $JAVA_OPTIONS $JAVA_LIB -J$JAVA_SECURITY
-port 1099 -log /acme1/ematrixRMI/logs/RMI1099 &
$JAVA_PATH/rmid $JAVA_OPTIONS $JAVA_LIB -J$JAVA_SECURITY -port
1099 -log /acme1/ematrixRMI/logs/RMI1099 &

echo $JAVA_PATH/rmid $JAVA_OPTIONS $JAVA_LIB -J$JAVA_SECURITY
-port 1100 -log /acme1/ematrixRMI/logs/RMI1100 &
$JAVA_PATH/rmid $JAVA_OPTIONS $JAVA_LIB -J$JAVA_SECURITY -port
1100 -log /acme1/ematrixRMI/logs/RMI1100 &

echo $JAVA_PATH/rmid $JAVA_OPTIONS $JAVA_LIB -J$JAVA_SECURITY
-port 1101 -log /acme1/ematrixRMI/logs/RMI1101 &
$JAVA_PATH/rmid $JAVA_OPTIONS $JAVA_LIB -J$JAVA_SECURITY -port
1101 -log /acme1/ematrixRMI/logs/RMI1101 &

echo "Starting RMI Gateway"

$JAVA_PATH/java $JAVA_SECURITY
-Djava.rmi.server.codebase=file:$CLASSPATH
-Djava.rmi.activation.port=1099 com.matrixone.jdl.eMatrix
-servers //localhost:1100,//localhost:1101 //localhost:1099&

echo "Starting Secondary RMI Servers"

$JAVA_PATH/java $JAVA_SECURITY
-Djava.rmi.server.codebase=file:$CLASSPATH
-Djava.rmi.activation.port=1100 com.matrixone.jdl.eMatrix //
localhost:1100 &

$JAVA_PATH/java $JAVA_SECURITY
-Djava.rmi.server.codebase=file:$CLASSPATH
-Djava.rmi.activation.port=1101 com.matrixone.jdl.eMatrix //
localhost:1101 &