My Oracle Support Banner

How to Startup or Shutdown Multiple WebLogic Managed Servers With a WLST Script (Doc ID 1383150.1)

Last updated on APRIL 13, 2023

Applies to:

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


This article provides a simple sample script that shows how multiple WLST instances can be started or shutdown without issuing irrelevant commands. This is important when shutting down managed servers because if a server isn't running, then issuing the shutdown command will return the following exception which will terminate the processing of the rest of the script:

On the other hand, starting a managed WebLogic server instance is relatively straightforward, using the WLST start() command, even when the instance is already running. If the instance is already running, the start() will silently time out and will not start another instance.


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.