Hi all, We have faced an issue in ESB, where we cannot get the actual host name of the machine which ESB runs on. The host name is retrieved using InetAddress as follows.
InetAddress addr = InetAddress.getLocalHost(); hostName = addr.getHostName(); // (this is always 'localhost' and not equal to machine's 'bash$ hostname' value) I had a discussion with Azzez regarding this, and the workaround is to remove the following entries from wso2server.sh. (InetAddress has a bug, which leads to 5 sec delay in env where there is no reverse DNS enabled. This configuration is used to address that) -Xbootclasspath/a:"$CARBON_XBOOTCLASSPATH" \ -Dimpl.prefix=Carbon \ AFAIK, this issue is common to all the products. Are we going to fix this in our future releases? Thanks. -- Kasun Indrasiri Senior Software Engineer WSO2, Inc.; http://wso2.com lean.enterprise.middleware cell: +94 71 536 4128 Blog : http://kasunpanorama.blogspot.com/
_______________________________________________ Carbon-dev mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
