Oracle GlassFish Server 3.0.1 Administration Guide

ProcedureTo List Containers

Use the list-containers subcommand in remote mode to list application containers.

  1. Ensure that the server is running.

    Remote subcommands require a running server.

  2. List containers by using the list-containers(1) subcommand.

Example 2–16 Listing Containers

This example lists the containers on localhost.

asadmin> list-containers
List all known application containers
Container : grizzly
Container : ejb
Container : webservices
Container : ear
Container : appclient
Container : connector
Container : jpa
Container : web
Container : jruby
Container : security
Container : webbeans
Command list-containers executed successfully.

See Also

You can also view the full syntax and options of the subcommand by typing asadmin help list-containers at the command line.