Enable SAP Java Connect Option debugging with the SAP plug-in.

book

Article ID: 41758

calendar_today

Updated On:

Products

Workload Automation Agent

Issue/Introduction

This doc explains how to turn on debugging of communication between the SAP plug-in and the SAP instance.  This debugging is generated by SAP's Java Connect Option component. This doc explains how to enable the debugging in context of the JCO being used by the System Agent and the SAP plug-in.  Specifics of what is in the debug log and the interpretation of the log is not included in this how to.

Environment

Release:
Component: SAPAGT

Resolution

Instructions:

Set the following in the System Agent's agentparm.txt file.  Restart the agent after the change.

jco.trace_level=3 

jco.trace_path=\tmp (This is the directory where the trace will go. You can set it anywhere that is convenient for you.)

Notes:

Trace Levels

Value -  Description

0 - No trace.

1 - Traces errors.

2 - Traces errors and warnings.

3 - Traces info messages, errors, and warnings.

4 - Traces execution path, info messages, errors, and warnings.

5 - Verbose trace of execution path, info messages, errors, and warnings.

6 - Verbose trace of execution path, limited data dumps, info messages, errors, and warnings.

7 - Full trace of execution path, data dumps with metadata, verbose info messages, errors, and warnings.

8 - Full trace of execution path, full data dumps with metadata, verbose info messages, errors, and warnings.

Using trace levels above 3 generates a great deal of data in the log file.  Be cautious when setting above 3.

Refer to SAP for specific details of the trace settings.