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