You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by ed...@gmx.at on 2003/06/05 12:00:02 UTC
customized MBean
Hi,
I`d like to use a customized MBean, but it does not show up in the Admin
Console. (I get no exceptions and no erros in the log files)
I changed the server.xml as follows:
<Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"
debug="0"
descriptors="/com/etti/logging/mbeans-descriptors.xml"/>
<Engine...
<Valve className="com.etti.logging.MyValve"/>
The class MyValve also extends from ValveBase (which I read in earlier
discussions "Tomcat Mbeans").
I also tried to extend from RequestDumperValve which did'nt work.
Any ideas???
greetinx, Edgar ;-)
--
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: customized MBean
Posted by Tim Funk <fu...@joedog.org>.
You need to add you bean to mbeans-descriptors.xml
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/mbeans-descriptor-howto.html
-Tim
edgar.herrnstein@gmx.at wrote:
> Hi,
>
> I`d like to use a customized MBean, but it does not show up in the Admin
> Console. (I get no exceptions and no erros in the log files)
>
> I changed the server.xml as follows:
>
> <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"
> debug="0"
> descriptors="/com/etti/logging/mbeans-descriptors.xml"/>
>
> <Engine...
> <Valve className="com.etti.logging.MyValve"/>
>
>
> The class MyValve also extends from ValveBase (which I read in earlier
> discussions "Tomcat Mbeans").
>
> I also tried to extend from RequestDumperValve which did'nt work.
>
> Any ideas???
>
> greetinx, Edgar ;-)
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
customized MBean
Posted by ed...@gmx.at.
Hi,
I`d like to use a customized MBean, but it does not show up in the Admin
Console. (I get no exceptions and no erros in the log files)
I changed the server.xml as follows:
<Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"
debug="0"
descriptors="/com/etti/logging/mbeans-descriptors.xml"/>
<Engine...
<Valve className="com.etti.logging.MyValve"/>
The class MyValve also extends from ValveBase (which I read in earlier
discussions "Tomcat Mbeans").
I also tried to extend from RequestDumperValve which did'nt work.
Any ideas???
greetinx, Edgar ;-)
--
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
customized MBean
Posted by ed...@gmx.at.
Hi,
I`d like to use a customized MBean, but it does not show up in the Admin
Console. (I get no exceptions and no erros in the log files)
I changed the server.xml as follows:
<Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"
debug="0"
descriptors="/com/etti/logging/mbeans-descriptors.xml"/>
<Engine...
<Valve className="com.etti.logging.MyValve"/>
The class MyValve also extends from ValveBase (which I read in earlier
discussions "Tomcat Mbeans").
I also tried to extend from RequestDumperValve which did'nt work.
Any ideas???
greetinx, Edgar ;-)
--
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!
--
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org