activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adnan <adnan4u0...@yahoo.com>
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.

/apache-activemq-4.1.2/conf/activemq.xml
/apache-activemq-4.1.2/conf/activemq-nojournal.xml
/apache-activemq-4.1.2/example/conf/activemq.xml

Assigned new ports to following entries
tcp://localhost:
ssl://localhost:
stomp://localhost:

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:
/.../*A*/apache-activemq-4.1.2/bin)
(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
started




--
View this message in context: http://activemq.2283324.n4.nabble.com/Run-multiple-ActiveMQ-services-on-same-server-tp4725885.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message