Cisco Cisco Finesse 8.5(3) Guide De Dépannage

Page de 9
order to trace this request through the system. Returned with status=200 indicates that the request was
successfully received.
Container : [ClientServices] SystemInfo: requestId='undefined', Making REST
request: method=GET, url='/finesse/api/SystemInfo?nocache=1366756802163'18:40:03:
Container : [ClientServices] SystemInfo: requestId='undefined', Returned
with status=200
If you do not have clientlogs but you need to trace the request, you can search the Tomcat
localhost_access_log in order to determine when the REST API request was made and to locate the unique
identifier.
127.0.0.1 127.0.0.1 − − 80 GET /finesse/api/SystemInfo ?nocache=1366756802163
HTTP/1.1 200 336 120 10.10.10.211 10.10.10.211 2001 − 80 GET /gadgets/makeRequest
?refresh=3600&url=http%3A%2F%2Flocalhost%2Ffinesse%2Fapi%2FSystemInfo%3Fnocache%
3D1366756802163&httpMethod=GET&headers=Authorization%3DBasic%2520MjAwMToyMDAx%
26locale%3Den_US&postData=&authz=&st=&contentType=TEXT&numEntries=3&getSummaries
=false&signOwner=true&signViewer=true&gadget=undefined&container=default&
bypassSpecCache=&getFullHeaders=false HTTP/1.1 200 659 596
API_REQUEST
Tomcat sends this API request to the Finesse REST API Web Application Repository (WAR). In order to find
the Finesse REST API logs, search the Finesse webservices log either by timestamp or the nocache ID in
order to locate the API_REQUEST. This log shows the REQUEST_START, the REQUEST_URL, the
REQUEST_END, and the elapsed_time the system took to complete the request.
%CCBU_http−8080−7−6−REQUEST_START: %[method_name=GET][parameter_name=
{ nocache=[1366756802163],  }][resource_name=/SystemInfo][usr=]: Request start
%CCBU_http−8080−7−6−API_REQUEST: %[REQUEST_URL=SystemInfo][agent_id=][request_
identifier=][request_method=systemInfo.GET][request_parameters=]: Request from
client to webservice api
%CCBU_http−8080−7−6−REGISTER_API_STATS_OBJECT: %[resource_name=com.cisco.ccbu:
category=WebAppStats,component0=SystemInfo−GET]: Registered new api stats object
for new request type. %CCBU_http−8080−7−6−REQUEST_END: %[elapsed_time=98]: Request complete 
The content returned to the client by the REST API request to retrieve System Information is shown here.
This information is located in the client (agent) logs.
content='<SystemInfo>
  <primaryNode>
    <host>UCCEFINESSE91.vmload.cvp</host>
  </primaryNode>
  <secondaryNode>
    <host>UCCEFINESSE138.vmload.cvp</host>
  </secondaryNode>
  <status>IN_SERVICE</status>
  <xmppDomain>UCCEFINESSE138.vmload.cvp</xmppDomain>
  <xmppPubSubDomain>pubsub.UCCEFINESSE138.vmload.cvp</xmppPubSubDomain>
</SystemInfo>'
Establish the BOSH Connection
The SystemInfo shows the Primary and Secondary Finesse servers, the status of Finesse as IN_SERVICE, the
xmppDomain, and the xmppPubSubDomain. The client now has enough information in order to establish a
BOSH connection.
18:40:03: Container : PageServices.init().onLoad: System info status: IN_SERVICE
18:40:03: Container : PageServices.init(): Establishing BOSH connection...