Nathan-
I'll assume you're not using reflection to acquire the bean object and If you 
dont mind a code solution
I found this wrapper class for JMX which performs all the necessary functions 
for the Java Management Bean
http://www.koders.com/java/fidE81D6F40A8BABBF1652FF4CFA3F45B7E56D1C78F.aspx
HTH,
Martin--
--------------------------------------------------------------------------- 
This e-mail message (including attachments, if any) is intended for the use of 
the individual or entity to which it is addressed and may contain information 
that is privileged, proprietary , confidential and exempt from disclosure. If 
you are not the intended recipient, you are notified that any dissemination, 
distribution or copying of this communication is strictly prohibited.
--------------------------------------------------------------------------- 
Le présent message électronique (y compris les pièces qui y sont annexées, le 
cas échéant) s'adresse au destinataire indiqué et peut contenir des 
renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le 
destinataire de ce document, nous vous signalons qu'il est strictement interdit 
de le diffuser, de le distribuer ou de le reproduire.
----- Original Message ----- 
From: "Nathan Aaron" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Thursday, March 22, 2007 8:54 AM
Subject: Re: Can I get your 2 cents?


> From what I have read in a Tomcat book this is related to JMX.  If I 
> understand it correctly JMX is optional.  Anyone know how to turn it off?
> 
> Nathan
> 
> Rashmi Rubdi wrote:
>> The error is:
>>
>> Caused by: java.lang.IllegalArgumentException: Object name cannot be null
>>
>> This error occurs when you use Java Reflection to reference an obj. 
>> Are you
>> using some frameworks that are based on Reflection such as Struts, 
>> Spring,
>> Hibernate etc? Or have your own Reflection code?
>>
>> Someone else has reported a similar problem:
>> http://mail-archives.apache.org/mod_mbox/tomcat-users/200411.mbox/[EMAIL 
>> PROTECTED] 
>>
>>
>> Did you debug your app to see where this error could be occurring?
>>
>> After debugging your app, if you think it's a Tomcat error you could 
>> report
>> a bug here:
>> http://tomcat.apache.org/bugreport.html
>>
>> -Rashmi
>>
>> On 3/21/07, Nathan Aaron <[EMAIL PROTECTED]> wrote:
>>>
>>> I sent this yesterday.  I am hoping someone can let me know as why this
>>> is occurring or maybe give me some ideas of things to look at.  Any help
>>> would be greatly appreciated!
>>>
>>> Mar 20, 2007 11:59:46 AM org.apache.commons.modeler.Registry
>>> unregisterComponent
>>> SEVERE: Error unregistering mbean
>>> javax.management.RuntimeOperationsException: Object name cannot be null
>>>         at
>>> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.isRegistered(
>>> DefaultMBeanServerInterceptor.java:582)
>>>         at
>>> com.sun.jmx.mbeanserver.JmxMBeanServer.isRegistered(JmxMBeanServer.java
>>> :598)
>>>         at
>>> org.apache.commons.modeler.Registry.unregisterComponent(Registry.java:642) 
>>>
>>>         at
>>> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java
>>> :706)
>>>         at
>>> org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
>>>         at
>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
>>> ThreadPool.java:683)
>>>         at java.lang.Thread.run(Thread.java:619)
>>> Caused by: java.lang.IllegalArgumentException: Object name cannot be 
>>> null
>>>         ... 7 more
>>>
>>> Thanks,
>>> Nathan
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To start a new topic, e-mail: users@tomcat.apache.org
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

Reply via email to