search cancel

Debugging the JVM within the Siteminder Policy Server v6.0

book

Article ID: 54298

calendar_today

Updated On:

Products

CA Single Sign On Secure Proxy Server (SiteMinder) CA Single Sign On SOA Security Manager (SiteMinder) CA Single Sign-On

Issue/Introduction

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

Environment

Release:
Component: SMPLC