Enabling the SAP Java Connector (JCo) trace

Activate traces to get more information that can help you analyze errors that are related to connection issues.

Procedure

  1. Navigate to the IBM Security Verify Directory Integrator adapters solution directory.
    For example, ITDI_HOME\timsol.
  2. Open the file in an editor.
    For Windows operating systems
    Open the file ibmdiservice.props
    For UNIX or Linux operating systems
    Open the file ibmdisrv
  3. Edit the following property:
    • For Windows operating systems
      jvmcmdoptions=-Djco.trace_level=10 -Djco.trace_path=E:\jco_trace\ -Djco.rfc=1
      Where:
      -Djco.trace_level=N 
      The trace level can be 0 - 10, where 10 being the most detailed trace.
      -Djco.trace_path=<PATH>
      If a trace path is set, the JCo traces are written to one or multiple files that are named JCO<date>_<time>.<no>.trc in the specified PATH directory. Otherwise, the JCo traces are written to the standard output stream, where, by default is an output to the console.
      Note: The jco_trace directory must be available.
      -Djco.jrfc=1
      If set to 1, JCo trace is enabled for all connections. This configuration should be the last resort.
    • For UNIX or Linux operating systems
      -Djco.trace_level=10 -Djco.trace_path=/opt/jco_trace/ -Djco.rfc=1
      Where:
      -Djco.trace_level=N 
      The trace level can either be 0 or 10, where 10 being the most detailed trace.
      -Djco.trace_path=<PATH>
      If a trace path is set, the JCo traces are written to one or multiple files that are named JCO<date>_<time>.<no>.trc in the specified PATH directory. Otherwise, the JCo traces are written to the standard output stream, where, by default is an output to the console.
      Note: The jco_trace directory must be available.
      -Djco.jrfc=1
      If set to 1, JCo trace is enabled for all connections. This configuration should be the last resort.
      For example:
      "%TDI_JAVA_PROGRAM%"  -Xdebug -Xnoagent -Djava.compiler=NONE -Djco.trace_level=10
       -Djco.trace_path=/opt/jco_trace/ -Djco.rfc=1
      -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5555 -classpath 
      "%TDI_HOME_DIR%\IDILoader.jar" %ENV_VARIABLES% com.ibm.di.loader.ServerLauncher %*
      set RC=%ERRORLEVEL%
  4. Save your changes.
  5. Restart the adapter service.