+

Search Tips | Advanced Search

Solving IBM MQ classes for Java problems

Initially, run the installation verification program. We might also have to use the trace facility.

If an application does not complete successfully, run the installation verification program, and follow the advice given in the diagnostic messages. The installation verification program is described in Verify the IBM MQ classes for Java installation.

If the problems continue and we need to contact the IBM service team, you might be asked to turn on the trace facility. Do this as shown in the following example.

To trace the MQIVP program:

  • Create a com.ibm.mq.commonservices properties file (see Use com.ibm.mq.commonservices.
  • Enter the following command:
    java -Dcom.ibm.mq.commonservices=commonservices_properties_file java
    -Djava.library.path= library_path MQIVP -trace
    

where:

  • commonservices_properties_file is the path (including the filename) to the com.ibm.mq.commonservices properties file.
  • library_path is the path to the IBM MQ classes for Java libraries (see IBM MQ classes for Java libraries).

For more information about how to use trace, see Tracing IBM MQ classes for Java applications.

Parent topic: Installing and configuring IBM MQ classes for Java

Last updated: 2020-10-04