0 Replies Latest reply on May 21, 2004 11:52 AM by Jimmy Wilson

    MOD_JK2 & JMX Runtime Configuration

    Jimmy Wilson Apprentice

      The mod_jk2 configuration website http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/configweb.html indicates that Tomcat can be configured to create JMX proxies for configuration of the Apache instance running mod_jk2 (add/removing entries in workers2.properties):

      On tomcat side, you must enable the JMX proxy. This is done by setting "modjk.webServerHost" and "modjk.webServerPort" in jk2.properties to point to the web server port that contains /jkstatus. ( recent versions of jk and mod_jk are required ). You can also add mx4j-tools.jar to server/lib and set "mx.enable=true" in jk2.properties to enable the console, or use your favorite JMX console or tools. You could also select http and/or jrmp protocol, with mx.httpPort, mx.httpHost, mxjrmpPort and mx.jrmpPort.

      Given that Tomcat is wrapped by JBoss where can I set the aforementioned properties? There is no jk2.properties file in either JBoss 3.2.3 or 3.2.4RC2. Is there an equivalent setting in the jboss-service.xml file for Tomcat or is it simply a matter of placing a jk2.properties file in a specific location?