4 Domain Level REST API Examples

Examine example scripts for users in domain level roles using the Oracle WebLogic Server REST APIs to perform common domain management and monitoring tasks. For information about the user roles which can access a REST resource, see Accessing REST Resources.

This chapter includes the following topics:

Adding Users

Review an example script that demonstrates how a System Administrator adds users such as Operators, Deployers, and Monitors.

Note:

To view long URLs, use the scroll bar located beneath the section.

----------------------------------------------------------------------
Demonstrate a domain admin configuring domain level users
----------------------------------------------------------------------




----------------------------------------------------------------------
Create a deployer
----------------------------------------------------------------------

curl -v \
--user admin:admin123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{
  userName: 'deployer',
  password: 'deployer123',
  description: 'A domain level deployer'
}" \
-X POST http://localhost:7001/management/weblogic/latest/serverConfig/securityConfiguration/realms/myrealm/authenticationProviders/DefaultAuthenticator/createUser


HTTP/1.1 200 OK

Response Body:
{}


curl -v \
--user admin:admin123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{
  groupName: 'Deployers',
  memberUserOrGroupName: 'deployer'
}" \
-X POST http://localhost:7001/management/weblogic/latest/serverConfig/securityConfiguration/realms/myrealm/authenticationProviders/DefaultAuthenticator/addMemberToGroup


HTTP/1.1 200 OK

Response Body:
{}





----------------------------------------------------------------------
Create an operator
----------------------------------------------------------------------

curl -v \
--user admin:admin123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{
  userName: 'operator',
  password: 'operator123',
  description: 'A domain level operator'
}" \
-X POST http://localhost:7001/management/weblogic/latest/serverConfig/securityConfiguration/realms/myrealm/authenticationProviders/DefaultAuthenticator/createUser


HTTP/1.1 200 OK

Response Body:
{}


curl -v \
--user admin:admin123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{
  groupName: 'Operators',
  memberUserOrGroupName: 'operator'
}" \
-X POST http://localhost:7001/management/weblogic/latest/serverConfig/securityConfiguration/realms/myrealm/authenticationProviders/DefaultAuthenticator/addMemberToGroup


HTTP/1.1 200 OK

Response Body:
{}





----------------------------------------------------------------------
Create a monitor
----------------------------------------------------------------------

curl -v \
--user admin:admin123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{
  userName: 'monitor',
  password: 'monitor123',
  description: 'A domain level monitor'
}" \
-X POST http://localhost:7001/management/weblogic/latest/serverConfig/securityConfiguration/realms/myrealm/authenticationProviders/DefaultAuthenticator/createUser


HTTP/1.1 200 OK

Response Body:
{}


curl -v \
--user admin:admin123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{
  groupName: 'Monitors',
  memberUserOrGroupName: 'monitor'
}" \
-X POST http://localhost:7001/management/weblogic/latest/serverConfig/securityConfiguration/realms/myrealm/authenticationProviders/DefaultAuthenticator/addMemberToGroup


HTTP/1.1 200 OK

Response Body:
{}

Setting Up Servers

Review an example script that demonstrates how a System Administrator creates a cluster, machine, and dynamic server targeted to the cluster.

Note:

To view long URLs, use the scroll bar located beneath the section.

----------------------------------------------------------------------
Demonstrate a domain admin configuring dynamic servers
----------------------------------------------------------------------

----------------------------------------------------------------------
Start editing
----------------------------------------------------------------------

curl -v \
--user admin:admin123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{}" \
-X POST http://localhost:7001/management/weblogic/latest/edit/changeManager/startEdit


HTTP/1.1 200 OK

Response Body:
{}





----------------------------------------------------------------------
View the default values for a new cluster
----------------------------------------------------------------------

curl -v \
--user admin:admin123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/weblogic/latest/edit/clusterCreateForm?links=none


HTTP/1.1 200 OK

Response Body:
{
    "sessionStateQueryRequestTimeout": 30,
    "notes": null,
    "sessionFlushInterval": 180,
    "txnAffinityEnabled": false,
    "fencingGracePeriodMillis": 30000,
    "serviceActivationRequestResponseTimeout": 0,
    "autoMigrationTableCreationDDLFile": null,
    "databaseLeasingBasisConnectionRetryCount": 1,
    "rebalanceDelayPeriods": 2,
    "autoMigrationTableCreationPolicy": "Disabled",
    "millisToSleepBetweenAutoMigrationAttempts": 180000,
    "migrationBasis": "database",
    "oneWayRmiForReplicationEnabled": false,
    "secureReplicationEnabled": false,
    "WANSessionPersistenceTableName": "WLS_WAN_PERSISTENCE_TABLE",
    "asyncSessionQueueTimeout": 30,
    "clusterType": "none",
    "databaseLeasingBasisConnectionRetryDelay": 1000,
    "defaultLoadAlgorithm": "round-robin",
    "frontendHTTPPort": 0,
    "singletonServiceRequestTimeout": 30000,
    "sessionFlushThreshold": 10000,
    "httpTraceSupportEnabled": false,
    "tags": null,
    "replicationTimeoutEnabled": true,
    "maxSecondarySelectionAttempts": 0,
    "serviceAgeThresholdSeconds": 180,
    "additionalAutoMigrationAttempts": 3,
    "multicastBufferSize": 64,
    "weblogicPluginEnabled": false,
    "healthCheckIntervalMillis": 10000,
    "jobSchedulerTableName": "WEBLOGIC_TIMERS",
    "concurrentSingletonActivationEnabled": false,
    "memberDeathDetectorEnabled": false,
    "multicastTTL": 1,
    "frontendHost": null,
    "clusterAddress": null,
    "interClusterCommLinkHealthCheckInterval": 30000,
    "remoteClusterAddress": null,
    "greedySessionFlushInterval": 3,
    "replicationChannel": "ReplicationChannel",
    "multicastAddress": "239.192.0.0",
    "numberOfServersInClusterAddress": 3,
    "persistSessionsOnShutdown": false,
    "healthCheckPeriodsUntilFencing": 6,
    "sessionStateQueryProtocolEnabled": false,
    "clusterBroadcastChannel": null,
    "multicastSendDelay": 3,
    "multicastDataEncryption": false,
    "messageOrderingEnabled": true,
    "autoMigrationTableName": "ACTIVE",
    "idlePeriodsUntilTimeout": 3,
    "clientCertProxyEnabled": false,
    "multicastPort": 7001,
    "clusterMessagingMode": "unicast",
    "unicastReadTimeout": 15000,
    "frontendHTTPSPort": 0,
    "dataSourceForSessionPersistence": null,
    "dataSourceForJobScheduler": null,
    "dataSourceForAutomaticMigration": null,
    "coherenceClusterSystemResource": null,
    "candidateMachinesForMigratableServers": [],
    "name": null
}





----------------------------------------------------------------------
Configure a new cluster
----------------------------------------------------------------------

curl -v \
--user admin:admin123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{ name: 'Cluster1' }" \
-X POST http://localhost:7001/management/weblogic/latest/edit/clusters


HTTP/1.1 201 Created

Location: http://localhost:7001/management/weblogic/latest/edit/clusters/Cluster1

Response Body:
{}





----------------------------------------------------------------------
View the new cluster
----------------------------------------------------------------------

curl -v \
--user admin:admin123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/weblogic/latest/edit/clusters/Cluster1?links=none


HTTP/1.1 200 OK

Response Body:
{
    "identity": [
        "clusters",
        "Cluster1"
    ],
    "sessionStateQueryRequestTimeout": 30,
    "notes": null,
    "sessionFlushInterval": 180,
    "txnAffinityEnabled": false,
    "fencingGracePeriodMillis": 30000,
    "serviceActivationRequestResponseTimeout": 0,
    "replicationTimeoutMillis": 30000,
    "type": "Cluster",
    "autoMigrationTableCreationDDLFile": null,
    "databaseLeasingBasisConnectionRetryCount": 1,
    "rebalanceDelayPeriods": 2,
    "autoMigrationTableCreationPolicy": "Disabled",
    "millisToSleepBetweenAutoMigrationAttempts": 180000,
    "migrationBasis": "database",
    "oneWayRmiForReplicationEnabled": false,
    "id": 0,
    "secureReplicationEnabled": false,
    "WANSessionPersistenceTableName": "WLS_WAN_PERSISTENCE_TABLE",
    "asyncSessionQueueTimeout": 30,
    "clusterType": "none",
    "databaseLeasingBasisConnectionRetryDelay": 1000,
    "defaultLoadAlgorithm": "round-robin",
    "frontendHTTPPort": 0,
    "singletonServiceRequestTimeout": 30000,
    "sessionFlushThreshold": 10000,
    "httpTraceSupportEnabled": false,
    "tags": [],
    "replicationTimeoutEnabled": true,
    "maxSecondarySelectionAttempts": 0,
    "serviceAgeThresholdSeconds": 180,
    "additionalAutoMigrationAttempts": 3,
    "name": "Cluster1",
    "sessionLazyDeserializationEnabled": false,
    "multicastBufferSize": 64,
    "weblogicPluginEnabled": false,
    "healthCheckIntervalMillis": 10000,
    "jobSchedulerTableName": "WEBLOGIC_TIMERS",
    "concurrentSingletonActivationEnabled": false,
    "memberDeathDetectorEnabled": false,
    "multicastTTL": 1,
    "siteName": null,
    "frontendHost": null,
    "clusterAddress": null,
    "interClusterCommLinkHealthCheckInterval": 30000,
    "remoteClusterAddress": null,
    "greedySessionFlushInterval": 3,
    "memberWarmupTimeoutSeconds": 0,
    "replicationChannel": "ReplicationChannel",
    "multicastAddress": "239.192.0.0",
    "dynamicallyCreated": false,
    "numberOfServersInClusterAddress": 3,
    "persistSessionsOnShutdown": false,
    "healthCheckPeriodsUntilFencing": 6,
    "sessionStateQueryProtocolEnabled": false,
    "clusterBroadcastChannel": null,
    "multicastSendDelay": 3,
    "multicastDataEncryption": false,
    "messageOrderingEnabled": true,
    "autoMigrationTableName": "ACTIVE",
    "idlePeriodsUntilTimeout": 3,
    "clientCertProxyEnabled": false,
    "multicastPort": 7001,
    "clusterMessagingMode": "unicast",
    "unicastReadTimeout": 15000,
    "frontendHTTPSPort": 0,
    "dataSourceForSessionPersistence": null,
    "dataSourceForJobScheduler": null,
    "dataSourceForAutomaticMigration": null,
    "coherenceClusterSystemResource": null,
    "servers": [],
    "migratableTargets": [],
    "candidateMachinesForMigratableServers": []
}





----------------------------------------------------------------------
View the default values for a new machine
----------------------------------------------------------------------

curl -v \
--user admin:admin123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/weblogic/latest/edit/machineCreateForm?links=none


HTTP/1.1 200 OK

Response Body:
{
    "notes": null,
    "tags": null,
    "name": null
}





----------------------------------------------------------------------
Configure a new machine
----------------------------------------------------------------------

curl -v \
--user admin:admin123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{ name:'Machine1' }" \
-X POST http://localhost:7001/management/weblogic/latest/edit/machines


HTTP/1.1 201 Created

Location: http://localhost:7001/management/weblogic/latest/edit/machines/Machine1

Response Body:
{}





----------------------------------------------------------------------
View the new machine
----------------------------------------------------------------------

curl -v \
--user admin:admin123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/weblogic/latest/edit/machines/Machine1?links=none


HTTP/1.1 200 OK

Response Body:
{
    "identity": [
        "machines",
        "Machine1"
    ],
    "notes": null,
    "name": "Machine1",
    "id": 0,
    "dynamicallyCreated": false,
    "type": "Machine",
    "tags": []
}





----------------------------------------------------------------------
View the default values for the machine's node manager configuration
----------------------------------------------------------------------

curl -v \
--user admin:admin123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/weblogic/latest/edit/machines/Machine1/nodeManager?links=none


HTTP/1.1 200 OK

Response Body:
{
    "identity": [
        "machines",
        "Machine1",
        "nodeManager"
    ],
    "adapter": null,
    "notes": null,
    "NMType": "SSL",
    "debugEnabled": false,
    "userName": null,
    "type": "NodeManager",
    "tags": [],
    "shellCommand": null,
    "NMSocketCreateTimeoutInMillis": 15000,
    "password": null,
    "listenAddress": "localhost",
    "name": "Machine1",
    "nodeManagerHome": null,
    "adapterVersion": null,
    "adapterName": null,
    "id": 0,
    "dynamicallyCreated": false,
    "listenPort": 5556
}





----------------------------------------------------------------------
Customize the machine's node manager configuration
----------------------------------------------------------------------

curl -v \
--user admin:admin123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{
  NMType:        'Plain',
  listenAddress: 'localhost'
}" \
-X POST http://localhost:7001/management/weblogic/latest/edit/machines/Machine1/nodeManager


HTTP/1.1 200 OK

Response Body:
{}





----------------------------------------------------------------------
View the modified node manager configuration
----------------------------------------------------------------------

curl -v \
--user admin:admin123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/weblogic/latest/edit/machines/Machine1/nodeManager?links=none


HTTP/1.1 200 OK

Response Body:
{
    "identity": [
        "machines",
        "Machine1",
        "nodeManager"
    ],
    "adapter": null,
    "notes": null,
    "NMType": "Plain",
    "debugEnabled": false,
    "userName": null,
    "type": "NodeManager",
    "tags": [],
    "shellCommand": null,
    "NMSocketCreateTimeoutInMillis": 15000,
    "password": null,
    "listenAddress": "localhost",
    "name": "Machine1",
    "nodeManagerHome": null,
    "adapterVersion": null,
    "adapterName": null,
    "id": 0,
    "dynamicallyCreated": false,
    "listenPort": 5556
}





----------------------------------------------------------------------
View the default values for a new server template
----------------------------------------------------------------------

curl -v \
--user admin:admin123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/weblogic/latest/edit/serverTemplateCreateForm?links=none


HTTP/1.1 200 OK

Response Body:
{
    "maxOpenSockCount": -1,
    "interfaceAddress": null,
    "startupTimeout": 0,
    "idleConnectionTimeout": 65,
    "resolveDNSName": false,
    "ignoreSessionsDuringShutdown": false,
    "adminReconnectIntervalSeconds": 10,
    "preferredSecondaryGroup": null,
    "defaultSecureProtocol": "t3s",
    "logCriticalRemoteExceptionsEnabled": false,
    "transactionPublicChannelName": null,
    "maxMessageSize": 10000000,
    "stagingDirectoryName": null,
    "outboundPrivateKeyEnabled": false,
    "defaultTGIOPPassword": null,
    "cleanupOrphanedSessionsEnabled": false,
    "httpTraceSupportEnabled": false,
    "classpathServletSecureModeEnabled": true,
    "tags": null,
    "useEnhancedIncrementAdvisor": true,
    "completeMessageTimeout": 60,
    "managedServerIndependenceEnabled": true,
    "retryIntervalBeforeMSIMode": 5,
    "nativeIOEnabled": true,
    "startupMode": "RUNNING",
    "externalDNSName": null,
    "JMSConnectionFactoryUnmappedResRefMode": "ReturnDefault",
    "extraEjbcOptions": null,
    "autoMigrationEnabled": false,
    "RMIDeserializationMaxTimeLimit": 0,
    "tunnelingClientPingSecs": 45,
    "instrumentStackTraceEnabled": true,
    "synchronizedSessionTimeoutEnabled": false,
    "customIdentityKeyStorePassPhrase": null,
    "transactionPrimaryChannelName": null,
    "gracefulShutdownTimeout": 0,
    "outboundEnabled": false,
    "javaStandardTrustKeyStorePassPhrase": null,
    "classpathServletDisabled": false,
    "healthCheckStartDelaySeconds": 120,
    "clientCertProxyEnabled": false,
    "defaultInternalServletsDisabled": false,
    "customIdentityKeyStoreType": null,
    "sessionReplicationOnShutdownEnabled": false,
    "restartIntervalSeconds": 3600,
    "notes": null,
    "serverLifeCycleTimeoutVal": 30,
    "httpdEnabled": true,
    "javaCompilerPostClassPath": null,
    "keyStores": "DemoIdentityAndDemoTrust",
    "sitConfigRequired": false,
    "defaultTGIOPUser": "guest",
    "use81StyleExecuteQueues": false,
    "uploadDirectoryName": null,
    "tunnelingClientTimeoutSecs": 40,
    "listenThreadStartDelaySecs": 60,
    "tunnelingEnabled": false,
    "listenAddress": null,
    "acceptBacklog": 300,
    "eagerThreadLocalCleanup": false,
    "connectTimeout": 0,
    "transactionSecureChannelName": null,
    "printStackTraceInProduction": false,
    "useFusionForLLR": false,
    "clusterWeight": 100,
    "customTrustKeyStorePassPhrase": null,
    "restartDelaySeconds": 0,
    "transactionLogFilePrefix": ".\/",
    "maxConcurrentLongRunningRequests": 100,
    "customTrustKeyStoreFileName": null,
    "socketReaders": -1,
    "threadPoolPercentSocketReaders": 33,
    "JDBCLoginTimeoutSeconds": 0,
    "customTrustKeyStoreType": null,
    "loginTimeoutMillis": 5000,
    "messageIdPrefixEnabled": true,
    "healthCheckIntervalSeconds": 180,
    "useEnhancedPriorityQueueForRequestManager": false,
    "reverseDNSAllowed": false,
    "periodLength": 60000,
    "socketBufferSizeAsChunkSize": false,
    "JDBCLLRTableName": null,
    "transactionPublicSecureChannelName": null,
    "weblogicPluginEnabled": false,
    "useDetailedThreadName": false,
    "stuckThreadTimerInterval": 60,
    "TGIOPEnabled": true,
    "listenersBindEarly": false,
    "selfTuningThreadPoolSizeMin": 1,
    "JNDITransportableObjectFactoryList": null,
    "NMSocketCreateTimeoutInMillis": 180000,
    "DGCIdlePeriodsUntilTimeout": 5,
    "defaultIIOPUser": null,
    "logRemoteExceptionsEnabled": false,
    "transactionLogFileWritePolicy": "Direct-Write",
    "defaultProtocol": "t3",
    "selfTuningThreadPoolSizeMax": 400,
    "replicationPorts": null,
    "autoRestart": true,
    "extraRmicOptions": null,
    "customIdentityKeyStoreFileName": null,
    "restartMax": 2,
    "replicationGroup": null,
    "defaultIIOPPassword": null,
    "IIOPEnabled": true,
    "maxConcurrentNewThreads": 100,
    "numOfRetriesBeforeMSIMode": 3,
    "JMSDefaultConnectionFactoriesEnabled": true,
    "sitConfigPollingInterval": 5,
    "allowShrinkingPriorityRequestQueue": true,
    "COMEnabled": false,
    "javaCompilerPreClassPath": null,
    "idlePeriodsUntilTimeout": 4,
    "javaCompiler": "javac",
    "cluster": null,
    "reliableDeliveryPolicy": null,
    "machine": null,
    "XMLEntityCache": null,
    "XMLRegistry": null,
    "coherenceClusterSystemResource": null,
    "candidateMachines": [],
    "name": null
}





----------------------------------------------------------------------
Configure a new server template for the cluster
----------------------------------------------------------------------

curl -v \
--user admin:admin123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{
  name:           'ServerTemplate1',
  listenPort:     7100,
  listenAddress: 'localhost',
  machine:        [ 'machines', 'Machine1' ],
  cluster:        [ 'clusters', 'Cluster1' ]
}" \
-X POST http://localhost:7001/management/weblogic/latest/edit/serverTemplates


HTTP/1.1 201 Created

Location: http://localhost:7001/management/weblogic/latest/edit/serverTemplates/ServerTemplate1

Response Body:
{}





----------------------------------------------------------------------
Turn on resource management for the managed servers
----------------------------------------------------------------------

curl -v \
--user admin:admin123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{
  arguments: '-XX:+UseG1GC'
}" \
-X POST http://localhost:7001/management/weblogic/latest/edit/serverTemplates/ServerTemplate1/serverStart


