TABLE C–3
List and Status Commands
(Continued)
list-components
Lists all deployed Java EE 5 components. If the
--type
option is not specified,
all components are listed.
list-sub-components
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.
enable
Enables the specified component. If the component is already enabled, then it is
re-enabled. The component must have been deployed in order to be enabled. If
it has not been deployed, then an error message is returned.
disable
Immediately disables the named component. The component must have been
deployed. If the component has not been deployed, an error message is
returned.
export
Marks a variable name for automatic export to the environment of subsequent
commands. All subsequent commands use the variable name value as specified
unless you unset them or exit multimode.
get
Gets the names and values of attributes.
set
Sets the values of one or more configurable attribute.
list
Lists the configurable element. On Solaris, quotes are needed when executing
commands with
*
as the option value or operand.
unset
Removes one or more variables you set for the multimode environment. The
variables and their associated values will no longer exist in the environment.
Deployment Commands
The deployment commands deploy an application or get the client stubs.
TABLE C–4
Deployment Commands
Command
Definition
deploy
Deploys an enterprise application, web application, EJB module, connector
module, or application client module. If the component is already deployed or
already exists, it is forcefully redeployed if the
--force
option is set to
true
.
deploydir
Deploys an application directly from a development directory. The
appropriate directory hierarchy and deployment descriptors conforming to
the Java EE specification must exist in the deployment directory.
get-client-stubs
Gets the client stubs JAR file for an
AppClient
standalone module or an
application containing the
AppClient
module, from the server machine to the
local directory. The application or module should be deployed before
executing this command.
Deployment Commands
Appendix C • The
asadmin
Utility
239
Содержание Sun GlassFish Enterprise Server 2.1
Страница 12: ...12 ...
Страница 13: ...Figures FIGURE 1 1 Enterprise Server Instance 29 FIGURE 9 1 RoleMapping 105 13 ...
Страница 14: ...14 ...
Страница 18: ...18 ...
Страница 38: ...38 ...
Страница 62: ...62 ...
Страница 96: ...96 ...
Страница 126: ...126 ...
Страница 160: ...160 ...
Страница 214: ...214 ...
Страница 218: ...218 ...
Страница 230: ...230 ...