activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clebert Suconic <clebert.suco...@gmail.com>
Subject To all devs using Mac, who upgraded to Sierra...
Date Fri, 07 Oct 2016 13:01:54 GMT
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.

Mime
View raw message