HTTP/1.1 200 OK

Response Body:
{}





----------------------------------------------------------------------
View the new server template
----------------------------------------------------------------------

curl -v \
--user admin:admin123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/weblogic/latest/edit/serverTemplates/ServerTemplate1?links=none


HTTP/1.1 200 OK

Response Body:
{
    "identity": [
        "serverTemplates",
        "ServerTemplate1"
    ],
    "stagingMode": "stage",
    "maxOpenSockCount": -1,
    "interfaceAddress": null,
    "hostsMigratableServices": true,
    "startupTimeout": 0,
    "idleConnectionTimeout": 65,
    "resolveDNSName": false,
    "ignoreSessionsDuringShutdown": false,
    "type": "ServerTemplate",
    "adminReconnectIntervalSeconds": 10,
    "administrationPort": 9002,
    "preferredSecondaryGroup": null,
    "defaultSecureProtocol": "t3s",
    "logCriticalRemoteExceptionsEnabled": false,
    "transactionPublicChannelName": null,
    "id": 0,
    "maxMessageSize": 10000000,
    "completeWriteTimeout": 60,
    "stagingDirectoryName": "\/domains\/mydomain\/servers\/ServerTemplate1\/stage",
    "outboundPrivateKeyEnabled": false,
    "defaultTGIOPPassword": null,
    "cleanupOrphanedSessionsEnabled": false,
    "httpTraceSupportEnabled": false,
    "classpathServletSecureModeEnabled": true,
    "tags": [],
    "useEnhancedIncrementAdvisor": true,
    "completeMessageTimeout": 60,
    "managedServerIndependenceEnabled": true,
    "retryIntervalBeforeMSIMode": 5,
    "nativeIOEnabled": true,
    "startupMode": "RUNNING",
    "externalDNSName": null,
    "JMSConnectionFactoryUnmappedResRefMode": "ReturnDefault",
    "extraEjbcOptions": null,
    "autoMigrationEnabled": false,
    "RMIDeserializationMaxTimeLimit": 0,
    "tunnelingClientPingSecs": 45,
    "instrumentStackTraceEnabled": true,
    "synchronizedSessionTimeoutEnabled": false,
    "dynamicallyCreated": false,
    "customIdentityKeyStorePassPhrase": null,
    "transactionPrimaryChannelName": null,
    "gracefulShutdownTimeout": 0,
    "outboundEnabled": false,
    "javaStandardTrustKeyStorePassPhrase": null,
    "useConcurrentQueueForRequestManager": false,
    "classpathServletDisabled": false,
    "healthCheckStartDelaySeconds": 120,
    "clientCertProxyEnabled": false,
    "defaultInternalServletsDisabled": false,
    "customIdentityKeyStoreType": null,
    "sessionReplicationOnShutdownEnabled": false,
    "restartIntervalSeconds": 3600,
    "notes": null,
    "serverLifeCycleTimeoutVal": 30,
    "httpdEnabled": true,
    "javaCompilerPostClassPath": null,
    "keyStores": "DemoIdentityAndDemoTrust",
    "sitConfigRequired": false,
    "use81StyleExecuteQueues": false,
    "uploadDirectoryName": ".\/servers\/ServerTemplate1\/upload",
    "tunnelingClientTimeoutSecs": 40,
    "listenThreadStartDelaySecs": 60,
    "tunnelingEnabled": false,
    "listenAddress": "localhost",
    "acceptBacklog": 300,
    "listenPortEnabled": true,
    "eagerThreadLocalCleanup": false,
    "connectTimeout": 0,
    "transactionSecureChannelName": null,
    "printStackTraceInProduction": false,
    "scatteredReadsEnabled": false,
    "muxerClass": "weblogic.socket.NIOSocketMuxer",
    "useFusionForLLR": false,
    "clusterWeight": 100,
    "customTrustKeyStorePassPhrase": null,
    "restartDelaySeconds": 0,
    "transactionLogFilePrefix": ".\/",
    "maxConcurrentLongRunningRequests": 100,
    "customTrustKeyStoreFileName": null,
    "socketReaders": -1,
    "threadPoolPercentSocketReaders": 33,
    "JDBCLoginTimeoutSeconds": 0,
    "customTrustKeyStoreType": null,
    "loginTimeoutMillis": 5000,
    "messageIdPrefixEnabled": false,
    "healthCheckIntervalSeconds": 180,
    "useEnhancedPriorityQueueForRequestManager": false,
    "name": "ServerTemplate1",
    "reverseDNSAllowed": false,
    "periodLength": 60000,
    "socketBufferSizeAsChunkSize": false,
    "JDBCLLRTableName": null,
    "transactionPublicSecureChannelName": null,
    "weblogicPluginEnabled": false,
    "useDetailedThreadName": false,
    "stuckThreadTimerInterval": 60,
    "TGIOPEnabled": true,
    "listenersBindEarly": false,
    "selfTuningThreadPoolSizeMin": 1,
    "JNDITransportableObjectFactoryList": [],
    "DGCIdlePeriodsUntilTimeout": 5,
    "defaultIIOPUser": null,
    "logRemoteExceptionsEnabled": false,
    "transactionLogFileWritePolicy": "Direct-Write",
    "gatheredWritesEnabled": false,
    "defaultProtocol": "t3",
    "selfTuningThreadPoolSizeMax": 400,
    "replicationPorts": null,
    "autoRestart": true,
    "extraRmicOptions": null,
    "customIdentityKeyStoreFileName": null,
    "restartMax": 2,
    "replicationGroup": null,
    "defaultIIOPPassword": null,
    "IIOPEnabled": true,
    "virtualThreadEnableOption": "disabled",
    "maxConcurrentNewThreads": 100,
    "numOfRetriesBeforeMSIMode": 3,
    "JMSDefaultConnectionFactoriesEnabled": true,
    "sitConfigPollingInterval": 5,
    "allowShrinkingPriorityRequestQueue": true,
    "addWorkManagerThreadsByCpuCount": false,
    "javaCompilerPreClassPath": null,
    "idlePeriodsUntilTimeout": 4,
    "listenPort": 7100,
    "javaCompiler": "javac",
    "cluster": [
        "clusters",
        "Cluster1"
    ],
    "reliableDeliveryPolicy": null,
    "machine": [
        "machines",
        "Machine1"
    ],
    "XMLEntityCache": null,
    "XMLRegistry": null,
    "coherenceClusterSystemResource": null,
    "candidateMachines": []
}





----------------------------------------------------------------------
View the default values for the cluster's dynamic servers configuration
----------------------------------------------------------------------

curl -v \
--user admin:admin123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/weblogic/latest/edit/clusters/Cluster1/dynamicServers?links=none


HTTP/1.1 200 OK

Response Body:
{
    "identity": [
        "clusters",
        "Cluster1",
        "dynamicServers"
    ],
    "notes": null,
    "serverNameStartingIndex": 1,
    "dynamicClusterSize": 0,
    "machineNameMatchExpression": null,
    "maxDynamicClusterSize": 8,
    "serverNamePrefix": "Cluster1-",
    "ignoreSessionsDuringShutdown": false,
    "type": "DynamicServers",
    "calculatedMachineNames": false,
    "dynamicClusterShutdownTimeoutSeconds": 0,
    "tags": [],
    "waitForAllSessionsDuringShutdown": false,
    "machineMatchExpression": null,
    "dynamicServerNames": [],
    "calculatedListenPorts": true,
    "name": "Cluster1",
    "id": 0,
    "dynamicallyCreated": false,
    "machineMatchType": "name",
    "minDynamicClusterSize": 1,
    "dynamicClusterCooloffPeriodSeconds": 900,
    "serverTemplate": null
}





----------------------------------------------------------------------
Customize the cluster's dynamic servers configuration
----------------------------------------------------------------------

curl -v \
--user admin:admin123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{
  serverTemplate:        [ 'serverTemplates', 'ServerTemplate1' ],
  dynamicClusterSize:    2,
  serverNamePrefix:      'Cluster1Server'
}" \
-X POST http://localhost:7001/management/weblogic/latest/edit/clusters/Cluster1/dynamicServers


HTTP/1.1 200 OK

Response Body:
{}





----------------------------------------------------------------------
View the modified dynamic servers configuration
----------------------------------------------------------------------

curl -v \
--user admin:admin123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/weblogic/latest/edit/clusters/Cluster1/dynamicServers?links=none


HTTP/1.1 200 OK

Response Body:
{
    "identity": [
        "clusters",
        "Cluster1",
        "dynamicServers"
    ],
    "notes": null,
    "serverNameStartingIndex": 1,
    "dynamicClusterSize": 2,
    "machineNameMatchExpression": null,
    "maxDynamicClusterSize": 8,
    "serverNamePrefix": "Cluster1Server",
    "ignoreSessionsDuringShutdown": false,
    "type": "DynamicServers",
    "calculatedMachineNames": false,
    "dynamicClusterShutdownTimeoutSeconds": 0,
    "tags": [],
    "waitForAllSessionsDuringShutdown": false,
    "machineMatchExpression": null,
    "dynamicServerNames": [
        "Cluster1Server1",
        "Cluster1Server2"
    ],
    "calculatedListenPorts": true,
    "name": "Cluster1",
    "id": 0,
    "dynamicallyCreated": false,
    "machineMatchType": "name",
    "minDynamicClusterSize": 1,
    "dynamicClusterCooloffPeriodSeconds": 900,
    "serverTemplate": [
        "serverTemplates",
        "ServerTemplate1"
    ]
}





----------------------------------------------------------------------
Activate the changes
----------------------------------------------------------------------

curl -v \
--user admin:admin123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{}" \
-X POST http://localhost:7001/management/weblogic/latest/edit/changeManager/activate


HTTP/1.1 200 OK

Response Body:
{}





----------------------------------------------------------------------
Synchronously start the managed servers
----------------------------------------------------------------------

curl -v \
--user admin:admin123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X POST http://localhost:7001/management/weblogic/latest/domainRuntime/serverLifeCycleRuntimes/Cluster1Server1/start


HTTP/1.1 200 OK

Response Body:
{
    "links": [{
        "rel": "job",
        "href": "http:\/\/localhost:7001\/management\/weblogic\/latest\/domainRuntime\/serverLifeCycleRuntimes\/Cluster1Server1\/tasks\/_0_start"
    }],
    "identity": [
        "serverLifeCycleRuntimes",
        "Cluster1Server1",
        "tasks",
        "_0_start"
    ],
    "running": false,
    "systemTask": false,
    "endTimeAsLong": 1726603152444,
    "name": "_0_start",
    "progress": "success",
    "description": "Starting Cluster1Server1 server ...",
    "serverName": "Cluster1Server1",
    "taskError": null,
    "startTimeAsLong": 1726603127179,
    "type": "ServerLifeCycleTaskRuntime",
    "operation": "start",
    "taskStatus": "TASK COMPLETED",
    "parentTask": null,
    "completed": true,
    "intervalToPoll": 1000,
    "startTime": "2024-09-17T15:58:47.179-04:00",
    "endTime": "2024-09-17T15:59:12.444-04:00"
}


curl -v \
--user admin:admin123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X POST http://localhost:7001/management/weblogic/latest/domainRuntime/serverLifeCycleRuntimes/Cluster1Server2/start


HTTP/1.1 200 OK

Response Body:
{
    "links": [{
        "rel": "job",
        "href": "http:\/\/localhost:7001\/management\/weblogic\/latest\/domainRuntime\/serverLifeCycleRuntimes\/Cluster1Server2\/tasks\/_1_start"
    }],
    "identity": [
        "serverLifeCycleRuntimes",
        "Cluster1Server2",
        "tasks",
        "_1_start"
    ],
    "running": false,
    "systemTask": false,
    "endTimeAsLong": 1726603174545,
    "name": "_1_start",
    "progress": "success",
    "description": "Starting Cluster1Server2 server ...",
    "serverName": "Cluster1Server2",
    "taskError": null,
    "startTimeAsLong": 1726603154340,
    "type": "ServerLifeCycleTaskRuntime",
    "operation": "start",
    "taskStatus": "TASK COMPLETED",
    "parentTask": null,
    "completed": true,
    "intervalToPoll": 1000,
    "startTime": "2024-09-17T15:59:14.340-04:00",
    "endTime": "2024-09-17T15:59:34.545-04:00"
}





----------------------------------------------------------------------
Verify that the managed servers are running
----------------------------------------------------------------------

curl -v \
--user admin:admin123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/weblogic/latest/domainRuntime/serverLifeCycleRuntimes?links=none


HTTP/1.1 200 OK

Response Body:
{
    "items": [
        {
            "identity": [
                "serverLifeCycleRuntimes",
                "Cluster1Server1"
            ],
            "nodeManagerRestartCount": 0,
            "middlewareHome": "\/Oracle_Home",
            "name": "Cluster1Server1",
            "weblogicHome": "\/Oracle_Home\/wlserver",
            "state": "RUNNING",
            "type": "ServerLifeCycleRuntime"
        },
        {
            "identity": [
                "serverLifeCycleRuntimes",
                "AdminServer"
            ],
            "nodeManagerRestartCount": 0,
            "middlewareHome": "\/Oracle_Home",
            "name": "AdminServer",
            "weblogicHome": "\/Oracle_Home\/wlserver",
            "state": "RUNNING",
            "type": "ServerLifeCycleRuntime"
        },
        {
            "identity": [
                "serverLifeCycleRuntimes",
                "Cluster1Server2"
            ],
            "nodeManagerRestartCount": 0,
            "middlewareHome": "\/Oracle_Home",
            "name": "Cluster1Server2",
            "weblogicHome": "\/Oracle_Home\/wlserver",
            "state": "RUNNING",
            "type": "ServerLifeCycleRuntime"
        }
    ]
}


curl -v \
--user admin:admin123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/weblogic/latest/domainRuntime/serverRuntimes?links=none&fields=name,state


HTTP/1.1 200 OK

Response Body:
{
    "items": [
        {
            "state": "RUNNING",
            "name": "Cluster1Server1"
        },
        {
            "state": "RUNNING",
            "name": "AdminServer"
        },
        {
            "state": "RUNNING",
            "name": "Cluster1Server2"
        }
    ]
}

Configuring System Resources

Review an example script that demonstrates how a Deployer configures JDBC and JMS system resources.

For NoSQL system-resource configuration and management, see Managing NoSQL System Resources.

Note:

To view long URLs, use the scroll bar located beneath the section.

----------------------------------------------------------------------
Demonstrate a domain deployer configuring system resources
----------------------------------------------------------------------




----------------------------------------------------------------------
View the default values for a new global JDBC system resource
----------------------------------------------------------------------

curl -v \
--user deployer:deployer123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/weblogic/latest/edit/JDBCSystemResourceCreateForm?links=none


HTTP/1.1 200 OK

Response Body:
{
    "notes": null,
    "moduleType": null,
    "deploymentPrincipalName": null,
    "compatibilityName": null,
    "deploymentOrder": 100,
    "tags": null,
    "targets": [],
    "name": null,
    "descriptorFileName": null
}





----------------------------------------------------------------------
Start editing
----------------------------------------------------------------------

curl -v \
--user deployer:deployer123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{}" \
-X POST http://localhost:7001/management/weblogic/latest/edit/changeManager/startEdit


HTTP/1.1 200 OK

Response Body:
{}





----------------------------------------------------------------------
Create a new global JDBC system resource and set its name
----------------------------------------------------------------------

curl -v \
--user deployer:deployer123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{
  name: 'JDBCDataSource1',
  targets: [ { identity: [ clusters, 'Cluster1' ] } ]
}" \
-X POST http://localhost:7001/management/weblogic/latest/edit/JDBCSystemResources?saveChanges=false


HTTP/1.1 201 Created

Location: http://localhost:7001/management/weblogic/latest/edit/JDBCSystemResources/JDBCDataSource1

Response Body:
{}


curl -v \
--user deployer:deployer123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{
  name: 'JDBCDataSource1'
}" \
-X POST http://localhost:7001/management/weblogic/latest/edit/JDBCSystemResources/JDBCDataSource1/JDBCResource


HTTP/1.1 200 OK

Response Body:
{}





----------------------------------------------------------------------
Configure the JDBC system resource's JNDI name
----------------------------------------------------------------------

curl -v \
--user deployer:deployer123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{
  JNDINames: [ 'JDBCDataSource1' ]
}" \
-X POST http://localhost:7001/management/weblogic/latest/edit/JDBCSystemResources/JDBCDataSource1/JDBCResource/JDBCDataSourceParams


HTTP/1.1 200 OK

Response Body:
{}





----------------------------------------------------------------------
Configure the JDBC system resource's driver info
----------------------------------------------------------------------

curl -v \
--user deployer:deployer123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{
  driverName: 'org.apache.derby.jdbc.ClientXADataSource',
  url:        'jdbc:derby://localhost:1527/demo'
}" \
-X POST http://localhost:7001/management/weblogic/latest/edit/JDBCSystemResources/JDBCDataSource1/JDBCResource/JDBCDriverParams


HTTP/1.1 200 OK

Response Body:
{}


curl -v \
--user deployer:deployer123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{
  name:  'portNumber',
  value: '1527'
}" \
-X POST http://localhost:7001/management/weblogic/latest/edit/JDBCSystemResources/JDBCDataSource1/JDBCResource/JDBCDriverParams/properties/properties


HTTP/1.1 201 Created

Location: http://localhost:7001/management/weblogic/latest/edit/JDBCSystemResources/JDBCDataSource1/JDBCResource/JDBCDriverParams/properties/properties/portNumber

Response Body:
{}


curl -v \
--user deployer:deployer123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{
  name:  'databaseName',
  value: 'demo;create=true'
}" \
-X POST http://localhost:7001/management/weblogic/latest/edit/JDBCSystemResources/JDBCDataSource1/JDBCResource/JDBCDriverParams/properties/properties


HTTP/1.1 201 Created

Location: http://localhost:7001/management/weblogic/latest/edit/JDBCSystemResources/JDBCDataSource1/JDBCResource/JDBCDriverParams/properties/properties/databaseName

Response Body:
{}


curl -v \
--user deployer:deployer123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{
  name:  'serverName',
  value: 'localhost'
}" \
-X POST http://localhost:7001/management/weblogic/latest/edit/JDBCSystemResources/JDBCDataSource1/JDBCResource/JDBCDriverParams/properties/properties


HTTP/1.1 201 Created

Location: http://localhost:7001/management/weblogic/latest/edit/JDBCSystemResources/JDBCDataSource1/JDBCResource/JDBCDriverParams/properties/properties/serverName

Response Body:
{}





----------------------------------------------------------------------
Activate the changes
----------------------------------------------------------------------

curl -v \
--user deployer:deployer123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{}" \
-X POST http://localhost:7001/management/weblogic/latest/edit/changeManager/activate


HTTP/1.1 200 OK

Response Body:
{}





----------------------------------------------------------------------
View the new JDBC system resource
----------------------------------------------------------------------

curl -v \
--user deployer:deployer123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/weblogic/latest/edit/JDBCSystemResources/JDBCDataSource1?links=none


HTTP/1.1 200 OK

Response Body:
{
    "identity": [
        "JDBCSystemResources",
        "JDBCDataSource1"
    ],
    "notes": null,
    "moduleType": null,
    "deploymentPrincipalName": null,
    "descriptorFileName": "jdbc\/JDBCDataSource1-6865-jdbc.xml",
    "name": "JDBCDataSource1",
    "compatibilityName": null,
    "id": 0,
    "deploymentOrder": 100,
    "dynamicallyCreated": false,
    "type": "JDBCSystemResource",
    "sourcePath": ".\/config\/jdbc\/JDBCDataSource1-6865-jdbc.xml",
    "tags": [],
    "resource": [
        "JDBCSystemResources",
        "JDBCDataSource1",
        "JDBCResource"
    ],
    "targets": [{
        "identity": [
            "clusters",
            "Cluster1"
        ]
    }]
}


curl -v \
--user deployer:deployer123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/weblogic/latest/edit/JDBCSystemResources/JDBCDataSource1/JDBCResource?links=none


