Re: Application monitoring

2014-05-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 David, On 5/19/14, 8:42 AM, David kerber wrote: > On 5/19/2014 8:27 AM, Neven Cvetkovic wrote: >> On Mon, May 19, 2014 at 8:11 AM, David kerber >> wrote: >>> >>> I've uploaded code examples and the JmxExample.war: https://wiki.apache.org/tomc

Tomcat 7 Cluster with load balancing only needs to run a service periodically

2014-05-19 Thread Suhaas Lang
The Tomcat cluster is configured as load balancer only. There is no session replication. So in case a Tomcat node on which the user session is running, dies in that case the session is lost. We do need to run a service on that cluster periodically. Obviously it cannot run on both servers, but at t

Re: Application monitoring

2014-05-19 Thread Leon Rosenberg
Hello David, yes there is. And I sent you two links to blog entries about exactly that. Did you read them? regards Leon P.S. in the examples the app specific info is monitored directly and not via jmx, because that saves a lot of overhead, but reading jmx beans is also supported. On Mon, Ma

Re: Application monitoring

2014-05-19 Thread David kerber
On 5/19/2014 8:52 AM, Leon Rosenberg wrote: David, I already asked you why you are reinventing the wheel, but it seems, for fun, which is a perfectly ok reason though. However, maybe you'll find some insights on how other people do it here: http://blog.anotheria.net/msk/the-complete-moskito-inte

Re: Application monitoring

2014-05-19 Thread Leon Rosenberg
David, I already asked you why you are reinventing the wheel, but it seems, for fun, which is a perfectly ok reason though. However, maybe you'll find some insights on how other people do it here: http://blog.anotheria.net/msk/the-complete-moskito-integration-guide-step-6-moskito-control/and here:

Re: Application monitoring

2014-05-19 Thread David kerber
On 5/19/2014 8:27 AM, Neven Cvetkovic wrote: On Mon, May 19, 2014 at 8:11 AM, David kerber wrote: I've uploaded code examples and the JmxExample.war: https://wiki.apache.org/tomcat/Example%20Application% 20Exposing%20Internals%20Using%20JMX So, just deploy JmxExample.war to your Tomcat ins

Re: Application monitoring

2014-05-19 Thread Neven Cvetkovic
On Mon, May 19, 2014 at 8:11 AM, David kerber wrote: > > I've uploaded code examples and the JmxExample.war: >> https://wiki.apache.org/tomcat/Example%20Application% >> 20Exposing%20Internals%20Using%20JMX >> >> So, just deploy JmxExample.war to your Tomcat instance, open up JMX >> console >> thr

Re: Application monitoring

2014-05-19 Thread David kerber
On 5/19/2014 3:23 AM, Neven Cvetkovic wrote: On Sun, May 18, 2014 at 11:26 PM, Neven Cvetkovic wrote: ... Chris thanks for the reminder, I will fix the missing page with the example I wrote, back then. I thought I have published that already. I've uploaded code examples and the JmxEx

Re: Tomcat dependency on application server

2014-05-19 Thread Neven Cvetkovic
On Sat, May 17, 2014 at 7:05 PM, Leon Rosenberg wrote: > Really, there are about 1 gazzillion valid ways to setup an application > consisting of n number of tomcats and m number of jbosses, running in same > or separate processes/vms/datacenters and doing stuff. > +1. Agreed > Maybe you should

Re: Application monitoring

2014-05-19 Thread P Manchanda
Thanks Leon >> 1) You could use jmx and publish your information as jmx beans. That was the first thought I had. I would prefer using JMX beans, so that i can leverage any JMX tool like JConsole or JVisualVM ___ Thks & brgds P Manchanda

RE: Tomcat dependency on application server

2014-05-19 Thread P Manchanda
JBoss uses Tomcat as its Servlet container, so there should be no need for a separate tomcat. Can you let us know for what purpose you are using a separate tomcat. ___ Thks & brgds P Manchanda On Sun, 18/5/14, Terence M. Bandoi

Re: Application monitoring

2014-05-19 Thread Neven Cvetkovic
On Sun, May 18, 2014 at 11:26 PM, Neven Cvetkovic wrote: > > > >> Which is "item 3"? I'd be happy to fix whatever is missing. > > >> > > >> - -chris > > > > > > Example Application Exposing Internals Using JMX > > > > > > at the bottom of the page goes nowhere. More accurately, it goes to > > > a