createwlsserver

API Name

createwlsserver

Description

Creates a J2EE container within a WebLogic Server instance.

REST Methods

POST

Precondition

Agent must be running.

Input Params

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

Sample Request

{ "wlsInstanceName":"wls12c3_emsWLS", "wlsDomainName": "E1_domain", "wlsServerName":"Testapi", "httpPort":"5438", "wlsNmMachineName":"jdewlsmachine", }https://jdesmc.example.com:8998/manage/mgmtrestservice/createwlsserver

This is the sample request if you have duplicate instance names: { "wlsInstanceName": "wls12c3_ems17481", "wlsDomainName":"E1_domain", "wlsServerName": "Testapi", "httpPort":"5438", "wlsNmMachineName": "jdewlsmachine", "agentHostName":"jdesma.example.com", "jdeHome":"/slot/oracle/jde_agent_jas/SCFHA"}https://jdesmc.example.com:8998/manage/mgmtrestservice/createwlsserver

Return

HTTP status 201 is returned.

Sample Response

Exception

Throws an exception if there is any problem in the input or any problems during the creation of the J2ee container within the WebLogic Server instance.