The admin commands use jmx to connect to the broker so you may need to specify the jmx url, --jmxurl and verify that jmx remove access is enabled
http://activemq.apache.org/jmx.html On 31 July 2012 01:01, sk92129 <sk92...@gmail.com> wrote: > I am using Windows 7 Pro with activeMq 5.6.0. After I start up the broker > with activemq.bat, I was testing to shut it down, using activemq-admin stop > and activemq-admin stop --all > > > This does not seem to work. > > On the console where I invoked activemq-admin stop (or with the --all) > option, i see connection refused. > > But on the console window where I started the activemq broker, I still see > it running (as well as in the task manager). I have to shut it down using > the task manager, and then manually remove the lock directory or file so > that I can restart it. > > Seems rather sloppy. > > What am I doing wrong? > > > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/activemq-admin-stop-does-not-work-on-Windows-7-pro-tp4654577.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. -- http://fusesource.com http://blog.garytully.com