-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MQRC_CONNECTION_BROKEN [2009] error #164
Comments
RE:
Is your application running on the same machine as the queue manager? |
No.... I am trying to connect queue manager which is running in different server. |
That code, as you have already proven, should connect successfully. Which implies that your application is either not using the same code (add a check by logging something in that function that makes it clear that function is being invoked) or it is using it in a different way. Your function |
I have already checked by adding loggers. It is invoking the function properly. ENOENT: no such file or directory, open libmqm_r.so After adding few more logger, i could see it is failing at below line.
|
That seems to be your platform's equivalent to a From the README.md
By inference this automatic fetch of the redistributable client isn't performed on other platforms. |
I could see same result after setting LD_LIBRARY_PATH export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/mqm/lib64 |
Check that the setting was inherited by the application by logging the value in your code. eg.
|
I am calling the below node js script from our application.
The application user has access to Queue manager. If i run this method as a standalone script, it works fine. but if i run from application, then getting below error message.
CONNX: MQCC = MQCC_FAILED [2] MQRC = MQRC_CONNECTION_BROKEN [2009];MQCC_FAILED:2009;MQRC_CONNECTION_BROKEN
The text was updated successfully, but these errors were encountered: