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 Installation/Configuration Support » not able to send test messages

Post new topic  Reply to topic
 not able to send test messages « View previous topic :: View next topic » 
Author Message
skoesters
PostPosted: Thu Jun 12, 2008 11:40 pm    Post subject: not able to send test messages Reply with quote

Acolyte

Joined: 08 Jun 2008
Posts: 73

Hi,

again i have a question (sorry).

i tried to setup a test connection between to servers (sender / receiver workstation)

but if i try to enter a meesage on the sender ws i do not get it on the receiver ws.

here is my configuration:

Sender:

first i created a manager queue (MA.QUEUE.MANAGER)

then i created a local queue:

Code:


UEUE(MA.LQUEUE)                        TYPE(QLOCAL)
   ACCTQ(QMGR)                             ALTDATE(2008-06-13)
   ALTTIME(08.33.12)                       BOQNAME( )
   BOTHRESH(0)                             CLUSNL( )
   CLUSTER( )                              CLWLPRTY(0)
   CLWLRANK(0)                             CLWLUSEQ(QMGR)
   CRDATE(2008-06-13)                      CRTIME(08.33.12)
   CURDEPTH(0)                             DEFBIND(OPEN)
   DEFPRTY(0)                              DEFPSIST(NO)
   DEFSOPT(SHARED)                         DEFTYPE(PREDEFINED)
   DESCR( )                                DISTL(NO)
   GET(ENABLED)                            HARDENBO
   INITQ( )                                IPPROCS(0)
   MAXDEPTH(5000)                          MAXMSGL(4194304)
   MONQ(QMGR)                              MSGDLVSQ(PRIORITY)
   NOTRIGGER                               NPMCLASS(NORMAL)
   OPPROCS(0)                              PROCESS( )
   PUT(ENABLED)                            QDEPTHHI(80)
   QDEPTHLO(20)                            QDPHIEV(DISABLED)
   QDPLOEV(DISABLED)                       QDPMAXEV(ENABLED)
   QSVCIEV(NONE)                           QSVCINT(999999999)
   RETINTVL(999999999)                     SCOPE(QMGR)
   SHARE                                   STATQ(QMGR)
   TRIGDATA( )                             TRIGDPTH(1)
   TRIGMPRI(0)                             TRIGTYPE(FIRST)
   USAGE(NORMAL)



then i defined a trasmission queue:

Code:


UEUE(TRANSMISSION.QUEUE)               TYPE(QLOCAL)
   ACCTQ(QMGR)                             ALTDATE(2008-06-13)
   ALTTIME(09.07.33)                       BOQNAME( )
   BOTHRESH(0)                             CLUSNL( )
   CLUSTER( )                              CLWLPRTY(0)
   CLWLRANK(0)                             CLWLUSEQ(QMGR)
   CRDATE(2008-06-13)                      CRTIME(08.35.21)
   CURDEPTH(2)                             DEFBIND(OPEN)
   DEFPRTY(0)                              DEFPSIST(NO)
   DEFSOPT(SHARED)                         DEFTYPE(PREDEFINED)
   DESCR( )                                DISTL(NO)
   GET(DISABLED)                           HARDENBO
   INITQ( )                                IPPROCS(0)
   MAXDEPTH(5000)                          MAXMSGL(4194304)
   MONQ(QMGR)                              MSGDLVSQ(PRIORITY)
   NOTRIGGER                               NPMCLASS(NORMAL)
   OPPROCS(0)                              PROCESS( )
   PUT(ENABLED)                            QDEPTHHI(80)
   QDEPTHLO(20)                            QDPHIEV(DISABLED)
   QDPLOEV(DISABLED)                       QDPMAXEV(ENABLED)
   QSVCIEV(NONE)                           QSVCINT(999999999)
   RETINTVL(999999999)                     SCOPE(QMGR)
   SHARE                                   STATQ(QMGR)
   TRIGDATA( )                             TRIGDPTH(1)
   TRIGMPRI(0)                             TRIGTYPE(FIRST)
   USAGE(XMITQ)




and then a definiton of the remote queue:

Code:


QUEUE(LOCAL.DEF.OF.REMOTE.QUEUE)        TYPE(QREMOTE)
   ALTDATE(2008-06-13)                     ALTTIME(08.53.08)
   CLUSNL( )                               CLUSTER( )
   CLWLPRTY(0)                             CLWLRANK(0)
   DEFBIND(OPEN)                           DEFPRTY(0)
   DEFPSIST(NO)                            DESCR( )
   PUT(ENABLED)                            RQMNAME(SL.QUEUE.MANAGER)
   RNAME(SL.LQUEUE)                        SCOPE(QMGR)
   XMITQ(TRANSMISSION.QUEUE)


