I need to be notified when ever a Tomcat v5.5 server is over the threadpool limit. I am already monitoring log4j log messages but the logFull message appears to me to be a System.out log, by-passing log4j (catalina.out text shown below).
Nov 17, 2006 12:08:25 PM org.apache.tomcat.util.threads.ThreadPool logFull SEVERE: All threads (10) are currently busy, waiting. Increase maxThreads If my above assumption is correct, how can I monitor ThreadPool logFull messages without reading the catalina.out file and parsing? Also, I'm aware of the ThreadPool mbean and already use JMX to query this mbean to display it's properties. However, I don't believe this mbean supports JMX notifications. Of course, I could spawn a thread every X minutes but that seems dumb. Can I do this with a LifeCycle Listener? Is there a way to get log4j messages e.g., log.error("logFull SEVERE: All threads ...") from the ThreadPool object? Jeff -- View this message in context: http://www.nabble.com/Realtime-notification-of-ThreadPool-logFull-tf2654425.html#a7405640 Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]