JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle GlassFish Server 3.1 Application Deployment Guide
search filter icon
search icon

Document Information

Preface

1.  Overview of Oracle GlassFish Server 3.1 Application Deployment

2.  Deploying Applications

A.  The asadmin Deployment Subcommands

B.  GlassFish Server Deployment Descriptor Files

C.  Elements of the GlassFish Server Deployment Descriptors

Index

Appendix A

The asadmin Deployment Subcommands

This appendix lists the asadmin deployment subcommands that are included with this release of the Oracle GlassFish Serversoftware. For information on additional asadmin subcommands, see Appendix A, Subcommands for the asadmin Utility, in Oracle GlassFish Server 3.1 Administration Guide or Oracle GlassFish Server 3.1-3.1.1 Reference Manual.

create-application-ref(1)

Creates 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-module(1)

Creates 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-ref(1)

Removes 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-module(1)

Deletes a lifecycle module.

deploy(1)

Deploys 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.

deploydir(1)

This subcommand is deprecated. Use the deploy subcommand instead.

disable(1)

Immediately 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 .

enable(1)

Enables 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-stubs(1)

Gets 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-applications(1)

Lists 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-refs(1)

Lists Java EE applications and modules deployed on the specified target server instance or cluster.

list-lifecycle-modules(1)

Lists lifecycle modules.

list-components(1)

This subcommand is deprecated. Use the list-applications subcommand instead.

list-sub-components(1)

Lists 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-param(1)

Lists 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-entry(1)

Lists environment entries for a deployed web application or module. Supported in remote mode only. For usage instructions, see To List Web Environment Entries.

redeploy(1)

Overwrites an application or module that is already deployed. Supported in remote mode only. For usage instructions, see To Redeploy an Application or Module.

set-web-context-param(1)

Sets 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-entry(1)

Sets 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-status(1)

Shows 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.

undeploy(1)

Uninstalls the specified deployed application or module. Supported in remote mode only. For usage instructions, see To Undeploy an Application or Module.

unset-web-context-param(1)

Unsets 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-entry(1)

Unsets 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.