Author |
Message
|
Hanuman |
Posted: Fri Sep 22, 2006 2:01 am Post subject: MQCONN ended with reason code 2059 |
|
|
 Voyager
Joined: 28 Aug 2006 Posts: 89
|
I have configured the websphere ver6 on window
the name of Queue manger is QM_orf_qa01 and the one the queue is CENTRAL_TM_ALARM_MANAGER_QUEUE these on sercer side..
and on the client side i did this settiings
Open the Control Panel: Click Start > Settings > Control Panel
Double-click System.
Click the Advanced tab.
Click Environment Variables.
In the User Variables pane, click New.
Type MQSERVER into the Variable Name field.
Type CLIENT.QM_ORANGE/TCP/hostname into the Variable Value field, where hostname is the computer name or IP address that identifies the machine hosting queue manager QM_ORANGE. If you do not use the default port number 1414, you must also specify the port number where the listener is listening, for example: MQSERVER=CLIENT.QM_orf_qa01/TCP/ip adres(server) (1415)
Click OK. The MQSERVER environment variable will appear in the User Variables pane.
Now when try to run sample progrmme
Sample AMQSPUT0 start
i get this error
C:\>amqsputc QM_orf_qa01
Sample AMQSPUT0 start
MQCONN ended with reason code 2059
Pls help me in finding solution |
|
Back to top |
|
 |
scanner |
Posted: Fri Sep 22, 2006 2:07 am Post subject: Re: MQCONN ended with reason code 2059 |
|
|
Apprentice
Joined: 10 Jul 2001 Posts: 28 Location: Germany
|
Parag wrote: |
I have configured the websphere ver6 on window
the name of Queue manger is QM_orf_qa01 and the one the queue is CENTRAL_TM_ALARM_MANAGER_QUEUE these on sercer side..
and on the client side i did this settiings
Open the Control Panel: Click Start > Settings > Control Panel
Double-click System.
Click the Advanced tab.
Click Environment Variables.
In the User Variables pane, click New.
Type MQSERVER into the Variable Name field.
Type CLIENT.QM_ORANGE/TCP/hostname into the Variable Value field, where hostname is the computer name or IP address that identifies the machine hosting queue manager QM_ORANGE. If you do not use the default port number 1414, you must also specify the port number where the listener is listening, for example: MQSERVER=CLIENT.QM_orf_qa01/TCP/ip adres(server) (1415)
Click OK. The MQSERVER environment variable will appear in the User Variables pane.
Now when try to run sample progrmme
Sample AMQSPUT0 start
i get this error
C:\>amqsputc QM_orf_qa01
Sample AMQSPUT0 start
MQCONN ended with reason code 2059
Pls help me in finding solution |
Hi
you have create a client channel(svrcon) and set the authorities?
sincerly
Arne Krieger |
|
Back to top |
|
 |
Hanuman |
Posted: Fri Sep 22, 2006 2:10 am Post subject: |
|
|
 Voyager
Joined: 28 Aug 2006 Posts: 89
|
i did not get you point.
Can u explain we what should i do on client side.... |
|
Back to top |
|
 |
scanner |
Posted: Fri Sep 22, 2006 2:14 am Post subject: |
|
|
Apprentice
Joined: 10 Jul 2001 Posts: 28 Location: Germany
|
Parag wrote: |
i did not get you point.
Can u explain we what should i do on client side.... |
first check if u can reach the server (ping)
than you should check if u channel is right! What kind of channel u have create? It is a server connection channel? |
|
Back to top |
|
 |
Hanuman |
Posted: Fri Sep 22, 2006 2:27 am Post subject: |
|
|
 Voyager
Joined: 28 Aug 2006 Posts: 89
|
ya i able to ping the server ...
this is waht i set in my enviornment variables... MQSERVER=CLIENT.QM_orf_qa01/TCP/3.209.121.74 (1414)
These are the steps i followed while setting up of server... on windows
In the Navigator view, expand the Queue Managers folder.
Expand QM_ORANGE then expand the Advanced folder.
Right-click the Channels folder, then click New > Server-connection Channel The New Server-connection Channel wizard opens.
In the Name field, type CLIENT.QM_orf_qa01, then click Next.
In the tree on the left of the dialog, click MCA to open the MCA page.
In the MCA User ID field, type your Windows login name (or a user name in the mqm group).
Click Finish
Please help me out in this.... |
|
Back to top |
|
 |
