Glassfish Domain Stops When Closing Terminal Session When in "asadmin" Mode.

(Doc ID 1325117.1)

Last updated on APRIL 04, 2017

Applies to:

Oracle GlassFish Server - Version: 8.1 to 3.1 - Release: 8.1 to 3.1
Information in this document applies to any platform.
When starting the Glassfish Domain Administration Server (DAS) in "asadmin" mode from a remote terminal session, abrupt termination of the session will stop the DAS and it's instances.


If the Glassfish Domain Administration Server (DAS) is started within "asadmin" mode as below,

# <glassfish_root>/bin/asadmin
Use "exit" to exit and "help" for online help.

asadmin> start-domain
Starting Domain domain1, please wait.
Default Log location is /opt/gf2.1/domains/domain1/logs/server.log.
Redirecting output to /opt/gf2.1/domains/domain1/logs/server.log
Domain domain1 started.
Domain [domain1] is running [Sun GlassFish Enterprise Server v2.1.1 Patch11 ((v2.1 Patch17)(9.1_02 Patch23)) (build b03-p11)] with its configuration and logs at: [/opt/gf2.1/domains].
Admin Console is available at [http://localhost:4848].
Use the same port [4848] for "asadmin" commands.
User web applications are available at these URLs:
[http://localhost:8080 https://localhost:8181 ].
Following web-contexts are available:
[/web1 /__wstx-services ].
Standard JMX Clients (like JConsole) can connect to JMXServiceURL:
[service:jmx:rmi:///jndi/rmi://devnul:8686/jmxrmi] for domain management purposes.
Domain listens on at least following ports for connections:
[8080 8181 4848 3700 3820 3920 8686 ].
Domain supports application server clusters and other standalone instances.


and if the terminal session (ssh, telnet, PuTTy, etc....) is terminated abruptly, the DAS will stop.


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