HTTP/1.1 200 OK

Response Body:
{
    "identity": [
        "JDBCSystemResources",
        "JDBCDataSource1",
        "JDBCResource"
    ],
    "datasourceType": null,
    "name": "JDBCDataSource1",
    "id": 0,
    "version": null
}


curl -v \
--user deployer:deployer123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/weblogic/latest/edit/JDBCSystemResources/JDBCDataSource1/JDBCResource/JDBCDataSourceParams?links=none


HTTP/1.1 200 OK

Response Body:
{
    "identity": [
        "JDBCSystemResources",
        "JDBCDataSource1",
        "JDBCResource",
        "JDBCDataSourceParams"
    ],
    "connectionPoolFailoverCallbackHandler": null,
    "globalTransactionsProtocol": "OnePhaseCommit",
    "algorithmType": "Failover",
    "scope": "Global",
    "failoverRequestIfBusy": false,
    "proxySwitchingCallback": null,
    "JNDINames": ["JDBCDataSource1"],
    "proxySwitchingProperties": null,
    "dataSourceList": null,
    "keepConnAfterGlobalTx": false
}


curl -v \
--user deployer:deployer123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/weblogic/latest/edit/JDBCSystemResources/JDBCDataSource1/JDBCResource/JDBCDriverParams?links=none


HTTP/1.1 200 OK

Response Body:
{
    "identity": [
        "JDBCSystemResources",
        "JDBCDataSource1",
        "JDBCResource",
        "JDBCDriverParams"
    ],
    "password": null,
    "driverName": "org.apache.derby.jdbc.ClientXADataSource",
    "usePasswordIndirection": false,
    "url": "jdbc:derby:\/\/localhost:1527\/demo",
    "useXaDataSourceInterface": true
}


curl -v \
--user deployer:deployer123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/weblogic/latest/edit/JDBCSystemResources/JDBCDataSource1/JDBCResource/JDBCDriverParams/properties/properties?links=none


HTTP/1.1 200 OK

Response Body:
{
    "items": [
        {
            "identity": [
                "JDBCSystemResources",
                "JDBCDataSource1",
                "JDBCResource",
                "JDBCDriverParams",
                "properties",
                "properties",
                "portNumber"
            ],
            "encryptedValue": null,
            "name": "portNumber",
            "sysPropValue": null,
            "value": "1527"
        },
        {
            "identity": [
                "JDBCSystemResources",
                "JDBCDataSource1",
                "JDBCResource",
                "JDBCDriverParams",
                "properties",
                "properties",
                "databaseName"
            ],
            "encryptedValue": null,
            "name": "databaseName",
            "sysPropValue": null,
            "value": "demo;create=true"
        },
        {
            "identity": [
                "JDBCSystemResources",
                "JDBCDataSource1",
                "JDBCResource",
                "JDBCDriverParams",
                "properties",
                "properties",
                "serverName"
            ],
            "encryptedValue": null,
            "name": "serverName",
            "sysPropValue": null,
            "value": "localhost"
        }
    ]
}





----------------------------------------------------------------------
Search for all of the new JDBC data source's runtimes
----------------------------------------------------------------------

curl -v \
--user deployer:deployer123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{
  links: [], fields: [],
  children: {
    serverRuntimes: {
      links: [], fields: [ 'name' ],
      children: {
        JDBCServiceRuntime: {
          links: [], fields: [ 'name' ],
          children: {
            JDBCDataSourceRuntimeMBeans : {
              links: [], fields: [ 'name', 'state' ],
              name: [ 'JDBCDataSource1' ]
            }
          }
        }
      }
    }
  }
}" \
-X POST http://localhost:7001/management/weblogic/latest/domainRuntime/search


HTTP/1.1 200 OK

Response Body:
{
    "serverRuntimes": {
        "items": [
            {
                "name": "Cluster1Server1",
                "JDBCServiceRuntime": {
                    "name": "Cluster1Server1",
                    "JDBCDataSourceRuntimeMBeans": {
                        "items": [{
                            "state": "Running",
                            "name": "JDBCDataSource1"
                        }]
                    }
                }
            },
            {
                "name": "AdminServer",
                "JDBCServiceRuntime": {
                    "name": "AdminServer",
                    "JDBCDataSourceRuntimeMBeans": {
                        "items": []
                    }
                }
            },
            {
                "name": "Cluster1Server2",
                "JDBCServiceRuntime": {
                    "name": "Cluster1Server2",
                    "JDBCDataSourceRuntimeMBeans": {
                        "items": [{
                            "state": "Running",
                            "name": "JDBCDataSource1"
                        }]
                    }
                }
            }
        ]
    }
}





----------------------------------------------------------------------
Start editing
----------------------------------------------------------------------

curl -v \
--user deployer:deployer123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{}" \
-X POST http://localhost:7001/management/weblogic/latest/edit/changeManager/startEdit


HTTP/1.1 200 OK

Response Body:
{}





----------------------------------------------------------------------
View the default values for a new global JMS file store
----------------------------------------------------------------------

curl -v \
--user deployer:deployer123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/weblogic/latest/edit/fileStoreCreateForm?links=none


HTTP/1.1 200 OK

Response Body:
{
    "notes": null,
    "fileLockingEnabled": true,
    "distributionPolicy": "Distributed",
    "partialClusterStabilityDelaySeconds": 240,
    "deploymentOrder": 1000,
    "directory": null,
    "initialBootDelaySeconds": 60,
    "ioBufferSize": -1,
    "minWindowBufferSize": -1,
    "failbackDelaySeconds": -1,
    "cacheDirectory": null,
    "numberOfRestartAttempts": 6,
    "initialSize": 0,
    "rebalanceEnabled": false,
    "logicalName": null,
    "maxFileSize": 1342177280,
    "synchronousWritePolicy": "Direct-Write",
    "blockSize": -1,
    "tags": null,
    "maxWindowBufferSize": -1,
    "migrationPolicy": "Off",
    "secondsBetweenRestarts": 30,
    "failOverLimit": -1,
    "targets": [],
    "name": null
}





----------------------------------------------------------------------
Create a new global file store
----------------------------------------------------------------------

curl -v \
--user deployer:deployer123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{
  name:               'FileStore1',
  targets:            [ { identity: [ 'clusters', 'Cluster1' ] } ]
}" \
-X POST http://localhost:7001/management/weblogic/latest/edit/fileStores


HTTP/1.1 201 Created

Location: http://localhost:7001/management/weblogic/latest/edit/fileStores/FileStore1

Response Body:
{}





----------------------------------------------------------------------
View the default values for a new global JMS server
----------------------------------------------------------------------

curl -v \
--user deployer:deployer123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/weblogic/latest/edit/JMSServerCreateForm?links=none


HTTP/1.1 200 OK

Response Body:
{
    "messagesThresholdHigh": -1,
    "hostingTemporaryDestinations": true,
    "temporaryTemplateName": null,
    "notes": null,
    "maximumMessageSize": 2147483647,
    "allowsPersistentDowngrade": false,
    "storeMessageCompressionEnabled": false,
    "deploymentOrder": 1000,
    "pagingMessageCompressionEnabled": false,
    "messageBufferSize": -1,
    "bytesThresholdLow": -1,
    "expirationScanInterval": 30,
    "messagesThresholdLow": -1,
    "blockingSendPolicy": "FIFO",
    "pagingBlockSize": -1,
    "insertionPausedAtStartup": "default",
    "pagingMaxWindowBufferSize": -1,
    "bytesThresholdHigh": -1,
    "pagingMaxFileSize": 1342177280,
    "productionPausedAtStartup": "default",
    "pagingFileLockingEnabled": true,
    "tags": null,
    "bytesMaximum": -1,
    "temporaryTemplateResource": null,
    "messageCompressionOptions": "GZIP_DEFAULT_COMPRESSION",
    "pagingMinWindowBufferSize": -1,
    "pagingIoBufferSize": -1,
    "messagesMaximum": -1,
    "consumptionPausedAtStartup": "default",
    "storeEnabled": true,
    "pagingDirectory": null,
    "persistentStore": null,
    "targets": [],
    "name": null
}





----------------------------------------------------------------------
Create a new global JMS server and hook it up to the cluster and file store
----------------------------------------------------------------------

curl -v \
--user deployer:deployer123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{
  name:            'JMSServer1',
  messagesMaximum: 10000,
  bytesMaximum:    10000000,
  targets:         [ { identity: [ 'clusters', 'Cluster1' ] } ],
  persistentStore: [ 'fileStores', 'FileStore1' ]
}" \
-X POST http://localhost:7001/management/weblogic/latest/edit/JMSServers


HTTP/1.1 201 Created

Location: http://localhost:7001/management/weblogic/latest/edit/JMSServers/JMSServer1

Response Body:
{}





----------------------------------------------------------------------
View the default values for a new global JMS system resource
----------------------------------------------------------------------

curl -v \
--user deployer:deployer123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/weblogic/latest/edit/JMSSystemResourceCreateForm?links=none


HTTP/1.1 200 OK

Response Body:
{
    "notes": null,
    "moduleType": null,
    "deploymentPrincipalName": null,
    "compatibilityName": null,
    "deploymentOrder": 100,
    "tags": null,
    "targets": [],
    "name": null,
    "descriptorFileName": null
}





----------------------------------------------------------------------
Create a new global JMS system resource and hook it up to the cluster
----------------------------------------------------------------------

curl -v \
--user deployer:deployer123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{
  name:    'JMSSystemResource1',
  targets: [ { identity: [ 'clusters', 'Cluster1' ] } ]
}" \
-X POST http://localhost:7001/management/weblogic/latest/edit/JMSSystemResources


HTTP/1.1 201 Created

Location: http://localhost:7001/management/weblogic/latest/edit/JMSSystemResources/JMSSystemResource1

Response Body:
{}





----------------------------------------------------------------------
View the default values for a new JMS subdeployment
----------------------------------------------------------------------

curl -v \
--user deployer:deployer123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/weblogic/latest/edit/JMSSystemResources/JMSSystemResource1/subDeploymentCreateForm?links=none


HTTP/1.1 200 OK

Response Body:
{
    "notes": null,
    "moduleType": null,
    "compatibilityName": null,
    "untargeted": false,
    "tags": null,
    "targets": [],
    "name": null
}





----------------------------------------------------------------------
Create a new JMS subdeployment and hook it up to the JMS server
----------------------------------------------------------------------

curl -v \
--user deployer:deployer123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{
  name:    'JMSSubDeployment1',
  targets: [ { identity: [ 'JMSServers', 'JMSServer1' ] } ]
}" \
-X POST http://localhost:7001/management/weblogic/latest/edit/JMSSystemResources/JMSSystemResource1/subDeployments


HTTP/1.1 201 Created

Location: http://localhost:7001/management/weblogic/latest/edit/JMSSystemResources/JMSSystemResource1/subDeployments/JMSSubDeployment1

Response Body:
{}





----------------------------------------------------------------------
View the default values for a new JMS connection factory
----------------------------------------------------------------------

curl -v \
--user deployer:deployer123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/weblogic/latest/edit/JMSSystemResources/JMSSystemResource1/JMSResource/connectionFactoryCreateForm?links=none


HTTP/1.1 200 OK

Response Body:
{
    "notes": null,
    "JNDIName": null,
    "defaultTargetingEnabled": false,
    "localJNDIName": null,
    "name": null
}





----------------------------------------------------------------------
Create a new JMS connection factory and hook it up to the JMS subdeployment
----------------------------------------------------------------------

curl -v \
--user deployer:deployer123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{
  name:              'ConnectionFactory1',
  subDeploymentName: 'JMSSubDeployment1'
}" \
-X POST http://localhost:7001/management/weblogic/latest/edit/JMSSystemResources/JMSSystemResource1/JMSResource/connectionFactories


HTTP/1.1 201 Created

Location: http://localhost:7001/management/weblogic/latest/edit/JMSSystemResources/JMSSystemResource1/JMSResource/connectionFactories/ConnectionFactory1

Response Body:
{}





----------------------------------------------------------------------
View the default values for a new JMS distributed queue
----------------------------------------------------------------------

curl -v \
--user deployer:deployer123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/weblogic/latest/edit/JMSSystemResources/JMSSystemResource1/JMSResource/uniformDistributedQueueCreateForm?links=none


HTTP/1.1 200 OK

Response Body:
{
    "notes": null,
    "JNDIName": null,
    "unitOfOrderRouting": "Hash",
    "resetDeliveryCountOnForward": true,
    "defaultUnitOfOrder": false,
    "defaultTargetingEnabled": false,
    "incompleteWorkExpirationTime": -1,
    "loadBalancingPolicy": "Round-Robin",
    "forwardDelay": -1,
    "JMSCreateDestinationIdentifier": null,
    "localJNDIName": null,
    "template": null,
    "quota": null,
    "name": null
}





----------------------------------------------------------------------
Create a new JMS uniform distributed queue and hook it up to the JMS subdeployment
----------------------------------------------------------------------

curl -v \
--user deployer:deployer123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{
  name:              'UniformDistributedQueue1',
  subDeploymentName: 'JMSSubDeployment1'
}" \
-X POST http://localhost:7001/management/weblogic/latest/edit/JMSSystemResources/JMSSystemResource1/JMSResource/uniformDistributedQueues


HTTP/1.1 201 Created

Location: http://localhost:7001/management/weblogic/latest/edit/JMSSystemResources/JMSSystemResource1/JMSResource/uniformDistributedQueues/UniformDistributedQueue1

Response Body:
{}





----------------------------------------------------------------------
Activate the changes
----------------------------------------------------------------------

curl -v \
--user deployer:deployer123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{}" \
-X POST http://localhost:7001/management/weblogic/latest/edit/changeManager/activate


HTTP/1.1 200 OK

Response Body:
{}





----------------------------------------------------------------------
View the file stores
----------------------------------------------------------------------

curl -v \
--user deployer:deployer123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/weblogic/latest/edit/fileStores?links=none


HTTP/1.1 200 OK

Response Body:
{
    "items": [{
        "identity": [
            "fileStores",
            "FileStore1"
        ],
        "notes": null,
        "fileLockingEnabled": true,
        "distributionPolicy": "Distributed",
        "partialClusterStabilityDelaySeconds": 240,
        "deploymentOrder": 1000,
        "type": "FileStore",
        "directory": null,
        "initialBootDelaySeconds": 60,
        "ioBufferSize": -1,
        "minWindowBufferSize": -1,
        "failbackDelaySeconds": -1,
        "cacheDirectory": null,
        "id": 0,
        "dynamicallyCreated": false,
        "XAResourceName": null,
        "numberOfRestartAttempts": 6,
        "initialSize": 0,
        "rebalanceEnabled": false,
        "logicalName": null,
        "maxFileSize": 1342177280,
        "synchronousWritePolicy": "Direct-Write",
        "blockSize": -1,
        "tags": [],
        "maxWindowBufferSize": -1,
        "name": "FileStore1",
        "migrationPolicy": "Off",
        "secondsBetweenRestarts": 30,
        "restartInPlace": false,
        "failOverLimit": -1,
        "targets": [{
            "identity": [
                "clusters",
                "Cluster1"
            ]
        }]
    }]
}





----------------------------------------------------------------------
View the JMS servers
----------------------------------------------------------------------

curl -v \
--user deployer:deployer123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/weblogic/latest/edit/JMSServers?links=none


HTTP/1.1 200 OK

Response Body:
{
    "items": [{
        "identity": [
            "JMSServers",
            "JMSServer1"
        ],
        "messagesThresholdHigh": -1,
        "hostingTemporaryDestinations": true,
        "temporaryTemplateName": null,
        "notes": null,
        "maximumMessageSize": 2147483647,
        "allowsPersistentDowngrade": false,
        "storeMessageCompressionEnabled": false,
        "deploymentOrder": 1000,
        "type": "JMSServer",
        "pagingMessageCompressionEnabled": false,
        "messageBufferSize": -1,
        "bytesThresholdLow": -1,
        "expirationScanInterval": 30,
        "messagesThresholdLow": -1,
        "blockingSendPolicy": "FIFO",
        "id": 0,
        "dynamicallyCreated": false,
        "pagingBlockSize": -1,
        "insertionPausedAtStartup": "default",
        "pagingMaxWindowBufferSize": -1,
        "bytesThresholdHigh": -1,
        "pagingMaxFileSize": 1342177280,
        "productionPausedAtStartup": "default",
        "pagingFileLockingEnabled": true,
        "tags": [],
        "bytesMaximum": 10000000,
        "temporaryTemplateResource": null,
        "messageCompressionOptions": "GZIP_DEFAULT_COMPRESSION",
        "pagingMinWindowBufferSize": -1,
        "pagingIoBufferSize": -1,
        "messagesMaximum": 10000,
        "name": "JMSServer1",
        "consumptionPausedAtStartup": "default",
        "storeEnabled": true,
        "pagingDirectory": null,
        "persistentStore": [
            "fileStores",
            "FileStore1"
        ],
        "targets": [{
            "identity": [
                "clusters",
                "Cluster1"
            ]
        }]
    }]
}





----------------------------------------------------------------------
View the JMS system resources and their children
----------------------------------------------------------------------

curl -v \
--user deployer:deployer123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{
  links: [], fields: [],
  children: {
    JMSSystemResources: {
      links: [],
      children: {
        JMSResource: {
          links: [], fields: [],
          children: {
            connectionFactories: {
              links: []
            },
            distributedQueues: {
              links: []
            },
          }
        },
        subDeployments: {
          links: []
        }
      }
    }
  }
}" \
-X POST http://localhost:7001/management/weblogic/latest/edit/search


HTTP/1.1 200 OK

Response Body:
{
    "JMSSystemResources": {
        "items": [{
            "identity": [
                "JMSSystemResources",
                "JMSSystemResource1"
            ],
            "notes": null,
            "moduleType": null,
            "deploymentPrincipalName": null,
            "descriptorFileName": "jms\/jmssystemresource1-jms.xml",
            "name": "JMSSystemResource1",
            "compatibilityName": null,
            "id": 0,
            "deploymentOrder": 100,
            "dynamicallyCreated": false,
            "type": "JMSSystemResource",
            "sourcePath": ".\/config\/jms\/jmssystemresource1-jms.xml",
            "tags": [],
            "resource": [
                "JMSSystemResources",
                "JMSSystemResource1",
                "JMSResource"
            ],
            "targets": [{
                "identity": [
                    "clusters",
                    "Cluster1"
                ]
            }],
            "subDeployments": {
                "items": [{
                    "identity": [
                        "JMSSystemResources",
                        "JMSSystemResource1",
                        "subDeployments",
                        "JMSSubDeployment1"
                    ],
                    "notes": null,
                    "moduleType": null,
                    "name": "JMSSubDeployment1",
                    "compatibilityName": null,
                    "untargeted": false,
                    "id": 0,
                    "dynamicallyCreated": false,
                    "type": "SubDeployment",
                    "tags": [],
                    "targets": [{
                        "identity": [
                            "JMSServers",
                            "JMSServer1"
                        ]
                    }]
                }]
            },
            "JMSResource": {
                "connectionFactories": {
                    "items": [{
                        "identity": [
                            "JMSSystemResources",
                            "JMSSystemResource1",
                            "JMSResource",
                            "connectionFactories",
                            "ConnectionFactory1"
                        ],
                        "notes": null,
                        "JNDIName": null,
                        "defaultTargetingEnabled": false,
                        "name": "ConnectionFactory1",
                        "subDeploymentName": "JMSSubDeployment1",
                        "id": 0,
                        "localJNDIName": null
                    }]
                }
            }
        }]
    }
}





----------------------------------------------------------------------
Search for all of the JMS related runtimes
----------------------------------------------------------------------

curl -v \
--user deployer:deployer123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{
  links: [], fields: [],
  children: {
    serverRuntimes: {
      links: [], fields: [ 'name' ],
      children: {
        JMSRuntime: {
          links: [], fields: [ 'name', 'healthState' ],
          children: {
            JMSServers: {
              links: [], fields: [ 'name', 'healthState' ],
              children: {
                destinations: {
                  links: [], fields: [ 'name', 'state' ],
                }
              }
            }
          }
        }
      }
    }
  }
}" \
-X POST http://localhost:7001/management/weblogic/latest/domainRuntime/search


