WebLogic Message Bridge Targeted To Cluster Does Not Close Connections To Destination (Doc ID 1928698.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle WebLogic Server - Version 9.2 to 12.1.3.0.0
Information in this document applies to any platform.

Symptoms

A WLS JMS Message Bridge deployed to a cluster and this bridge consumes messages from a topic on another remote WL instance. The Message Bridge is targeted to a cluster of 2 nodes. The connection to the topic is durable. As such, it is expected one node of the cluster to have a successful Message Bridge connection and the other node to not be active but continue to attempt to connect until the first node fails and thus releases the durable subscriber lock.

However, the node, that is retrying to connect, does not close its connections on the remote WLS instance. Each time, it attempts to connect and verify the durable subscriber lock, it leaks a connection. Currently, the Message Bridge is configured to retry every 60 seconds. Therefore, it is leaking about 1 connection per minute. It was once noticed more than 1000 connections from the backup/standby Message Bridge node to the remote server. Bouncing the backup/standby node removed these 1000 orphaned connections. Netstat showed only one socket from the bridge server to the remote server for those 1000+ connections. After the bounce the connection count is steadily climbing.


ENVIRONMENT RESOURCE CONFIGURATION
----------------------------------------------

 -AdminServer
   +Server1
   +Server2   
   +Cluster1 that contains Server1 and Server2       
   +connection factory

   +JMS module targeted to a cluster 
   +Uniform distributed queue (targeted to JMSServer-1, JMSServer-2)

 -Bridges
   +Source Bridge Destination (Topic in WLS 12.1.1)
   +Target Bridge Destination (UniformDQ in WLS 12.1.1)

 

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