Author |
Message
|
srailkar |
Posted: Tue Jun 07, 2005 7:10 am Post subject: Mq Client connectivity.... |
|
|
Apprentice
Joined: 01 Jun 2005 Posts: 37
|
Hello All,
To get the MQ Client installed on W2K, I have done the following:
On the MQ Server W2K:
1. QMGR - TMMCMD1 (port 1414) created local queue TEST.CLNT
2. Client Connection - CLNT.TMMCMD1
3. XMIT Queue - CLNT.TMMCMD1
4. Channel - CLNT.TMMCMD1.00.CONN using CLNT.TMMCMD1 -xmit queue.
5. executed setmqauth TMMCMD1 -qmgr -g mqm +connect
On the Client: W2K
1. Installed MQ Client
2. SET MQCHLLIB= C:\Program Files\ IBM\ WebSphere MQ\
3. SET MQSERVER=CLNT.TMMCMD1/TCP/10.1.20.199(1414)
4. Copied AMQCHLTBL into C:\Program Files\ IBM\ WebSphere MQ\
5. Copied MA7K on C:\Program Files\ IBM\ WebSphere MQ\MA7K
6. Modified the single thread entry to
Thread:
TriggerQueueName=CLNT.TMMCMD1
TriggerQueueMgrName=TMMCMD1
7. at command line from C:\Program Files\ IBM\ WebSphere MQ\MA7K executed setup -f setup.ini
Rebooted the Client W2K
Started the WebSphere MQ Client in services
I am getting 2035 on: amqscnxc -x 10.1.22.199(1414)
goes to default SYSTEM.DEF.SVRCONN
I am getting 2059 on: amqscnxc -x 10.1.22.199(1414) -c CLNT.TMMCMD1
What am I missing? |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Jun 07, 2005 8:28 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
I thought MQSERVER and MQCHL* were mutually exclusive. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
srailkar |
Posted: Tue Jun 07, 2005 8:50 am Post subject: |
|
|
Apprentice
Joined: 01 Jun 2005 Posts: 37
|
Jeff,
Thanks for the prompt response....
Do you mean I am conflicting on the MQ Client by defining both MQCHLLIB and MQSERVER?
That I should have either one?
Regards, |
|
Back to top |
|
 |
wschutz |
Posted: Tue Jun 07, 2005 8:51 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
When you start MA7K, what error messages do you get in the windows event log?
Two general comments: (1) you don't use xmitq's with client channels and (2) did you define a channel of chltype(svrconn) with a name of CLNT.TMMCMD1 ?
And yes, the MQSERVER variable overrides using a client channel table. |
|
Back to top |
|
 |
srailkar |
Posted: Tue Jun 07, 2005 9:08 am Post subject: |
|
|
Apprentice
Joined: 01 Jun 2005 Posts: 37
|
On double checking the channel definition was at Server not ServerConn.
Corrected that and tried amqsputc. as well as amqscnxc - Got 2035 on both .....it has to do with Domain access, I think... Do you agree?
Thanks |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Jun 07, 2005 9:18 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
srailkar wrote: |
Got 2035 on both .....it has to do with Domain access, I think... Do you agree? |
I don't know what you mean by "Domain access".
A 2035 is always a security problem. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
wschutz |
Posted: Tue Jun 07, 2005 9:30 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
What queue are you trying to open (is it CLNT.TMMCMD1)? You'll need to do a setmqaut for that queue for the userid you're using on the windows machine.
But your original post still cotains a problem... you've got the queue CLNT.TMMCMD1 defined as an xmitq (line 3) and you want to use it as an initiation queue (line 6), which isn't right. |
|
Back to top |
|
 |
srailkar |
Posted: Tue Jun 07, 2005 9:50 am Post subject: |
|
|
Apprentice
Joined: 01 Jun 2005 Posts: 37
|
A request was sent to our network dept. to set up 'mqm' group and some specific userids eg 'mqsiuser' at domain level. This way the workstations could be configured with those specific users to have access to the middleware servers
Apparently they have not set up "mqsiuser" or group mqm at domain level causing 2035. |
|
Back to top |
|
 |
srailkar |
Posted: Tue Jun 07, 2005 9:55 am Post subject: |
|
|
Apprentice
Joined: 01 Jun 2005 Posts: 37
|
I am trying to send message to TEST.CLNT
issuing :
amqsputc TEST.CLNT TMMCMD1 |
|
Back to top |
|
 |
|