activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From artnaseef <>
Subject Re: ActiveMQ hangs and i don't understand why
Date Mon, 28 Mar 2016 12:34:12 GMT
For the JMX: there is a newer setting in the activemq configuration file
that may override the command-line settings; here's a fairly stock example:


            <managementContext createConnector="true"/>


Check for these and any output during broker starting indicating the
management context failed to start -- if both try to start (via command
line and the config file), typically one fails.  The following can help
track down the state of JMX as well:

   - netstat -an | grep 1616
   - netstat -an | grep LISTEN
   - ps axu | grep java

The first two will show info on the ports open for listening on the
server.  The third shows the actual command-line used to start ActiveMQ.

Note that JMX can be tricky to start behind a firewall because it tends to
allocate a second port dynamically.  Adding a line like the following to
the ACTIVEMQ_SUNJMX_START may fix that issue:

Then make sure the same is open through the firewall.  Note that JMX uses a
different method of connection for local processes, so it's entirely
possible that the JVM is not properly configured to allow network

On Mon, Mar 28, 2016 at 2:23 AM, Hayate [via ActiveMQ] <> wrote:

> We use standalone broker, because we write our applications in PHP. And we
> don't use custom plugins.
> I try configure jmx for jconsole, on localhost all works well, but i can't
> connect to server over vpn.
> I use this manual:
> And here ACTIVEMQ_SUNJMX_START variable in startup script:
> -Djava.rmi.server.hostname=vpn_id_address
> What i do wrong?
> Thanks for advices.
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> To start a new topic under ActiveMQ - User, email
> To unsubscribe from ActiveMQ - User, click here
> <>
> .
> <>

View this message in context:
Sent from the ActiveMQ - User mailing list archive at
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message