I am trying to create a mbean, but I get a strange exception org.jboss.deployment.DeploymentException: Class does not expose a management interface: java.lang.Object; - nested throwable: (javax.management.NotCompliantMBeanException: Class does not expose a management interface: java.lang.Object) | at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:178) | at org.jboss.system.ServiceController.install(ServiceController.java:215) | at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source)
I am using the code presented in the example from the wiki (http://wiki.jboss.org/wiki/Wiki.jsp?page=ExampleHelloWorldService), using the general extention of the interface (not extends ServiceMBean). What might be wrong? I do not implement a management interface? I implement a interface containing the start() and stop() methods (like the example) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954895#3954895 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954895 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user