My Oracle Support Banner

How to Forcibly Shut Down an Oracle GlassFish Server Instance After a Specified Time Limit ? (Doc ID 1359884.1)

Last updated on FEBRUARY 16, 2024

Applies to:

Oracle GlassFish Server - Version 2.1 to 3.1 [Release 2.1 to 3.1]
Information in this document applies to any platform.

Goal

The "asadmin stop-instance..." command tries to send a message via JMX to shutdown the instance. However, if the instance is 'unresponsive', or  the agent shuts down the JMX listener but there are some other threads stuck waiting for response from other servers, then that could cause the server being partially shut down and an attempt to restart the server will fail. This document explains how to shut down an instance forcibly and completely within a specified time limit.

Solution

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
Goal
Solution
References


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