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?
The following will also work to check if ActiveMQ is up and running: try { ActiveMQConnectionFactory factory = new ActiveMQConnectionFactory(url); // set transport listener so that active MQ start is notified.
To access the management console use a browser and go to the URL http://localhost:8161/console. A login screen will be presented, if your broker is secure, you will need to use a user with admin role, if it is unsecure simply enter any user/password.
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
If you install activemq package on Ubuntu 12.04 (not sure about 11.10) some other helpful documentation available here:
/usr/share/doc/activemq/README.Debian
Sample configs (for example with web console and stomp API) here:
/usr/share/doc/activemq/examples/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With