You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by Clebert Suconic <cl...@gmail.com> on 2016/10/07 13:01:54 UTC

To all devs using Mac, who upgraded to Sierra...

If you develop ActiveMQ using a Mac, either Artemis or ActiveMQ, you
may be affected by this if you upgraded Sierra:


After upgrading to Sierra, the following test takes a long time. I
have no idea why is that.

public class Deleteme {

   @Test
   public void test() throws Exception {
      System.out.println("hostname::" +
InetAddress.getLocalHost().getHostName());
   }
}



The IDGenerator on OpenWire will use that function, and because of
this testing anything on Sierra may be frustrating and slow.


to "fix" that, discover what is your hostname, and add that to
/etc/hosts on localhost:


e.g:

127.0.0.1       localhost ClebertMac.local




Just a tip that may be helpful for other devs using a Mac.