tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From G√ľnter Knauf <efl...@gmx.net>
Subject [PATCH] uri runtime info - avoid nameless entries
Date Thu, 05 Feb 2004 00:53:09 GMT
Hi all,
in mod_jk2, if invoked by the /jkstatus page, jk2_worker_status_displayRuntimeType() displays
always a nameless / useless first line below the uri runtime info;
I'm asking me what entry that vould be, and if it is the right way to suppress displaying
it, or dig for what it is?
can perhaps someone enlighten me?

======================================================
--- jk_worker_status.c.orig	Tue Feb 03 00:21:34 2004
+++ jk_worker_status.c	      Wed Feb 04 22:03:24 2004
@@ -282,6 +282,10 @@
         if( mbean==NULL || mbean->getAttributeInfo==NULL ) 
             continue;
 
+        /* Don't display nameless */
+        if( mbean->localName == NULL || (strlen(mbean->localName) == 0) )
+            continue;
+        
         if( mbean->getAttribute == NULL )
             continue;
 
thanks, Guenter.



---------------------------------------------------------------------
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