HTTP/1.1 200 OK

Response Body:
{
    "serverRuntimes": {
        "items": [
            {
                "name": "Cluster1Server1",
                "JMSRuntime": {
                    "healthState": {
                        "state": "ok",
                        "subsystemName": null,
                        "symptoms": []
                    },
                    "name": "Cluster1Server1.jms",
                    "JMSServers": {
                        "items": [{
                            "healthState": {
                                "state": "ok",
                                "subsystemName": "JMSServer.JMSServer1@Cluster1Server1",
                                "symptoms": []
                            },
                            "name": "JMSServer1@Cluster1Server1",
                            "destinations": {
                                "items": [{
                                    "state": "started",
                                    "name": "JMSSystemResource1!JMSServer1@Cluster1Server1@UniformDistributedQueue1"
                                }]
                            }
                        }]
                    }
                }
            },
            {
                "name": "AdminServer",
                "JMSRuntime": {
                    "healthState": {
                        "state": "ok",
                        "subsystemName": null,
                        "symptoms": []
                    },
                    "name": "AdminServer.jms",
                    "JMSServers": {
                        "items": []
                    }
                }
            },
            {
                "name": "Cluster1Server2",
                "JMSRuntime": {
                    "healthState": {
                        "state": "ok",
                        "subsystemName": null,
                        "symptoms": []
                    },
                    "name": "Cluster1Server2.jms",
                    "JMSServers": {
                        "items": [{
                            "healthState": {
                                "state": "ok",
                                "subsystemName": "JMSServer.JMSServer1@Cluster1Server2",
                                "symptoms": []
                            },
                            "name": "JMSServer1@Cluster1Server2",
                            "destinations": {
                                "items": [{
                                    "state": "started",
                                    "name": "JMSSystemResource1!JMSServer1@Cluster1Server2@UniformDistributedQueue1"
                                }]
                            }
                        }]
                    }
                }
            }
        ]
    }
}

Managing NoSQL System Resources

Use the management REST API to configure and manage NoSQL system resources.

The management REST API exposes NoSQL system-resource configuration, nested descriptor properties, targets, and server-local runtimes. Use the API version and resource links supported by the connected server.

For discovery, creation, provider/type/JNDI/default settings, protected properties, targeting, activation, inspection, update, and removal, see Manage a Resource with REST in Administering NoSQL Resources for Oracle WebLogic Server.

Use the generated REST API reference for exact endpoints, JSON fields, actions, and response/task representations. Successful configuration responses and activation tasks do not establish live database connectivity; provider construction is lazy.

Distinguish request validation, edit/activation failure, provider construction failure, authorization denial, and terminal application invalidation. Use the documented response/task contract rather than interpreting every failure as a connection error. For recovery, see Update a Resource and Recover Applications in Administering NoSQL Resources for Oracle WebLogic Server.

Inspect every relevant target server's NoSQL runtime. State, creation/failure/closure counts, and timestamps are server-local lifecycle information. See Monitoring NoSQL System Resources.

Protect request construction, client logs, response capture, and diagnostic bundles from credential disclosure. Target assignment and JNDI mappings do not authorize the application caller.

Use the general request, edit-session, activation, and error-handling procedures in this guide when managing NoSQL resources. See Modifying the WLS Configuration and Encrypted Properties.

Deploying Domain-Scoped Applications

Review an example script that demonstrates how a Deployer deploys domain-scoped applications and uploads exploded applications and Application Installation Directories.

Note:

To view long URLs, use the scroll bar located beneath the section.

----------------------------------------------------------------------
Demonstrate a domain deployer deploying apps
----------------------------------------------------------------------




----------------------------------------------------------------------
Synchronously deploy a domain-scoped server-side application to the cluster
----------------------------------------------------------------------

curl -v \
--user deployer:deployer123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{
  name:       'fairShare',
  sourcePath: '/deployments/fairShare.war',
  targets:    [ { identity: [ 'clusters', 'Cluster1' ] } ]
}" \
-X POST http://localhost:7001/management/weblogic/latest/edit/appDeployments


HTTP/1.1 201 Created

Location: http://localhost:7001/management/weblogic/latest/edit/appDeployments/fairShare

Response Body:
{
    "links": [{
        "rel": "job",
        "href": "http:\/\/localhost:7001\/management\/weblogic\/latest\/domainRuntime\/deploymentManager\/deploymentProgressObjects\/fairShare"
    }],
    "identity": [
        "deploymentManager",
        "deploymentProgressObjects",
        "fairShare"
    ],
    "rootExceptions": [],
    "endTimeAsLong": 1754486844954,
    "deploymentMessages": [
        "[Deployer:149191]Operation \"deploy\" on application \"fairShare\" is initializing on \"Cluster1Server2\".",
        "[Deployer:149191]Operation \"deploy\" on application \"fairShare\" is initializing on \"Cluster1Server1\".",
        "[Deployer:149192]Operation \"deploy\" on application \"fairShare\" is in progress on \"Cluster1Server1\".",
        "[Deployer:149192]Operation \"deploy\" on application \"fairShare\" is in progress on \"Cluster1Server2\".",
        "[Deployer:149194]Operation \"deploy\" on application \"fairShare\" has succeeded on \"Cluster1Server1\".",
        "[Deployer:149194]Operation \"deploy\" on application \"fairShare\" has succeeded on \"Cluster1Server2\"."
    ],
    "name": "fairShare",
    "operationType": 3,
    "startTimeAsLong": 1754486838760,
    "state": "STATE_COMPLETED",
    "id": "0",
    "type": "DeploymentProgressObject",
    "targets": ["Cluster1"],
    "applicationName": "fairShare",
    "failedTargets": [],
    "progress": "success",
    "completed": true,
    "intervalToPoll": 1000,
    "startTime": "2025-08-06T09:27:18.760-04:00",
    "endTime": "2025-08-06T09:27:24.954-04:00"
}





----------------------------------------------------------------------
Asynchronously upload a domain-scoped application from the client and deploy it to the cluster
----------------------------------------------------------------------

curl -v \
--user deployer:deployer123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:multipart/form-data \
-F "model={
  name:    'basicapp',
  targets: [ { identity: [ 'clusters' , 'Cluster1' ] } ]
}" \
-F "sourcePath=@/deployments/BasicApp/app/BasicApp.ear" \
-F "planPath=@/deployments/BasicApp/plan/Plan.xml" \
-H "Prefer:respond-async" \
-X POST http://localhost:7001/management/weblogic/latest/edit/appDeployments


HTTP/1.1 202 Accepted

Location: http://localhost:7001/management/weblogic/latest/domainRuntime/deploymentManager/deploymentProgressObjects/basicapp

Response Body:
{
    "links": [{
        "rel": "job",
        "href": "http:\/\/localhost:7001\/management\/weblogic\/latest\/domainRuntime\/deploymentManager\/deploymentProgressObjects\/basicapp"
    }],
    "identity": [
        "deploymentManager",
        "deploymentProgressObjects",
        "basicapp"
    ],
    "rootExceptions": [],
    "deploymentMessages": [],
    "name": "basicapp",
    "operationType": 3,
    "startTimeAsLong": 1754486845421,
    "state": "STATE_RUNNING",
    "id": "1",
    "type": "DeploymentProgressObject",
    "targets": ["Cluster1"],
    "applicationName": "basicapp",
    "failedTargets": [],
    "progress": "processing",
    "completed": false,
    "intervalToPoll": 1000,
    "startTime": "2025-08-06T09:27:25.421-04:00"
}





----------------------------------------------------------------------
Get status for job domainRuntime/deploymentManager/deploymentProgressObjects/basicapp
----------------------------------------------------------------------

curl -v \
--user deployer:deployer123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/weblogic/latest/domainRuntime/deploymentManager/deploymentProgressObjects/basicapp?links=none


HTTP/1.1 200 OK

Response Body:
{
    "identity": [
        "deploymentManager",
        "deploymentProgressObjects",
        "basicapp"
    ],
    "rootExceptions": [],
    "deploymentMessages": [
        "[Deployer:149191]Operation \"deploy\" on application \"basicapp\" is initializing on \"Cluster1Server1\".",
        "[Deployer:149191]Operation \"deploy\" on application \"basicapp\" is initializing on \"Cluster1Server2\"."
    ],
    "name": "basicapp",
    "operationType": 3,
    "startTimeAsLong": 1754486845421,
    "state": "STATE_RUNNING",
    "id": "1",
    "type": "DeploymentProgressObject",
    "targets": ["Cluster1"],
    "applicationName": "basicapp",
    "failedTargets": [],
    "progress": "processing",
    "completed": false,
    "intervalToPoll": 1000,
    "startTime": "2025-08-06T09:27:25.421-04:00"
}





----------------------------------------------------------------------
Get status for job domainRuntime/deploymentManager/deploymentProgressObjects/basicapp
----------------------------------------------------------------------

curl -v \
--user deployer:deployer123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/weblogic/latest/domainRuntime/deploymentManager/deploymentProgressObjects/basicapp?links=none


HTTP/1.1 200 OK

Response Body:
{
    "identity": [
        "deploymentManager",
        "deploymentProgressObjects",
        "basicapp"
    ],
    "rootExceptions": [],
    "endTimeAsLong": 1754486846343,
    "deploymentMessages": [
        "[Deployer:149191]Operation \"deploy\" on application \"basicapp\" is initializing on \"Cluster1Server1\".",
        "[Deployer:149191]Operation \"deploy\" on application \"basicapp\" is initializing on \"Cluster1Server2\".",
        "[Deployer:149191]Operation \"deploy\" on application \"basicapp\" is initializing on \"Cluster1Server1\".",
        "[Deployer:149191]Operation \"deploy\" on application \"basicapp\" is initializing on \"Cluster1Server2\".",
        "[Deployer:149192]Operation \"deploy\" on application \"basicapp\" is in progress on \"Cluster1Server1\".",
        "[Deployer:149192]Operation \"deploy\" on application \"basicapp\" is in progress on \"Cluster1Server2\".",
        "[Deployer:149194]Operation \"deploy\" on application \"basicapp\" has succeeded on \"Cluster1Server1\".",
        "[Deployer:149194]Operation \"deploy\" on application \"basicapp\" has succeeded on \"Cluster1Server2\"."
    ],
    "name": "basicapp",
    "operationType": 3,
    "startTimeAsLong": 1754486845421,
    "state": "STATE_COMPLETED",
    "id": "1",
    "type": "DeploymentProgressObject",
    "targets": ["Cluster1"],
    "applicationName": "basicapp",
    "failedTargets": [],
    "progress": "success",
    "completed": true,
    "intervalToPoll": 1000,
    "startTime": "2025-08-06T09:27:25.421-04:00",
    "endTime": "2025-08-06T09:27:26.343-04:00"
}






Upload exploded applications and Application Installation Directories

To upload an exploded application or an Application Installation Directory from a REST client, first package the directory tree as a ZIP transport bundle. Send the ZIP in a multipart part named sourceBundle, and send a strict JSON model part that identifies the application within the ZIP. Every bundle model requires bundle.layout, a nonempty relative bundle.applicationPath, and an explicit bundle.planPath whose value is a relative path or JSON null. Set bundle.layout to exploded when applicationPath selects an application directory; a single dot can select the ZIP root. Set bundle.layout to installation when applicationPath selects an archive or directory from an Application Installation Directory tree. Bundle selector paths are relative to the ZIP root and use forward slashes. The service does not guess a plan. Do not combine sourceBundle with sourcePath or with a separate planPath multipart part. For all properties, constraints, responses, and redeployment support, see the App Deployments collection POST upload operation (POST /management/weblogic/{version}/edit/appDeployments) and the App Deployment redeploy POST upload operation (POST /management/weblogic/{version}/edit/appDeployments/{application-name}/redeploy) in RESTful Edit Reference for Oracle WebLogic Server.

An exploded WAR bundle whose ZIP root contains orders.war/WEB-INF/... can be uploaded as follows:

curl -v \
  --user deployer:deployer123 \
  -H 'X-Requested-By: MyClient' \
  -H 'Accept: application/json' \
  -H 'Prefer: respond-async' \
  -F 'model={"name":"ordersExploded","targets":[{"identity":["clusters","Cluster1"]}],"bundle":{"layout":"exploded","applicationPath":"orders.war","planPath":null}};type=application/json' \
  -F 'sourceBundle=@/deployments/orders-exploded.zip;type=application/zip' \
  -X POST http://localhost:7001/management/weblogic/latest/edit/appDeployments

For an Application Installation Directory ZIP containing app/orders.ear, plan/Plan.xml, and the plan’s supporting files, use explicit selectors for both the application and plan:

curl -v \
  --user deployer:deployer123 \
  -H 'X-Requested-By: MyClient' \
  -H 'Accept: application/json' \
  -H 'Prefer: respond-async' \
  -F 'model={"name":"ordersInstalled","targets":[{"identity":["clusters","Cluster1"]}],"bundle":{"layout":"installation","applicationPath":"app/orders.ear","planPath":"plan/Plan.xml"}};type=application/json' \
  -F 'sourceBundle=@/deployments/orders-installation.zip;type=application/zip' \
  -X POST http://localhost:7001/management/weblogic/latest/edit/appDeployments

Both requests use the same asynchronous response and deployment-progress polling sequence shown for basicapp. The outer sourceBundle must be a ZIP file even when the selected application is exploded.

----------------------------------------------------------------------
View the new applications' configurations
----------------------------------------------------------------------

curl -v \
--user deployer:deployer123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/weblogic/latest/edit/appDeployments/fairShare?links=none


HTTP/1.1 200 OK

Response Body:
{
    "identity": [
        "appDeployments",
        "fairShare"
    ],
    "stagingMode": null,
    "absoluteSourcePath": "\/deployments\/fairShare.war",
    "notes": null,
    "absoluteAltDescriptorPath": null,
    "deploymentOrder": 100,
    "type": "AppDeployment",
    "installDir": null,
    "id": 0,
    "altDescriptorDir": null,
    "dynamicallyCreated": false,
    "sourcePath": "\/deployments\/fairShare.war",
    "applicationName": "fairShare",
    "absoluteAltDescriptorDir": null,
    "moduleType": "war",
    "planStagingMode": null,
    "cacheInAppDirectory": false,
    "absoluteInstallDir": null,
    "compatibilityName": null,
    "absolutePlanPath": null,
    "untargeted": false,
    "planDir": null,
    "validateDDSecurityData": false,
    "applicationIdentifier": "fairShare",
    "tags": [],
    "planPath": null,
    "versionIdentifier": null,
    "deploymentPrincipalName": null,
    "absolutePlanDir": null,
    "name": "fairShare",
    "parallelDeployModules": false,
    "securityDDModel": "DDOnly",
    "targets": [{
        "identity": [
            "clusters",
            "Cluster1"
        ]
    }]
}


curl -v \
--user deployer:deployer123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/weblogic/latest/edit/appDeployments/basicapp?links=none


HTTP/1.1 200 OK

Response Body:
{
    "identity": [
        "appDeployments",
        "basicapp"
    ],
    "stagingMode": null,
    "absoluteSourcePath": "\/domains\/mydomain\/servers\/AdminServer\/upload\/basicapp\/app\/BasicApp.ear",
    "notes": null,
    "absoluteAltDescriptorPath": null,
    "deploymentOrder": 100,
    "type": "AppDeployment",
    "installDir": null,
    "id": 0,
    "altDescriptorDir": null,
    "dynamicallyCreated": false,
    "sourcePath": "servers\/AdminServer\/upload\/basicapp\/app\/BasicApp.ear",
    "applicationName": "basicapp",
    "absoluteAltDescriptorDir": null,
    "moduleType": "ear",
    "planStagingMode": null,
    "cacheInAppDirectory": false,
    "absoluteInstallDir": null,
    "compatibilityName": null,
    "absolutePlanPath": "\/domains\/mydomain\/servers\/AdminServer\/upload\/basicapp\/plan\/Plan.xml",
    "untargeted": false,
    "planDir": null,
    "validateDDSecurityData": false,
    "applicationIdentifier": "basicapp",
    "tags": [],
    "planPath": "servers\/AdminServer\/upload\/basicapp\/plan\/Plan.xml",
    "versionIdentifier": null,
    "deploymentPrincipalName": null,
    "absolutePlanDir": null,
    "name": "basicapp",
    "parallelDeployModules": false,
    "securityDDModel": "DDOnly",
    "targets": [{
        "identity": [
            "clusters",
            "Cluster1"
        ]
    }]
}





----------------------------------------------------------------------
View the new applications' appDeploymentRuntimes
----------------------------------------------------------------------

curl -v \
--user deployer:deployer123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/weblogic/latest/domainRuntime/deploymentManager/appDeploymentRuntimes/fairShare?links=none


HTTP/1.1 200 OK

Response Body:
{
    "identity": [
        "deploymentManager",
        "appDeploymentRuntimes",
        "fairShare"
    ],
    "applicationVersion": null,
    "name": "fairShare",
    "type": "AppDeploymentRuntime",
    "applicationName": "fairShare",
    "modules": ["fairShare"]
}


curl -v \
--user deployer:deployer123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/weblogic/latest/domainRuntime/deploymentManager/appDeploymentRuntimes/basicapp?links=none


HTTP/1.1 200 OK

Response Body:
{
    "identity": [
        "deploymentManager",
        "appDeploymentRuntimes",
        "basicapp"
    ],
    "applicationVersion": null,
    "name": "basicapp",
    "type": "AppDeploymentRuntime",
    "applicationName": "basicapp",
    "modules": [
        "BasicEJB.jar",
        "BasicAuth"
    ]
}





----------------------------------------------------------------------
Search for all of the new applications' applicationRuntimes
----------------------------------------------------------------------

curl -v \
--user deployer:deployer123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{
  links: [], fields: [],
  children: {
    serverRuntimes: {
      links: [], fields: [ 'name' ],
      children: {
        applicationRuntimes: {
          links: [],
          name: [ 'fairShare', 'basicapp' ]
        }
      }
    }
  }
}" \
-X POST http://localhost:7001/management/weblogic/latest/domainRuntime/search


HTTP/1.1 200 OK

Response Body:
{
    "serverRuntimes": {
        "items": [
            {
                "name": "Cluster1Server1",
                "applicationRuntimes": {
                    "items": [
                        {
                            "identity": [
                                "applicationRuntimes",
                                "fairShare"
                            ],
                            "applicationVersion": null,
                            "internal": false,
                            "overallHealthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "healthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "name": "fairShare",
                            "type": "ApplicationRuntime",
                            "activeVersionState": 2,
                            "applicationName": "fairShare"
                        },
                        {
                            "identity": [
                                "applicationRuntimes",
                                "basicapp"
                            ],
                            "applicationVersion": null,
                            "internal": false,
                            "overallHealthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "healthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "name": "basicapp",
                            "type": "ApplicationRuntime",
                            "activeVersionState": 2,
                            "applicationName": "basicapp"
                        }
                    ]
                }
            },
            {
                "name": "AdminServer",
                "applicationRuntimes": {
                    "items": []
                }
            },
            {
                "name": "Cluster1Server2",
                "applicationRuntimes": {
                    "items": [
                        {
                            "identity": [
                                "applicationRuntimes",
                                "fairShare"
                            ],
                            "applicationVersion": null,
                            "internal": false,
                            "overallHealthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "healthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "name": "fairShare",
                            "type": "ApplicationRuntime",
                            "activeVersionState": 2,
                            "applicationName": "fairShare"
                        },
                        {
                            "identity": [
                                "applicationRuntimes",
                                "basicapp"
                            ],
                            "applicationVersion": null,
                            "internal": false,
                            "overallHealthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "healthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "name": "basicapp",
                            "type": "ApplicationRuntime",
                            "activeVersionState": 2,
                            "applicationName": "basicapp"
                        }
                    ]
                }
            }
        ]
    }
}

Getting Application Deployment Statuses