after that i created a channel


Code:

CHANNEL(SENDER.CHANNEL)                 CHLTYPE(SDR)
   ALTDATE(2008-06-13)                     ALTTIME(08.49.15)
   BATCHHB(0)                              BATCHINT(0)
   BATCHSZ(50)                             COMPHDR(NONE)
   COMPMSG(NONE)                           CONNAME(10.10.100.159)
   CONVERT(NO)                             DESCR( )
   DISCINT(6000)                           HBINT(300)
   KAINT(AUTO)                             LOCLADDR( )
   LONGRTY(999999999)                      LONGTMR(1200)
   MAXMSGL(4194304)                        MCANAME( )
   MCATYPE(PROCESS)                        MCAUSER( )
   MODENAME( )                             MONCHL(QMGR)
   MSGDATA( )                              MSGEXIT( )
   NPMSPEED(FAST)                          PASSWORD( )
   RCVDATA( )                              RCVEXIT( )
   SCYDATA( )                              SCYEXIT( )
   SENDDATA( )                             SENDEXIT( )
   SEQWRAP(999999999)                      SHORTRTY(10)
   SHORTTMR(60)                            SSLCIPH( )
   SSLPEER( )                              STATCHL(QMGR)
   TPNAME( )                               TRPTYPE(TCP)
   USERID( )                               XMITQ(TRANSMISSION.QUEUE)


on the receiver WS i also created a manager queue (LS.QUEUE.MANAGER)

then i created a local queue:

Code:


QUEUE(SL.LQUEUE)                        TYPE(QLOCAL)
   ACCTQ(QMGR)                             ALTDATE(2008-06-13)
   ALTTIME(08.44.42)                       BOQNAME( )
   BOTHRESH(0)                             CLUSNL( )
   CLUSTER( )                              CLWLPRTY(0)
   CLWLRANK(0)                             CLWLUSEQ(QMGR)
   CRDATE(2008-06-13)                      CRTIME(08.44.42)
   CURDEPTH(0)                             DEFBIND(OPEN)
   DEFPRTY(0)                              DEFPSIST(NO)
   DEFSOPT(SHARED)                         DEFTYPE(PREDEFINED)
   DESCR( )                                DISTL(NO)
   GET(ENABLED)                            HARDENBO
   INITQ( )                                IPPROCS(0)
   MAXDEPTH(5000)                          MAXMSGL(4194304)
   MONQ(QMGR)                              MSGDLVSQ(PRIORITY)
   NOTRIGGER                               NPMCLASS(NORMAL)
   OPPROCS(0)                              PROCESS( )
   PUT(ENABLED)                            QDEPTHHI(80)
   QDEPTHLO(20)                            QDPHIEV(DISABLED)
   QDPLOEV(DISABLED)                       QDPMAXEV(ENABLED)
   QSVCIEV(NONE)                           QSVCINT(999999999)
   RETINTVL(999999999)                     SCOPE(QMGR)
   SHARE                                   STATQ(QMGR)
   TRIGDATA( )                             TRIGDPTH(1)
   TRIGMPRI(0)                             TRIGTYPE(FIRST)
   USAGE(NORMAL)



and then a channel

Code:


CHANNEL(RECEIVER.CHANNEL)               CHLTYPE(RCVR)
   ALTDATE(2008-06-13)                     ALTTIME(08.45.12)
   BATCHSZ(50)                             COMPHDR(NONE)
   COMPMSG(NONE)                           DESCR( )
   HBINT(300)                              KAINT(AUTO)
   MAXMSGL(4194304)                        MCAUSER( )
   MONCHL(QMGR)                            MRDATA( )
   MREXIT( )                               MRRTY(10)
   MRTMR(1000)                             MSGDATA( )
   MSGEXIT( )                              NPMSPEED(FAST)
   PUTAUT(DEF)                             RCVDATA( )
   RCVEXIT( )                              SCYDATA( )
   SCYEXIT( )                              SENDDATA( )
   SENDEXIT( )                             SEQWRAP(999999999)
   SSLCAUTH(REQUIRED)                      SSLCIPH( )
   SSLPEER( )                              STATCHL(QMGR)
   TRPTYPE(TCP)




