deploy (GlassFish)
Deploy an EAR or WAR to a running GlassFish domain. If the domain is stopped, the operation will exit with an error. You can place the startDomain operation earlier in the workflow to verify that it is running if you aren't sure.
The plugin operation waits for the deployment to complete before continuing.
If you are wondering what a GlassFish master 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 |
| Yes | The password for the administrative user. |
Glassfish Admin Username |
| Yes | The username for the administrative user. |
Glassfish Admin Port |
| Yes | The port of the Glassfish admin server. (e.g. 4848) |
Glassfish Master Password |
| No | The Glassfish Master Password (not needed if the developer profile is used.) |
Glasfish Home |
| Yes | GlassFish Home Directory. (e.g. /u01/oracle/glassfish3) |
Glassfish Domain Name | FDGF_DOMAIN_NAME | Yes | Name of the GlassFish domain to start. |
Project Properties
Property Name | Property Code | Required | Description |
---|---|---|---|
Glassfish Application |
| Yes | Name of EAR or WAR file to deploy. If a relative path is given, it will be assumed to be in the |
Inputs
Input Name | Input Code | Required | Description |
---|---|---|---|
Force Deploy |
| No | Option to forcibly deploy an application to a domain. |
Context Root |
| No | Determines which URL GlassFish will use for your application. (e.g. http://localhost:8080/ContextRoot ) |
Outputs
Output Name | Required | Description |
---|---|---|
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.
- style