Author |
Message
|
brutecat |
Posted: Mon Jun 18, 2018 6:05 am Post subject: MQ Series Developer Tools |
|
|
Newbie
Joined: 18 Jun 2018 Posts: 3
|
Hi there,
I am relatively new to MQ, so sorry for the simple question. I want to test a connection from a 'C" client connecting to an MQ server on another machine (all running Windows - I am testing with the amqscnxc example). I am trying to setup a server using the MQ Developer kit, but I keep getting an authorisation error. Does the development kit prevent remote connections? Or do I just have a configuration problem?
Thanks,
Stan |
|
Back to top |
|
 |
Vitor |
Posted: Mon Jun 18, 2018 10:44 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Configuration problem.
If you've just set MQ up, it's possible youre passing an administrative user id across the remote connection. By default MQ refuses such connections.
You either need to pass an authorized but non-administrative user, or remove the security rule to allow the access. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
hughson |
Posted: Thu Jun 21, 2018 3:49 pm Post subject: Re: MQ Series Developer Tools |
|
|
 Padawan
Joined: 09 May 2013 Posts: 1959 Location: Bay of Plenty, New Zealand
|
brutecat wrote: |
I am relatively new to MQ, so sorry for the simple question. |
<vendor_plug>
It may be worth taking some MQ training to help you with these kinds of early teething problems. We offer very good value online MQ training. Suggest that the "Configuring Clients for Connectivity" module might help you. See my signature for details.
</vendor_plug>
Cheers,
Morag _________________ Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software |
|
Back to top |
|
 |
brutecat |
Posted: Thu Jun 21, 2018 6:15 pm Post subject: Authorisation |
|
|
Newbie
Joined: 18 Jun 2018 Posts: 3
|
Thanks. I disabled channel level authorisation and I could connect. This is fine for my testing purposes. I appreciate the help. |
|
Back to top |
|
 |
mvic |
Posted: Sat Jun 30, 2018 4:25 pm Post subject: Re: Authorisation |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
Quote: |
This is fine for my testing purposes |
Fair enough.
Error messages will have been logged for these failures, with better details of why the failure happened.
So, if getting an error like this, always check the error logs (AMQERR01.LOG etc) in the system-wide location and the qmgr-specific location.
Only ever consider disabling MQ's default auths for sandbox testing. NOT in production! |
|
Back to top |
|
 |
brutecat |
Posted: Sat Jun 30, 2018 11:05 pm Post subject: |
|
|
Newbie
Joined: 18 Jun 2018 Posts: 3
|
Hi mvic,
Thanks for the pointer. I will investigate.
Regards,
Stan |
|
Back to top |
|
 |
bruce2359 |
Posted: Sun Jul 01, 2018 8:33 am Post subject: Re: Authorisation |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9472 Location: US: west coast, almost. Otherwise, enroute.
|
mvic wrote: |
Only ever consider disabling MQ's default auths for sandbox testing. NOT in production! |
For clarity:
IMHO, authorizations should be developed in TEST along with the applications needing authorizations. Apps and auths should then percolate to QA (pre-PROD), and then to PROD.
"sandbox" here implies none of the above (TEST, QA, PROD); rather, an internal environment for sysadmin testing of MQ functionality. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
|