Oracle GlassFish Server 3.1 Section 1: asadmin Utility Subcommands
create-connector-connection-pool(1)
create-connector-security-map(1)
create-connector-work-security-map(1)
create-jdbc-connection-pool(1)
create-message-security-provider(1)
create-resource-adapter-config(1)
delete-connector-connection-pool(1)
delete-connector-security-map(1)
delete-connector-work-security-map(1)
delete-jdbc-connection-pool(1)
delete-message-security-provider(1)
delete-resource-adapter-config(1)
disable-http-lb-application(1)
disable-secure-admin-internal-user(1)
disable-secure-admin-principal(1)
enable-secure-admin-internal-user(1)
enable-secure-admin-principal(1)
list-connector-connection-pools(1)
list-connector-security-maps(1)
list-connector-work-security-maps(1)
list-message-security-providers(1)
list-resource-adapter-configs(1)
list-secure-admin-internal-users(1)
list-secure-admin-principals(1)
list-supported-cipher-suites(1)
unfreeze-transaction-service(1)
update-admin-server-coordinates(1)
update-admin-server-local-coordinates(1)
update-connector-security-map(1)
update-connector-work-security-map(1)
Oracle GlassFish Server 3.1 Section 1M: Utility Commands
Oracle GlassFish Server 3.1 Section 5ASC: GlassFish Server Concepts
- starts the DAS of the specified domain
start-domain [--help] [--debug={true|false}] [--domaindir domain-dir] [--upgrade={true|false}] [--verbose={true|false}] [domain-name]
The start-domain subcommand starts the domain administration server (DAS) of the specified domain. If a domain is not specified, the default domain is assumed. If the domains directory contains two or more domains, the domain-name operand must be specified.
Note - On the Windows platform, processes can bind to the same port. To avoid this problem, do not start multiple domains with the same port number at the same time.
This subcommand is supported in local mode only.
Displays the help text for the subcommand.
Specifies whether the domain is started with Java Platform Debugger Architecture (JPDA) debugging enabled.
Possible values are as follows:
The instance is started with JPDA debugging enabled and the port number for JPDA debugging is displayed.
The instance is started with JPDA debugging disabled (default).
The domains directory that contains the directory of the domain that is to be restarted. If specified, the path must be accessible in the file system. The default domains directory is as-install/glassfish/domains.
Specifies whether the configuration of the domain administration server (DAS) is upgraded to the current release. Normally, if the subcommand detects that the configuration is from an older release of GlassFish Server, the configuration is upgraded automatically before being started. You should not need to use this option explicitly.
Possible values are as follows:
When the domain is started, the configuration is modified to be compatible with this release of GlassFish Server, and the GlassFish Server process stops.
The configuration of the DAS is not updated (default).
Specifies whether detailed information about the domain is displayed in the console window where the subcommand is run.
Possible values are as follows:
Detailed startup messages and log messages about the domain are displayed in the console window where the subcommand is run. If the domain is later restarted by running the restart-domain(1) subcommand from a different console window, messages continue to be displayed in the original console window.
You can kill the GlassFish Server process by typing CTRL-C in the console window.
You can kill the GlassFish Server process and obtain a thread dump for the server by typing one of the following key combinations in the console window:
CTRL-\ on UNIX systems
CTRL-Break on Windows systems
Detailed information is not displayed (default).
The unique name of the domain you want to start. Default is the name specified during installation, usually domain1.
Example 1 Starting a Domain
This example starts mydomain4 in the default domains directory.
asadmin> start-domain mydomain4 Waiting for DAS to start. ........... Started domain: mydomain4 Domain location: /myhome/glassfishv3/glassfish/domains/mydomain4 Log file: /myhome/glassfishv3/glassfish/domains/mydomain4/logs/server.log Admin port for the domain: 4848 Command start-domain executed successfully.
subcommand executed successfully
error in executing the subcommand
create-domain(1), delete-domain(1), list-domains(1), restart-domain(1), stop-domain(1)