stopwlsserver

API Name

stopwlsserver

Description

Stops the J2ee container within a WebLogic Server instance.

REST Methods

POST

Precondition

Agent must be running.

Input Params

wlsInstanceName, wlsDomainName, wlsServerName Note (Release 9.2.4.3): Add these additional parameters if there are duplicate instance names: agentHostName, jdeHome.

Sample Request

{"wlsInstanceName":"JAS_9001","wlsDomainName":"E1_ domain","wlsServerName": "J2EE_JAS_9001"}https://jdesmc.example.com:8998/manage/mgmtrestservice/stopwlsserver This is the sample request if you have duplicate instance names:

{"wlsInstanceName":"JAS_9001","wlsDomainName": "E1_domain","wlsServerName":"J2EE_JAS_9001", "agentHostName":"jdesmc.example.com”, "jdeHome":"/slot/ oracle/jde_agent_jas/SCFHA"}https://jdesmc.example.com:8998/manage/mgmtrestservice/stopwlsserver

Return

HTTP status 200 is returned.

Sample Response

Exception

Throws an exception if it is not possible to stop the J2ee container for any reason.