[JBoss-user] [Beginners Corner] - Re: Mbean examples
the following snippets are based on the Jboss trailblazer MBeanServer server = MBeanServerLocator.locate(); | | jfrman = (jfrManager) MBeanProxyExt.create( | jfrManager.class, "jfr:service=manager", server); | | @Service (objectName="jfr:service=manager") | public class jfrManager implements jfrManagerMBean{ | private boolean started; | @Management | public interface jfrManagerMBean { | public void start() throws Exception; | public void stop () throws Exception; | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3900990#3900990 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3900990 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Mbean examples
Post the code you are executing. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3900941#3900941 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3900941 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Mbean examples
I am still missing something. I have a simple MBean to pass a value back to the EJB. I'm using JB 4.0.2. For instance I follow the trailblazer example and I get Exception in thread "main" java.util.NoSuchElementException | at java.util.AbstractList$Itr.next(Unknown Source) | at org.jboss.mx.util.MBeanServerLocator.locate(MBeanServerLocator.java:67) | at org.jboss.mx.util.MBeanServerLocator.locate(MBeanServerLocator.java:80) | at client.XMLClient.main(XMLClient.java:52) | | I am hot deploying and know the mbean is started. | | Please help as I am getting absolutely nowhere. | | thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3900737#3900737 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3900737 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Mbean examples
Have you seen: - http://docs.jboss.org/jbossas/jboss4guide/r4/html/ch2.chapter.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3900594#3900594 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3900594 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user