scanner |
Posted: Fri Sep 22, 2006 2:30 am Post subject: |
|
|
Apprentice
Joined: 10 Jul 2001 Posts: 28 Location: Germany
|
MQSERVER=CLIENT.QM_orf_qa01/TCP/3.209.121.74 (1414)
between the ip and the port is a space !?! try it this way
MQSERVER=CLIENT.QM_orf_qa01/TCP/3.209.121.74(1414) |
|
Back to top |
|
 |
Hanuman |
Posted: Fri Sep 22, 2006 2:37 am Post subject: |
|
|
 Voyager
Joined: 28 Aug 2006 Posts: 89
|
Same out put
C:\Program Files\IBM\WebSphere MQ>amqsputc CENTRAL_TM_TCQ_SQDATA
Sample AMQSPUT0 start
MQCONN ended with reason code 2059
This waht i did....
MQSERVER=CLIENT.QM_orf_qa01/TCP/3.209.121.74(1414) |
|
Back to top |
|
 |
wschutz |
Posted: Fri Sep 22, 2006 2:43 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
You need to ensure that the SERVER side is correctly configured:
1. SVRCONN channel exists
2. listener is active
3. qmgr is active ....
please search here for client and 2059, you'll see this exact problem and answer hunders (thousands) of times ..... _________________ -wayne |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Sep 22, 2006 3:05 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Parag wrote: |
Same out put
C:\Program Files\IBM\WebSphere MQ>amqsputc CENTRAL_TM_TCQ_SQDATA
Sample AMQSPUT0 start
MQCONN ended with reason code 2059
This waht i did....
MQSERVER=CLIENT.QM_orf_qa01/TCP/3.209.121.74(1414) |
You are on Winx? try (guess the export command did not work eh?)
Code: |
SET MQSERVER=CLIENT.QM_orf_qa01/TCP/3.209.121.74(1414) |
And you might have to use quotes around the variable value (takes care of (port))
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
PaulClarke |
Posted: Fri Sep 22, 2006 3:09 am Post subject: |
|
|
 Grand Master
Joined: 17 Nov 2005 Posts: 1002 Location: New Zealand
|
What message is in the client error log ? Look in <MQ INSTALL PATH>\errors\AMQERR01.LOG and see whether there's anything in there.
Cheers,
P. _________________ Paul Clarke
MQGem Software
www.mqgem.com |
|
Back to top |
|
 |
Hanuman |
Posted: Fri Sep 22, 2006 5:58 am Post subject: |
|
|
 Voyager
Joined: 28 Aug 2006 Posts: 89
|
error log...
There is no definition of channel 'MQSERVER=CLIENT.QM_o' at the remote
location.
ACTION:
Add an appropriate definition to the remote hosts list of defined channels and
retry the operation. |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Sep 22, 2006 6:03 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
MQSERVER should be like <channel name>/TCP/<hostname>(<port>)
It should not be <queue manager name> _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
bbburson |
Posted: Fri Sep 22, 2006 6:03 am Post subject: |
|
|
Partisan
Joined: 06 Jan 2004 Posts: 378 Location: Nowhere near a queue manager
|
Go back to wschutz's questions:
wschutz wrote: |
You need to ensure that the SERVER side is correctly configured:
1. SVRCONN channel exists
2. listener is active
3. qmgr is active ....
please search here for client and 2059, you'll see this exact problem and answer hunders (thousands) of times ..... |
Your last post just answered "NO" to the first one. |
|
Back to top |
|
 |
PaulClarke |
Posted: Fri Sep 22, 2006 6:22 am Post subject: |
|
|
 Grand Master
Joined: 17 Nov 2005 Posts: 1002 Location: New Zealand
|
It looks like (somehow) has picked up the text MQSERVER= as part of the channel definiiton!
Exactly what is you MQSERVER environment set to ?
If you just type 'set MQ' on a command line what do you see ?
P. _________________ Paul Clarke
MQGem Software
www.mqgem.com |
|
Back to top |
|
 |
|