Note: For up-to-date product documentation, see the IBM MobileFirst Foundation Developer Center.
Configuring JMX connection for Apache Tomcat
You must configure a secure JMX connection for Apache Tomcat application server.
About this task
-Djava.rmi.server.hostname=localhost
-Dcom.sun.management.jmxremote.port=8686
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
Note: 8686 is
a default value. The value for this port can be changed if the port
is not available on the computer.
- The setenv.bat file is used if you start Apache Tomcat with tomcat_install_dir/bin/startup.bat, or tomcat_install_dir/bin/catalina.bat.
- The setenv.sh file is used if you start Apache Tomcat with <tomcatInstallDir>/bin/startup.sh, or tomcat_install_dir/bin/catalina.sh.
Important: This
configuration is not secure by default. To secure the configuration,
you must manually complete steps 2 and 3 of the following procedure.
Procedure
Manually configuring Apache Tomcat: