Is the procedure for creating an MBean the same if you’re using TorqueBox rather than Trinidad? I tried implementing the steps in the book using TorqueBox instead of trinidad, but it caused the server to crash.
It should be, but I’ll admit I haven’t tried. It should be possible some way, because TorqueBox creates MBeans of it’s own. I suspect JBoss has a unique way of registering them. I’ll poke around and see if I can find an example of TorqueBox creating one.