Hi,

Look at Java Service Wrapper project. I think you can extend there logging trigger filter API.

http://wrapper.tanukisoftware.org/doc/english/prop-filter-x-n.html

As you detect the OME then you can use the jkstatus mod_jk interface to deactivate the worker from list.

http://tomcat.apache.org/connectors-doc/reference/status.html

I don't see that a real jvm hook exists for OME's.

Please, use the user list for those questions first.

Thanks
Peter



Am 04.10.2007 um 09:45 schrieb Giampaolo Capelli:

hi there everyone,
I'm new to the list.

I would like mod_jk to detect when the Tomcat JVM got into an OutOfMemoryException
so that mod_jk avoid to forward request to that Tomcat.

If I'm not wrong, it could happen that the mod_jk balancer forward a request to a JVM in such a state, since the mod_jk isn't able to recognize as crashed a Tomcat in OutOfMemory.

I would like to write a patch for the mod_jk to add such feature,
but I don't know the code at all,
could someone get me introduced to it?

Any suggestions? Mini how-to? Support?
I would appreciate them so much and I promise to try any attempt to add this feature, if I can figure out how things work in the mod_jk core and in its load_balancer.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to