tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/mbeans MBeanUtils.java
Date Mon, 21 Jan 2002 21:24:04 GMT
remm        02/01/21 13:24:04

  Modified:    catalina/src/share/org/apache/catalina/mbeans
                        MBeanUtils.java
  Log:
  - Add missing getParent().
  
  Revision  Changes    Path
  1.9       +6 -5      jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/mbeans/MBeanUtils.java
  
  Index: MBeanUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/mbeans/MBeanUtils.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- MBeanUtils.java	17 Jan 2002 20:01:02 -0000	1.8
  +++ MBeanUtils.java	21 Jan 2002 21:24:04 -0000	1.9
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/mbeans/MBeanUtils.java,v
1.8 2002/01/17 20:01:02 remm Exp $
  - * $Revision: 1.8 $
  - * $Date: 2002/01/17 20:01:02 $
  + * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/mbeans/MBeanUtils.java,v
1.9 2002/01/21 21:24:04 remm Exp $
  + * $Revision: 1.9 $
  + * $Date: 2002/01/21 21:24:04 $
    *
    * ====================================================================
    *
  @@ -103,7 +103,7 @@
    *
    * @author Craig R. McClanahan
    * @author Amy Roh
  - * @version $Revision: 1.8 $ $Date: 2002/01/17 20:01:02 $
  + * @version $Revision: 1.9 $ $Date: 2002/01/21 21:24:04 $
    */
   
   public class MBeanUtils {
  @@ -610,7 +610,8 @@
           } else if (container instanceof Context) {
               String path = ((Context)container).getPath();
               Host host = (Host) container.getParent();
  -            Service service = ((Engine)container.getParent()).getService();
  +            Service service = 
  +                ((Engine)container.getParent().getParent()).getService();
               name = new ObjectName(domain + ":type=Logger,path=" + path +
                                 ",host=" + host.getName() + ",service=" +
                                 service.getName());
  
  
  

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


Mime
View raw message