The stack trace is from the point where the JMX MLet loads beans from the jboss.conf
file, not the point where the Configuration loads the jboss.jcml file so the problem is
likely that you tried to place your entry in jboss.conf?

----- Original Message ----- 
From: "Matt Davies" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 04, 2001 12:14 AM
Subject: [JBoss-user] MBean Newbie Difficulties -- JNDIMap


> Hi Guys,
> 
> I have written a general non-JBoss-specific MBean along the lines of Scott's 
> HOWTO document with JBoss providing a development and testing environment for 
> my activities. Having had some difficulty "deploying" my MBean I have reverted 
> to the original example in the HOWTO as shown in figure 11.8.
> 
> I cut and pasted these files into java files, creating a package "mbeantest", 
> and put the JAR into lib/ext. I had to remove the "log" object method calls as 
> it was not found and I was just trying to replicate my error using a well 
> known test case.
> 
> The jcml file update was exactly as provided in the HOWTO (at the bottom) with 
> a change to prefix JNDIMap with "mbeantest." for the code (xml) attribute.
> 
> Running this program using jboss 2.2.1 I get:
> 
> ...
> [Service Control] Registered with server
> java.lang.IllegalArgumentException: No object name specified
>         at com.sun.management.jmx.MBeanServerImpl.createMBean(MBeanServerImpl.j
> ava:528)
>         at javax.management.loading.MLet.getMBeansFromURL(MLet.java:523)
>         at javax.management.loading.MLet.getMBeansFromURL(MLet.java:369)
>         at org.jboss.Main.<init>(Main.java:173)
>         at org.jboss.Main$1.run(Main.java:107)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at org.jboss.Main.main(Main.java:103)
> [Service Control] Initializing 11 MBeans
> ...
> 



_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to