java.net.SocketException: Can’t assign requested address weblogic
When a WLS managed server in a cluster running on AIX starts, the following error was thrown:
<Error> <Cluster> <cluster1> <master> <[ACTIVE] ExecuteThread: ‘0’ for queue: ‘weblogic.kernel.Default (self-tuning)’> <> <> <> <1314597932937> <BEA-000116> <Failed to join cluster sCluster at address 219.192.0.10 due to: java.net.SocketException: Can’t assign requested address.
java.net.SocketException: Can’t assign requested address
at java.net.PlainDatagramSocketImpl.join(Native Method)
at java.net.PlainDatagramSocketImpl.join(PlainDatagramSocketImpl.java:172)
at java.net.MulticastSocket.joinGroup(MulticastSocket.java:276)
at weblogic.cluster.FragmentSocket.initializeMulticastSocket(FragmentSocket.java:112)
at weblogic.cluster.FragmentSocket.start(FragmentSocket.java:131)
at weblogic.cluster.MulticastManager$1.run(MulticastManager.java:186)
at weblogic.cluster.MulticastManager.startListening(MulticastManager.java:192)
at weblogic.cluster.InboundService.start(InboundService.java:31)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
On AIX, If IPv6 is enabled but IPv4 addresses are used, a JVM startup argument is required to prefer IPv4 addresses as opposed to IPv6 addresses.
Please follow these steps to solve this:
Backup, open, and edit DOMAIN_HOME/bin/setDomainEnv.sh
Add -Djava.net.preferIPv4Stack=true to JAVA_OPTIONS.
For example:
JAVA_OPTIONS="${JAVA_OPTIONS} -Djava.net.preferIPv4Stack=true" export JAVA_OPTIONS
Now try to start the managed server and check.
In case of any ©Copyright or missing credits issue please check CopyRights page for faster resolutions.