I created a custom MBean but I keep getting the following exception and have
no idea why... any help would be grand!
[CustomMBean] Initializing
[CustomMBean] Initialized
java.lang.IllegalArgumentException: No object name specified
at
com.sun.management.jmx.MBeanServerImpl.createMBean(MBeanServerImpl.java:780)
at javax.management.loading.MLet.getMBeansFromURL(MLet.java:540)
at javax.management.loading.MLet.getMBeansFromURL(MLet.java:369)
at org.jboss.Main.<init>(Main.java:119)
at org.jboss.Main$1.run(Main.java:87)
at java.security.AccessController.doPrivileged(Native Method)
at org.jboss.Main.main(Main.java:83)
I only have a couple public constructor methods, one that takes a String and
one that takes nothing.
Also - is there a place I can go for some MBean documentation? It seems as
though it's very sparse.
Also also - I tried making a public constructor that takes an array of
Strings but I got a reflection error, am I not supposed to do this?
Thanks!
-joe