Re: Enabling JMX in code snippet

2011-12-12 Thread phil swenson
It's 5.5.1…. But I just tried again, and it works. The difference: I wasn't on VPN. Not sure why that would matter, but it seems to. Thanks! On Mon, Dec 12, 2011 at 8:22 PM, Marcelo Jabali wrote: > Hi Phill, > > Just out of curiosity… what ActiveMQ version are you trying to use? > > I've just

Re: Enabling JMX in code snippet

2011-12-12 Thread Marcelo Jabali
Hi Phill, Just out of curiosity… what ActiveMQ version are you trying to use? I've just tested your Broker class below and it seems to be working fine. How are you trying to connect to the broker? As a local or remote process? I've tried local and remote approaches against a 5.4.2 and 5.5.x bro

Enabling JMX in code snippet

2011-12-12 Thread phil swenson
I am just getting started with activemq. I was trying to get it going in code: public class Launcher { public static void main(String[] args) throws Exception{ BrokerService broker = new BrokerService(); broker.setUseJmx(true); broker.addConnector("tcp://localhost:616