Weblogic Server: Sample code to delete stale Durable Subscription using WLST
(Doc ID 2238625.1)
Last updated on FEBRUARY 04, 2021
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.
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