Weblogic Server: Sample code to delete stale Durable Subscription using WLST
Last updated on MARCH 01, 2017
Applies to:Oracle WebLogic Server - Version 10.3 and later
Information in this document applies to any platform.
Periodically customer may find some stale Topic Durable Subscription needs be cleaned up. Since they are durable clients, JMS server will keep messages (unless expiration is specified explicitly) for inactive clients. Those messages will be accumulated day after day, even worse is some clients will never be used at all. For current WebLogic JMS design all those kind of messages will take some memory, especially for this Message and Durable Subscription mapping, a Java object: weblogic.messaging.kernel.internal.MultiMessageReference is kept in heap to present this mapping, which eventually will lead system to OutOfMemory.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms