You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Amy Roh <am...@yahoo.com> on 2003/05/21 01:14:09 UTC

TC5 JMX objectName type

The "objectName" attribute for WebModule and Servlet is java.lang.String type in mbeans-descriptor file.  However, strangely the actual type of "objectName" attribute still returns javax.management.ObjectName if I test it out using getAttribute(obj, "objectName").getClass().getName().  
 
Costin, is the type getting overwritten in modeler somewhere?  
 
Thanks,
Amy  


---------------------------------
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.

Re: TC5 JMX objectName type

Posted by Costin Manolache <cm...@yahoo.com>.
Amy Roh wrote:

> As I suspected BaseModelMBean.getObjectName returns
> javax.management.ObjectName instead of String.  :-(

Have you committed a fix already ? 

I'm sorry, I'm very busy with my job.


Costin

> 
> Amy Roh <am...@yahoo.com> wrote:The "objectName" attribute for
> WebModule and Servlet is java.lang.String type in mbeans-descriptor file.
> However, strangely the actual type of "objectName" attribute still returns
> javax.management.ObjectName if I test it out using getAttribute(obj,
> "objectName").getClass().getName().
> 
> Costin, is the type getting overwritten in modeler somewhere?
> 
> Thanks,
> Amy
> 
> 
> ---------------------------------
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.
> 
> 
> ---------------------------------
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.



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


Re: TC5 JMX objectName type

Posted by Amy Roh <am...@yahoo.com>.
As I suspected BaseModelMBean.getObjectName returns javax.management.ObjectName instead of String.  :-(

Amy Roh <am...@yahoo.com> wrote:The "objectName" attribute for WebModule and Servlet is java.lang.String type in mbeans-descriptor file. However, strangely the actual type of "objectName" attribute still returns javax.management.ObjectName if I test it out using getAttribute(obj, "objectName").getClass().getName(). 

Costin, is the type getting overwritten in modeler somewhere? 

Thanks,
Amy 


---------------------------------
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.


---------------------------------
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.