My Oracle Support Banner

Use TCP Load-Balancer For WebLogic JMS (Doc ID 2915687.1)

Last updated on DECEMBER 19, 2023

Applies to:

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

Goal

The JavaClient request is forwarded to WLS Servers via AWS TCP LoadBalancer.  Client (with wlthint3client.jar) is exactly behaving as expected and explained in the documentation,
Initial Context Affinity and Server Affinity for Client Connections.
 
When the client is using the connection factory stub and is routed via that to the same server of the cluster that the client already contacted for doing the JNDI-Lookup, then the TCP-Socket that was already created for the JNDI-Lookup is reused. Call flow is always through the Load Balancer. TCP-Socket will go via the Load-Balancer in between and the client is NOT using the listening address of that server that was given in the stub.

There is a request for enhancement to have a option (argument or setting) that would allow to Change this behavior, so that for creating the connection/consumer/producer always one of the listen addresses of stub is used without re-using the TCP-Socket opened for doing the JNDI-Lookup (which is going via the Load-Balancer). i.e. Once the JNDI lookup happen, is it possible to have client directly
connect backend WLS server and by-pass Load Balancer?

Solution

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.