i also startet a listener

/opt/mqm/bin/runmqlsr -r -m SL.QUEUE.MANAGER -t TCP -p 1414 -i 10.10.100.159



then i try to start the sender channel but it does not work

runmqchl -c SENDER.CHANNEL -m MA.QUEUE.MANAGER
5724-H72 (C) Copyright IBM Corp. 1994, 2005. ALLE RECHTE VORBEHALTEN.
13.06.2008 09:37:52 Channel 'SENDER.CHANNEL' is starting.
13.06.2008 09:37:52 AMQ9520: Channel at remote end is not defined.
13.06.2008 09:37:52 AMQ9999: The Channel program endet abnormal.

(i tried to translate the error messages bacause on my server they are in German)

How do i define the channel at the remote end in my sender channel?

thanks!

best regards
Sebastian
Back to top
View user's profile Send private message
AkankshA
PostPosted: Fri Jun 13, 2008 12:11 am    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

Both sender and receiver channel MUST have same name...

in ur case its SENDER.CHANNEL and RECEIVER.CHANNEL

give them same name...
_________________
Cheers
Back to top
View user's profile Send private message Visit poster's website
skoesters
PostPosted: Fri Jun 13, 2008 12:34 am    Post subject: Reply with quote

Acolyte

Joined: 08 Jun 2008
Posts: 73

ok, i deleted both channels and re-created them

Sender:

Code:


CHANNEL(TEST.CHANNEL)                   CHLTYPE(SDR)
   ALTDATE(2008-06-13)                     ALTTIME(10.22.23)
   BATCHHB(0)                              BATCHINT(0)
   BATCHSZ(50)                             COMPHDR(NONE)
   COMPMSG(NONE)                           CONNAME(10.10.100.159(1414))
   CONVERT(NO)                             DESCR( )
   DISCINT(6000)                           HBINT(300)
   KAINT(AUTO)                             LOCLADDR( )
   LONGRTY(999999999)                      LONGTMR(1200)
   MAXMSGL(4194304)                        MCANAME( )
   MCATYPE(PROCESS)                        MCAUSER( )
   MODENAME( )                             MONCHL(QMGR)
   MSGDATA( )                              MSGEXIT( )
   NPMSPEED(FAST)                          PASSWORD( )
   RCVDATA( )                              RCVEXIT( )
   SCYDATA( )                              SCYEXIT( )
   SENDDATA( )                             SENDEXIT( )
   SEQWRAP(999999999)                      SHORTRTY(10)
   SHORTTMR(60)                            SSLCIPH( )
   SSLPEER( )                              STATCHL(QMGR)
   TPNAME( )                               TRPTYPE(TCP)
   USERID( )                               XMITQ(TRANSMISSION.QUEUE)




receiver:

Code:


CHANNEL(TEST.CHANNEL)                   CHLTYPE(RCVR)
   ALTDATE(2008-06-13)                     ALTTIME(10.21.50)
   BATCHSZ(50)                             COMPHDR(NONE)
   COMPMSG(NONE)                           DESCR( )
   HBINT(300)                              KAINT(AUTO)
   MAXMSGL(4194304)                        MCAUSER( )
   MONCHL(QMGR)                            MRDATA( )
   MREXIT( )                               MRRTY(10)
   MRTMR(1000)                             MSGDATA( )
   MSGEXIT( )                              NPMSPEED(FAST)
   PUTAUT(DEF)                             RCVDATA( )
   RCVEXIT( )                              SCYDATA( )
   SCYEXIT( )                              SENDDATA( )
   SENDEXIT( )                             SEQWRAP(999999999)
   SSLCAUTH(REQUIRED)                      SSLCIPH( )
   SSLPEER( )                              STATCHL(QMGR)
   TRPTYPE(TCP)



at the first start it did not work. After the second it started (why ever).

So the channel name of the sender has allways to be the name of the receiver channel on the other side and the name of the receiver channel has allways to be the same as the name of sender channel on the other side (if i have a infrastructur where both WS can send and receive).

correct?

what about the local queue and manager queue names? do they have to get the same names as the local queues and manager queues on the other side? i dont think so?

thanks very much!
Back to top
View user's profile Send private message
AkankshA
PostPosted: Fri Jun 13, 2008 12:57 am    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

Quote:
at the first start it did not work. After the second it started (why ever).


it should not.... it ll start in first attempt itself....
try stopping and starting it again....

