Troubleshooting
Problem
Symptom
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:357)
at java.net.Socket.bind(Socket.java:524)
at com.ibm.rmi.transport.TCPTransportConnection.createSocket(TCPTransportConnection.java:165)
Cause
Another possible cause is that the default IP configuration for the JVM is IPv6 and the IP address is in IPv4 format. The IPv6 format is the newer 128-bit IP address format, such as 111:222:333:44:5:6:7788:99aa, whereas the IPv4 format is the older 32-bit IP address format, such as 127.0.0.1. For additional information regarding IPv6 address formats, see IPv6 address formats.
Resolving The Problem
- Check the IP configuration for the localhost.
- Set the following flag on the JVM to set the ip encoding to IPV4. For instructions, use this technote, HostName lookup causes a JVM hang or slow response.
- There have also been some SDK bugs that have been fixed that may cause a problem like this. As an example see the following describing a bug that has a similar symptom, http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6226918
Upgrade WebSphere Application Server's SDK to determine whether the issues are resolved in the latest maintenance. To determine the latest SDK maintenance level for your WebSphere Application Server and SDK level, go to the Recommended Fixes for WebSphere Application Server link: http://www.ibm.com/support/docview.wss?uid=swg27004980
Related Information
Was this topic helpful?
Document Information
Modified date:
14 September 2021
UID
swg21233733