Yes, I am using this already. But there is some vital functionality missing.

When an java.lang.outOf.MemoryException happens I won't get an alert unless
I happen to be using lambda at the moment. So what we have at hand is a
'Schrödinger Cat' situation. 

I need to monitor the jmx control layer and have my program send out alerts
when something bad happens.

So far I have 2 problems:

1. How do I find an error? I played around with the JMX Proxy Servlet. There
is this Mbean: MemoryPool. When I query this I get the following result: 

Name: java.lang:type=MemoryPool,name=Perm Gen [shared-rw]
modelerType: sun.management.MemoryPoolImpl
Type: NON_HEAP
CollectionUsageThreshold: 0
CollectionUsageThresholdExceeded: true
MemoryManagerNames: [Ljava.lang.String;@943129
CollectionUsageThresholdSupported: true
.....

If I see this I can't tell if anything is wrong. So what to do?

2. How do I access the jmxproxy servlet from a java app? It requires
authentication. :o( 

Cheers,
Pete






---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to