You are currently reviewing an older revision of this page.

How to determine current application server node

Sometimes it may be necessary to determine which application server node a session is hitting.

  1. Each application server will have an "instance-id" in standalone.xml that uniquely identifies each JBoss instance. 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. Note the value.
  2. Visit the site URL to load the login page.
  3. Using Chrome, press F12 to open Developer Tools.
  4. Click “Application” > “Cookies” > <site-url> > “JSESSIONID”.
  5. Mouse over the value of JSESSIONID and you will see an alphanumeric string which ends with a node number. 
  6. If you are not on the desired application server node that was noted in step 1, double click the value and delete the contents.
  7. Refresh the page and repeat the above steps until you get to the desired node ID.

Affected Versions

This article applies to environments with multiple application servers. 

Last Reviewed: November 2017