Tip: Include Context And Propose Solutions In Your Error Messages

A Puppet run has failed with an error message like this: “No matching selector for ‘prod’ at some_puppet_file.pp:31” If you know puppet well enough, you will immediatelly know what is wrong and how to fix it. But what if you don’t know what a ‘selector’ is? Interpreting error messages is often hard without deep knowledgeContinue reading “Tip: Include Context And Propose Solutions In Your Error Messages”

Exposing a POJO as a JMX MBean easily with Spring

JMX is a great way to check or change state variables or invoke a method in a (remote) running application via a management GUI such as JConsole. And Spring makes it trivial to expose any POJO as a JMX MBean with only little configuration in a few minutes. The Spring JMX documentation is very good,Continue reading “Exposing a POJO as a JMX MBean easily with Spring”