How to Forcibly Shut Down an Oracle GlassFish Server Instance After a Specified Time Limit ?

(Doc ID 1359884.1)

Last updated on APRIL 04, 2017

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.


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.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms