Debugging the JVM within the Siteminder Policy Server v6.0

Document ID : KB000054298
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

When attempting to troubleshoot Java-based components within the Policy Server, is there a way to increase debugging for the invoked JVM?

Solution:

Due to the way the JVM is used and started in policy server, 'jdb' must attach to the existing JVM within the policy server process, this can be achieved by adding the following options to the JVMOptions.txt file:

  • Xdebug
  • Xrunjdwp:transport=dt_shmem,address=jdbconn,server=y,suspend=n

Once the policy server is started and the JVM is loaded, one can start 'jdb' to debug the JVM as follows:

        jdb -attach jdbconn