Description of problem: Using the following I am unable to set a JMX host. export CATALINA_OPTS="${CATALINA_OPTS} -Dcom.sun.management.jmxremote.host=127.0.0.1" export CATALINA_OPTS="${CATALINA_OPTS} -Dcom.sun.management.jmxremote.port=9111" export CATALINA_OPTS="${CATALINA_OPTS} -Dcom.sun.management.jmxremote.authenticate=false" export CATALINA_OPTS="${CATALINA_OPTS} -Dcom.sun.management.jmxremote.ssl=false" Version-Release number of selected component (if applicable): 2.x How reproducible: Very Steps to Reproduce: 1. Export varables above (note you may want to try setting JAVA_OPTS and not CATALINA_OPTS however both (in my testing) render the same results. 2. Start Tomcat 3. netstat -tunap | grep :9111 Actual results: Tomcat is bound to 0.0.0.0:9111 and not 127.0.0.1:9991 Expected results: Tomcat should be bound 127.0.0.1:9991 Additional info: http://mail-archives.apache.org/mod_mbox/cassandra-user/201108.mbox/%3C4E40B802.2060500@wetafx.co.nz%3E
"com.sun.management.jmxremote.host" does not exist. The JDK does not provide a way to set the host when using com.sun.management.jmxremote properties. It can only be done when creating the JMX connector programatically. Also, this is a JDK configuration, not related to EWS.
Since the JDK issue was resolved this works fine in JWS 3.x.