Various list commands can be useful in administering your system.
The remote list-applications command enables you to list the deployed Java applications. If the --type option is not specified, all applications are listed.
Ensure that the server is running.
Remote commands require a running server.
List applications by using the list-applications(1) command.
The following example command lists the web applications on localhost:
asadmin list-applications --type web |
Information similar to the following is displayed:
hellojsp <web> Command list-applications executed successfully. |
To see the full syntax and options of the command, type asadmin list-applications --help at the command line.
The remote list-commands command enables you to list the deployed asadmin commands. You can specify that only remote commands or only local commands are listed. By default, this command displays a list of local commands followed by a list of remote commands.
Ensure that the server is running.
Remote commands require a running server.
List commands by using the list-commands(1) command.
The following example command lists only local commands:
asadmin list-commands --localonly |
Information similar to the following is displayed:
create-domain delete-domain list-commands list-domains login monitor start-database start-domain stop-domain stop-database version Command list-commands executed successfully. |
To see the full syntax and options of the command, type asadmin list-commands --help at the command line.
The remote list-containers command enables you to list application containers.
Ensure that the server is running.
Remote commands require a running server.
List containers by using the list-containers(1) command.
The following example command lists the containers on localhost:
asadmin list-containers |
Information similar to the following is displayed:
List all known application containers Container : connectors properties=(ContractProvider=connectors) Container : jpa properties=(ContractProvider=jpa) Container : web properties=(ContractProvider=web) Container : jruby properties=(ContractProvider=jruby) Container : security properties=(ContractProvider=security) Command list-containers executed successfully. |
To see the full syntax and options of the command, type asadmin list-containers --help at the command line.
The remote list-modules command enables you to list the modules that are accessible to the Enterprise Server module subsystem. The status of each module is included. Possible statuses include NEW and READY.
Ensure that the server is running.
Remote commands require a running server.
List modules by using the list-modules(1) command.
The following example command lists the accessible modules:
asadmin list-modules |
Information similar to the following is displayed (partial output):
List Of Modules Module : org.glassfish.web.jstl-connector:10.0.0.b28 properties=(visibility=public,State=READY,Sticky=true) Module Characteristics : List of Jars implementing the module Jar : file:/C:/prelude/v3_prelude_release/distributions/web/target/glass fish/modules/web/jstl-connector.jar Module Characteristics : List of imported modules Module Characteristics : Provides to following services Module : org.glassfish.admingui.console-common:10.0.0.b28 properties=(visibility=public,State=NEW,Sticky=true) Module : org.glassfish.admin.launcher:10.0.0.b28 properties=(visibility=public,State=NEW,Sticky=true) Module : org.glassfish.external.commons-codec-repackaged:10.0.0.b28 properties=(visibility=public,State=NEW,Sticky=true) Module : com.sun.enterprise.tiger-types-osgi:0.3.32.prelude-b28 properties=(visibility=public,State=READY,Sticky=true) Module Characteristics : List of imported modules Module Characteristics : Provides to following services Module Characteristics : List of Jars implementing the module Jar : file:/C:/prelude/v3_prelude_release/distributions/web/target/glass fish/modules/tiger-types-osgi.jar. . . . Command list-modules executed successfully. |
To see the full syntax and options of the command, type asadmin list-modules --help at the command line.