2.5 Installing and Starting ActiveMQ

NetIQ recommends that you install ActiveMQ on a server other than the Identity Manager server. If you install ActiveMQ on the Identity Manager server, ActiveMQ installed by the User Application and ActiveMQ used by the Fan-Out agent attempt to use the same default port (61616). To avoid this situation, change the port number to any available port number. This consideration is also applicable for Sentinel server.

To install ActiveMQ, perform the following steps:

  1. Download ActiveMQ 5.14.3 from the Apache Download Website.

  2. Unzip the archive to any preferred location in your computer.

    This lays down the files on your computer.

  3. (Conditional) To change the default port for ActiveMQ, complete the following steps:

    1. Navigate to <AMQ Installation Directory>/conf/activemq.xml.

    2. In a text editor, open activemq.xml.

    3. Under <transportConnectors>, change the ports as required.

      For example, change the port from 61616 to a different port for TCP protocol:

      <transportConnector name="openwire" uri="tcp://0.0.0.0:61616?maximumConnections=1000&amp;wireFormat.maxFrameSize=104857600"/>
  4. (Conditional) To change the Web console port to a different port, complete the following steps:

    1. Navigate to <AMQ Installation Directory>/conf/jetty.xml.

    2. Change the Web console port from 8161 to a different port.

  5. Start the ActiveMQ instance.

    • Linux: Run the./activemq start command.

    • Windows: Run the.activemq.bat start command.