Quote:
So the channel name of the sender has allways to be the name of the receiver channel on the other side and the name of the receiver channel has allways to be the same as the name of sender channel on the other side (if i have a infrastructur where both WS can send and receive).

correct?


Absolutely correct

Quote:
what about the local queue and manager queue names? do they have to get the same names as the local queues and manager queues on the other side? i dont think so?

you are thinking on correct grounds.... queue n qm can have any name... generally organization naming standards get followed here....


have a look at the intercommunication manual too....
_________________
Cheers
Back to top
View user's profile Send private message Visit poster's website
skoesters
PostPosted: Fri Jun 13, 2008 1:02 am    Post subject: Reply with quote

Acolyte

Joined: 08 Jun 2008
Posts: 73

thanks very much
Back to top
View user's profile Send private message
skoesters
PostPosted: Fri Jun 13, 2008 1:24 am    Post subject: Reply with quote

Acolyte

Joined: 08 Jun 2008
Posts: 73

sh*t. Problem.

it worked one time

send a message with amqsput on the sender

and could receive it with amqsget on the receiver.

then i tried it again but if i start amqsget after sending no messages come.



Code:


./amqsput MA.LOCALQUEUE MA.QUEUE.MANAGER
Sample AMQSPUT0 start
target queue is MA.LOCALQUEUE
test
test
test
test

Sample AMQSPUT0 end



Code:


./amqsget SL.LOCALQUEUE SL.QUEUE.MANAGER
Sample AMQSGET0 start
no more messages
Sample AMQSGET0 end



on the sender i see the messages in my local queue (MA.LOCALQUEUE).

both channels are runnig.

any idea?
Back to top
View user's profile Send private message
AkankshA
PostPosted: Fri Jun 13, 2008 1:45 am    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

MA.LOCALQUEUE is a local queue....

how would MQ know that it needs to fwd these msgs to SL.LOCALQUEUE ...

u need to make MA.LOCALQUEUE as a remote queue definition...


Do look in the intercommunication manual.... the entire procedure is explained there...
_________________
Cheers
Back to top
View user's profile Send private message Visit poster's website
AkankshA
PostPosted: Fri Jun 13, 2008 1:47 am    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

Put a message on LOCAL.DEF.OF.REMOTE.QUEUE, and u can find the msgs flowed to SL.LQUEUE of SL.QUEUE.MANAGER



_________________
Cheers
Back to top
View user's profile Send private message Visit poster's website
skoesters
PostPosted: Fri Jun 13, 2008 2:35 am    Post subject: Reply with quote

Acolyte

Joined: 08 Jun 2008
Posts: 73

ok, when i understand it right the "local definition queue" (here: LOCAL.DEF.OF.REMOTE.QUEUE) is the queue i "talk" to, to send messages.

the transmission queue (here: TRANSMISSION.QUEUE) is the queue that interacts with the channel.

But for what do i need the other local queue (here MA.LQUEUE)? is it for messages that could not be send? or do i need the MA.LQUEUE only for receiving messages? thats not clear for me
Back to top
View user's profile Send private message
AkankshA
PostPosted: Fri Jun 13, 2008 3:38 am    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

RQD is a definition of a queue which exists on a remote queue manager...

./amqsput MA.LOCALQUEUE MA.QUEUE.MANAGER
./amqsget SL.LOCALQUEUE SL.QUEUE.MANAGER


you are doing amqsput and amqsget on different queues.. as you expect that your messages from one queue of one qm shd flow to another queue of another qm....

you need to tell mq which queue shd send msg to which queue.. hence rqd.. which is just the local definition of a remote queue...

read intercommunication manual... its all specified there
_________________
Cheers
Back to top
View user's profile Send private message Visit poster's website
fjb_saper
PostPosted: Fri Jun 13, 2008 7:14 am    Post subject: Reply with quote

Grand High Poobah

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

And as long as you are studying the intercommunications manual look up the concept of (triggered xmitqs for) triggered channels.

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
bruce2359
PostPosted: Fri Jun 13, 2008 7:28 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9472
Location: US: west coast, almost. Otherwise, enroute.

Quote:
you need to tell mq which queue shd send msg to which queue.. hence rqd.. which is just the local definition of a remote queue
...
Keystrokes are free on this site. Please use whole words, not abbreviations, in posts and replies. This avoids confusion as to your meaning.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
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 » IBM MQ Installation/Configuration Support » not able to send test messages
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.