> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flexagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# createOrUpdateWeblogicConfig

> Creates or updates , , , and as defined by input properties files. The properties files will be processed for property replacement first before execut

Creates or updates [DataSources](https://docs.flexagon.com/flexdeploy-9-0-documentation/flexdeploy-plugin-guides/flexdeploy-weblogic-plugin-guide/createorupdatedatasources.md), [EIS entries](https://docs.flexagon.com/flexdeploy-9-0-documentation/flexdeploy-plugin-guides/flexdeploy-weblogic-plugin-guide/createorupdateeisentries.md), [JMS objects](https://docs.flexagon.com/flexdeploy-9-0-documentation/flexdeploy-plugin-guides/flexdeploy-weblogic-plugin-guide/createorupdatejmsentries.md), and [Work Managers](https://docs.flexagon.com/flexdeploy-9-0-documentation/flexdeploy-plugin-guides/flexdeploy-weblogic-plugin-guide/createorupdateworkmanagers.md) as defined by input properties files. The properties files will be processed for property replacement first before execution. See [Property Replacement Support](https://docs.flexagon.com/flexdeploy-9-0-documentation/flexdeploy-variables-guide/property-replacement-support.md) for more information about property replacement.

If using multiple files, make sure that the lists contain unique values across files.

> [!TIP]
>
> ### Adapter Deployment
>
> This operation will perform the EIS changes using [createOrUpdateEISEntries](https://docs.flexagon.com/flexdeploy-9-0-documentation/flexdeploy-plugin-guides/flexdeploy-weblogic-plugin-guide/createorupdateeisentries.md), which will **Redeploy** **Adapter**.
>
> To only **Save Adapter Plan**, use the [generateEISDeploymentPlans](https://docs.flexagon.com/flexdeploy-9-0-documentation/flexdeploy-plugin-guides/flexdeploy-weblogic-plugin-guide/generateeisdeploymentplans.md) operation instead of this operation.
>
> To **Update** **Adapter** instead, use the [updateEISDeploymentPlans](https://docs.flexagon.com/flexdeploy-9-0-documentation/flexdeploy-plugin-guides/flexdeploy-weblogic-plugin-guide/updateeisdeploymentplans.md) operation instead of this operation.
>
> So, if you want save or update the Adapter, then create a workflow containing the desired EIS operation. If you want to process JMS, DataSource, and Work Manager entries in same workflow add those necessary operations in the same workflow.

# Blog Posts

* [https://flexagon.com/2017/03/automating-the-creation-of-weblogic-configurations/](https://flexagon.com/2017/03/automating-the-creation-of-weblogic-configurations/)

* [https://flexagon.com/2016/11/save-time-and-headache-automate-your-weblogic-data-source-configurations/](https://flexagon.com/2016/11/save-time-and-headache-automate-your-weblogic-data-source-configurations/)

* [https://flexagon.com/2018/04/yes-you-can-create-weblogic-bridges-reliably-with-flexdeploy/](https://flexagon.com/2018/04/yes-you-can-create-weblogic-bridges-reliably-with-flexdeploy/)

* [https://flexagon.com/2018/04/yes-you-can-create-work-managers-reliably-with-flexdeploy/](https://flexagon.com/2018/04/yes-you-can-create-work-managers-reliably-with-flexdeploy/)

> [!TIP]
>
> If you want to detect changes in WebLogic resource (properties) files and only deploy changed files, you can implement custom workflow as defined in [Custom Workflow to detect changes in Properties Files](https://docs.flexagon.com/hidden-fd90/appendix-weblogic-plugin-guide/custom-workflow-to-detect-changes-in-properties-files.md).

# Target Properties

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Property Name**</th><th>**Property Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>Oracle WebLogic Home (WL\_HOME)</td><td>`FDWLS_WEBLOGIC_HOME`</td><td>Yes</td><td>WebLogic Home Directory. (e.g. `/u01/oracle/products/fmw/wlserver`)</td></tr><tr><td>WebLogic Domain Name</td><td>`FDWLS_DOMAIN_NAME`</td><td>Yes</td><td>WebLogic Domain Name.</td></tr><tr><td>WebLogic Admin Listen Address</td><td>`FDWLS_ADMIN_LISTEN_ADDRESS`</td><td>Yes</td><td>The listener address of the WLS admin server. (e.g. localhost)</td></tr><tr><td>WebLogic Admin Listen Port</td><td>`FDWLS_ADMIN_LISTEN_PORT`</td><td>Yes</td><td>The port of the WLS admin server. (e.g. 7001)</td></tr><tr><td>WebLogic Admin SSL Connection</td><td>`FDWLS_ADMIN_USE_SSL`</td><td>No</td><td>Indicates whether the admin server is using SSL.</td></tr><tr><td>WebLogic Admin User</td><td>`FDWLS_ADMIN_USER`</td><td>Yes</td><td>The user name for the WLS admin server.</td></tr><tr><td>WebLogic Admin Password</td><td>`FDWLS_ADMIN_PASSWORD`</td><td>Yes</td><td>The password for `Weblogic Admin User`.</td></tr><tr><td>WebLogic Admin Domain Directory</td><td>`FDWLS_ADMIN_DOMAIN_DIRECTORY`</td><td>No</td><td>Weblogic Domain Directory for AdminServer. If not provided, `Weblogic Domain Directory` will be used.</td></tr><tr><td>WebLogic Domain Directory</td><td>`FDWLS_DOMAIN_DIRECTORY`</td><td>Yes</td><td>Weblogic Domain Directory.(e.g. `/u01/oracle/config/domains/soa_domain`)</td></tr><tr><td>WebLogic Adapter Plan</td><td>`FDWLS_ADAPTER_PLAN_PATH`</td><td>No</td><td>Path to the XML files used by Resource Adapters. (optional)If this parameter is not used, the adapters' last-used setting will be used.</td></tr></tbody></table>

# Inputs

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Input Name**</th><th>**Input Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>Properties File Path</td><td>`FILE_PATH_TO_PROPERTIES`</td><td>No</td><td>Comma-separated list of paths to the properties file(s).\
If relative paths are given, they are assumed relative to the `FD_ARTIFACTS_DIR`** **directory.\
If this property is not specified, all properties files in the `FD_ARTIFACTS_DIR`** **directory will be processed.</td></tr></tbody></table>

# Outputs

<table><colgroup><col /><col /><col /></colgroup><tbody><tr><th>**Output Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>`FDWLS_OUT_IS_RESTART_REQUIRED`</td><td>No</td><td>A` boolean` value that indicates whether the server needs to be restarted to finish applying the configuration changes. You could use this in a workflow condition.</td></tr></tbody></table>

# Artifacts

This operation consumes properties file 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

If `Properties File Path` is not specified, the `FD_ARTIFACTS_DIR` folder will be used. If a relative path is specified, the path will be relative to the `FD_ARTIFACTS_DIR` directory. This means that build workflow needs to capture the files to be processed appropriately.

Properties files in environment code sub-folders will override settings in root folder files when the operation is run on servers in that environment. Environment folder names must match the environment code within the FlexDeploy topology. Environment override folders are optional and can be used only as necessary. You can put just subset of lines in environment code override files and only those will be different when deploying to that particular environment.

## Example Folder Structure

![Image](https://mintcdn.com/flexagon-llc-ce77a95c/NkeZh5D-Nf8j_WaD/images/fd111/12596423379.png?fit=max\&auto=format\&n=NkeZh5D-Nf8j_WaD\&q=85\&s=f9754e60ba3fb2ccd263b0c4de5dc380)

DEV environment overrides (optional)

![Image](https://mintcdn.com/flexagon-llc-ce77a95c/NkeZh5D-Nf8j_WaD/images/fd111/12596423382.png?fit=max\&auto=format\&n=NkeZh5D-Nf8j_WaD\&q=85\&s=01e1f1449f875931da8899f8235a70d3)

TEST environment overrides (optional)

![Image](https://mintcdn.com/flexagon-llc-ce77a95c/NkeZh5D-Nf8j_WaD/images/fd111/12596423385.png?fit=max\&auto=format\&n=NkeZh5D-Nf8j_WaD\&q=85\&s=89f472abe94b6db012b613d54688c5fc)

## Properties File Format

Multiple Property lists can be defined in each properties file. They can even hold JMS, DataSources and EIS entries in one file, but it is a best practice to use several files and name them according to their contents. If using multiple files, make sure that the lists contain unique values across files. Best practice would be to use the WebLogic DataSource Name as the list identifier for DataSources. Each properties file must start with one or more lists of elements present in the file. Any number of element types is acceptable in each file, and any number of each type of element is acceptable as well. The properties files will be processed for property replacement using `$\{\{VARIABLE_NAME\}\}` format. See [Property Replacement Support](https://docs.flexagon.com/flexdeploy-9-0-documentation/flexdeploy-variables-guide/property-replacement-support.md) for more information about property replacement.

## Example Property Files

See the Example properties files in the [createOrUpdateDataSources](https://docs.flexagon.com/flexdeploy-9-0-documentation/flexdeploy-plugin-guides/flexdeploy-weblogic-plugin-guide/createorupdatedatasources.md), [createOrUpdateJMSEntries](https://docs.flexagon.com/flexdeploy-9-0-documentation/flexdeploy-plugin-guides/flexdeploy-weblogic-plugin-guide/createorupdatejmsentries.md), [createOrUpdateEISEntries](https://docs.flexagon.com/flexdeploy-9-0-documentation/flexdeploy-plugin-guides/flexdeploy-weblogic-plugin-guide/createorupdateeisentries.md), [createOrUpdateWorkManagers](https://docs.flexagon.com/flexdeploy-9-0-documentation/flexdeploy-plugin-guides/flexdeploy-weblogic-plugin-guide/createorupdateworkmanagers.md) operations. Any combination of their files is acceptable.
