undeploy (WebLogic)

Undeploy an EAR or WAR file from Partition, Resource Group, Resource Group Template or WebLogic Cluster/Server. The following properties are used to specify the location for undeploy.

  • FDWLS_SERVER_OR_CLUSTER_NAMES or

  • FDWLS_PARTITION, FDWLS_RESOURCE_GROUP or

  • FDWLS_RESOURCE_GROUP_TEMPLATE.

Prior to WLS 12.2.1, only FDWLS_SERVER_OR_CLUSTER_NAMES is used. Read about the deployment options of 12.2.1 at https://blogs.oracle.com/WebLogicServer/entry/domain_partitions_for_multi_tenancy.

Target Properties

Property Name

Property Code

Required

Description

Property Name

Property Code

Required

Description

Oracle Weblogic Home (WL_HOME)

FDWLS_WEBLOGIC_HOME

Yes

WebLogic Home Directory. (e.g. /u01/oracle/products/fmw/wlserver)

Weblogic Domain Name

FDWLS_DOMAIN_NAME

Yes

WebLogic Domain Name.

Weblogic Admin Listen Address

FDWLS_ADMIN_LISTEN_ADDRESS

Yes

The listener address of the WLS admin server. (e.g. localhost)

Weblogic Admin Listen Port

FDWLS_ADMIN_LISTEN_PORT

Yes

The port of the WLS admin server. (e.g. 7001)

Weblogic Admin SSL Connection

FDWLS_ADMIN_USE_SSL

No

Indicates whether the admin server is using SSL.

Weblogic Admin User

FDWLS_ADMIN_USER

Yes

The user name for the WLS admin server.

Weblogic Admin Password

FDWLS_ADMIN_PASSWORD

Yes

The password for Weblogic Admin User.

Weblogic Application Install Directory

FDWLS_BASE_INSTALL_DIRECTORY

No

Base directory to install the WebLogic deployments from.

EAR files will be copied here on Admin Server endpoint by WebLogic Plugin prior to installation.


For example: /oracle/middleware/product/user_projects/applications

Weblogic Deployment Max # of Versions

FDWLS_VERSIONS_TO_KEEP

No

When undeploying, if using versioning, keep how many versions? Defaults to 5.

Weblogic Undeployment Timeout

FDWLS_UNDEPLOY_TIMEOUT

No

The timeout (milliseconds) for the Weblogic undeploy operation. Defaults to 300000.

Project Properties

Property Name

Property Code

Required

Description

Property Name

Property Code

Required

Description

Weblogic Application Name

FDWLS_APPLICATION_NAME

Yes

The name of the application to be deployed.

Weblogic Partition

FDWLS_PARTITION

No

WLS Partition - used in WLS 12.2.1+

Weblogic Resource Group

FDWLS_RESOURCE_GROUP

No

WLS Resource Group - used in WLS 12.2.1+

Weblogic Resource Group Template

FDWLS_RESOURCE_GROUP_TEMPLATE

No

WLS Resource Group Template - used in WLS 12.2.1+

Weblogic Versioned Deployment

FDWLS_USE_VERSIONS

No

Determines whether the plugin will deploy the artifact with a version label.

If Weblogic Versioned Deployment is true, then FD_PROJECT_VERSION will be used as the version. This allows multiple archives to be deployed at the same time.

Plugin will modify MANIFEST.MF file if necessary.

Artifacts

This operation doesn't consume or produce any artifacts.

Endpoint Selection

This operation will select all available endpoints associated to the Target which have a resource type of WLS Admin Server. Since the admin server only runs on one server, it is expected that for a given domain, there will only be one endpoint with a resource type set to WLS Admin Server.

Endpoint Execution

This operation will execute on the Admin Server endpoint selected using the WLS Admin Server resource type.

Special Considerations

Locking occurs on the endpoint to ensure multiple configuration change are not concurrently being deployed at the same time for a domain. The lock files are located in {Base Working Directory for the endpoint}/locks with a file name of {Environment Code}_{WebLogic Domain Name}.

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