Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Once status REST services are enabled and properly configured they can be accessed as shown below

Using the rest services is done through the following URLs as described below.

http://server:port/restservices/status/configserver/?servers=XX,YY

Optional parameter servers – a comma separated list of servers to get status for. If no list is given, status is returned for all servers.

Description

Returns config server status texts and connection status

Example URLS

http://localhost:5300/restservices/status/configserver/
http://localhost:5300/restservices/status/configserver/?servers=configserver1,useradmin1
http://localhost:5300/restservices/status/webserver

http://localhost:5300/restservices/status/webserver?servers=appserver1,appserver2

Formatted example

[2]
0:  
{
"name": "configserver1"
"alias": ""
"htlmStatus": "<p><b>Actions</b><br><!-- action="peer" title="Peers connections" resource="peer.connections" permission="read"...........”
"state": "NOT_CONNECTED"
"pingTime": 0
}
1:  
{
"name": "useradmin1"
"alias": ""
"htlmStatus": "Time: Thu May 05 17:27:44 CEST 2016<br>Number of session listeners: 0<br>SessionCtrl server connection status: NIO TCP Peer useradmin1@localhost:...........”
"state": "RUNNING"
"pingTime": 0
}


http://server:port/restservices/status/webserver/

No optional parameters

Description

Returns dispatcher web server status information

Example URLS

http://localhost:5300/restservices/status/webserver/

Formatted example

[1]
0:  
{
"dispatcherName": "dispatcher1"
"alternateServers": 
[2]
0:  
{
"name": null
"webServers": 
[1]
0:  
{
"server": "127.0.0.1:8080"
"cookieName": "server1"
"sessions": 0
"isDown": true
"lastDownException": 
{
"cause": null
"stackTrace": 
[16]
0:  
{
"methodName": "waitForConnect"
"fileName": "DualStackPlainSocketImpl.java"
"lineNumber": -2
"className": "java.net.DualStackPlainSocketImpl"
"nativeMethod": true
}
1:  
{
.. .. .. ..
}
"localizedMessage": "Connection refused: connect"
"message": "Connection refused: connect"
"suppressed": 
[0]
}
"lastCheckedAt": 1462462461849
"currentSimultaneousRequests": 0
"lastUsedAt": 0
"isUnavailable": false
"weblogicJVMID": ""
}
}
1:  
{
"name": "webservices"
"webServers": 
[1]
0:  
{
"server": "127.0.0.1:4300"
"cookieName": "ws1"
"sessions": 0
"isDown": false
"lastDownException": 
{
"cause": null
"stackTrace": 
[10]
0:  
{
"methodName": "<init>"
"fileName": "TunnelServlet.java"
"lineNumber": 946
"className": "dk.itp.tunnel.TunnelServlet$ServerEntry"
"nativeMethod": false
}
1:  
{
.. .. .. ..
}
{
"methodName": "parseTargetServers"
"fileName": "TunnelServlet.java"
"lineNumber": 7389
"className": "dk.itp.tunnel.TunnelServlet"
"nativeMethod": false
}
"localizedMessage": null
"message": null
"suppressed": 
[0]
}
"lastCheckedAt": 1462462461851
"currentSimultaneousRequests": 0
"lastUsedAt": 0
"isUnavailable": false
"weblogicJVMID": ""
}
}
}

 

  • No labels