deploy(WildFly)

  • This operation provides the ability to deploy a J2EE module to a running WildFly server or server group(s).
  • The deploy operation can be used for both Standalone and Domain mode.
  • This operation is supported for WildFly versions 8, 9 and 10.
  • If the J2EE module is already deployed, you must undeploy it prior to deploying a new version.


Environment/Instance Properties

Property Name

Property Code

Required

Description

WildFly Home

FDWFLY_WILDFLY_HOME

Yes

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

WildFly Admin Listen Address

FDWFLY_ADMIN_LISTEN_ADDRESS

Yes

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

WildFly Admin Listen Port

FDWFLY_ADMIN_LISTEN_PORT

Yes

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

WildFly Admin User

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.

WildFly Admin Password

FDWFLY_ADMIN_PASSWORD

Yes

The password for the WildFly Admin User.

  

Project Properties

Property Name

Property Code

Required

Description

WildFly Server

FDWFLY_SERVER_NAME

No

WildFly Server name to activate application on.

WildFly Server Group

FDWFLY_SERVER_GROUP_NAME

No

WildFly Server Group name to activate application on.

WildFly Application

FDWFLY_APPLICATION_NAME

Yes

The name of the WildFly application.

  

Inputs

Input Name

Input Code

Required

Description

WildFly Mode

FDWFLY_INP_WILDFLY_MODE

Yes

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

Server Name

FDWFLY_INP_SERVER_NAME

No

WildFly server name to apply this operation to. Overrides the WildFly Server project property.

Server Group Name

FDWFLY_INP_SERVER_GROUP_NAME

No

WildFly server group name to apply this operation to. Overrides the WildFly Server Group project property.

  

Outputs

Output Name

Required

Description




  

Artifacts

This operation consumes a J2EE module artifact from the artifacts repository.



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 operation has the following prerequisites:

  • The WildFly user specified by the WildFly Admin User property must be granted the add-user script.
  • The target WildFly server must be running prior to calling this operation.
  • The specified J2EE Module must be produced by a build operation.


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