Hi Lloyd,
Lloyd L Chambers wrote:
> Amy,
>
> Most all MBeans that have a JMX domain other than "amx" are private and
> should not be used. AMX are the public ones, and there are no
> unsupported methods.
> The com.sun.appserv MBeans have a fair number of unsupported methods;
> the generic code makes no attempt to remove inappropriate methods from
> the MBeanInfo of subclasses.
Why don't we support the methods? Actually, I want to use Catalina
(tomcat) MBeans (available after embedding tomcat) not com.sun.appserv
MBeans. Do we specifically disable MBean methods entierly in GlassFish?
Thanks,
Amy
>
> Lloyd Chambers
>
>
> On Jan 19, 2007, at 10:50 AM, Amy Roh wrote:
>
>> Hi guys,
>>
>> Do you know why some MBeans operations are "not supported"?
>>
>> I do see the method available in MBeanInfo and MBeanOperationInfo and
>> the method is public and available through mbean descriptor.
>>
>> However, when I view the MBean through HTML Adaptor I do see the
>> method listed but it also says "(Operation Not Supported)"
>>
>> After looking at various MBeans, it seems that methods that take any
>> parameters other than Object or String says "Operation Not
>> Supported", perhaps serialization issue(?).
>>
>> Is there a way to use these "available" methods without getting
>> "ReflectionException" when invoked?
>>
>> Thanks,
>> Amy
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>