Use the read-only applications collection under domainRuntime/appRuntimeStateRuntime to retrieve the deployment status of every visible configured application in one request. Each item can report the application's name and type, its aggregate deployment state and health, and the state for each configured direct, module, or submodule target. Configured applications that are not deployed can report STATE_NEW; configured applications that failed deployment or whose versions were retired can report STATE_FAILED or STATE_RETIRED. An untargeted configured application has a null state and an empty targetStates array. This collection is a current view of domain configuration and runtime state, not deployment history: after an undeploy removes an application from domain configuration, the collection no longer includes it and its item resource returns 404. Use deploymentProgressObjects to monitor the status of a deployment operation.

curl -v \
  --user monitor:monitor123 \
  -H X-Requested-By:MyClient \
  -H Accept:application/json \
  -X GET 'http://localhost:7001/management/weblogic/latest/domainRuntime/appRuntimeStateRuntime/applications?links=none&fields=name,type,state,health,targetStates'

To retrieve one configured application's status, append its URL-encoded application ID to the collection URI. Encode the # separator in a versioned application ID as %23.

See the collection GET resource (GET /management/weblogic/{version}/domainRuntime/appRuntimeStateRuntime/applications) and item GET resource (GET /management/weblogic/{version}/domainRuntime/appRuntimeStateRuntime/applications/{application-id}) under App Runtime State Runtime REST Endpoints in RESTful Domain Runtime Reference for Oracle WebLogic Server.

Monitoring Domain Resources

Review an example script that demonstrates how an Operator monitors the entire domain.

The example script also shows how to monitor data sources and JMS, capture and download diagnostic images, search logs, and return consolidated search results.

To monitor deployment state and health for visible configured applications across the domain, see Getting Application Deployment Statuses.

For server-local NoSQL resource state and lifecycle metrics, see Monitoring NoSQL System Resources.

Note:

To view long URLs, use the scroll bar located beneath the section.

----------------------------------------------------------------------
Demonstrate a domain monitor monitoring the domain
----------------------------------------------------------------------




----------------------------------------------------------------------
Monitor the servers
----------------------------------------------------------------------

curl -v \
--user monitor:monitor123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/weblogic/latest/domainRuntime/serverRuntimes?links=none&fields=name,overallHealthState,healthState,state,openSocketsCurrentCount,activationTime


HTTP/1.1 200 OK

Response Body:
{
    "items": [
        {
            "overallHealthState": {
                "state": "ok",
                "subsystemName": null,
                "symptoms": []
            },
            "state": "RUNNING",
            "activationTime": 1754486797566,
            "openSocketsCurrentCount": 4,
            "healthState": {
                "state": "ok",
                "subsystemName": null,
                "symptoms": []
            },
            "name": "Cluster1Server1"
        },
        {
            "overallHealthState": {
                "state": "ok",
                "subsystemName": null,
                "symptoms": []
            },
            "state": "RUNNING",
            "activationTime": 1754486743118,
            "openSocketsCurrentCount": 7,
            "healthState": {
                "state": "ok",
                "subsystemName": null,
                "symptoms": []
            },
            "name": "AdminServer"
        },
        {
            "overallHealthState": {
                "state": "ok",
                "subsystemName": null,
                "symptoms": []
            },
            "state": "RUNNING",
            "activationTime": 1754486820121,
            "openSocketsCurrentCount": 4,
            "healthState": {
                "state": "ok",
                "subsystemName": null,
                "symptoms": []
            },
            "name": "Cluster1Server2"
        }
    ]
}





----------------------------------------------------------------------
Get the number of open sockets of the server that has the highest number of open sockets
----------------------------------------------------------------------

curl -v \
--user monitor:monitor123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{
  links: [], fields: [],
  children: {
    serverRuntimes: {
      mergeCollection: true,
      fields: [ { name: 'openSocketsCurrentCount', max:true } ]
    }
  }
}" \
-X POST http://localhost:7001/management/weblogic/latest/domainRuntime/search


HTTP/1.1 200 OK

Response Body:
{
    "serverRuntimes": {
        "items": [{
            "openSocketsCurrentCount": {
                "max": 7
            }
        }]
    }
}





----------------------------------------------------------------------
Get the total number of open sockets of the running servers
----------------------------------------------------------------------

curl -v \
--user monitor:monitor123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{
  links: [], fields: [],
  children: {
    serverRuntimes: {
      mergeCollection: true,
      fields: [ { name: 'openSocketsCurrentCount', total:true } ]
    }
  }
}" \
-X POST http://localhost:7001/management/weblogic/latest/domainRuntime/search


HTTP/1.1 200 OK

Response Body:
{
    "serverRuntimes": {
        "items": [{
            "openSocketsCurrentCount": {
                "total": 15,
                "count": 3
            }
        }]
    }
}





----------------------------------------------------------------------
Get a list of the running servers' overall health states
----------------------------------------------------------------------

curl -v \
--user monitor:monitor123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{
  links: [], fields: [],
  children: {
    serverRuntimes: {
      mergeCollection: true,
      fields: [ { name: 'overallHealthState', values: true } ]
    }
  }
}" \
-X POST http://localhost:7001/management/weblogic/latest/domainRuntime/search


HTTP/1.1 200 OK

Response Body:
{
    "serverRuntimes": {
        "items": [{
            "overallHealthState": {
                "values": [
                    {
                        "state": "ok",
                        "subsystemName": null,
                        "symptoms": []
                    },
                    {
                        "state": "ok",
                        "subsystemName": null,
                        "symptoms": []
                    },
                    {
                        "state": "ok",
                        "subsystemName": null,
                        "symptoms": []
                    }
                ]
            }
        }]
    }
}





----------------------------------------------------------------------
Get a list of the running servers' JVM statistics and links except for the threadStackDump and processCpuLoad fields and the parent and canonical links
----------------------------------------------------------------------

curl -v \
--user monitor:monitor123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{
  'links': [], 'fields': [],
  'children': {
    'serverRuntimes': {
      'links': [], 'fields': [ 'name' ],
      'children': {
        'JVMRuntime': {
          'excludeFields': [ 'threadStackDump', 'processCpuLoad' ],
          'excludeLinks': [ 'parent', 'canonical' ]
        }
      }
    }
  }
}" \
-X POST http://localhost:7001/management/weblogic/latest/domainRuntime/search


HTTP/1.1 200 OK

Response Body:
{
    "serverRuntimes": {
        "items": [
            {
                "name": "Cluster1Server1",
                "JVMRuntime": {
                    "links": [
                        {
                            "rel": "self",
                            "href": "http:\/\/localhost:7001\/management\/weblogic\/latest\/domainRuntime\/serverRuntimes\/Cluster1Server1\/JVMRuntime"
                        },
                        {
                            "rel": "action",
                            "href": "http:\/\/localhost:7001\/management\/weblogic\/latest\/domainRuntime\/serverRuntimes\/Cluster1Server1\/JVMRuntime\/runGC",
                            "title": "runGC"
                        }
                    ],
                    "identity": ["JVMRuntime"],
                    "javaVersion": "17.0.16-ea",
                    "javaVMVendor": "Oracle Corporation",
                    "OSName": "Mac OS X",
                    "javaVendor": "Oracle Corporation",
                    "type": "JVMRuntime",
                    "uptime": 69549,
                    "heapSizeCurrent": 268435456,
                    "heapFreeCurrent": 127809456,
                    "name": "Cluster1Server1",
                    "javaVendorVersion": null,
                    "OSVersion": "15.5",
                    "heapSizeMax": 536870912,
                    "heapFreePercent": 73
                }
            },
            {
                "name": "AdminServer",
                "JVMRuntime": {
                    "links": [
                        {
                            "rel": "self",
                            "href": "http:\/\/localhost:7001\/management\/weblogic\/latest\/domainRuntime\/serverRuntimes\/AdminServer\/JVMRuntime"
                        },
                        {
                            "rel": "action",
                            "href": "http:\/\/localhost:7001\/management\/weblogic\/latest\/domainRuntime\/serverRuntimes\/AdminServer\/JVMRuntime\/runGC",
                            "title": "runGC"
                        }
                    ],
                    "identity": ["JVMRuntime"],
                    "javaVersion": "17.0.16-ea",
                    "javaVMVendor": "Oracle Corporation",
                    "OSName": "Mac OS X",
                    "javaVendor": "Oracle Corporation",
                    "type": "JVMRuntime",
                    "uptime": 123978,
                    "heapSizeCurrent": 306184192,
                    "heapFreeCurrent": 109477408,
                    "name": "AdminServer",
                    "javaVendorVersion": null,
                    "OSVersion": "15.5",
                    "heapSizeMax": 536870912,
                    "heapFreePercent": 63
                }
            },
            {
                "name": "Cluster1Server2",
                "JVMRuntime": {
                    "links": [
                        {
                            "rel": "self",
                            "href": "http:\/\/localhost:7001\/management\/weblogic\/latest\/domainRuntime\/serverRuntimes\/Cluster1Server2\/JVMRuntime"
                        },
                        {
                            "rel": "action",
                            "href": "http:\/\/localhost:7001\/management\/weblogic\/latest\/domainRuntime\/serverRuntimes\/Cluster1Server2\/JVMRuntime\/runGC",
                            "title": "runGC"
                        }
                    ],
                    "identity": ["JVMRuntime"],
                    "javaVersion": "17.0.16-ea",
                    "javaVMVendor": "Oracle Corporation",
                    "OSName": "Mac OS X",
                    "javaVendor": "Oracle Corporation",
                    "type": "JVMRuntime",
                    "uptime": 46994,
                    "heapSizeCurrent": 268435456,
                    "heapFreeCurrent": 109195416,
                    "name": "Cluster1Server2",
                    "javaVendorVersion": null,
                    "OSVersion": "15.5",
                    "heapSizeMax": 536870912,
                    "heapFreePercent": 70
                }
            }
        ]
    }
}





----------------------------------------------------------------------
Get the admin server's JVM statistics and links except for the threadStackDump and processCpuLoad fields and the parent and canonical links
----------------------------------------------------------------------

curl -v \
--user monitor:monitor123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/weblogic/latest/serverRuntime/JVMRuntime?excludeFields=threadStackDump,processCpuLoad&excludeLinks=parent,canonical


HTTP/1.1 200 OK

Response Body:
{
    "links": [
        {
            "rel": "self",
            "href": "http:\/\/localhost:7001\/management\/weblogic\/latest\/serverRuntime\/JVMRuntime"
        },
        {
            "rel": "action",
            "href": "http:\/\/localhost:7001\/management\/weblogic\/latest\/serverRuntime\/JVMRuntime\/runGC",
            "title": "runGC"
        }
    ],
    "identity": ["JVMRuntime"],
    "javaVersion": "17.0.16-ea",
    "javaVMVendor": "Oracle Corporation",
    "OSName": "Mac OS X",
    "javaVendor": "Oracle Corporation",
    "type": "JVMRuntime",
    "uptime": 124213,
    "heapSizeCurrent": 306184192,
    "heapFreeCurrent": 101347696,
    "name": "AdminServer",
    "javaVendorVersion": null,
    "OSVersion": "15.5",
    "heapSizeMax": 536870912,
    "heapFreePercent": 61
}





----------------------------------------------------------------------
Monitor the JDBC system resources
----------------------------------------------------------------------

curl -v \
--user monitor:monitor123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{
  links: [], fields: [],
  children: {
    serverRuntimes: {
      links: [], fields: [ 'name' ],
      children: {
        JDBCServiceRuntime: {
          links: [], fields: [ 'name' ],
          children: {
            JDBCDataSourceRuntimeMBeans : { links: [], excludeFields: [ 'properties' ] }
          }
        }
      }
    }
  }
}" \
-X POST http://localhost:7001/management/weblogic/latest/domainRuntime/search


HTTP/1.1 200 OK

Response Body:
{
    "serverRuntimes": {
        "items": [
            {
                "name": "Cluster1Server1",
                "JDBCServiceRuntime": {
                    "name": "Cluster1Server1",
                    "JDBCDataSourceRuntimeMBeans": {
                        "items": [{
                            "identity": [
                                "JDBCServiceRuntime",
                                "JDBCDataSourceRuntimeMBeans",
                                "JDBCDataSource1"
                            ],
                            "connectionsTotalCount": 1,
                            "waitingForConnectionSuccessTotal": 0,
                            "highestNumUnavailable": 0,
                            "reserveRequestCount": 0,
                            "type": "JDBCDataSourceRuntime",
                            "waitingForConnectionTotal": 0,
                            "enabled": true,
                            "currCapacityHighCount": 1,
                            "resolvedAsNotCommittedTotalCount": 0,
                            "prepStmtCacheHitCount": 0,
                            "prepStmtCacheMissCount": 0,
                            "databaseProductName": "Apache Derby",
                            "commitOutcomeRetryTotalCount": 0,
                            "failedRepurposeCount": 0,
                            "state": "Running",
                            "moduleId": "JDBCDataSource1",
                            "prepStmtCacheAddCount": 0,
                            "failuresToReconnectCount": 0,
                            "repurposeCount": 0,
                            "databaseProductVersion": "10.16.1.1 - (1905560-wls)",
                            "leakedConnectionCount": 0,
                            "waitingForConnectionFailureTotal": 0,
                            "activeConnectionsHighCount": 1,
                            "connectionDelayTime": 632,
                            "waitingForConnectionHighCount": 0,
                            "waitSecondsHighCount": 0,
                            "versionJDBCDriver": "org.apache.derby.jdbc.ClientXADataSource",
                            "failedReserveRequestCount": 0,
                            "prepStmtCacheDeleteCount": 0,
                            "numAvailable": 1,
                            "deploymentState": 2,
                            "unresolvedTotalCount": 0,
                            "prepStmtCacheAccessCount": 0,
                            "driverVersion": "10.16.1.1 - (1905560-wls)",
                            "resolvedAsCommittedTotalCount": 0,
                            "prepStmtCacheCurrentSize": 0,
                            "name": "JDBCDataSource1",
                            "activeConnectionsCurrentCount": 0,
                            "currCapacity": 1,
                            "driverName": "Apache Derby Network Client JDBC Driver",
                            "activeConnectionsAverageCount": 0,
                            "numUnavailable": 0,
                            "waitingForConnectionCurrentCount": 0,
                            "highestNumAvailable": 1,
                            "lastTask": null
                        }]
                    }
                }
            },
            {
                "name": "AdminServer",
                "JDBCServiceRuntime": {
                    "name": "AdminServer",
                    "JDBCDataSourceRuntimeMBeans": {
                        "items": []
                    }
                }
            },
            {
                "name": "Cluster1Server2",
                "JDBCServiceRuntime": {
                    "name": "Cluster1Server2",
                    "JDBCDataSourceRuntimeMBeans": {
                        "items": [{
                            "identity": [
                                "JDBCServiceRuntime",
                                "JDBCDataSourceRuntimeMBeans",
                                "JDBCDataSource1"
                            ],
                            "connectionsTotalCount": 1,
                            "waitingForConnectionSuccessTotal": 0,
                            "highestNumUnavailable": 0,
                            "reserveRequestCount": 0,
                            "type": "JDBCDataSourceRuntime",
                            "waitingForConnectionTotal": 0,
                            "enabled": true,
                            "currCapacityHighCount": 1,
                            "resolvedAsNotCommittedTotalCount": 0,
                            "prepStmtCacheHitCount": 0,
                            "prepStmtCacheMissCount": 0,
                            "databaseProductName": "Apache Derby",
                            "commitOutcomeRetryTotalCount": 0,
                            "failedRepurposeCount": 0,
                            "state": "Running",
                            "moduleId": "JDBCDataSource1",
                            "prepStmtCacheAddCount": 0,
                            "failuresToReconnectCount": 0,
                            "repurposeCount": 0,
                            "databaseProductVersion": "10.16.1.1 - (1905560-wls)",
                            "leakedConnectionCount": 0,
                            "waitingForConnectionFailureTotal": 0,
                            "activeConnectionsHighCount": 1,
                            "connectionDelayTime": 455,
                            "waitingForConnectionHighCount": 0,
                            "waitSecondsHighCount": 0,
                            "versionJDBCDriver": "org.apache.derby.jdbc.ClientXADataSource",
                            "failedReserveRequestCount": 0,
                            "prepStmtCacheDeleteCount": 0,
                            "numAvailable": 1,
                            "deploymentState": 2,
                            "unresolvedTotalCount": 0,
                            "prepStmtCacheAccessCount": 0,
                            "driverVersion": "10.16.1.1 - (1905560-wls)",
                            "resolvedAsCommittedTotalCount": 0,
                            "prepStmtCacheCurrentSize": 0,
                            "name": "JDBCDataSource1",
                            "activeConnectionsCurrentCount": 0,
                            "currCapacity": 1,
                            "driverName": "Apache Derby Network Client JDBC Driver",
                            "activeConnectionsAverageCount": 0,
                            "numUnavailable": 0,
                            "waitingForConnectionCurrentCount": 0,
                            "highestNumAvailable": 1,
                            "lastTask": null
                        }]
                    }
                }
            }
        ]
    }
}





----------------------------------------------------------------------
Test a domain level data source
----------------------------------------------------------------------

curl -v \
--user monitor:monitor123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X POST http://localhost:7001/management/weblogic/latest/domainRuntime/serverRuntimes/Cluster1Server2/JDBCServiceRuntime/JDBCDataSourceRuntimeMBeans/JDBCDataSource1/testPool


HTTP/1.1 200 OK

Response Body:
{
    "return": null
}





----------------------------------------------------------------------
Monitor the JMS system resources
----------------------------------------------------------------------

curl -v \
--user monitor:monitor123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{
  links: [], fields: [],
  children: {
    serverRuntimes: {
      links: [], fields: [ 'name' ],
      children: {
        JMSRuntime: {
          links: [],
          children: {
            JMSServers: {
              links: [],
              children: {
                destinations: {
                  links: [],
                }
              }
            }
          }
        }
      }
    }
  }
}" \
-X POST http://localhost:7001/management/weblogic/latest/domainRuntime/search


HTTP/1.1 200 OK

