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
- adds one or more system property elements that can be referenced elsewhere in the configuration.
create-system-properties [--help] [--target target] [name=value)[:name=value]*]
The create-system-properties subcommand adds or updates system properties that can be referenced elsewhere on the server.
GlassFish Server provides hooks where tokens (system properties) can be specified. Because GlassFish Server does not have multiple server elements, you can specify a particular token at any level. When a domain supports multiple servers, the override potential can be exploited. When a domain is started or restarted, all <system-property> elements are resolved and available to the Java Virtual Machine by using the System.setProperty() call on each of them (with its name and value derived from the corresponding attributes of the element). This is analogous to sending the elements as -D parameters on the Java command line.
This subcommand is supported in remote mode only.
Displays the help text for the subcommand.
The target on which you are creating the system properties.
The valid targets for this subcommand are instance, cluster, configuration, domain, and server. Server is the default option. Valid values are:
Creates the properties on the default server instance. This is the default value.
Creates the properties for all server instances in the default domain.
Creates the properties in the specified configuration.
Creates the properties on all server instances in the specified cluster.
Creates the properties on a specified server instance.
The name value pairs of the system properties to add to the specified target. Multiple system properties must be separated by a : (colon). If a : (colon) appears in the name or value of a system property, it must be escaped with a \ (blackslash). If any system properties were previously defined, they are updated with the new values.
Example 1 Creating System Properties
This example creates a system property associated with an HTTP listener on a server instance named myserver.
asadmin> create-system-properties --target myserver http-listener-port=1088 Command create-system-properties executed successfully.
subcommand executed successfully
error in executing the subcommand