The following macros are not currently supported in the header:
  • style

undeploy (GlassFish)

Undeploys an EAR or WAR file from a running GlassFish domain.

The asadmin undeploy operation has a very short timeout. As a result, this plugin allow it to try 5 times before failing. This should give enough time for most applications to complete undeployment.

If you are wondering what a GlassFish mast password is and whether you need it, the link https://blogs.oracle.com/alexismp/entry/what_is_a_glassfish_master may be helpful.

Environment/Instance Properties

Property Name
Property Code
Required
Description
Glassfish Admin Password

FDGF_ADMIN_PASSWORD

YesThe password for the administrative user.
Glassfish Admin Username

FDGF_ADMIN_USERNAME

YesThe username for the administrative user.
Glassfish Admin Port

FDGF_ADMIN_PORT

YesThe port of the Glassfish admin server. (e.g. 4848)
Glassfish Master Password

FDGF_MASTER_PASSWORD

NoThe Glassfish Master Password (not needed if the developer profile is used.)
Glasfish Home

FDGF_GLASSFISH_HOME

Yes

GlassFish Home Directory. (e.g. /u01/oracle/glassfish3)

Glassfish Domain NameFDGF_DOMAIN_NAMEYesName of the GlassFish domain to start.

Project Properties

Property Name
Property Code
Required
Description
Glassfish Application

FDGF_APPLICATION_NAME

Yes

Name of or path to an EAR or WAR file to undeploy.

Inputs

Input NameInput CodeRequiredDescription






Outputs

Output NameRequiredDescription





Artifacts

This operation does not produce or consume any artifacts.

Endpoint Selection

This operation will select all available endpoints associated to the environment/instance.

Endpoint Execution

This operation will execute on any one of the selected endpoints and will be random in the determination of which one.

Special Considerations

This plugin has the following pre-requisites:

  • The JAVA_HOME environment variable must be set to a supported JDK for the version of GlassFish being used.
  • The target GlassFish server must be running prior to calling this operation.
The following macros are not currently supported in the footer:
  • style