Response Body:
{
    "serverRuntimes": {
        "items": [
            {
                "name": "Cluster1Server1",
                "JMSRuntime": {
                    "identity": ["JMSRuntime"],
                    "JMSServersHighCount": 1,
                    "connectionsHighCount": 0,
                    "connectionsTotalCount": 0,
                    "healthState": {
                        "state": "ok",
                        "subsystemName": null,
                        "symptoms": []
                    },
                    "name": "Cluster1Server1.jms",
                    "JMSServersCurrentCount": 1,
                    "type": "JMSRuntime",
                    "JMSServersTotalCount": 1,
                    "connectionsCurrentCount": 0,
                    "JMSServers": {
                        "items": [{
                            "identity": [
                                "JMSRuntime",
                                "JMSServers",
                                "JMSServer1@Cluster1Server1"
                            ],
                            "messagesReceivedCount": 0,
                            "bytesThresholdTime": 0,
                            "bytesHighCount": 0,
                            "insertionPausedState": "Insertion-Enabled",
                            "destinationsCurrentCount": 1,
                            "pagingAllocatedIoBufferBytes": 0,
                            "type": "JMSServerRuntime",
                            "messagesPagedInTotalCount": 0,
                            "consumptionPaused": false,
                            "bytesPagedInTotalCount": 0,
                            "pagingPhysicalWriteCount": 0,
                            "pendingTransactions": null,
                            "bytesPagedOutTotalCount": 0,
                            "consumptionPausedState": "Consumption-Enabled",
                            "sessionPoolsHighCount": 0,
                            "bytesReceivedCount": 0,
                            "messagesHighCount": 0,
                            "productionPausedState": "Production-Enabled",
                            "pagingAllocatedWindowBufferBytes": 0,
                            "destinationsTotalCount": 1,
                            "sessionPoolsTotalCount": 0,
                            "messagesThresholdTime": 0,
                            "bytesCurrentCount": 0,
                            "transactions": null,
                            "messagesPagedOutTotalCount": 0,
                            "messagesCurrentCount": 0,
                            "destinationsHighCount": 1,
                            "insertionPaused": false,
                            "healthState": {
                                "state": "ok",
                                "subsystemName": "JMSServer.JMSServer1@Cluster1Server1",
                                "symptoms": []
                            },
                            "messagesPageableCurrentCount": 0,
                            "sessionPoolsCurrentCount": 0,
                            "name": "JMSServer1@Cluster1Server1",
                            "bytesPendingCount": 0,
                            "productionPaused": false,
                            "bytesPageableCurrentCount": 0,
                            "messagesPendingCount": 0,
                            "destinations": {
                                "items": [{
                                    "identity": [
                                        "JMSRuntime",
                                        "JMSServers",
                                        "JMSServer1@Cluster1Server1",
                                        "destinations",
                                        "JMSSystemResource1!JMSServer1@Cluster1Server1@UniformDistributedQueue1"
                                    ],
                                    "messagesReceivedCount": 0,
                                    "bytesThresholdTime": 0,
                                    "bytesHighCount": 0,
                                    "insertionPausedState": "Insertion-Enabled",
                                    "type": "JMSDestinationRuntime",
                                    "consumptionPaused": false,
                                    "messagesDeletedCurrentCount": 0,
                                    "destinationType": "Queue",
                                    "consumptionPausedState": "Consumption-Enabled",
                                    "state": "started",
                                    "bytesReceivedCount": 0,
                                    "messagesHighCount": 0,
                                    "productionPausedState": "Production-Enabled",
                                    "subscriptionMessagesLimit": -1,
                                    "consumersTotalCount": 0,
                                    "consumersHighCount": 0,
                                    "messagesThresholdTime": 0,
                                    "bytesCurrentCount": 0,
                                    "messagesMovedCurrentCount": 0,
                                    "destinationID": "rO0ABXNyACN3ZWJsb2dpYy5qbXMuY29tbW9uLkRlc3RpbmF0aW9uSW1wbFSmyJ1qZfv8DAAAeHB38bhBAEZKTVNTeXN0ZW1SZXNvdXJjZTEhSk1TU2VydmVyMUBDbHVzdGVyMVNlcnZlcjFAVW5pZm9ybURpc3RyaWJ1dGVkUXVldWUxABpKTVNTZXJ2ZXIxQENsdXN0ZXIxU2VydmVyMQASSk1TU3lzdGVtUmVzb3VyY2UxAQADQWxsAgI3\/kGYf4\/ZBQAAAAwBAA9DbHVzdGVyMVNlcnZlcjH171sHAjf+QZh\/j9kFAAAADgEAD0NsdXN0ZXIxU2VydmVyMfXvWwcAAwAaRmlsZVN0b3JlMUBDbHVzdGVyMVNlcnZlcjEACkpNU1NlcnZlcjF4",
                                    "messagesCurrentCount": 0,
                                    "insertionPaused": false,
                                    "name": "JMSSystemResource1!JMSServer1@Cluster1Server1@UniformDistributedQueue1",
                                    "bytesPendingCount": 0,
                                    "productionPaused": false,
                                    "messagesPendingCount": 0,
                                    "consumersCurrentCount": 0
                                }]
                            }
                        }]
                    }
                }
            },
            {
                "name": "AdminServer",
                "JMSRuntime": {
                    "identity": ["JMSRuntime"],
                    "JMSServersHighCount": 0,
                    "connectionsHighCount": 0,
                    "connectionsTotalCount": 0,
                    "healthState": {
                        "state": "ok",
                        "subsystemName": null,
                        "symptoms": []
                    },
                    "name": "AdminServer.jms",
                    "JMSServersCurrentCount": 0,
                    "type": "JMSRuntime",
                    "JMSServersTotalCount": 0,
                    "connectionsCurrentCount": 0,
                    "JMSServers": {
                        "items": []
                    }
                }
            },
            {
                "name": "Cluster1Server2",
                "JMSRuntime": {
                    "identity": ["JMSRuntime"],
                    "JMSServersHighCount": 1,
                    "connectionsHighCount": 0,
                    "connectionsTotalCount": 0,
                    "healthState": {
                        "state": "ok",
                        "subsystemName": null,
                        "symptoms": []
                    },
                    "name": "Cluster1Server2.jms",
                    "JMSServersCurrentCount": 1,
                    "type": "JMSRuntime",
                    "JMSServersTotalCount": 1,
                    "connectionsCurrentCount": 0,
                    "JMSServers": {
                        "items": [{
                            "identity": [
                                "JMSRuntime",
                                "JMSServers",
                                "JMSServer1@Cluster1Server2"
                            ],
                            "messagesReceivedCount": 0,
                            "bytesThresholdTime": 0,
                            "bytesHighCount": 0,
                            "insertionPausedState": "Insertion-Enabled",
                            "destinationsCurrentCount": 1,
                            "pagingAllocatedIoBufferBytes": 0,
                            "type": "JMSServerRuntime",
                            "messagesPagedInTotalCount": 0,
                            "consumptionPaused": false,
                            "bytesPagedInTotalCount": 0,
                            "pagingPhysicalWriteCount": 0,
                            "pendingTransactions": null,
                            "bytesPagedOutTotalCount": 0,
                            "consumptionPausedState": "Consumption-Enabled",
                            "sessionPoolsHighCount": 0,
                            "bytesReceivedCount": 0,
                            "messagesHighCount": 0,
                            "productionPausedState": "Production-Enabled",
                            "pagingAllocatedWindowBufferBytes": 0,
                            "destinationsTotalCount": 1,
                            "sessionPoolsTotalCount": 0,
                            "messagesThresholdTime": 0,
                            "bytesCurrentCount": 0,
                            "transactions": null,
                            "messagesPagedOutTotalCount": 0,
                            "messagesCurrentCount": 0,
                            "destinationsHighCount": 1,
                            "insertionPaused": false,
                            "healthState": {
                                "state": "ok",
                                "subsystemName": "JMSServer.JMSServer1@Cluster1Server2",
                                "symptoms": []
                            },
                            "messagesPageableCurrentCount": 0,
                            "sessionPoolsCurrentCount": 0,
                            "name": "JMSServer1@Cluster1Server2",
                            "bytesPendingCount": 0,
                            "productionPaused": false,
                            "bytesPageableCurrentCount": 0,
                            "messagesPendingCount": 0,
                            "destinations": {
                                "items": [{
                                    "identity": [
                                        "JMSRuntime",
                                        "JMSServers",
                                        "JMSServer1@Cluster1Server2",
                                        "destinations",
                                        "JMSSystemResource1!JMSServer1@Cluster1Server2@UniformDistributedQueue1"
                                    ],
                                    "messagesReceivedCount": 0,
                                    "bytesThresholdTime": 0,
                                    "bytesHighCount": 0,
                                    "insertionPausedState": "Insertion-Enabled",
                                    "type": "JMSDestinationRuntime",
                                    "consumptionPaused": false,
                                    "messagesDeletedCurrentCount": 0,
                                    "destinationType": "Queue",
                                    "consumptionPausedState": "Consumption-Enabled",
                                    "state": "started",
                                    "bytesReceivedCount": 0,
                                    "messagesHighCount": 0,
                                    "productionPausedState": "Production-Enabled",
                                    "subscriptionMessagesLimit": -1,
                                    "consumersTotalCount": 0,
                                    "consumersHighCount": 0,
                                    "messagesThresholdTime": 0,
                                    "bytesCurrentCount": 0,
                                    "messagesMovedCurrentCount": 0,
                                    "destinationID": "rO0ABXNyACN3ZWJsb2dpYy5qbXMuY29tbW9uLkRlc3RpbmF0aW9uSW1wbFSmyJ1qZfv8DAAAeHB38bhBAEZKTVNTeXN0ZW1SZXNvdXJjZTEhSk1TU2VydmVyMUBDbHVzdGVyMVNlcnZlcjJAVW5pZm9ybURpc3RyaWJ1dGVkUXVldWUxABpKTVNTZXJ2ZXIxQENsdXN0ZXIxU2VydmVyMgASSk1TU3lzdGVtUmVzb3VyY2UxAQADQWxsAgIS\/eGYf5AzgwAAAAwBAA9DbHVzdGVyMVNlcnZlcjIw9USGAhL94Zh\/kDODAAAADgEAD0NsdXN0ZXIxU2VydmVyMjD1RIYAAwAaRmlsZVN0b3JlMUBDbHVzdGVyMVNlcnZlcjIACkpNU1NlcnZlcjF4",
                                    "messagesCurrentCount": 0,
                                    "insertionPaused": false,
                                    "name": "JMSSystemResource1!JMSServer1@Cluster1Server2@UniformDistributedQueue1",
                                    "bytesPendingCount": 0,
                                    "productionPaused": false,
                                    "messagesPendingCount": 0,
                                    "consumersCurrentCount": 0
                                }]
                            }
                        }]
                    }
                }
            }
        ]
    }
}





----------------------------------------------------------------------
Monitor the applications
----------------------------------------------------------------------

curl -v \
--user monitor:monitor123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{
  links: [], fields: [],
  children: {
    serverRuntimes: {
      links: [], fields: [ 'name' ],
      children: {
        applicationRuntimes: {
          links: [], fields: [ 'name', 'healthState', 'overallHealthState' ]
        }
      }
    }
  }
}" \
-X POST http://localhost:7001/management/weblogic/latest/domainRuntime/search


HTTP/1.1 200 OK

Response Body:
{
    "serverRuntimes": {
        "items": [
            {
                "name": "Cluster1Server1",
                "applicationRuntimes": {
                    "items": [
                        {
                            "overallHealthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "healthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "name": "JMSSystemResource1"
                        },
                        {
                            "overallHealthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "healthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "name": "JDBCDataSource1"
                        },
                        {
                            "overallHealthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "healthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "name": "basicapp"
                        },
                        {
                            "overallHealthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "healthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "name": "bea_wls_internal"
                        },
                        {
                            "overallHealthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "healthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "name": "jms-internal-xa-adp"
                        },
                        {
                            "overallHealthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "healthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "name": "wls-management-services"
                        },
                        {
                            "overallHealthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "healthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "name": "fairShare"
                        },
                        {
                            "overallHealthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "healthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "name": "bea_wls_cluster_internal"
                        },
                        {
                            "overallHealthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "healthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "name": "jms-internal-notran-adp"
                        },
                        {
                            "overallHealthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "healthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "name": "bea_wls_deployment_internal"
                        }
                    ]
                }
            },
            {
                "name": "AdminServer",
                "applicationRuntimes": {
                    "items": [
                        {
                            "overallHealthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "healthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "name": "bea_wls_internal"
                        },
                        {
                            "overallHealthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "healthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "name": "bea_wls_deployment_internal"
                        },
                        {
                            "overallHealthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "healthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "name": "bea_wls_management_internal2"
                        },
                        {
                            "overallHealthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "healthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "name": "jms-internal-xa-adp"
                        },
                        {
                            "overallHealthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "healthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "name": "wls-management-services"
                        },
                        {
                            "overallHealthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "healthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "name": "mejb"
                        },
                        {
                            "overallHealthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "healthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "name": "jms-internal-notran-adp"
                        }
                    ]
                }
            },
            {
                "name": "Cluster1Server2",
                "applicationRuntimes": {
                    "items": [
                        {
                            "overallHealthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "healthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "name": "fairShare"
                        },
                        {
                            "overallHealthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "healthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "name": "bea_wls_cluster_internal"
                        },
                        {
                            "overallHealthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "healthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "name": "jms-internal-xa-adp"
                        },
                        {
                            "overallHealthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "healthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "name": "JDBCDataSource1"
                        },
                        {
                            "overallHealthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "healthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "name": "JMSSystemResource1"
                        },
                        {
                            "overallHealthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "healthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "name": "basicapp"
                        },
                        {
                            "overallHealthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "healthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "name": "jms-internal-notran-adp"
                        },
                        {
                            "overallHealthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "healthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "name": "wls-management-services"
                        },
                        {
                            "overallHealthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "healthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "name": "bea_wls_deployment_internal"
                        },
                        {
                            "overallHealthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "healthState": {
                                "state": "ok",
                                "subsystemName": null,
                                "symptoms": []
                            },
                            "name": "bea_wls_internal"
                        }
                    ]
                }
            }
        ]
    }
}





----------------------------------------------------------------------
Monitor the applications' servlets
----------------------------------------------------------------------

curl -v \
--user monitor:monitor123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{
  links: [], fields: [],
  children: {
    serverRuntimes: {
      links: [], fields: [ 'name' ],
      children: {
        applicationRuntimes: {
          links: [], fields: [ 'name' ],
          name: [ 'fairShare', 'basicapp' ],
          children: {
            componentRuntimes: {
              links: [], fields: [ 'name', 'type' ],
              children: {
                servlets: {
                  links: [],
                  fields: [
                    'name',
                    'executionTimeHigh',
                    'executionTimeLow',
                    'executionTimeAverage',
                    'invocationTotalCount'
                  ]
                }
              }
            }
          }
        }
      }
    }
  }
}" \
-X POST http://localhost:7001/management/weblogic/latest/domainRuntime/search


HTTP/1.1 200 OK

Response Body:
{
    "serverRuntimes": {
        "items": [
            {
                "name": "Cluster1Server1",
                "applicationRuntimes": {
                    "items": [
                        {
                            "name": "fairShare",
                            "componentRuntimes": {
                                "items": [{
                                    "type": "WebAppComponentRuntime",
                                    "name": "Cluster1Server1_\/fairShare",
                                    "servlets": {
                                        "items": [
                                            {
                                                "executionTimeHigh": 0,
                                                "invocationTotalCount": 0,
                                                "executionTimeLow": 0,
                                                "name": "JspServlet",
                                                "executionTimeAverage": 0
                                            },
                                            {
                                                "executionTimeHigh": 0,
                                                "invocationTotalCount": 0,
                                                "executionTimeLow": 0,
                                                "name": "_WL_FileServlet",
                                                "executionTimeAverage": 0
                                            },
                                            {
                                                "executionTimeHigh": 0,
                                                "invocationTotalCount": 0,
                                                "executionTimeLow": 0,
                                                "name": "SimpleFastServlet",
                                                "executionTimeAverage": 0
                                            },
                                            {
                                                "executionTimeHigh": 0,
                                                "invocationTotalCount": 0,
                                                "executionTimeLow": 0,
                                                "name": "SimpleSlowServlet",
                                                "executionTimeAverage": 0
                                            }
                                        ]
                                    }
                                }]
                            }
                        },
                        {
                            "name": "basicapp",
                            "componentRuntimes": {
                                "items": [
                                    {
                                        "type": "WebAppComponentRuntime",
                                        "name": "Cluster1Server1_\/BasicAuth",
                                        "servlets": {
                                            "items": [
                                                {
                                                    "executionTimeHigh": 0,
                                                    "invocationTotalCount": 0,
                                                    "executionTimeLow": 0,
                                                    "name": "JspServlet",
                                                    "executionTimeAverage": 0
                                                },
                                                {
                                                    "executionTimeHigh": 0,
                                                    "invocationTotalCount": 0,
                                                    "executionTimeLow": 0,
                                                    "name": "Servlet3",
                                                    "executionTimeAverage": 0
                                                },
                                                {
                                                    "executionTimeHigh": 0,
                                                    "invocationTotalCount": 0,
                                                    "executionTimeLow": 0,
                                                    "name": "_WL_FileServlet",
                                                    "executionTimeAverage": 0
                                                },
                                                {
                                                    "executionTimeHigh": 0,
                                                    "invocationTotalCount": 0,
                                                    "executionTimeLow": 0,
                                                    "name": "Servlet2",
                                                    "executionTimeAverage": 0
                                                },
                                                {
                                                    "executionTimeHigh": 0,
                                                    "invocationTotalCount": 0,
                                                    "executionTimeLow": 0,
                                                    "name": "Servlet1",
                                                    "executionTimeAverage": 0
                                                }
                                            ]
                                        }
                                    },
                                    {
                                        "name": "BasicEJB.jar",
                                        "type": "EJBComponentRuntime"
                                    }
                                ]
                            }
                        }
                    ]
                }
            },
            {
                "name": "AdminServer",
                "applicationRuntimes": {
                    "items": []
                }
            },
            {
                "name": "Cluster1Server2",
                "applicationRuntimes": {
                    "items": [
                        {
                            "name": "fairShare",
                            "componentRuntimes": {
                                "items": [{
                                    "type": "WebAppComponentRuntime",
                                    "name": "Cluster1Server2_\/fairShare",
                                    "servlets": {
                                        "items": [
                                            {
                                                "executionTimeHigh": 0,
                                                "invocationTotalCount": 0,
                                                "executionTimeLow": 0,
                                                "name": "JspServlet",
                                                "executionTimeAverage": 0
                                            },
                                            {
                                                "executionTimeHigh": 0,
                                                "invocationTotalCount": 0,
                                                "executionTimeLow": 0,
                                                "name": "_WL_FileServlet",
                                                "executionTimeAverage": 0
                                            },
                                            {
                                                "executionTimeHigh": 0,
                                                "invocationTotalCount": 0,
                                                "executionTimeLow": 0,
                                                "name": "SimpleFastServlet",
                                                "executionTimeAverage": 0
                                            },
                                            {
                                                "executionTimeHigh": 0,
                                                "invocationTotalCount": 0,
                                                "executionTimeLow": 0,
                                                "name": "SimpleSlowServlet",
                                                "executionTimeAverage": 0
                                            }
                                        ]
                                    }
                                }]
                            }
                        },
                        {
                            "name": "basicapp",
                            "componentRuntimes": {
                                "items": [
                                    {
                                        "type": "WebAppComponentRuntime",
                                        "name": "Cluster1Server2_\/BasicAuth",
                                        "servlets": {
                                            "items": [
                                                {
                                                    "executionTimeHigh": 0,
                                                    "invocationTotalCount": 0,
                                                    "executionTimeLow": 0,
                                                    "name": "JspServlet",
                                                    "executionTimeAverage": 0
                                                },
                                                {
                                                    "executionTimeHigh": 0,
                                                    "invocationTotalCount": 0,
                                                    "executionTimeLow": 0,
                                                    "name": "Servlet3",
                                                    "executionTimeAverage": 0
                                                },
                                                {
                                                    "executionTimeHigh": 0,
                                                    "invocationTotalCount": 0,
                                                    "executionTimeLow": 0,
                                                    "name": "_WL_FileServlet",
                                                    "executionTimeAverage": 0
                                                },
                                                {
                                                    "executionTimeHigh": 0,
                                                    "invocationTotalCount": 0,
                                                    "executionTimeLow": 0,
                                                    "name": "Servlet2",
                                                    "executionTimeAverage": 0
                                                },
                                                {
                                                    "executionTimeHigh": 0,
                                                    "invocationTotalCount": 0,
                                                    "executionTimeLow": 0,
                                                    "name": "Servlet1",
                                                    "executionTimeAverage": 0
                                                }
                                            ]
                                        }
                                    },
                                    {
                                        "name": "BasicEJB.jar",
                                        "type": "EJBComponentRuntime"
                                    }
                                ]
                            }
                        }
                    ]
                }
            }
        ]
    }
}





----------------------------------------------------------------------
Get the total number of open sessions across each application's component runtimes across all servers
----------------------------------------------------------------------

curl -v \
--user monitor:monitor123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{
  links: [], fields: [],
  children: {
    serverRuntimes: {
      mergeCollection: true,
      children: {
        applicationRuntimes: {
          mergeOn: 'name',
          fields: [ { name: 'name', sameValue: true } ],
          children: {
            componentRuntimes: {
              mergeCollection: true,
              fields: [ { name: 'openSessionsCurrentCount', total: true } ]
            }
          }
        }
      }
    }
  }
}" \
-X POST http://localhost:7001/management/weblogic/latest/domainRuntime/search


HTTP/1.1 200 OK

