-
Notifications
You must be signed in to change notification settings - Fork 101
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
Connection Failure where ID is in CommentInsert2or3, failing on user running the app instead of config #81
Comments
You've not really provided a lot of information to go on. What is the configuration both for the app and the qmgr, what is the actual error, what is the program doing? There are many things that affect how authentication is done by the qmgr, including qm.ini settings, AUTHREC and AUTHINFO settings. It's impossible to say what to "adjust" without knowing what the current situation is. Some examples of application programs using userid/password with Spring can be found at https://github.com/ibm-messaging/mq-dev-patterns/tree/master/Spring-JMS. Since the little you have given suggests there is an MQ Appliance involved, then make sure you've read and understood https://www.ibm.com/docs/en/mq-appliance/9.2?topic=security-types-user-how-they-are-authenticated |
it is this same issue. #48 |
I use this to configure my connection. What we are finding is my windows user is being sent. I can see it in a wireshark trace and am not able to find where the user/password are being sent from my app. @configuration
} |
I don't know how the UserCredentialAdapter bean gets wired into the CF creation and configuration - that would likely be a question to be raised on one of the Spring projects directly. But applying properties to the CF itself works for passing over the authentication info. For example,
|
This also works, writing it as straight-line code instead of splitting into multiple beans:
|
Runnning
com.ibm.mq
mq-jms-spring-boot-starter
2.3.4
Queue Manager log:
If you look below you can see CommentInsert1 has the user that is running the java app and SVC**** is the service account from auto config in CommentInsert2
11/18/21 13:10:44 - Process(1025171.5659530) User(mqs***) Program(amqrmppa)
Host(MQS-) Installation(MQAppliance)
VRMF(9.2.0.3) QMgr(M4)
Time(2021-11-18T18:10:44.434Z)
ArithInsert1(2) ArithInsert2(2035)
CommentInsert1(tdev)
CommentInsert2(SVC)
CommentInsert3(tdev***)
AMQ9557E: Queue Manager User ID initialization failed for 'tdev***'.
Has anyone seen this before? is there a queue manager rule/setting that we need to add/adjust to make this work?
Thanks,*
Please include the following information in your ticket.
The text was updated successfully, but these errors were encountered: