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 » General IBM MQ Support » MQ series problem ...Please reply asap

Post new topic  Reply to topic
 MQ series problem ...Please reply asap « View previous topic :: View next topic » 
Author Message
vinayak
PostPosted: Mon Apr 08, 2002 10:56 am    Post subject: Reply with quote

Novice

Joined: 07 Apr 2002
Posts: 17

Hi,
My name is Vinayak Shet and I am a programmer.
We are using MQseries 5.0 in our project. We had installed MQseries 5.0 on
Unix Sun Solaris machine. We wrote some sample programs for testing but we
are facing some problems with the same.
Here is the scenario.
We have 2 queue managers running on the same machine (Unix Box) and we are trying to
communicate
between these two QM's. But when we are sending message from source Q to
target Q the message is being written to the DeadLetter Q of target QM
instead of the target Q that we need to send the message to.
We tried everthing that we knew but are not able to resolve the problem

So can you please provide us some solution to the problem.

Here are the scripts that we used.

1.Entries in /etc/services file.
MQSeries1 1414/tcp # MQSeries
MQSeries2 1415/tcp # MQSeries

2.Entries in /et/inetd.conf file
MQSeries1 stream tcp nowait mqm /opt/mqm/bin/amqcrsta amqcrsta -m
brain.queue.manager
MQSeries2 stream tcp nowait mqm /opt/mqm/bin/amqcrsta amqcrsta -m
dtc_srvc.queue.manager

3.Source QM configuration file.
*****************************
* DO DAY Client Configuration
*****************************
* Transmission queue
DEFINE QLOCAL(DTC_SRVC.QUEUE.MANAGER) USAGE(XMITQ) +
DESCR('Transmission queue for DO_DAY messages') REPLACE

* Remote queue
DEFINE QREMOTE(DO.DAY.QUEUE) RQMNAME(DTC_SRVC.QUEUE.MANAGER) +
RNAME(DO.DAY.QUEUE) +
DESCR('Remote queue on DTC services QM') +
XMITQ(DTC_SRVC.QUEUE.MANAGER) REPLACE

* Dead letter queue
DEFINE QLOCAL(DO.DAY.DEAD.LETTER.QUEUE) USAGE(NORMAL) +
DESCR('Dead letter queue for DO_DAY messages') REPLACE

* Sender channel to DTC Services
DEFINE CHANNEL(TO.DTC_SRVC) CHLTYPE(SDR) +
CONNAME('brain.ny.jpmorgan.com(1415)') +
DESCR('Sender channel for DO_DAY messages') +
XMITQ(DTC_SRVC.QUEUE.MANAGER) REPLACE

4.Target QM configuration file.
*****************************
* DO DAY Server Configuration
*****************************
* Local target(inbound) queue
DEFINE QLOCAL(DO.DAY.QUEUE) USAGE(NORMAL) +
DESCR('Local queue for DO_DAY messages') REPLACE

* Dead letter queue
DEFINE QLOCAL(DO.DAY.DEAD.LETTER.QUEUE) USAGE(NORMAL) +
DESCR('Dead letter queue for DO_DAY messages') REPLACE

* Receiver channel from client
DEFINE CHANNEL(TO.DTC_SRVC) CHLTYPE(RCVR) +
DESCR('Receiver channel for DO_DAY messages') REPLACE


Thanks,
Vinayak
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Tue Apr 09, 2002 9:47 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7716

At first glance, your defs look good. How 'bout telling us what the reason codes are in the dead letter header for the messages that are there?


_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
vinayak
PostPosted: Wed Apr 10, 2002 5:23 am    Post subject: Reply with quote

Novice

Joined: 07 Apr 2002
Posts: 17

Hi Peter,
The problem has been solved.
I had created the queue managers with names in lower case, but in my QUEUE definitions I gave the Q manager name in uppercase. I changed the name to lowercase but inside the single quotes and everything ran fine.

Thanks,
Vinayak
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » MQ series problem ...Please reply asap
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.