This documentation is for WSO2 ESB version 4.0.3. View documentation for the latest release.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

In order to enable the WSO2 ESB JMS transport and try out JMS samples, the ActiveMQ client libraries must be installed in the ESB classpath before you can enable the JMS transport.

Apache ActiveMQ v.4.1.0 or higher is recommended for WSO2 ESB.

In case any other JMS provider is used (e.g. Apache Qpid), install any necessary libraries and/or components.

Note

See ESB Installation Prerequisites for the list of all applications necessary to install and work with WSO2 ESB, and links to them.

Follow the instructions below to install Apache ActiveMQ on Solaris.

Establish a SSH connection to the Linux machine or log in on the text Linux console. You should either log in as root or obtain root permissions after login via su or sudo command.



Step 1. Download the ActiveMQ

You can use wget to download the tar.gz file directly to your server:

wget http://www.apache.org/dist//activemq/apache-activemq/5.5.0/apache-activemq-5.5.0-bin.tar.gz


Step 2. Extract Files

1. Extract the files from the GZIP file into a directory of your choice. For example:

gunzip -c apache-activemq-5.5.0-bin.tar.gz |tar xvf -

2. If the ActiveMQ start-up script is not executable, change its permissions:

chmod 755 activemq

Step 3. Run Apache ActiveMQ

From a command shell, run ActiveMQ:

sh activemq start


Step 4. Testing the Installation

ActiveMQ's default port is 61616. From another window, run netstat and search for port 61616.

netstat -an|grep 61616

The port should be opened and LISTEN on 61616.


Step 5. Monitoring ActiveMQ

There are various ways to monitor ActiveMQ. If you are on version 4.2 or later of ActiveMQ, you can then monitor ActiveMQ using the Web Console by pointing your browser at:

http://localhost:8161/admin

Or you can use the JMX support to view the running state of ActiveMQ.

  • No labels