Monitoring multiple webapps

594 views
Skip to first unread message

pra...@jamcracker.com

unread,
Dec 9, 2013, 3:59:37 AM12/9/13
to javam...@googlegroups.com
Hi,

I have multiple application (*.ear &*.war ) deployed on Jboss 4.x.These application are actually independent modules of one large system.Can I create single "hello world" web app with Melody filters in web.xml which will help me monitor all the application deployed.

       <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>




Thank you,
Puneet

Vernat Emeric

unread,
Dec 9, 2013, 4:21:42 PM12/9/13
to javam...@googlegroups.com

Hi,

I understand that you have several apps and webapps, in possibly several
servers (JBoss 4.x).
You can of course install javamelody in each webapp:
https://code.google.com/p/javamelody/wiki/UserGuide#Setup
If you wish, you can also start an optional collector server to
centralize data and reports of webapps:
https://code.google.com/p/javamelody/wiki/UserGuideAdvanced#Optional_centralization_server_setup

But, if you need something else:
- In that case, you can possibly install a simple "hello world" webapp
in each instance of the JBoss server(s). You would get only "JVM level"
metrics and not a single one "app level" metric: that would be a sad
thing, but better than nothing. That "hello world" webapp is not
donwloadable from the javamelody project, but you can simply create it:
a WEB-INF/web.xml file with a MonitoringFilter, and 2 or 3 jar files in
WEB-INF/lib. See https://code.google.com/p/javamelody/wiki/UserGuide#Setup
- Given your jboss version and several ear/war, you can probably not
install javamelody in Tomcat overall.

bye,
Emeric


Le 09/12/2013 09:59, pra...@jamcracker.com a �crit :
> --
>
> ---
> You received this message because you are subscribed to the Google
> Groups "javamelody" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to javamelody+...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.


Reply all
Reply to author
Forward
0 new messages