Response Body:
{
    "serverRuntimes": {
        "items": [{
            "applicationRuntimes": {
                "items": [
                    {
                        "name": "JMSSystemResource1",
                        "componentRuntimes": {
                            "items": [{}]
                        }
                    },
                    {
                        "name": "JDBCDataSource1",
                        "componentRuntimes": {
                            "items": [{}]
                        }
                    },
                    {
                        "name": "basicapp",
                        "componentRuntimes": {
                            "items": [{
                                "openSessionsCurrentCount": {
                                    "total": 0,
                                    "count": 2
                                }
                            }]
                        }
                    },
                    {
                        "name": "bea_wls_internal",
                        "componentRuntimes": {
                            "items": [{
                                "openSessionsCurrentCount": {
                                    "total": 0,
                                    "count": 3
                                }
                            }]
                        }
                    },
                    {
                        "name": "jms-internal-xa-adp",
                        "componentRuntimes": {
                            "items": [{}]
                        }
                    },
                    {
                        "name": "wls-management-services",
                        "componentRuntimes": {
                            "items": [{
                                "openSessionsCurrentCount": {
                                    "total": 3,
                                    "count": 3
                                }
                            }]
                        }
                    },
                    {
                        "name": "fairShare",
                        "componentRuntimes": {
                            "items": [{
                                "openSessionsCurrentCount": {
                                    "total": 0,
                                    "count": 2
                                }
                            }]
                        }
                    },
                    {
                        "name": "bea_wls_cluster_internal",
                        "componentRuntimes": {
                            "items": [{
                                "openSessionsCurrentCount": {
                                    "total": 0,
                                    "count": 2
                                }
                            }]
                        }
                    },
                    {
                        "name": "jms-internal-notran-adp",
                        "componentRuntimes": {
                            "items": [{}]
                        }
                    },
                    {
                        "name": "bea_wls_deployment_internal",
                        "componentRuntimes": {
                            "items": [{
                                "openSessionsCurrentCount": {
                                    "total": 0,
                                    "count": 3
                                }
                            }]
                        }
                    },
                    {
                        "name": "bea_wls_management_internal2",
                        "componentRuntimes": {
                            "items": [{
                                "openSessionsCurrentCount": {
                                    "total": 0,
                                    "count": 1
                                }
                            }]
                        }
                    },
                    {
                        "name": "mejb",
                        "componentRuntimes": {
                            "items": [{}]
                        }
                    }
                ]
            }
        }]
    }
}





----------------------------------------------------------------------
Get the total number of invocations of the servlets of each component runtime of the fairShare and wls-management-services applications across all servers
----------------------------------------------------------------------

curl -v \
--user monitor:monitor123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{
  links: [], fields: [],
  children: {
    serverRuntimes: {
      mergeCollection: true,
      children: {
        applicationRuntimes: {
          name: [ 'fairShare', 'wls-management-services' ],
          mergeOn: 'name',
          fields: [ { name: 'name', sameValue: true } ],
          children: {
            componentRuntimes: {
              mergeOn: 'moduleId',
              fields: [ { name: 'contextRoot', sameValue: true } ],
              children: {
                servlets: {
                  mergeCollection: true,
                  fields: [ { name: 'invocationTotalCount', total: true } ]
                }
              }
            }
          }
        }
      }
    }
  }
}" \
-X POST http://localhost:7001/management/weblogic/latest/domainRuntime/search


HTTP/1.1 200 OK

Response Body:
{
    "serverRuntimes": {
        "items": [{
            "applicationRuntimes": {
                "items": [
                    {
                        "name": "fairShare",
                        "componentRuntimes": {
                            "items": [{
                                "contextRoot": "\/fairShare",
                                "servlets": {
                                    "items": [{
                                        "invocationTotalCount": {
                                            "total": 0,
                                            "count": 8
                                        }
                                    }]
                                }
                            }]
                        }
                    },
                    {
                        "name": "wls-management-services",
                        "componentRuntimes": {
                            "items": [{
                                "contextRoot": "\/management",
                                "servlets": {
                                    "items": [{
                                        "invocationTotalCount": {
                                            "total": 166,
                                            "count": 9
                                        }
                                    }]
                                }
                            }]
                        }
                    }
                ]
            }
        }]
    }
}





----------------------------------------------------------------------
Get the information displayed by the console's webapp monitoring page
----------------------------------------------------------------------

curl -v \
--user monitor:monitor123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{
  links: [], fields: [],
  children: {
    serverRuntimes: {
      mergeCollection: true,
      children: {
        applicationRuntimes: {
          mergeOn: 'name',
          fields: [
            { name: 'name',     sameValue: true },
            { name: 'internal', sameValue: true }
          ],
          children: {
            componentRuntimes: {
              mergeOn: 'moduleId',
              fields: [
                { name: 'contextRoot',               sameValue: true },
                { name: 'type',                      sameValue: true },
                { name: 'sourceInfo',                sameValue: true },
                { name: 'deploymentState',           values:    true },
                { name: 'openSessionsHighCount',     max:       true },
                { name: 'openSessionsCurrentCount',  total:     true },
                { name: 'sessionsOpenedTotalCount',  total:     true }
              ],
              children: {
                servlets: {
                  mergeCollection: true,
                  fields: [ { name: 'invocationTotalCount', total: true } ]
                }
              }
            }
          }
        }
      }
    }
  }
}" \
-X POST http://localhost:7001/management/weblogic/latest/domainRuntime/search


HTTP/1.1 200 OK

Response Body:
{
    "serverRuntimes": {
        "items": [{
            "applicationRuntimes": {
                "items": [
                    {
                        "internal": false,
                        "name": "JMSSystemResource1",
                        "componentRuntimes": {
                            "items": [{
                                "deploymentState": {
                                    "values": [
                                        2,
                                        2
                                    ]
                                },
                                "type": "JMSComponentRuntime"
                            }]
                        }
                    },
                    {
                        "internal": false,
                        "name": "JDBCDataSource1",
                        "componentRuntimes": {
                            "items": [{
                                "type": "JDBCDataSourceRuntime",
                                "deploymentState": {
                                    "values": [
                                        2,
                                        2
                                    ]
                                }
                            }]
                        }
                    },
                    {
                        "internal": false,
                        "name": "basicapp",
                        "componentRuntimes": {
                            "items": [
                                {
                                    "type": "WebAppComponentRuntime",
                                    "sourceInfo": "BasicAuth.war",
                                    "contextRoot": "\/BasicAuth",
                                    "openSessionsCurrentCount": {
                                        "total": 0,
                                        "count": 2
                                    },
                                    "deploymentState": {
                                        "values": [
                                            2,
                                            2
                                        ]
                                    },
                                    "sessionsOpenedTotalCount": {
                                        "total": 0,
                                        "count": 2
                                    },
                                    "openSessionsHighCount": {
                                        "max": 0
                                    },
                                    "servlets": {
                                        "items": [{
                                            "invocationTotalCount": {
                                                "total": 0,
                                                "count": 10
                                            }
                                        }]
                                    }
                                },
                                {
                                    "deploymentState": {
                                        "values": [
                                            2,
                                            2
                                        ]
                                    },
                                    "type": "EJBComponentRuntime"
                                }
                            ]
                        }
                    },
                    {
                        "internal": true,
                        "name": "bea_wls_internal",
                        "componentRuntimes": {
                            "items": [{
                                "type": "WebAppComponentRuntime",
                                "sourceInfo": "bea_wls_internal.war",
                                "contextRoot": "\/bea_wls_internal",
                                "openSessionsCurrentCount": {
                                    "total": 0,
                                    "count": 3
                                },
                                "deploymentState": {
                                    "values": [
                                        2,
                                        2,
                                        2
                                    ]
                                },
                                "sessionsOpenedTotalCount": {
                                    "total": 0,
                                    "count": 3
                                },
                                "openSessionsHighCount": {
                                    "max": 0
                                },
                                "servlets": {
                                    "items": [{
                                        "invocationTotalCount": {
                                            "total": 0,
                                            "count": 33
                                        }
                                    }]
                                }
                            }]
                        }
                    },
                    {
                        "internal": true,
                        "name": "jms-internal-xa-adp",
                        "componentRuntimes": {
                            "items": [{
                                "type": "ConnectorComponentRuntime",
                                "deploymentState": {
                                    "values": [
                                        2,
                                        2,
                                        2
                                    ]
                                }
                            }]
                        }
                    },
                    {
                        "internal": true,
                        "name": "wls-management-services",
                        "componentRuntimes": {
                            "items": [{
                                "type": "WebAppComponentRuntime",
                                "sourceInfo": "wls-management-services.war",
                                "contextRoot": "\/management",
                                "openSessionsCurrentCount": {
                                    "total": 3,
                                    "count": 3
                                },
                                "deploymentState": {
                                    "values": [
                                        2,
                                        2,
                                        2
                                    ]
                                },
                                "sessionsOpenedTotalCount": {
                                    "total": 172,
                                    "count": 3
                                },
                                "openSessionsHighCount": {
                                    "max": 3
                                },
                                "servlets": {
                                    "items": [{
                                        "invocationTotalCount": {
                                            "total": 169,
                                            "count": 9
                                        }
                                    }]
                                }
                            }]
                        }
                    },
                    {
                        "internal": false,
                        "name": "fairShare",
                        "componentRuntimes": {
                            "items": [{
                                "type": "WebAppComponentRuntime",
                                "sourceInfo": "fairShare.war",
                                "contextRoot": "\/fairShare",
                                "openSessionsCurrentCount": {
                                    "total": 0,
                                    "count": 2
                                },
                                "deploymentState": {
                                    "values": [
                                        2,
                                        2
                                    ]
                                },
                                "sessionsOpenedTotalCount": {
                                    "total": 0,
                                    "count": 2
                                },
                                "openSessionsHighCount": {
                                    "max": 0
                                },
                                "servlets": {
                                    "items": [{
                                        "invocationTotalCount": {
                                            "total": 0,
                                            "count": 8
                                        }
                                    }]
                                }
                            }]
                        }
                    },
                    {
                        "internal": true,
                        "name": "bea_wls_cluster_internal",
                        "componentRuntimes": {
                            "items": [{
                                "type": "WebAppComponentRuntime",
                                "sourceInfo": "bea_wls_cluster_internal.war",
                                "contextRoot": "\/bea_wls_cluster_internal",
                                "openSessionsCurrentCount": {
                                    "total": 0,
                                    "count": 2
                                },
                                "deploymentState": {
                                    "values": [
                                        2,
                                        2
                                    ]
                                },
                                "sessionsOpenedTotalCount": {
                                    "total": 0,
                                    "count": 2
                                },
                                "openSessionsHighCount": {
                                    "max": 0
                                },
                                "servlets": {
                                    "items": [{
                                        "invocationTotalCount": {
                                            "total": 3,
                                            "count": 10
                                        }
                                    }]
                                }
                            }]
                        }
                    },
                    {
                        "internal": true,
                        "name": "jms-internal-notran-adp",
                        "componentRuntimes": {
                            "items": [{
                                "type": "ConnectorComponentRuntime",
                                "deploymentState": {
                                    "values": [
                                        2,
                                        2,
                                        2
                                    ]
                                }
                            }]
                        }
                    },
                    {
                        "internal": true,
                        "name": "bea_wls_deployment_internal",
                        "componentRuntimes": {
                            "items": [{
                                "type": "WebAppComponentRuntime",
                                "sourceInfo": "bea_wls_deployment_internal.war",
                                "contextRoot": "\/bea_wls_deployment_internal",
                                "openSessionsCurrentCount": {
                                    "total": 0,
                                    "count": 3
                                },
                                "deploymentState": {
                                    "values": [
                                        2,
                                        2,
                                        2
                                    ]
                                },
                                "sessionsOpenedTotalCount": {
                                    "total": 0,
                                    "count": 3
                                },
                                "openSessionsHighCount": {
                                    "max": 0
                                },
                                "servlets": {
                                    "items": [{
                                        "invocationTotalCount": {
                                            "total": 60,
                                            "count": 9
                                        }
                                    }]
                                }
                            }]
                        }
                    },
                    {
                        "internal": true,
                        "name": "bea_wls_management_internal2",
                        "componentRuntimes": {
                            "items": [{
                                "type": "WebAppComponentRuntime",
                                "sourceInfo": "bea_wls_management_internal2.war",
                                "contextRoot": "\/bea_wls_management_internal2",
                                "openSessionsCurrentCount": {
                                    "total": 0,
                                    "count": 1
                                },
                                "deploymentState": {
                                    "values": [2]
                                },
                                "sessionsOpenedTotalCount": {
                                    "total": 0,
                                    "count": 1
                                },
                                "openSessionsHighCount": {
                                    "max": 0
                                },
                                "servlets": {
                                    "items": [{
                                        "invocationTotalCount": {
                                            "total": 4,
                                            "count": 4
                                        }
                                    }]
                                }
                            }]
                        }
                    },
                    {
                        "internal": true,
                        "name": "mejb",
                        "componentRuntimes": {
                            "items": [{
                                "deploymentState": {
                                    "values": [2]
                                },
                                "type": "EJBComponentRuntime"
                            }]
                        }
                    }
                ]
            }
        }]
    }
}





----------------------------------------------------------------------
Search the admin server log as the domain monitor, returning the matching records as json
----------------------------------------------------------------------

curl -v \
--user monitor:monitor123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{
  limit: 2,
  query: 'SEVERITY = \'Info\''
}" \
-X POST http://localhost:7001/management/weblogic/latest/serverRuntime/WLDFRuntime/WLDFAccessRuntime/WLDFDataAccessRuntimes/ServerLog/search


HTTP/1.1 200 OK

Response Body:
{
"records": [
{
  "RECORDID": 1,
  "DATE": "Aug 6, 2025, 9:25:36,982 AM Eastern Daylight Time",
  "SEVERITY": "Info",
  "SUBSYSTEM": "Default",
  "MACHINE": "machine1",
  "SERVER": "",
  "THREAD": "[STANDBY] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'",
  "USERID": "",
  "TXID": "",
  "CONTEXTID": "",
  "TIMESTAMP": "1754486736982",
  "MSGID": "BEA-000000",
  "MESSAGE": "JceConfig is unknown",
  "SUPP_ATTRS": "[severity-value: 64] ",
  "SEVERITY_VALUE": 64,
  "RID": ""
},
{
  "RECORDID": 2,
  "DATE": "Aug 6, 2025, 9:25:37,012 AM Eastern Daylight Time",
  "SEVERITY": "Info",
  "SUBSYSTEM": "Default",
  "MACHINE": "machine1",
  "SERVER": "",
  "THREAD": "[STANDBY] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'",
  "USERID": "",
  "TXID": "",
  "CONTEXTID": "",
  "TIMESTAMP": "1754486737012",
  "MSGID": "BEA-000000",
  "MESSAGE": "FIPS compliant operation not available for configuration type OTHER",
  "SUPP_ATTRS": "[severity-value: 64] ",
  "SEVERITY_VALUE": 64,
  "RID": ""
}],
"nextRecordId": 3
}





----------------------------------------------------------------------
Continue searching a log. This example uses the POST method to continue searching for records in the admin server log as the domain monitor.
----------------------------------------------------------------------

curl -v \
--user monitor:monitor123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{
  limit: 2,
  fromId: 3,
  query: 'SEVERITY = \'Info\''
}" \
-X POST http://localhost:7001/management/weblogic/latest/serverRuntime/WLDFRuntime/WLDFAccessRuntime/WLDFDataAccessRuntimes/ServerLog/search


HTTP/1.1 200 OK

Response Body:
{
"records": [
{
  "RECORDID": 3,
  "DATE": "Aug 6, 2025, 9:25:37,012 AM Eastern Daylight Time",
  "SEVERITY": "Info",
  "SUBSYSTEM": "Default",
  "MACHINE": "machine1",
  "SERVER": "",
  "THREAD": "[STANDBY] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'",
  "USERID": "",
  "TXID": "",
  "CONTEXTID": "",
  "TIMESTAMP": "1754486737012",
  "MSGID": "BEA-000000",
  "MESSAGE": "JceConfig is in non-FIPS mode",
  "SUPP_ATTRS": "[severity-value: 64] ",
  "SEVERITY_VALUE": 64,
  "RID": ""
},
{
  "RECORDID": 4,
  "DATE": "Aug 6, 2025, 9:25:37,435 AM Eastern Daylight Time",
  "SEVERITY": "Info",
  "SUBSYSTEM": "WebLogicServer",
  "MACHINE": "machine1",
  "SERVER": "",
  "THREAD": "Thread-6",
  "USERID": "",
  "TXID": "",
  "CONTEXTID": "",
  "TIMESTAMP": "1754486737435",
  "MSGID": "BEA-000377",
  "MESSAGE": "Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 17.0.16-ea+3-LTS-215 from Oracle Corporation.",
  "SUPP_ATTRS": "[severity-value: 64] ",
  "SEVERITY_VALUE": 64,
  "RID": ""
}],
"nextRecordId": 5
}





----------------------------------------------------------------------
Search the admin server log as the domain monitor, returning the matching records as plain text
----------------------------------------------------------------------

curl -v \
--user monitor:monitor123 \
-H X-Requested-By:MyClient \
-H Accept:text/plain \
-H Content-Type:application/json \
-d "{
  limit: 2,
  query: 'SEVERITY = \'Info\' AND USERID = \'admin\'',
  lastMinutes: 60
}" \
-X POST http://localhost:7001/management/weblogic/latest/serverRuntime/WLDFRuntime/WLDFAccessRuntime/WLDFDataAccessRuntimes/ServerLog/search


HTTP/1.1 200 OK

Response Body:
####<Aug 6, 2025, 9:26:03,580 AM Eastern Daylight Time> <Info> <Security> <machine1> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <admin> <> <c1965260-ae66-4809-84b0-f16059767656-0000000e> <1754486763580> <[severity-value: 64] [rid: 0] > <BEA-090516> <The Authenticator provider has pre-existing LDAP data.> 






----------------------------------------------------------------------
Capture a diagnostics image. Prevents capturing further images for the configured default lockout period. Note: only an admin is allowed to capture an image.
----------------------------------------------------------------------

curl -v \
--user admin:admin123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{}" \
-X POST http://localhost:7001/management/weblogic/latest/serverRuntime/WLDFRuntime/WLDFImageRuntime/capturedImages


HTTP/1.1 201 Created

Location: http://localhost:7001/management/weblogic/latest/serverRuntime/WLDFRuntime/WLDFImageRuntime/capturedImages/diagnostic_image_AdminServer_2025_08_06_09_27_51.zip

Response Body:
{
    "links": [{
        "rel": "job",
        "href": "http:\/\/localhost:7001\/management\/weblogic\/latest\/serverRuntime\/WLDFRuntime\/WLDFImageRuntime\/imageCaptureTasks\/DiagnosticImageCaptureTaskRuntime_1"
    }],
    "identity": [
        "WLDFRuntime",
        "WLDFImageRuntime",
        "imageCaptureTasks",
        "DiagnosticImageCaptureTaskRuntime_1"
    ],
    "running": false,
    "systemTask": false,
    "endTimeAsLong": 1754486877189,
    "imageFileName": "diagnostic_image_AdminServer_2025_08_06_09_27_51.zip",
    "name": "DiagnosticImageCaptureTaskRuntime_1",
    "progress": "success",
    "description": "\/domains\/mydomain\/servers\/AdminServer\/logs\/diagnostic_images\/diagnostic_image_AdminServer_2025_08_06_09_27_51.zip",
    "taskError": null,
    "startTimeAsLong": 1754486871318,
    "type": "WLDFImageCreationTaskRuntime",
    "taskStatus": "Completed",
    "parentTask": null,
    "completed": true,
    "intervalToPoll": 1000,
    "startTime": "2025-08-06T09:27:51.318-04:00",
    "endTime": "2025-08-06T09:27:57.189-04:00"
}





----------------------------------------------------------------------
List the captured diagnostics images.
----------------------------------------------------------------------

curl -v \
--user admin:admin123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/weblogic/latest/serverRuntime/WLDFRuntime/WLDFImageRuntime/capturedImages?links=none


HTTP/1.1 200 OK

Response Body:
{
    "items": [{
        "name": "diagnostic_image_AdminServer_2025_08_06_09_27_51.zip"
    }]
}





----------------------------------------------------------------------
Download a captured diagnostics image
----------------------------------------------------------------------

