;[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Tuesday, May 20, 2008 10:59 AM
Subject: Re: JMX MBean
Can anyone help me?
I did what you said and still doesnt work!!! I show my code and how I've
implemented the whole things.
I added in the java/org/apache
Can anyone help me?
Liang Xiao Zhu escribió:
Hi Bill,
I did what you said and still doesnt work!!! I show my code and how
I've implemented the whole things.
I added in the java/org/apache/catalina/deploy/mbeans-descriptors.xml
the follow code:
...
description="Fully qu
Hi Bill,
I did what you said and still doesnt work!!! I show my code and how I've
implemented the whole things.
I added in the java/org/apache/catalina/deploy/mbeans-descriptors.xml
the follow code:
...
description="Fully qualified class name of the managed
object"
To use the mbeans-descriptor.xml method, somewhere in your code you need to
do something like:
Registry.getRegistry(null, null).registerComponent(this,
oname, null );
Where 'oname' is the ObjectName that you want to register your component
under. Since you are using TC6, the co
Hi Bill,
Yes, I am implementing a custom class that doesnt extend from any Tomcat
class. But I dont know how to self-register, I tried change the
mbeans-descriptor.xml and others things and looks like that nothing works!!!
Thanks
Bill Barker escribió:
Chuck's post works for implementing cu
Hi,
I still dont understand how to implement what I want to do.
Thanks
Bill Barker escribió:
Chuck's post works for implementing custom Tomcat components (e.g. a custom
Realm extending RealmBase). If you are implementing a custom class that
doesn't extend any Tomcat class, then your class wi
Chuck's post works for implementing custom Tomcat components (e.g. a custom
Realm extending RealmBase). If you are implementing a custom class that
doesn't extend any Tomcat class, then your class will have to self-register
itself. Since you say you are using TC6, the default configuration sho
Johnny Kewl wrote:
If not and its a bean in your servlet that you want to use.
Then this article is the only one I've ever seen on the subject
http://oss.wxnet.org/mbeans.html
Essentially there is a bean Registry inside tomcat... and the idea is
to get your bean into that registry... then TC
- Original Message -
From: "ubekhet" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Friday, May 16, 2008 10:33 PM
Subject: Re: JMX MBean
Liang,
When I read this, I think, "Damn, the guy is rebuilding Tomcat" ;)
Are you?
Are you trying to make a
Hi Caldarale,
Yes, I use the current version of Tomcat. Thanks for your link, but I
want to know how to implement MBean, because according the web you gave,
I have to add my MBean to the mbeans-descriptor.xml and also the folder
where is contained.
For example, if I want to implement the Hel
> -Original Message-
> From: Liang Xiao Zhu [mailto:[EMAIL PROTECTED]
> Subject: JMX MBean
>
> I am searching how to implement a MBean for a class that I
> implemented, which add some new funcionality to Tomcat.
Don't suppose you'd care to tell us what version of Tomcat you're using?
I
11 matches
Mail list logo