Author |
Message
|
mq_smart |
Posted: Fri Oct 07, 2005 12:14 pm Post subject: MQ client Configuration |
|
|
 Acolyte
Joined: 30 Aug 2005 Posts: 57 Location: Vizag India
|
Hi all,
actually i want to make client server connection.I have Installed only client on one system and server on one system.To create connection the commands in client commandprompt are
c:\set mqserver=system.def.svrconn\tcp\ipaddress of server(port no of Queuemanager)
c:\amqscnxc -x ipaddress of server(port no of Queuemanager) -c system.def.svrconn QueueManagernameon the server
But my problem is i am not getting amqscncx.exe by default in the bin while installing MQClient
Please give me the Solution for this
Thanking You
Tarak _________________ Thanks in Advance
ONE life LIVE it KING size.... |
|
Back to top |
|
 |
xxx |
Posted: Fri Oct 07, 2005 12:40 pm Post subject: |
|
|
Centurion
Joined: 13 Oct 2003 Posts: 137
|
|
Back to top |
|
 |
mq_smart |
Posted: Fri Oct 07, 2005 12:49 pm Post subject: |
|
|
 Acolyte
Joined: 30 Aug 2005 Posts: 57 Location: Vizag India
|
BUt it is showing 2058 error _________________ Thanks in Advance
ONE life LIVE it KING size.... |
|
Back to top |
|
 |
EddieA |
Posted: Fri Oct 07, 2005 1:37 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Quote: |
c:\set mqserver=system.def.svrconn\tcp\ipaddress of server(port no of Queuemanager) |
That should probably be: c:\set mqserver=SYSTEM.DEF.SVRCONN\tcp\ipaddress of server(port no of Queuemanager)
And also, when you use any of the sample programs that take parameters off the command line, those parameters must be in the correct case.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
hopsala |
Posted: Fri Oct 07, 2005 4:17 pm Post subject: |
|
|
 Guardian
Joined: 24 Sep 2004 Posts: 960
|
Do everything the others told you, if it still doens't work, make sure the listener is up and on the port you're trying to address in your channel. |
|
Back to top |
|
 |
mq_smart |
Posted: Mon Oct 10, 2005 9:42 am Post subject: |
|
|
 Acolyte
Joined: 30 Aug 2005 Posts: 57 Location: Vizag India
|
hai
thanks for ur suggestions.
The first commandsline i.e
c:\set mqserver=system.def.svrconn\tcp\ipaddress of server(port no of Queuemanager) executes fine.
But i am not getting amqscnxc.exe by default while installing Client on my system.But when Iam installing the server iam getting this file in tools\c\samples.But i shoulg get by default when i am installing only client.So while running this command i am unable execute.Its is not establishing connection with the server,Plz help me out . _________________ Thanks in Advance
ONE life LIVE it KING size.... |
|
Back to top |
|
 |
kevinf2349 |
Posted: Mon Oct 10, 2005 9:52 am Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
Quote: |
c:\set mqserver=system.def.svrconn\tcp\ipaddress of server(port no of Queuemanager) executes fine.
|
Yep....as I would expect it to...but then again so would
set mqserver=nosuchchannel\tcp\ip...blah
What you were asked to do was to specify
c:\set mqserver=SYSTEM.DEF.SVRCONN\tcp\ipaddress of server(port no of Queuemanager)
Notice the big letters that make up the name. They are in capitals for a good reason. Remember....case counts. |
|
Back to top |
|
 |
mq_smart |
Posted: Mon Oct 10, 2005 10:03 am Post subject: |
|
|
 Acolyte
Joined: 30 Aug 2005 Posts: 57 Location: Vizag India
|
Yes I have done as u said by taking case consideration thats working fine.The main problem is I am unable to run
c:\amqscnxc -x ipaddress of server(port no of Queuemanager) -c system.def.svrconn QueueManagernameon the server .
Because i am not having amqscnxc file in the bin while Installing the client.
Then how can i execute this command,Is there any alternative command to execute this? _________________ Thanks in Advance
ONE life LIVE it KING size.... |
|
Back to top |
|
 |
JT |
Posted: Mon Oct 10, 2005 10:51 am Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
You wrote: |
Is there any alternative command to execute this? |
|
|
Back to top |
|
 |
mq_smart |
Posted: Mon Oct 10, 2005 11:16 am Post subject: |
|
|
 Acolyte
Joined: 30 Aug 2005 Posts: 57 Location: Vizag India
|
I have done that also but it is showing the following error
Sample AMQSPUT0 start
MQCONN ended with reason code 2058.
One thing i would like to clarify, i.e
When will be the amqscnxc.exe file will be defaultly created.with client installation or server installation. _________________ Thanks in Advance
ONE life LIVE it KING size.... |
|
Back to top |
|
 |
JT |
Posted: Mon Oct 10, 2005 11:24 am Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
Quote: |
The first commandsline i.e
c:\set mqserver=system.def.svrconn\tcp\ipaddress of server(port no of Queuemanager) executes fine. |
Reverse the slashes. It does make a difference.
Quote: |
c:set mqserver=SYSTEM.DEF.SVRCONN/TCP/ipaddress of server(port no of Queuemanager) |
|
|
Back to top |
|
 |
mq_smart |
Posted: Mon Oct 10, 2005 11:34 am Post subject: |
|
|
 Acolyte
Joined: 30 Aug 2005 Posts: 57 Location: Vizag India
|
The error i am getting is while running the command
C:\>amqscnxc -x 172.17.5.62(1114) -c SYSTEM.DEF.SVRCONN QM11
'amqscnxc' is not recognized as an internal or external command,
operable program or batch file.
CaN u specify the solution for it _________________ Thanks in Advance
ONE life LIVE it KING size.... |
|
Back to top |
|
 |
JT |
Posted: Mon Oct 10, 2005 11:39 am Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
Open a command box, enter the commands as is:
Code: |
set mqserver=SYSTEM.DEF.SVRCONN/TCP/172.17.5.62(1114)
amqsputc SYSTEM.DEFAULT.LOCAL.QUEUE QM11 |
|
|
Back to top |
|
 |
mq_smart |
Posted: Mon Oct 10, 2005 11:50 am Post subject: |
|
|
 Acolyte
Joined: 30 Aug 2005 Posts: 57 Location: Vizag India
|
The error i have received by running this command
set mqserver=SYSTEM.DEF.SVRCONN/TCP/172.17.5.62(1114)
amqsputc SYSTEM.DEFAULT.LOCAL.QUEUE QM11
is
C:\>amqsputc SYSTEM.EFAULT.LOCAL.QUEUE QM11
Sample AMQSPUT0 start
MQCONN ended with reason code 2059 _________________ Thanks in Advance
ONE life LIVE it KING size.... |
|
Back to top |
|
 |
JT |
Posted: Mon Oct 10, 2005 11:56 am Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
Your port number is not the default (1414).
Are you sure you have a listener on port 1114 for QM11 ? |
|
Back to top |
|
 |
|