|
The asadmin Deployment Subcommands DRAFT |
| Previous | Next | Contents |
asadmin Deployment SubcommandsThis appendix lists the asadmin deployment subcommands that are
included with this release of the GlassFish Server Open Source
Editionsoftware. For information on additional asadmin subcommands,
see "Subcommands for the asadmin Utility" in
GlassFish Server Open Source Edition Administration Guide or see the
GlassFish Server Open Source Edition Reference Manual.
add-libraryAdds one or more library JAR files to GlassFish Server. You can specify whether the libraries are added to the Common class loader directory, the Java optional package directory, or the application-specific class loader directory.
create-application-refCreates a reference from a cluster or an unclustered server instance to a previously deployed Java EE application or module. This effectively results in the application element being deployed and made available on the targeted instance or cluster.
create-lifecycle-moduleCreates a lifecycle module. A lifecycle module provides a means of running a short or long duration Java-based task at a specific stage in the server life cycle.
delete-application-refRemoves a reference from a cluster or an unclustered server instance to a previously deployed Java EE application or module. This effectively results in the application element being undeployed on the targeted instance or cluster.
delete-lifecycle-moduleDeletes a lifecycle module.
deployDeploys an enterprise application, web application, EJB module,
connector module, or application client module. If the component is
already deployed or already exists, you can forcefully redeploy if you
set the --force option to true. A directory can also be deployed.
Supported in remote mode only. For usage instructions, see
To Deploy an Application or
Module.
deploydirThis subcommand is deprecated. Use the deploy subcommand instead.
disableImmediately deactivates the named application or module. If the component has not been deployed, an error message is returned. Supported in remote mode only. For usage instructions, seeTo Disable an Application or Module.
enableEnables the specified application or module. If the component has not been deployed, an error message is returned. If the component is already enabled, then it is re-enabled. Supported in remote mode only. For usage instructions, see To Enable an Application or Module.
get-client-stubsGets the client stubs JAR file for an application client module or an application containing the application client module, from the server machine to the local directory. For usage instructions, see EJB Module Deployment Guidelines.
list-applicationsLists deployed Java EE applications and modules. Optionally lists
subcomponents and scoped resources. If the --type option is not
specified, all applications and modules are listed. Supported in
remote mode only. For usage instructions, see
To List Deployed Applications or
Modules.
list-application-refsLists Java EE applications and modules deployed on the specified target server instance or cluster.
list-librariesLists library JAR files that have been added to GlassFish Server. You can specify whether to list libraries in the Common class loader directory, the Java optional package directory, or the application-specific class loader directory.
list-lifecycle-modulesLists lifecycle modules.
list-componentsThis subcommand is deprecated. Use the list-applications subcommand
instead.
list-sub-componentsLists EJBs or servlets in a deployed module or in a module of the
deployed application. If a module is not identified, all modules are
listed. To display a specific module in an application, you must
specify the module name and the --appname option. Supported in
remote mode only. For usage instructions, see
To List Deployed Applications or
Modules.
list-web-context-paramLists servlet context-initialization parameters of a deployed web application or module. Supported in remote mode only. For usage instructions, see To List Web Context Parameters.
list-web-env-entryLists environment entries for a deployed web application or module. Supported in remote mode only. For usage instructions, see To List Web Environment Entries.
redeployOverwrites an application or module that is already deployed. Supported in remote mode only. For usage instructions, see To Redeploy an Application or Module.
remove-libraryRemoves one or more library JAR files from GlassFish Server. You can specify whether the libraries are removed from the Common class loader directory, the Java optional package directory, or the application-specific class loader directory.
set-web-context-paramSets a servlet context-initialization parameter of a deployed web application or module. Supported in remote mode only. For usage instructions, see To Set a Web Context Parameter.
set-web-env-entrySets an environment entry for a deployed web application or module. Supported in remote mode only. For usage instructions, see To Set a Web Environment Entry.
show-component-statusShows the status of a deployed component. The possible statuses
include enabled or disabled. Supported in remote mode only. For
usage instructions, see To List
Deployed Applications or Modules.
undeployUninstalls the specified deployed application or module. Supported in remote mode only. For usage instructions, see To Undeploy an Application or Module.
unset-web-context-paramUnsets a servlet context-initialization parameter of a deployed web application or module. Supported in remote mode only. For usage instructions, see To Unset a Web Context Parameter.
unset-web-env-entryUnsets an environment entry for a deployed web application or module. Supported in remote mode only. For usage instructions, see To Unset a Web Environment Entry.
| Previous | Next | Contents |
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.
DRAFT