tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/java/org/apache/jk/common JkMX.java
Date Tue, 08 Apr 2003 17:31:58 GMT
costin      2003/04/08 10:31:57

  Modified:    jk/java/org/apache/jk/common JkMX.java
  Log:
  A log message when mx4j is started, and go ahead and try to load rmi
  Also more info on log4j jmx.
  
  Revision  Changes    Path
  1.10      +3 -2      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.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- JkMX.java	17 Feb 2003 02:12:46 -0000	1.9
  +++ JkMX.java	8 Apr 2003 17:31:57 -0000	1.10
  @@ -145,7 +145,8 @@
               // starts the server
               mserver.invoke(serverName, "start", null, null);
   
  -            return;
  +            log.info( "Started MX4J console on " + port);
  +            //return;
           } catch( Throwable t ) {
               log.error( "Can't load the MX4J http adapter " + t.toString()  );
           }
  @@ -230,7 +231,7 @@
                   log.info("Registering the JMX hierarchy for Log4J ");
                   mserver.registerMBean(o, new ObjectName("log4j:hierarchy=default"));
               } catch( Throwable t ) {
  -                log.info("Can't enable log4j mx");
  +                log.info("Can't enable log4j mx: " +  t.toString());
               }
   
               /*
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message