Thanks for your answer.
The example in the Wiki uses JBoss specific API.

Every time I try to deploy a simple Standard MBean, I get the same error:
 
org.jboss.deployment.DeploymentException: create operation failed for package 
file:/D:/apps/appserver/jboss-3.2.5/server/default/deploy/MyTest.sar; - nested 
throwable: (org.jboss.deployment.DeploymentException: No ClassLoaders found 
for: test.Mytest; - nested throwable: (java.lang.ClassNotFoundException: No 
ClassLoaders found for: test.Mytest))
My SAR looks like that:

+-- META-INF
|    +--- jboss.service.xml (similar to the one you provided)
|    +--- MANIFEST.MF
+-- MyTest.jar

I also tried to put the jar file inside the META-INF directory but the same 
exception is thrown all the time. Whatever I do, always the same error.

I don't understand. I wonder, if it is so simple, why nobody is able to post a 
simple example of a Standard MBean deployed within a SAR without using xmbeans 
ou JBoss classes?

Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932183#3932183

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932183


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to