2.8.14 list-web-env-entry
Lists the environment entries for a deployed Web application or module.
Synopsis
asadmin [asadmin-options] list-web-env-entry [--help] [--name=env-entry-name] application-name[/module]
Storage location
Application Server installation directory/javaee/glassfish/bin
Function
The list-web-env-entry subcommand of asadmin lists the environment entries for one of the following items:
-
A deployed Web application
-
A Web module in a deployed Java Platform, Enterprise Edition (Java EE) application
The list-web-env-entry command lists only those parameters that have previously been set using the set-web-env-entry command. The command does not list parameters that are set only in the application's DD.
Precondition
-
Domain Administration Server (DAS) is running.
-
For the option application must already be deployed. Otherwise, an error occurs.
-
For the option module must follow application-name, separated by a slash (/).
Files
The path to the module is specified in the module element of the application's application.xml file.
Arguments
- --help | -?
-
Displays the help text for the subcommand.
- --name=env-entry-name
-
Specifies the name of the environment entry that is to be listed.
Type: String
The following values can be specified:
-
Name of the environment entry
Default value: All environment entries that have previously been set for the application are listed.
-
- application-name/module
-
Specifies the name of the application. This name can be obtained by using the list-applications subcommand.
-
The module is required only if the environment entry applies to a Web module of a Java EE application.
-
The module would be specified as the operand of this command as myApp/myWebModule.war.
Type: String
The following values can be specified:
-
application-name
-
module
Default value: N/A
-
Examples
The following example lists all environment entries that have been set for the web application hello by using the set-web-env-entry subcommand.
asadmin list-web-env-entry hello
Exit Status
Exit Status |
Explanation |
---|---|
0 |
subcommand executed successfully. |
1 |
error in executing the subcommand. |