list-libraries

DRAFT


Previous Next Contents

list-libraries

lists library JAR files on \{product---name}

Synopsis

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

Description

The list-libraries subcommand lists library archive files on \{product---name}.

The --type option specifies the library type and the \{product---name} directory for which libraries are to be listed.

This subcommand is supported in remote mode only.

Options

asadmin-options

Options for the asadmin utility. For information about these options, see the asadmin(1M) help page.

--help
-?

Displays the help text for the subcommand.

--type

Specifies the library type and the \{product---name} directory for which libraries are listed. Valid values are as follows:

common

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

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`.
For more information about these directories, see "Class Loaders" in GlassFish Server Open Source Edition Application Development Guide.

Examples

Example 1   Listing Libraries

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

asadmin> list-libraries --type app
mylib.jar
xlib.jar
ylib.jar
zlib.jar
Command list-libraries executed successfully.

Exit Status

0

subcommand executed successfully

1

error in executing the subcommand

See Also

"Class Loaders" in GlassFish Server Open Source Edition Application Development Guide


Previous Next Contents
Eclipse Foundation Logo  Copyright © 2019, Oracle and/or its affiliates. All rights reserved.

DRAFT