Oracle GlassFish Server Reference Manual Release 3.1.2 Part Number E24938-01 |
|
|
View PDF |
lists library JAR files on GlassFish Server
list-libraries [--help] [--type={common|ext|app}]
The list-libraries
subcommand lists library archive files on GlassFish Server.
The --type
option specifies the library type and the GlassFish Server directory for which libraries are to be listed.
This subcommand is supported in remote mode only.
--help
-?
Displays the help text for the subcommand.
--type
Specifies the library type and the GlassFish Server 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 Oracle GlassFish Server Application Development Guide.
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.
subcommand executed successfully
error in executing the subcommand
add-library(1), remove-library(1)
"Class Loaders" in Oracle GlassFish Server Application Development Guide