Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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":  nullnull,
"webServers":  
[ 1]
0:  
{
"server":   "127.0.0.1:8080",
"cookieName":   "server1",
"sessions":  00,
"isDown":  truetrue,
"lastDownException":  
{
"cause":  nullnull,
"stackTrace":  
[16]
0:  
{
"methodName":   "waitForConnect",
"fileName":   "DualStackPlainSocketImpl.java",
"lineNumber":  -2
"-2,
"className": "java.net.DualStackPlainSocketImpl",
"nativeMethod": true
},
{
"methodName": "socketConnect",
"fileName": "DualStackPlainSocketImpl.java",
"lineNumber": 85,
"className":   "java.net.DualStackPlainSocketImpl",
"nativeMethod": false
},
{
"methodName": "doConnect",
"fileName": "AbstractPlainSocketImpl.java",
"lineNumber": 350,
"className": "java.net.AbstractPlainSocketImpl",
"nativeMethod": false
},
{
"methodName": "connectToAddress",
"fileName": "AbstractPlainSocketImpl.java",
"lineNumber": 206,
"className": "java.net.AbstractPlainSocketImpl",
"nativeMethod": false
},
{
"methodName": "connect",
"fileName": "AbstractPlainSocketImpl.java",
"lineNumber": 188,
"className": "java.net.AbstractPlainSocketImpl",
"nativeMethod": false
},
{
"methodName": "connect",
"fileName": "PlainSocketImpl.java",
"lineNumber": 172,
"className": "java.net.PlainSocketImpl",
"nativeMethod": false
},
{
"methodName": "connect",
"fileName": "SocksSocketImpl.java",
"lineNumber": 392,
"className": "java.net.SocksSocketImpl",
"nativeMethod": false
},
{
"methodName": "connect",
"fileName": "Socket.java",
"lineNumber": 589,
"className": "java.net.Socket",
"nativeMethod": false
},
{
"methodName": "connectSocketWithTimeout",
"fileName": "TunnelServlet.java",
"lineNumber": 8706,
"className": "dk.itp.tunnel.TunnelServlet",
"nativeMethod": true
}
1:  
{
.. .. .. ..
}
"localizedMessage": ": false
},
{
"methodName": "createNormalSocket",
"fileName": "Http11Support.java",
"lineNumber": 393,
"className": "dk.itp.tunnel.Http11Support$Connection",
"nativeMethod": false
},
{
"methodName": "connect",
"fileName": "Http11Support.java",
"lineNumber": 362,
"className": "dk.itp.tunnel.Http11Support$Connection",
"nativeMethod": false
},
{
"methodName": "transmitRequest",
"fileName": "Http11Support.java",
"lineNumber": 161,
"className": "dk.itp.tunnel.Http11Support$Connection",
"nativeMethod": false
},
{
"methodName": "pingURL",
"fileName": "TunnelServlet.java",
"lineNumber": 3612,
"className": "dk.itp.tunnel.TunnelServlet",
"nativeMethod": false
},
{
"methodName": "pingURL",
"fileName": "TunnelServlet.java",
"lineNumber": 3419,
"className": "dk.itp.tunnel.TunnelServlet",
"nativeMethod": false
},
{
"methodName": "run",
"fileName": "TunnelServlet.java",
"lineNumber": 8022,
"className": "dk.itp.tunnel.TunnelServlet",
"nativeMethod": false
},
{
"methodName": "run",
"fileName": "Thread.java",
"lineNumber": 745,
"className": "java.lang.Thread",
"nativeMethod": false
}
],
"localizedMessage": "Connection refused: connect",
"message":   "Connection refused: connect",
"suppressed":  
[0]
},
"lastCheckedAt":  14624624618491500657477459,
"currentSimultaneousRequests":  00,
"lastUsedAt":  00,
"isUnavailable":  falsefalse,
"weblogicJVMID":   ""
}]
},
1:  
{
"name":   "webservices",
"webServers":  
[ 1]
0:  
{
"server":   "127.0.0.1:4300",
"cookieName":   "ws1",
"sessions":  00,
"isDown":  falsefalse,
"lastDownException":  
{
"cause":  nullnull,
"stackTrace": [
{
"methodName": "<init>",
"fileName": "TunnelServlet.java",
"lineNumber": 1025,
"className": "dk.itp.tunnel.TunnelServlet$ServerEntry",
"nativeMethod": false
},
{
"
[10]
0:  methodName": "parseTargetServers",
"fileName": "TunnelServlet.java",
"lineNumber": 7691,
"className": "dk.itp.tunnel.TunnelServlet",
"nativeMethod": false
},
{
"methodName":   "<init>reconfigure",
"fileName": "TunnelServlet.java": "TunnelServlet,
"lineNumber": 7234,
"className": "dk.itp.tunnel.TunnelServlet",
"nativeMethod": false
},
{
"methodName": "configUpdated",
"fileName": "TunnelService.java",
"lineNumber":  94673,
"className":   "dk.itp.tunnel.TunnelServlet$ServerEntryTunnelService",
"nativeMethod":  false
}
1:  
{
.. .. .. ..
}false
},
{
"methodName": "configurationUpdated",
"fileName": "ManagedService.java",
"lineNumber": 200,
"className": "dk.itp.managed.service.client.ManagedService",
"nativeMethod": false
},
{
"methodName": "configurationUpdated",
"fileName": "ConfigClient.java",
"lineNumber": 325,
"className": "dk.itp.managed.service.client.ConfigClient",
"nativeMethod": false
},
{
"methodName": "connected",
"fileName": "ConfigClient.java",
"lineNumber": 419,
"className": "dk.itp.managed.service.client.ConfigClient",
"nativeMethod": false
},
{
"methodName": "connectLoadbalanced",
"fileName": "ConfigClient.java",
"lineNumber": 400,
"className": "dk.itp.managed.service.client.ConfigClient",
"nativeMethod": false
},
{
"methodName":   "parseTargetServersrun",
"fileName":   "TunnelServletConfigClient.java",
"lineNumber":  7389748,
"className":   "dk.itp.tunnel.TunnelServlet"managed.service.client.ConfigClient",
"nativeMethod": false
},
{
"methodName": "run",
"fileName": "Thread.java",
"lineNumber": 745,
"className": "java.lang.Thread",
"nativeMethod":  falsefalse
}
],
"localizedMessage":  nullnull,
"message":  nullnull,
"suppressed":  
[0]
},
"lastCheckedAt":  14624624618511500657477463,
"currentSimultaneousRequests":  00,
"lastUsedAt":  00,
"isUnavailable":  falsefalse,
"weblogicJVMID":   ""
}]
}
]
} ]