Configuring a JRun Server

The JRun configuration file is \lcds\jrun4\bin\jvm.config.

In order to enable JMX, set the following in the configuration file:

java.args=-Xms32m -Xmx384m

-Dsun.io.useCanonCaches=false

-Dcom.sun.management.jmxremote

-Dcom.sun.management.jmxremote.port=<port>

-Dcom.sun.management.jmxremote.ssl=false

-Dcom.sun.management.jmxremote.authenticate=false

Configuring a Tomcat Server

The Tomcat configuration file is \lcds\tomcat\bin\catalina.bat.

In order to enable JMX, set the following in the configuration file:

set CATALINA_OPTS=%CATALINA_OPTS% -Dcom.sun.management.jmxremote

-Dcom.sun.management.jmxremote.port=<port>

-Dcom.sun.management.jmxremote.ssl=false

-Dcom.sun.management.jmxremote.authenticate=false

-Djava.rmi.server.hostname=<hostname>