> ## 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.

# stopDataSource

> Stop a JDBC data source. A JDBC data source is an object bound to the JNDI tree that provides database connectivity through a pool of JDBC connections

Stop a JDBC data source. A JDBC data source is an object bound to the JNDI tree that provides database connectivity through a pool of JDBC connections. To use the plugin a single data source and one or more servers/clusters must be provided.

> [!NOTE]
>
> ### Note
>
> If the data source is not in a "Running" state then no changes will be made.

# Project 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>Weblogic Server or Cluster Name(s)</td><td>`FDWLS_SERVER_OR_CLUSTER_NAMES`</td><td>Yes</td><td>Comma separated string containing WebLogic Server or Cluster name(s).\
It is assumed that you are using managed server or cluster of same names in various environments.</td></tr><tr><td>Weblogic Data Source Name</td><td>`FDWLS_DATA_SOURCE_NAME`</td><td>Yes</td><td>The JDBC data source name.</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>Server or Cluster Name(s)</td><td>`FDWLS_INP_SERVER_OR_CLUSTER_NAMES`</td><td>No</td><td>WebLogic Server or Cluster name(s) for start data source operation. Overrides the `Weblogic Server or Cluster Name(s)` project property.</td></tr><tr><td>Data Source Name</td><td>`FDWLS_INP_DATA_SOURCE_NAME`</td><td>No</td><td>The JDBC data source name. Overrides the `Weblogic Data Source Name` project property.</td></tr><tr><td>Force Shutdown</td><td>`FDWLS_INP_FORCE_SHUTDOWN`</td><td>No</td><td>Forcibly shutting down a data source will disconnection of all current connection users. Defaults to false.</td></tr></tbody></table>

# 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.
