This content has been marked as final.
Show 3 replies
-
1. Re: Accessing a MBean through a servlet...
starksm64 Apr 11, 2005 9:31 AM (in response to nine_mirrors)That certainly does not look a valid jmx object name string. It should be:
"jboss.management.local:name=naps.payment,service=VendorConnectionTest"
-
2. Re: Accessing a MBean through a servlet...
nine_mirrors Apr 11, 2005 9:43 AM (in response to nine_mirrors)THnx for the prompt reply.
I changed the name string (and renamed it to avoid possible local confusion). That, however, did not help.
I getavax.management.InstanceNotFoundException: jboss.management.local:name=naps.monitor,service=VendorConnectionTest is not registered. at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:462) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:470) at com.ongame.monitor.sermon.Sermon.doGet(Sermon.java:68) at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
but I can see the mbean in the jmx console window.
So, I'm still in the dark.
thnx
Erik Svensson -
3. Re: Accessing a MBean through a servlet...
starksm64 Apr 11, 2005 9:48 AM (in response to nine_mirrors)Then the name is not correct.