hi
i try to play around with JMX and expose some seam beans.
i found the page http://seamframework.org/Documentation/JMXComponents :-)
now i got the problem that i can not access the MBeanServer. all attempt to access it failed.
MBeanServerLocator.locateJBoss() or List<MBeanServer> servers = MBeanServerFactory.findMBeanServer(null); LOGGER.debug(servers.size()); server = servers.get(0);
results in:
java.lang.IllegalStateException: No 'jboss' MBeanServer found!
somebody maybe have an example for me?
thanks
joe