Sun GlassFish Enterprise Server v3 Application Deployment Guide

ProcedureTo Unset a Web Environment Entry

Use the unset-web-env-entry subcommand in remote mode to unset an environment entry for a deployed web application or module.

  1. Ensure that the server is running.

    Remote commands require a running server.

  2. Unset a web environment entry by using the unset-web-env-entry(1) subcommand.

    Information about the options for the subcommand is included in this help page.

Example 2–25 Unsetting an Environment Entry for a Web Application

This example unsets the environment entry Hello User of the web application hello.

asadmin> unset-web-env-entry --name="Hello User" hello
Command unset-web-env-entry executed successfully.

See Also

You can also view the full syntax and options of the subcommand by typing asadmin help unset-web-env-entry at the command line.