My Oracle Support Banner

WebLogic 12c - How to Automatically Undeploy Retired Deployments (Doc ID 2231244.1)

Last updated on DECEMBER 16, 2023

Applies to:

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


The goal is to physically remove the retired applications from the server.

Currently the old version is de-activated once the in flight transactions and the configured timeout is reached. It will not get removed from the server.

This is explained here:

WebLogic Server undeploys the retiring application version after all existing clients of the application have finished their work, or when a configured timeout is reached.

How Production Redeployment Works


If you need it removed, then it will need to be done manually either by using undeploy or by writing a script to to run the undeploy command periodically to remove the retired versions.


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

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