You are currently reviewing an older revision of this page.

KB-1422 How to determine which application server node is hosting the current user session

Purpose

Sometimes it may be necessary to determine which application server node a session is hitting for troubleshooting purposes. This article outlines how to do this for an environment with multiple application servers.

Instructions

  1. Each application server will have an instance-id/node-name that uniquely identifies that instance.
  2. If using JBoss, navigate to the standalone.xml file for the application server node you would like to hit and find the line where "instance-id" is defined. If using Tomcat, navigate to setenv.bat|sh file and find the line where DjvmRoute is defined.
  3. Visit the site URL to load the login page.
  4. Using Chrome, press F12 to open Developer Tools.
  5. Click “Application” > “Cookies” > <site-url> > “JSESSIONID”.
  6. Mouse over the value of JSESSIONID and you will see an alphanumeric string which ends with a node number. 
  7. If you are not on the desired application server node that was noted in step 1, double click the value and delete the contents.
  8. Refresh the page and repeat the above steps until you get to the desired node ID.

Affected Versions

This article applies to Appian environments with multiple application servers. 

Last Reviewed: October 2018