IBM Books

DB2 Query Patroller Administration Guide


Appendix B. Troubleshooting DB2 Query Patroller Clients

This chapter provides information to assist in troubleshooting the DB2 Query Patroller client and describes common problems that may be encountered.

The DB2 Query Patroller client may consist of the following tools: QueryEnabler, QueryMonitor, QueryAdministrator, and Tracker. Although there are different methods for troubleshooting each tool, because the tools are DB2 applications, methods used to troubleshoot DB2 clients as documented in the Troubleshooting Guide may often be applicable.


Troubleshooting QueryEnabler

The QueryEnabler is both an ODBC driver and an ODBC application. When trapping user queries, it acts as an ODBC application. When performing database access to DB2, it acts as an ODBC driver.

Whenever a problem occurs, you should check the following:

Note:You may also want to check the DB2 diagnostic log for DB2-related problems.

In order to help identify problems, IBM support representatives may employ the following tracing mechanisms collectively or separately:

The first three trace facilities are described in the Troubleshooting Guide. Refer to this document for detailed instructions.

DB2 QueryEnabler trace is enabled by editing the INI file DB2IWM.INI located in the Windows system directory and changing the value of LOG from FALSE to TRUE.

After this modification, the application accessing QueryEnabler should be restarted and the problem under investigation should be repeated to generate a diagnostic log called DB2IWM.LOG located in the root of the C partition, i.e. C:\DB2IWM.LOG.

This file will contain all ODBC function calls accessed in QueryEnabler by the application. QueryEnabler will continue to log information to this file until the LOG parameter in the DB2IWM.INI file is reset to FALSE. Ensure that there is sufficient free disk space on the C partition to support this file.

Common QueryEnabler Problems

  1. The application is unable to connect to DB2:

  2. The application is unable to access the QueryEnabler query submission dialogs:

  3. The QueryEnabler dialogs appear unexpectedly:

  4. The query application is unable to submit a query to the DB2 Query Patroller server using QueryEnabler:

  5. The application has submitted a query to the DB2 Query Patroller server but the query is not being executed:

Troubleshooting QueryMonitor and QueryAdministrator

QueryMonitor and QueryAdministrator are Java applications that access DB2 using JDBC. Diagnostic information can be obtained from four sources:

Typically those trace tools are launched using a Java Virtual Machine (JVM) that does not have a console (JREW.EXE). These trace tools may also be run in a JVM that has a console (JRE.EXE), in which case DB2 Query Patroller will print information to the console. You can use that information to help identify the cause of a problem.

Common QueryMonitor and QueryAdministrator Problems

  1. The tool is unable to connect to DB2:

  2. The application stops responding:

Troubleshooting Tracker

Tracker is an ODBC application that accesses the DB2 Query Patroller schema in DB2 in order to provide reports that display database usage history for queries that have been managed by DB2 Query Patroller.

Diagnostic information for Tracker can be obtained from four sources:

Common Tracker Problems

  1. Tracker is unable to access DB2:

  2. Tracker does not display any data:

  3. The data displayed by Tracker is not up-to-date:


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]