[JBoss-user] [Management, JMX/JBoss] - Re: How Can I deploy a Standard MBean on JBoss by using a SA

2006-03-28 Thread asoleto
I mean +-- META-INF | +--- jboss.service.xml (similar to the one you provided) | +--- MANIFEST.MF +-- test | +-- MyTestMbean.class | +-- MyTest.class View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3933035#3933035 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - Re: How Can I deploy a Standard MBean on JBoss by using a SA

2006-03-28 Thread asoleto
Thanks for your answer, but I do confirm that the file name is well jboss-service.xml and that classes are in the test directory. I tried to deploy it in several servers but the problem persists. I put my SAR in this address in order to allow you to test it:

[JBoss-user] [Management, JMX/JBoss] - Re: How Can I deploy a Standard MBean on JBoss by using a SA

2006-03-28 Thread asoleto
Thank you, Dimitris, I found the problem in my SAR. It was my fault. I wrote Mytest as class name instead MyTest like a newbee. I read the jboss-service.xml file a hundred times and I never realized my big mistake. Thanks for your patience to all you. View the original post :

[JBoss-user] [Management, JMX/JBoss] - Re: How Can I deploy a Standard MBean on JBoss by using a SA

2006-03-24 Thread asoleto
My Interface: package test; | | public interface MyTestMBean { | public void start() throws Exception; | public void stop() throws Exception; | public String getMessage(); | public void setMessage(String message); | } Its implementation: package test; | |

[JBoss-user] [Management, JMX/JBoss] - Re: How Can I deploy a Standard MBean on JBoss by using a SA

2006-03-23 Thread asoleto
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;

[JBoss-user] [Management, JMX/JBoss] - Re: How Can I deploy a Standard MBean on JBoss by using a SA

2006-03-21 Thread asoleto
Do you have any example ? I mean, - I know how to deploy a simple Standard MBean by using xmbeans (jboss-service.xml file with tag xmbeans-dd pointing to my xmbean file describing my MBean interface) from a SAR. - I know how to write specific code to deploy a Standard MBean by using JSR-3

[JBoss-user] [Management, JMX/JBoss] - Re: How Can I deploy a Standard MBean on JBoss by using a SA

2006-03-10 Thread asoleto
I'm not sure your example answers my question. It shous non standard JMX MBeans. I'm trying to deploy a simple Standard MBean on my JBoss by using a SAR file. It's a simple custom class implementing a simple custom interface. There is no org.jboss... heritage or implementation. No MBeanSupport

[JBoss-user] [Management, JMX/JBoss] - How Can I deploy a Standard MBean on JBoss by using a SAR ?

2006-03-06 Thread asoleto
As long as I now, only Model MBean, and more precisely XMBean, can be deployed by using a *-service.xml file into a SAR. My MBean implementation has to extend ServiceMBeanSupport and my MBean interface has to extend MBeanService. Can I deploy a simple Standard MBean (without extending or

[JBoss-user] [Management, JMX/JBoss] - Re: How Can I deploy a Standard MBean on JBoss by using a SA

2006-03-06 Thread asoleto
A precision: My question is Can I use a SAR for deploying a Standard MBean that uses only standard JMX classes ?. I want to use a *-service.xml file to declare my Standard MBean. Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3928153#3928153 Reply to