activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adnan <>
Subject Run multiple ActiveMQ services on same server
Date Wed, 10 May 2017 13:01:30 GMT
I am very new to ActiveMQ so might not be familiar with its terminology, so
please bare.

OS: Red Hat Linux 6.7

ActiveMQ version: apache-activemq-4.1.2   (if higher version does not have
this issue, we are fine with upgrading the version).

Currently we have only one instance of ApacheMQ running on the server and
hence only one service. Starting and Stopping this service wasn't an issue.
But to meet client expectation we are now required to have multiple
instances of ApacheMQ to be up and running.

After making changes to ports being used in following files I am able to
start the services and process XML messages from these queues.


Assigned new ports to following entries

No other changes were made as they were commented out, for example the below
line is from /apache-activemq-4.1.2/conf/activemq.xml.

managementContext connectorPort="1099" jmxDomainName

The only issue is when I go about stopping the service, for example I have 2
services "A" and "B" that are running and were started in the same order.
When I want to stop service "B" and run "./shutdown"  command the command
executes but its stopping service "A" and it also leaves a comment stating
that its trying to stop service "B" but fails.

[1]   Done                    nohup ./activemq  (wd:
(wd now: /../*B*/apache-activemq-4.1.2/bin)
[3]+  Done                    nohup ./shutdown

Any insight as to how I can make this to stop only the specific service I
want to stop? Instead of apache trying to stop all the services that were

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message