curl -v \
--user monitor:monitor123 \
-H X-Requested-By:MyClient \
-H Accept:application/octet-stream \
-X GET http://localhost:7001/management/weblogic/latest/serverRuntime/WLDFRuntime/WLDFImageRuntime/capturedImages/diagnostic_image_AdminServer_2025_08_06_09_27_51.zip/contents


Illustrative successful response headers (ZIP response body omitted):
HTTP/1.1 200 OK
Content-Disposition: attachment; filename=diagnostic_image_AdminServer_2025_08_06_09_27_51.zip





----------------------------------------------------------------------
Remove all of the captured images. Note: only an admin is allowed to remove captured images.
----------------------------------------------------------------------

curl -v \
--user admin:admin123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{
  age: ''
}" \
-X POST http://localhost:7001/management/weblogic/latest/serverRuntime/WLDFRuntime/WLDFImageRuntime/purgeCapturedImages


HTTP/1.1 200 OK

Response Body:
{}

Monitoring NoSQL System Resources

Inspect NoSQL resource state and lifecycle information on every relevant target server.

Inspect every relevant target server's NoSQL runtime. State, creation/failure/closure counts, and timestamps are server-local lifecycle information. Use the API version and resource links supported by the connected server, and use the generated REST API reference for exact endpoints, JSON fields, and metric definitions.

Successful configuration responses and activation tasks do not establish live database connectivity; provider construction is lazy. Distinguish request validation, edit/activation failure, provider construction failure, authorization denial, and terminal application invalidation. Use the documented response/task contract rather than interpreting every failure as a connection error.

For the authored inspection and recovery workflow, see Manage a Resource with REST and Update a Resource and Recover Applications in Administering NoSQL Resources for Oracle WebLogic Server. For configuration guidance in this guide, see Managing NoSQL System Resources.

Protect request construction, client logs, response capture, and diagnostic bundles from credential disclosure. Target assignment and JNDI mappings do not authorize the application caller.

Starting and Stopping Domain-Scoped Applications

Review an example script that demonstrates how an Operator starts and stops domain-scoped applications.

Note:

To view long URLs, use the scroll bar located beneath the section.

----------------------------------------------------------------------
Demonstrate a domain operator starting and stopping a domain scoped app
----------------------------------------------------------------------




To retrieve deployment states for all visible configured applications in one request, see Getting Application Deployment Statuses.

----------------------------------------------------------------------
Get the app's state on one of the servers in the cluster
----------------------------------------------------------------------

curl -v \
--user operator:operator123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{ target='Cluster1Server1' }" \
-X POST http://localhost:7001/management/weblogic/latest/domainRuntime/deploymentManager/appDeploymentRuntimes/fairShare/getState


HTTP/1.1 200 OK

Response Body:
{
    "return": "STATE_ACTIVE"
}





----------------------------------------------------------------------
Synchronously stop the app
----------------------------------------------------------------------

curl -v \
--user operator:operator123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{}" \
-X POST http://localhost:7001/management/weblogic/latest/domainRuntime/deploymentManager/appDeploymentRuntimes/fairShare/stop


HTTP/1.1 200 OK

Response Body:
{
    "links": [{
        "rel": "job",
        "href": "http:\/\/localhost:7001\/management\/weblogic\/latest\/domainRuntime\/deploymentManager\/deploymentProgressObjects\/fairShare"
    }],
    "identity": [
        "deploymentManager",
        "deploymentProgressObjects",
        "fairShare"
    ],
    "rootExceptions": [],
    "endTimeAsLong": 1754486879021,
    "deploymentMessages": [
        "[Deployer:149192]Operation \"stop\" on application \"fairShare\" is in progress on \"Cluster1Server2\".",
        "[Deployer:149194]Operation \"stop\" on application \"fairShare\" has succeeded on \"Cluster1Server1\".",
        "[Deployer:149194]Operation \"stop\" on application \"fairShare\" has succeeded on \"Cluster1Server2\"."
    ],
    "name": "fairShare",
    "operationType": 2,
    "startTimeAsLong": 1754486878983,
    "state": "STATE_COMPLETED",
    "id": "2",
    "type": "DeploymentProgressObject",
    "targets": ["Cluster1"],
    "applicationName": "fairShare",
    "failedTargets": [],
    "progress": "success",
    "completed": true,
    "intervalToPoll": 1000,
    "startTime": "2025-08-06T09:27:58.983-04:00",
    "endTime": "2025-08-06T09:27:59.021-04:00"
}





----------------------------------------------------------------------
Get the app's state on one of the servers in the cluster
----------------------------------------------------------------------

curl -v \
--user operator:operator123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{ target='Cluster1Server1' }" \
-X POST http://localhost:7001/management/weblogic/latest/domainRuntime/deploymentManager/appDeploymentRuntimes/fairShare/getState


HTTP/1.1 200 OK

Response Body:
{
    "return": "STATE_PREPARED"
}





----------------------------------------------------------------------
Synchronously start the app
----------------------------------------------------------------------

curl -v \
--user operator:operator123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{}" \
-X POST http://localhost:7001/management/weblogic/latest/domainRuntime/deploymentManager/appDeploymentRuntimes/fairShare/start


HTTP/1.1 200 OK

Response Body:
{
    "links": [{
        "rel": "job",
        "href": "http:\/\/localhost:7001\/management\/weblogic\/latest\/domainRuntime\/deploymentManager\/deploymentProgressObjects\/fairShare"
    }],
    "identity": [
        "deploymentManager",
        "deploymentProgressObjects",
        "fairShare"
    ],
    "rootExceptions": [],
    "endTimeAsLong": 1754486879674,
    "deploymentMessages": [
        "[Deployer:149192]Operation \"start\" on application \"fairShare\" is in progress on \"Cluster1Server1\".",
        "[Deployer:149192]Operation \"start\" on application \"fairShare\" is in progress on \"Cluster1Server2\".",
        "[Deployer:149194]Operation \"start\" on application \"fairShare\" has succeeded on \"Cluster1Server1\".",
        "[Deployer:149194]Operation \"start\" on application \"fairShare\" has succeeded on \"Cluster1Server2\"."
    ],
    "name": "fairShare",
    "operationType": 1,
    "startTimeAsLong": 1754486879564,
    "state": "STATE_COMPLETED",
    "id": "3",
    "type": "DeploymentProgressObject",
    "targets": ["Cluster1"],
    "applicationName": "fairShare",
    "failedTargets": [],
    "progress": "success",
    "completed": true,
    "intervalToPoll": 1000,
    "startTime": "2025-08-06T09:27:59.564-04:00",
    "endTime": "2025-08-06T09:27:59.674-04:00"
}





----------------------------------------------------------------------
Get the app's state on one of the servers in the cluster
----------------------------------------------------------------------

curl -v \
--user operator:operator123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{ target='Cluster1Server1' }" \
-X POST http://localhost:7001/management/weblogic/latest/domainRuntime/deploymentManager/appDeploymentRuntimes/fairShare/getState


HTTP/1.1 200 OK

Response Body:
{
    "return": "STATE_ACTIVE"
}

Starting and Stopping Servers

Review an example script that demonstrates how an Operator starts and stops servers.

Note:

To view long URLs, use the scroll bar located beneath the section.

----------------------------------------------------------------------
Demonstrate a domain operator starting and stopping servers
----------------------------------------------------------------------




----------------------------------------------------------------------
View the servers' states
----------------------------------------------------------------------

curl -v \
--user operator:operator123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/weblogic/latest/domainRuntime/serverLifeCycleRuntimes?links=none&fields=name,state


HTTP/1.1 200 OK

Response Body:
{
    "items": [
        {
            "name": "Cluster1Server1",
            "state": "RUNNING"
        },
        {
            "name": "AdminServer",
            "state": "RUNNING"
        },
        {
            "name": "Cluster1Server2",
            "state": "RUNNING"
        }
    ]
}





----------------------------------------------------------------------
Synchronously shutdown a server
----------------------------------------------------------------------

curl -v \
--user operator:operator123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{
  timeout: 300, ignoreSessions: true
}" \
-X POST http://localhost:7001/management/weblogic/latest/domainRuntime/serverLifeCycleRuntimes/Cluster1Server1/shutdown


HTTP/1.1 200 OK

Response Body:
{
    "links": [{
        "rel": "job",
        "href": "http:\/\/localhost:7001\/management\/weblogic\/latest\/domainRuntime\/serverLifeCycleRuntimes\/Cluster1Server1\/tasks\/_2_shutdown"
    }],
    "identity": [
        "serverLifeCycleRuntimes",
        "Cluster1Server1",
        "tasks",
        "_2_shutdown"
    ],
    "running": false,
    "systemTask": false,
    "endTimeAsLong": 1754486887188,
    "name": "_2_shutdown",
    "progress": "success",
    "description": "Shutting down Cluster1Server1 server ...",
    "serverName": "Cluster1Server1",
    "taskError": null,
    "startTimeAsLong": 1754486880781,
    "type": "ServerLifeCycleTaskRuntime",
    "operation": "shutdown",
    "taskStatus": "TASK COMPLETED",
    "parentTask": null,
    "completed": true,
    "intervalToPoll": 1000,
    "startTime": "2025-08-06T09:28:00.781-04:00",
    "endTime": "2025-08-06T09:28:07.188-04:00"
}





----------------------------------------------------------------------
Asynchronously force shutdown a server
----------------------------------------------------------------------

curl -v \
--user operator:operator123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{}" \
-H "Prefer:respond-async" \
-X POST http://localhost:7001/management/weblogic/latest/domainRuntime/serverLifeCycleRuntimes/Cluster1Server2/forceShutdown


HTTP/1.1 202 Accepted

Location: http://localhost:7001/management/weblogic/latest/domainRuntime/serverLifeCycleRuntimes/Cluster1Server2/tasks/_3_forceShutdown

Response Body:
{
    "links": [{
        "rel": "job",
        "href": "http:\/\/localhost:7001\/management\/weblogic\/latest\/domainRuntime\/serverLifeCycleRuntimes\/Cluster1Server2\/tasks\/_3_forceShutdown"
    }],
    "identity": [
        "serverLifeCycleRuntimes",
        "Cluster1Server2",
        "tasks",
        "_3_forceShutdown"
    ],
    "running": true,
    "systemTask": false,
    "name": "_3_forceShutdown",
    "progress": "processing",
    "description": "Forcefully shutting down Cluster1Server2 server ...",
    "serverName": "Cluster1Server2",
    "taskError": null,
    "startTimeAsLong": 1754486896553,
    "type": "ServerLifeCycleTaskRuntime",
    "operation": "forceShutdown",
    "taskStatus": "TASK IN PROGRESS",
    "parentTask": null,
    "completed": false,
    "intervalToPoll": 1000,
    "startTime": "2025-08-06T09:28:16.553-04:00"
}





----------------------------------------------------------------------
Get status for job domainRuntime/serverLifeCycleRuntimes/Cluster1Server2/tasks/_3_forceShutdown
----------------------------------------------------------------------

curl -v \
--user operator:operator123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/weblogic/latest/domainRuntime/serverLifeCycleRuntimes/Cluster1Server2/tasks/_3_forceShutdown?links=none


HTTP/1.1 200 OK

Response Body:
{
    "identity": [
        "serverLifeCycleRuntimes",
        "Cluster1Server2",
        "tasks",
        "_3_forceShutdown"
    ],
    "running": true,
    "systemTask": false,
    "name": "_3_forceShutdown",
    "progress": "processing",
    "description": "Forcefully shutting down Cluster1Server2 server ...",
    "serverName": "Cluster1Server2",
    "taskError": null,
    "startTimeAsLong": 1754486896553,
    "type": "ServerLifeCycleTaskRuntime",
    "operation": "forceShutdown",
    "taskStatus": "TASK IN PROGRESS",
    "parentTask": null,
    "completed": false,
    "intervalToPoll": 1000,
    "startTime": "2025-08-06T09:28:16.553-04:00"
}





----------------------------------------------------------------------
Get status for job domainRuntime/serverLifeCycleRuntimes/Cluster1Server2/tasks/_3_forceShutdown
----------------------------------------------------------------------

curl -v \
--user operator:operator123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/weblogic/latest/domainRuntime/serverLifeCycleRuntimes/Cluster1Server2/tasks/_3_forceShutdown?links=none


HTTP/1.1 200 OK

Response Body:
{
    "identity": [
        "serverLifeCycleRuntimes",
        "Cluster1Server2",
        "tasks",
        "_3_forceShutdown"
    ],
    "running": false,
    "systemTask": false,
    "endTimeAsLong": 1754486902757,
    "name": "_3_forceShutdown",
    "progress": "success",
    "description": "Forcefully shutting down Cluster1Server2 server ...",
    "serverName": "Cluster1Server2",
    "taskError": null,
    "startTimeAsLong": 1754486896553,
    "type": "ServerLifeCycleTaskRuntime",
    "operation": "forceShutdown",
    "taskStatus": "TASK COMPLETED",
    "parentTask": null,
    "completed": true,
    "intervalToPoll": 1000,
    "startTime": "2025-08-06T09:28:16.553-04:00",
    "endTime": "2025-08-06T09:28:22.757-04:00"
}






----------------------------------------------------------------------
View the servers' states
----------------------------------------------------------------------

curl -v \
--user operator:operator123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/weblogic/latest/domainRuntime/serverLifeCycleRuntimes?links=none&fields=name,state


HTTP/1.1 200 OK

Response Body:
{
    "items": [
        {
            "name": "Cluster1Server1",
            "state": "SHUTDOWN"
        },
        {
            "name": "AdminServer",
            "state": "RUNNING"
        },
        {
            "name": "Cluster1Server2",
            "state": "SHUTDOWN"
        }
    ]
}





----------------------------------------------------------------------
Synchronously start a server
----------------------------------------------------------------------

curl -v \
--user operator:operator123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{}" \
-X POST http://localhost:7001/management/weblogic/latest/domainRuntime/serverLifeCycleRuntimes/Cluster1Server1/start


HTTP/1.1 200 OK

Response Body:
{
    "links": [{
        "rel": "job",
        "href": "http:\/\/localhost:7001\/management\/weblogic\/latest\/domainRuntime\/serverLifeCycleRuntimes\/Cluster1Server1\/tasks\/_4_start"
    }],
    "identity": [
        "serverLifeCycleRuntimes",
        "Cluster1Server1",
        "tasks",
        "_4_start"
    ],
    "running": false,
    "systemTask": false,
    "endTimeAsLong": 1754486945630,
    "name": "_4_start",
    "progress": "success",
    "description": "Starting Cluster1Server1 server ...",
    "serverName": "Cluster1Server1",
    "taskError": null,
    "startTimeAsLong": 1754486915858,
    "type": "ServerLifeCycleTaskRuntime",
    "operation": "start",
    "taskStatus": "TASK COMPLETED",
    "parentTask": null,
    "completed": true,
    "intervalToPoll": 1000,
    "startTime": "2025-08-06T09:28:35.858-04:00",
    "endTime": "2025-08-06T09:29:05.630-04:00"
}





----------------------------------------------------------------------
Asynchronously start a server
----------------------------------------------------------------------

curl -v \
--user operator:operator123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{}" \
-H "Prefer:respond-async" \
-X POST http://localhost:7001/management/weblogic/latest/domainRuntime/serverLifeCycleRuntimes/Cluster1Server2/start


HTTP/1.1 202 Accepted

Location: http://localhost:7001/management/weblogic/latest/domainRuntime/serverLifeCycleRuntimes/Cluster1Server2/tasks/_5_start

Response Body:
{
    "links": [{
        "rel": "job",
        "href": "http:\/\/localhost:7001\/management\/weblogic\/latest\/domainRuntime\/serverLifeCycleRuntimes\/Cluster1Server2\/tasks\/_5_start"
    }],
    "identity": [
        "serverLifeCycleRuntimes",
        "Cluster1Server2",
        "tasks",
        "_5_start"
    ],
    "running": true,
    "systemTask": false,
    "name": "_5_start",
    "progress": "processing",
    "description": "Starting Cluster1Server2 server ...",
    "serverName": "Cluster1Server2",
    "taskError": null,
    "startTimeAsLong": 1754486948819,
    "type": "ServerLifeCycleTaskRuntime",
    "operation": "start",
    "taskStatus": "TASK IN PROGRESS",
    "parentTask": null,
    "completed": false,
    "intervalToPoll": 1000,
    "startTime": "2025-08-06T09:29:08.819-04:00"
}





----------------------------------------------------------------------
Get status for job domainRuntime/serverLifeCycleRuntimes/Cluster1Server2/tasks/_5_start
----------------------------------------------------------------------

curl -v \
--user operator:operator123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/weblogic/latest/domainRuntime/serverLifeCycleRuntimes/Cluster1Server2/tasks/_5_start?links=none


HTTP/1.1 200 OK

Response Body:
{
    "identity": [
        "serverLifeCycleRuntimes",
        "Cluster1Server2",
        "tasks",
        "_5_start"
    ],
    "running": true,
    "systemTask": false,
    "name": "_5_start",
    "progress": "processing",
    "description": "Starting Cluster1Server2 server ...",
    "serverName": "Cluster1Server2",
    "taskError": null,
    "startTimeAsLong": 1754486948819,
    "type": "ServerLifeCycleTaskRuntime",
    "operation": "start",
    "taskStatus": "TASK IN PROGRESS",
    "parentTask": null,
    "completed": false,
    "intervalToPoll": 1000,
    "startTime": "2025-08-06T09:29:08.819-04:00"
}





----------------------------------------------------------------------
Get status for job domainRuntime/serverLifeCycleRuntimes/Cluster1Server2/tasks/_5_start
----------------------------------------------------------------------

curl -v \
--user operator:operator123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/weblogic/latest/domainRuntime/serverLifeCycleRuntimes/Cluster1Server2/tasks/_5_start?links=none


HTTP/1.1 200 OK

Response Body:
{
    "identity": [
        "serverLifeCycleRuntimes",
        "Cluster1Server2",
        "tasks",
        "_5_start"
    ],
    "running": true,
    "systemTask": false,
    "name": "_5_start",
    "progress": "processing",
    "description": "Starting Cluster1Server2 server ...",
    "serverName": "Cluster1Server2",
    "taskError": null,
    "startTimeAsLong": 1754486948819,
    "type": "ServerLifeCycleTaskRuntime",
    "operation": "start",
    "taskStatus": "TASK IN PROGRESS",
    "parentTask": null,
    "completed": false,
    "intervalToPoll": 1000,
    "startTime": "2025-08-06T09:29:08.819-04:00"
}





----------------------------------------------------------------------
Get status for job domainRuntime/serverLifeCycleRuntimes/Cluster1Server2/tasks/_5_start
----------------------------------------------------------------------

curl -v \
--user operator:operator123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/weblogic/latest/domainRuntime/serverLifeCycleRuntimes/Cluster1Server2/tasks/_5_start?links=none


HTTP/1.1 200 OK

Response Body:
{
    "identity": [
        "serverLifeCycleRuntimes",
        "Cluster1Server2",
        "tasks",
        "_5_start"
    ],
    "running": false,
    "systemTask": false,
    "endTimeAsLong": 1754486975092,
    "name": "_5_start",
    "progress": "success",
    "description": "Starting Cluster1Server2 server ...",
    "serverName": "Cluster1Server2",
    "taskError": null,
    "startTimeAsLong": 1754486948819,
    "type": "ServerLifeCycleTaskRuntime",
    "operation": "start",
    "taskStatus": "TASK COMPLETED",
    "parentTask": null,
    "completed": true,
    "intervalToPoll": 1000,
    "startTime": "2025-08-06T09:29:08.819-04:00",
    "endTime": "2025-08-06T09:29:35.092-04:00"
}






----------------------------------------------------------------------
View the servers' states
----------------------------------------------------------------------

curl -v \
--user operator:operator123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/weblogic/latest/domainRuntime/serverLifeCycleRuntimes?links=none&fields=name,state


HTTP/1.1 200 OK

Response Body:
{
    "items": [
        {
            "name": "Cluster1Server1",
            "state": "RUNNING"
        },
        {
            "name": "AdminServer",
            "state": "RUNNING"
        },
        {
            "name": "Cluster1Server2",
            "state": "RUNNING"
        }
    ]
}