Asadmin Monitor Breaks with Message "Unable to process auto quit [...]" (Doc ID 1347140.1)

Last updated on FEBRUARY 24, 2017

Applies to:

Oracle GlassFish Server - Version 3.0 to 3.1 [Release 3.0 to 3.1]
Information in this document applies to any platform.
***Checked for relevance on 24-Jul-2013***

Symptoms

When running asadmin monitor, a number of errors may occur, such as:

E.g.:

$ asadmin get server.monitoring-service.module-monitoring-levels.jvm
server.monitoring-service.module-monitoring-levels.jvm=OFF

$ asadmin monitor --type jvm --interval 2
                               JVM Monitoring
UpTime(ms)                          Heap and NonHeap Memory(bytes)         
current                   min        max        low        high       count 
 
Unable to process auto quit because of awt exception headless environment

Cause

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