JMS Bridge response does not use IPv4 address even after providing -Djava.net.preferIPv4Stack=true & -Djava.net.preferIPv4Addresses=true

(Doc ID 2364717.1)

Last updated on MARCH 11, 2018

Applies to:

Oracle WebLogic Server - Version 10.3.6 and later
Information in this document applies to any platform.

Symptoms

JMS bridge have been configured between below versions and when destination sends a response it given address unreachable error. In the error stack it shows that it is using IPv6 address.

Source: WebLogic 11g / Linux 6.5

Target: WebLogic 12c/ Linux 7.1

Then at source and destination side the IPv6 address disabled using -Djava.net.preferIPv4Stack=true & -Djava.net.preferIPv4Addresses=true but still JMS bridge acknowledgement failed with same error.

 

ERROR

-----------------------

Caused By: java.rmi.ConnectException: Destination 2001:558:1206:10b:42a8:f0ff:fe26:28, 8057 unreachable; nested exception is:

java.net.SocketException: Protocol family unavailable; No available router to destination

at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:490)

at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:328)

at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:300)

at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:204)

at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:263)

Changes

New environment setup

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms