Wednesday 4 October 2017

Identifying the WCS server using JSESSIONID

Most of the times debugging the Production Issues needs logs from Application Servers. In Order to Identify which application server is serving the request from browser can be known by using the JSESSIONID cookie which is OOTB cookie.

Follow the below steps for identifying the WCS Application server details

1. Install "Edit this cookie" addon for chrome (Or any other cookie manager to see the cookies on the browser).
2. Check the JSESSIONID cookie value which will be in the format of UNIQUE_ID:CLONEID get the CLONEID from the JSESSIONID cookie.
3. Open the  plugin-cfg.xml file from the webserver (IHS) and search for the mapping of the CLONEID to the server for eg: mapping shown below for cloneidabcd12 with the server xyzserver.companyname.com.

<Server CloneID="abcd12" ConnectTimeout="0" ExtendedHandshake="false" MaxConnections="-1" 
     Name="WC_demo_node_server1" ServerIOTimeout="0" WaitForContinue="false">
    <Transport Hostname="xyzserver.companyname.com" Port="9101" Protocol="http"/>
</Server>


No comments:

Post a Comment