I'm having a problem deploying a simple FooMBean for a Foo class that just
implements a no-op method foo(). 

I was cheered by the casual remark on p.61 of the Admin and Development
Guide:  "MBeans that are independent of JBoss Services are the trivial case.
They can be written per the JMX specification and added to a JBoss server by
adding an MBean tag to the deploy/user-service.xml file."  

But I keep getting  No Class Loaders Found for my class Foo when the Main
Deployer tries to deploy user-service.xml. 

I've tried having Foo and FooMBean in a jar file in /deploy. I've tried
having them in a sar file with a jboss-service.xml in deploy. I've tried it
with and without using classpath in user-service.xml. Same result. 

Finally, I tried taking the reference out of  user-service.xml and doing a
hot deploy on the sar file. Same result.

Where does the deployer want to see my classes and in what format? 

I ran the two examples from Ch2 of the A&D guide with no trouble. 










-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to