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
- marks a variable name for automatic export to the environment of subsequent commands in multimode
export [--help] [variable-name=value [variable-name=value]*]
In multimode, the export subcommand marks an environment variable for automatic export to the environment of subsequent commands. All subsequent commands use the variable name value as specified unless you exit multimode, or use the unset subcommand to unset the variable. If only the variable name is specified, the current value of that variable name is displayed.
If the export subcommand is used without any arguments, a list of all the exported variables and their values is displayed. Exported shell environment variables set prior to invoking the asadmin utility are imported automatically and set as exported variables within asadmin. Environment variables that are not exported cannot be read by the asadmin utility.
This subcommand is supported in local mode only.
Displays the help text for the subcommand.
Variable name and value for automatic export to the environment to be used by subsequent commands.
Example 1 Listing the Environment Variables That Are Set
This example lists the environment variables that have been set.
asadmin> export AS_ADMIN_USER = admin AS_ADMIN_HOST = bluestar AS_ADMIN_PREFIX = server1.jms-service AS_ADMIN_PORT = 8000 Command export executed successfully
Example 2 Setting an Environment Variable
This example sets the AS_ADMIN_HOST environment variable to bluestar.
asadmin> export AS_ADMIN_HOST=bluestar Command export executed successfully
Example 3 Setting Multiple Environment Variables
This example sets a number of environment variables for the multimode environment.
asadmin> export AS_ADMIN_HOST=bluestar AS_ADMIN_PORT=8000 AS_ADMIN_USER=admin AS_ADMIN_PREFIX=server1.jms-service Command export executed successfully
subcommand executed successfully
error in executing the subcommand