asadmin [asadmin-options] list-libraries [--help]
[--type={common|ext|app}]
list-libraries |
Previous | Next | Contents |
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
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
subcommand executed successfully
error in executing the subcommand
See Also
"Class Loaders" in GlassFish Server Open Source Edition Application Development Guide
Previous | Next | Contents |