2495 (09BF) (RC2495): MQRC_MODULE_NOT_FOUND
Explanation
A native shared library could not be loaded.
Completion code
MQCC_FAILED
Programmer response
This problem could be caused by either of the two following reasons:
- A MQCB call was made with an Operation of MQOP_REGISTER specifying a CallbackName which could not be found. Ensure that the CallbackName value is specified correctly.
- The Java IBM MQ code could not load a Java native shared library. This error can occur if a Java application is running in a 32-bit JRE but has been configured to load the 64-bit Java Native Libraries. Check the associated Exception stack and FFST. Ensure that the JNI shared library is specified correctly. Check also that we have specified -Djava.library.path=/opt/mqm/java/lib, or equivalent, when invoking the Java program.
Parent topic: API reason codes
Related information