hi there,

in your web.xml include these

    *<filter>
        <filter-name>monitoring</filter-name>
        <filter-class>net.bull.javamelody.MonitoringFilter</filter-class>
    </filter>
    <filter-mapping>
        <filter-name>monitoring</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>
    <listener>
        <listener-class>net.bull.javamelody.SessionListener</listener-class>
    </listener>*

and

               *<interceptors>
                        <interceptor name="monitoring"
class="net.bull.javamelody.StrutsInterceptor"/>

                        <interceptor-stack name="myStack">
                                <interceptor-ref name="monitoring"/>
                                <interceptor-ref name="defaultStack"/>
                        </interceptor-stack>
                </interceptors>

                <default-interceptor-ref name="myStack"/>*

also put the jar files in your class path.

help link: *
http://code.google.com/p/javamelody/wiki/UserGuide#2._web.xml_file* and *
http://code.google.com/p/javamelody/wiki/UserGuide#12._Struts_2_Actions*


2012/4/16 Miguel González Castaños <miguel_3_gonza...@yahoo.es>

> Dear all,
>
>  Javamelody is supposedly very easy to install for Tomcat but We do have a
> webapp using the Struts framework and I can't figure out how to configure
> Javamelody or get any error log of what I'm doing wrong. The web.xml
> example in the Javamelody is blocking my webapp to work (we use forwarders).
>
>  Regards,
>
>  Miguel
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: 
> users-unsubscribe@tomcat.**apache.org<users-unsubscr...@tomcat.apache.org>
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


-- 
Thanks & Regards,
Debraj Mallick
9674247281

Reply via email to