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
-
Navigate to the IBM Security Verify
Directory Integrator adapters
solution directory.
For example, ITDI_HOME\timsol.
-
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
-
Edit the following property:
- For Windows operating systems
Where:jvmcmdoptions=-Djco.trace_level=10 -Djco.trace_path=E:\jco_trace\ -Djco.rfc=1- -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
Where:-Djco.trace_level=10 -Djco.trace_path=/opt/jco_trace/ -Djco.rfc=1- -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%
- For Windows operating systems
- Save your changes.
- Restart the adapter service.