Enabling Trace for the SAP JCo Libraries

You can use Java properties and environment variables to enable trace for the SAP JCo libraries used by the plug-in.

For more information about the Java properties, see SAP Help Portal or the SAP JCo documentation.

  • Java properties used to enable the JCo trace in the SAP JCo libraries
    • jco.trace_level: the trace level for JCo. The value range is 0 - 10.
    • jco.trace_path: the location of the path for JCo trace files.
  • Java property used to enable the JCo trace at the JNI middleware layer in the SAP JCo libraries
    • jrfc.trace: the switch of the RFC trace. Set the value to 1 to enable the RFC trace.
  • Environment variables used to enable the CPIC trace between the SAP JCo libraries and the SAP gateway
    • CPIC_TRACE: the level of the CPIC trace. The value range is 0 - 3.
    • CPIC_TRACE_DIR: the location of the path for CPIC trace files.

You can configure the Java properties and environment variables in the following ways:

  • TIBCO Business Studio

    You can configure the Java properties as VM arguments in the ActiveMatrix BusinessWorks application. In the case of the environment variables, you have to export the variables before starting TIBCO Business Studio. The JCo trace and CPIC trace messages are stored in the trace files specified.

  • AppNodes in TIBCO ActiveMatrix BusinessWorks

    If the ActiveMatrix BusinessWorks application is deployed to an AppNode, you can configure the Java properties and environment variables in the configuration file config.ini.