View Only
  • 1.  how to turn on JDBC tracing

    Posted Tue June 22, 2021 01:01 AM

    Sometimes we found DB2 DSA connection failure or DB2 table locked, but we can not find the reason, how we can turn on JDBC tracing for Impact 7.1


  • 2.  RE: how to turn on JDBC tracing
    Best Answer

    Posted Tue June 22, 2021 01:02 AM

    1. In Impact 7.1, open jvm.options in a text editor.

    $IMPACT_HOME/wlp/usr/servers/<intance name>/jvm.options

    2. Add the following line:

    -Ddb2.jcc.propertiesFile=<JCC trace file>

    where <JCC trace file> points at the .properties text file, for example;


    Ensure the file is in a location readable

    by the Impact server process.

    3. Save your changes and create the

    new properties file e.g.

    vi /tmp/

    4. Add the following properties to

    the file, change the directories as needed;









    5. Restart Impact server

    6. Use the 'Test Connection'

    button on the db2 data source in impact UI, confirm it fails, and send us

    nci_collect_logs and the jdbc trace files created in the traceDirectories you

    coded in the file.


  • 3.  RE: how to turn on JDBC tracing
    Best Answer

    Posted Tue June 22, 2021 08:25 AM

    If your application displays JDBC-related exception messages, activate the JDBC trace service. The resulting log text can help you identify the problem.

    This method activates JDBC trace for all applications that run in the server you specify. Identify your database type by selecting the trace group WAS.database and typing one of the following trace strings in the console:

    Trace string for JDBC drivers of DB2® databases.

    See the following DB2 database sample:



  • 4.  RE: how to turn on JDBC tracing
    Best Answer

    Posted Wed June 23, 2021 03:56 AM

    Oops, accurately says, this topic is for enabling JDBC JCC trace.