ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » MQ does not work for me!

Post new topic  Reply to topic
 MQ does not work for me! « View previous topic :: View next topic » 
Author Message
Joyce
PostPosted: Sun Nov 28, 2004 5:31 am    Post subject: MQ does not work for me! Reply with quote

Newbie

Joined: 28 Nov 2004
Posts: 6

Hello everyone,

I am new to MQSeries but I need to master it urgently. I have read MQ primer and MQ documentation coming along with the installation CD. Have exactly followed the doc but I could get nowhere.

I have installed MQ 5.3 server on Windows 2000 and MQ5.3 client on another machine running Windows 2000. In order to vefiry the installation:

On server machine I did the following:
c:\crtmqm -q queue.manager.1
c:\strmqm
c:\runmqsc
c:\DEFINE CHANNEL(CHANNEL1) CHLTYPE(SVRCONN) TRPTYPE(TCP) MCAUSER(' ')

c:\DEFINE CHANNEL(CHANNEL1) CHLTYPE(CLNTCONN) TRPTYPE(TCP)
QMNAME('queue.manager.1') CONNAME('server_address(1414)')

I first created a listener using MQ explore under the queue manager "queue.manager.1" and started it by right clicking.

On client machine I did:

SET MQSERVER=CHANNEL1/TCP/server_address(1414)

c:\Ibm....\bin\amqsputc SYSTEM.DEFAULT.LOCAL.QUEUE queue.manager.1

I got the following error:
Sample AMQSPUT0 start
mq conn ended with reason 2059(sometimes 2058)

I am not sure what I did wrong, could you please help me?

Thanks you very much!

Joyce
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sun Nov 28, 2004 6:28 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

If the queue manager is not the default qmgr on the server you need to specify the qmgr name in the amqsputc command.

Read up on how to use the command in your help CD. The how to get started documentation assumes that all qmgrs are default qmgrs.

I would not use any of the commands at command line level in a windows environment to start or stop the qmgr including channel initiators, listener, or trigger monitor. Use MQExplorer and MQServices in the windows environment. You have a much better chance of doing it right that way.

Use the command line options before moving to unix to get a feel for it.

Before trying it from machine 2 to machine 1 make sure the client connection works from within machine 1 (much less network interference). If you use a firewall make sure the port used by the MQlistener is open.

Finally if you are just installing make sure you get to CSD08 right away.
To check the version you can issue at command level : mqver

Enjoy
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » MQ does not work for me!
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.