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

undeploy(WildFly)

  • This operation provides the ability to undeploy a J2EE module from a running WildFly server or server group(s).
  • This operation is supported in both Standalone and Domain mode.
  • This operation is supported for WildFly 8, 9 and 10 versions.

Environment/Instance Properties

Property Name

Required

Description

FDWFLY_WILDFLY_HOME

Yes

The pathname to the directory in which WildFly has been installed.

FDWFLY_ADMIN_LISTEN_ADDRESS

Yes

The url of the Manager web application within the WildFly server.

FDWFLY_ADMIN_LISTEN_PORT

Yes

The port number of the manager web application within the WildFly server.

FDWFLY_ADMIN_USER

Yes

The name of the WildFly user with which to connect to the Manager web application. This user must be configured with the add-user script file.

FDWFLY_ADMIN_PASSWORD

Yes

The password for the FDWFLY_ADMIN_USER user.

Project Properties

Property Name

Required

Description

FDWFLY_SERVER_NAME

No

WildFly Server name to undeploy application from.

FDWFLY_SERVER_GROUP_NAME

No

WildFly Server Group name to undeploy application from.

FDWFLY_APPLICATION_NAME

Yes

The name of the application to be undeployed.

Inputs

Input Name

Required

Description

FDWFLY_INP_WILDFLY_MODE

Yes

The mode in which server has been started. Valid values are Standalone, Domain

FDWFLY_INP_SERVER_NAMENoWildFly server to undeploy the application from. Overrides the FDWFLY_SERVER_NAME property.
FDWFLY_INP_SERVER_GROUP_NAMENoWildFly server group to undeploy the application from. Overrides the FDWFLY_SERVER_GROUP_NAME property.

Outputs

Output Name

Required

Description

 

 

 

Artifacts

This operation doesn't consume or produce any artifacts.

Endpoint Selection

This operation will select all available endpoints associated to the environment instance which have a resource type of WildFly Management Server. For Standalone mode, this is the single endpoint which is mapped to the environment instance.  For Domain mode, this is the endpoint which hosts the Domain Controller.

Endpoint Execution

This operation will execute on the endpoint selected above (the one which is identified as the WildFly Management Server).

Special Considerations

This plugin has the following prerequisites:

  • The WildFly user specified by property FDWFLY_ADMIN_USER must be granted the add-user script.
  • The target WildFly server must be running prior to calling this operation.
The following macros are not currently supported in the footer:
  • style