How to enable instances for Apache ActiveMQ running on Ubuntu?

Tomasz Błachowicz picture Tomasz Błachowicz · Jan 16, 2012 · Viewed 12.3k times · Source

I've just installed ActiveMQ using apt-get on Ubuntu 11.10.

Every time I try to start it I can see on in the console:

No instances found at /etc/activemq/instances-enabled.

To start the service I'm using service command as follow:

$ sudo service activemq start

It looks to me like approach to configuring Apache2 on Ubuntu, but I've failed to find any documentation on how to manage instances. Perhaps anyone here could give me a hand?

Answer

Sidharth picture Sidharth · Jan 25, 2012

The install has a default configuration in /etc/activemq/instances-available/main

So typing this in the console should work.

sudo ln -s /etc/activemq/instances-available/main /etc/activemq/instances-enabled/main