Solving IBM MQ classes for Java problems
Initially, run the installation verification program. You might also have to use the trace facility.
If a program does not complete successfully, run the installation verification program, and follow the advice given in the diagnostic messages. This program is described in Verifying the IBM MQ classes for Java installation.
If the problems continue and you 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:where:
- 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
- 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 (seeIBM MQ classes for Java libraries).
For more information about how to use trace, see Tracing IBM MQ classes for Java applications.