ActiveMQ UnknownHostException:

When u have started activemq with console that appear the unknowhostexception, try the follow solutions.

1, From your terminal, get your hostname, let’s say my hostname is linux-abc

  # hostname

2, Edit the hosts files

  # vi /etc/hosts

3, Add the hostname to the shortname

# IP-Address  Full-Qualified-Hostname  Short-Hostname       localhost   linux-abc

4, Restart your ActiveMQ

ActiveMQ UnknownHostException:

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.