Running Weblogic Server when connected to VPN
As part of my development work, I tried to run my Weblogic Server when I am connected to VPN network.
The weblogic server failed with error saying:
(thread=Cluster, member=n/a): Delaying formation of a new cluster; unicast networking appears to be inoperable on interface as this process isn't receiving even its own transmissions; consider forcing IPv4 via -Djava.net.preferIPv4Stack=true>
We can resolve this error by setting a JAVA_OPTIONS in setDomainEnv.cmd file located in \bin folder. The setting is as follows:
set JAVA_OPTIONS=%JAVA_OPTIONS% -Djava.net.preferIPv4Stack=true
Now the weblogic server starts without any issue when connected to VPN Network.
Happy Learning!!