You are currently reviewing an older revision of this page.

KB-1422 How to determine current JBoss node

Purpose

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

Instructions

  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 JBoss application servers. 

Last Reviewed: November 2017