Well... I managed to get all of it working, following is what needs to be
done to get a custom MBean working
HelloMBean.java
-
package org.example.mbeans;
public interface HelloMBean {
public void sayHello();
}
Hello.java
---
packag
Hi,
Did some further search on this and came across the API document for
modeler where an excellent HowTo is given...The only code missing further
to what i had written was to bind the MBean with the registry which is done
using below fragment
URL url= this.getClass().getResource
("/com
Hi chris,
Thank you for the quick reply. I will certainly look at the link mentioned
by you... Also let me know if you planning to upload the source code
anytime soon.
Meanwhile any tomcat developers on the mailing list can help me with this
???
I can slso volunteer in contributing to this part
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Yogesh,
On 8/5/14, 10:18 AM, Yogesh Rao wrote:
> I am trying to write a MBean using the Modeler API in tomcat. The
> details of my environment are as below:-
>
> Tomcat version : 7.0.54 JDK version : 1.7 OS : windows 7
>
> The MBean written using
Hi,
I am trying to write a MBean using the Modeler API in tomcat. The details
of my environment are as below:-
Tomcat version : 7.0.54
JDK version : 1.7
OS : windows 7
The MBean written using Modeler API is not getting deployed and hence not
showing up on JConsole.
Following is the simple MBea