weblogicinfo (Release 9.2.8.2)

API Name

weblogicinfo

Description

Returns information about a particular weblogic server.

REST Methods

GET

Precondition

Agent must be up and running.

Input Params

agentHostName, jdeHome

Sample Request

https://host:port/manage/mgmtrestservice/weblogicinfo? agentHostName=sma.oracle.com&jdeHome=C:\jde_home_ SM9205\SCFMC

Return

HTTP status 201 Created is returned.

Sample Response

{

"agentHostName": "localhost",

"jdeHome": "C:\\SMC\\SMC_9270\\SCFMC",

"result": {

"userHome": "C:\\Users\\TEST",

"javaVersion": "1.8.0_131",

"javaVmName": "Java HotSpot(TM) 64-Bit Server VM",

"weblogicHome": "C:\\Oracle\\MIDDLE~1\\ORACLE~2\\wlserver\\server",

"nmListernPort": "5556",

"adminPort": "8101",

"userName": "TEST",

"javaHome": "C:\\Oracle\\MIDDLE~1\\ORACLE~2\\ORACLE~1\\jdk\\jre",

"javaRuntimeVersion": "1.8.0_131-b11"

}

}

Exception

Throws an exception if the operation fails for any reason.