Hello again
I successfully wrote an MBean and got it to deploy just fine on my,local machine running Tomcat. I can actually see and use it with JConsole. When I deploy the same WAR file on JBoss and connect to JBoss using JConsole, I cannot see my MBean!
My guess is that I forgot something but I cannot think what! Can any of you guys help?
Below are some details.
My MBean class implements javax.management.DynamicMBean and javax.servlet.ServletContextListener.
I added the following to my web,xml file.
<listener>
<listener-class>package.class</listener-class>
</listener>
Do I need a similar entry somewhere else for JBoss?
Regards
Patrick