hgomez      2003/10/16 04:51:16

  Modified:    jk/xdocs/jk2 configweb.xml
               jk/java/org/apache/jk/common JkMX.java
  Log:
  Fix getters/setters and update documentation
  
  Revision  Changes    Path
  1.18      +4 -3      jakarta-tomcat-connectors/jk/xdocs/jk2/configweb.xml
  
  Index: configweb.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/xdocs/jk2/configweb.xml,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- configweb.xml     6 Mar 2003 19:45:27 -0000       1.17
  +++ configweb.xml     16 Oct 2003 11:51:16 -0000      1.18
  @@ -111,8 +111,9 @@
           <p>This is very experimental. 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.port=PORT" in jk2.properties to enable the console, or use 
your favorite JMX
  -console or tools.</p>
  +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</p>
      
            <p>When tomcat starts up, it'll connect to the web server and create JMX 
mbean proxies for each
   mod_jk component. The data will be refreshed when JMX operations are performed - a 
set or invoke will
  
  
  
  1.19      +11 -9     jakarta-tomcat-connectors/jk/java/org/apache/jk/common/JkMX.java
  
  Index: JkMX.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/jk/common/JkMX.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- JkMX.java 16 Oct 2003 11:41:56 -0000      1.18
  +++ JkMX.java 16 Oct 2003 11:51:16 -0000      1.19
  @@ -70,7 +70,9 @@
   /**
    * Load the HTTP or RMI adapters for MX4J and JMXRI.
    *
  - * Add "mx.port=PORT" in jk2.properties to enable it.
  + * Add "mx.enabled=true" in jk2.properties to enable it.
  + * You could also select http and/or jrmp protocol, 
  + * with mx.httpPort, mx.httpHost, mxjrmpPort and mx.jrmpPort
    *
    */
   public class JkMX extends JkHandler
  @@ -110,37 +112,37 @@
   
        /** Enable the MX4J HTTP internal adapter
         */     
  -     public void setHTTPPort( int i ) {
  +     public void setHttpPort( int i ) {
                httpport=i;
        }
   
  -     public int getHTTPPort() {
  +     public int getHttpPort() {
                return httpport;
        }
   
  -     public void setHTTPHost(String host ) {
  +     public void setHttpHost(String host ) {
                this.httphost=host;
        }
   
  -     public String getHTTPHost() {
  +     public String getHttpHost() {
                return httphost;
        }
   
        /** Enable the MX4J JRMP internal adapter
         */
  -     public void setJRMPPort( int i ) {
  +     public void setJrmpPort( int i ) {
                jrmpport=i;
        }
   
  -     public int getJRMPPort() {
  +     public int getJrmpPort() {
                return jrmpport;
        }
   
  -     public void setJRMPHost(String host ) {
  +     public void setJrmpHost(String host ) {
                this.jrmphost=host;
        }
   
  -     public String getJRMPHost() {
  +     public String getJrmpHost() {
                return jrmphost;
        }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to