[JBoss-user] [Management, JMX/JBoss] - Re: How to dynamically create a standard MBean

2004-12-02 Thread [EMAIL PROTECTED]
Ok I guess I'm a little SLOW The interface needs to be named: blahMBean The implementation MUST be named : blah Now it works. Sorry for taking up so much space in this forum :-) For anyone who iis interested here is the working code. public interface EmailConfigFormMonMBean { publ

[JBoss-user] [Management, JMX/JBoss] - Re: How to dynamically create a standard MBean

2004-12-02 Thread [EMAIL PROTECTED]
I'll write that again, if you class is called Z the interface must be called ZMBean So, just change the name of you implementation class to: EmailConfigForm in order to agree with interface name EmailConfigFormMBean View the original post : http://www.jboss.org/index.html?module=bb&op=viewt

[JBoss-user] [Management, JMX/JBoss] - Re: How to dynamically create a standard MBean

2004-12-02 Thread [EMAIL PROTECTED]
I just looked at the MBeanCapability.java file where the exception is being thrown. The strange thing is that it thinks the mbeanClass is java.lang.Object. What's up with that?? Do I need to do a class cast in the register call or something like that? Thanx Warren View the original post : ht

[JBoss-user] [Management, JMX/JBoss] - Re: How to dynamically create a standard MBean

2004-12-02 Thread [EMAIL PROTECTED]
H It doesn't seem to matter what the name of the implementation class is I always get the same error. I've changed the name of the impl class to EmailConfigFormMBean EmailConfigFormBllahImpl I always throws the NonCompliantMBeanException The interface does follow the standard mbean

[JBoss-user] [Management, JMX/JBoss] - Re: How to dynamically create a standard MBean

2004-12-02 Thread [EMAIL PROTECTED]
When you implement StandardMBeans, the exposed MBean interface for a class Z must follow the pattern ZMBean. Just change the name of you implementation class to: EmailConfigForm View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857147#3857147 Reply to the post