VBE - Delay when starting the NameService

VBE - Delay when starting the NameService


  • Product: VBE 6.x
  • Platform version: AIX 5.2
  • JDK version :1.4.1
  • Product Component: NamingService

 When starting the name service, the command

>nameserv -VBJprop vbroker.agent.enableLocator=false -VBJprop vbroker.se.iiop_tp.scm.iiop_tp.listener.port=some number"

takes 60 seconds for the namingservice to start on AIX v5.2.


The reason for this problem is Naming Service hang while calling java.net.Inet6AddressImpl.getLocalHostName(Native Method). The system calls are performing some host name resolution by querying the DNS server or system files. This is system and environment configuration dependent. AIX5.2 support ipv6 support and this may increase the lookup time compared to AIX v4.33.

On AIX v5.2, if your application uses multicast sockets or your application explicitly uses IPv6 format address, you must enable the network interfaces on your machine to handle IPv6 addresses. The network interfaces can be configured for IPv6 with smitty or by using the autoconf6 or ifconfig commands. Alternatively, if you do not want to use IPv6 protocols, you can set the property java.net.preferIPv4Stack to true to force the use of IPv4 protocols.

Old KB# 26395


Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2013-02-15 20:04
Updated by:
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.