Hitachi

Hitachi Application Server V10 Command Reference Guide (For Windows® Systems)


2.12.5 list-libraries

Lists the library archive files present on Java EE Server.

Synopsis

asadmin [asadmin-options] list-libraries [--help]
    [--type={common|ext|app}]

Storage location

Application Server installation directory/javaee/glassfish/bin

Function

The list-libraries subcommand of asadmin lists library archive files present on Java EE Server. This subcommand is supported in remote mode only.

The --type option specifies the library type and Java EE Server directory for which the libraries are to be listed.

Precondition

Domain Administration Server (DAS) is running.

Arguments

--help | -?

Displays the help text for the subcommand.

--type={common|ext|app}

Specifies the library type and Java EE Server directory for which libraries are listed.

Type: String

The following values can be specified:

  • common

    Lists the library files for the Common class loader directory, domain-dir/lib. This is the default value.

  • ext

    Lists the library files for the Java optional package directory, domain-dir/lib/ext.

  • app

    Lists the library files for the application-specific class loader directory, domain-dir/lib/applibs.

Default value: common

Examples

The following example lists the libraries in the application-specific class loader directory on the default server instance.

asadmin list-libraries --type app

Exit Status

Exit Status

Explanation

0

subcommand executed successfully.

1

error in executing the subcommand.