Three of us were working on a customer crisis late last night. The customer had a running environment which had some sort of transient state "issues". We were able to debug this live because they had the foresight to incorporate BeanShell into their system. This allowed us to look at lots of state and get a pretty good idea of what was going on. I strongly recommend taking a look at this library for use as a debugging tool, especially for deployed systems.
Comments (1)
JMX works nicely here too. We've integrated JMX into a bunch of our Java-based servers, and it help us to peek inside. In fact, we've even integrated that with Nagios, so our monitoring system will automatically keep an eye on vital "business stats" on our servers and alert us if something goes awry. Very handy!
Posted by DAR | September 23, 2009 4:54 PM
Posted on September 23, 2009 16:54