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 » The Textmessages are empty when they reach the remote QM

Post new topic  Reply to topic
 The Textmessages are empty when they reach the remote QM « View previous topic :: View next topic » 
Author Message
knegarpetter
PostPosted: Mon Dec 20, 2004 6:58 am    Post subject: The Textmessages are empty when they reach the remote QM Reply with quote

Apprentice

Joined: 10 Dec 2004
Posts: 39

im sending mq messages to an remote QM...
the craxy thing is that he "says" that they are empty then they reach him...
Ive been trying and sending them to one of my local queues and they have a text body... i just cant understand it...

Petter
Back to top
View user's profile Send private message
knegarpetter
PostPosted: Mon Dec 20, 2004 6:59 am    Post subject: Reply with quote

Apprentice

Joined: 10 Dec 2004
Posts: 39

one more thing, if I send using amqsput to the same queue, they will get trough with body text and all...

regards
Petter
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Dec 20, 2004 7:03 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Stop the channel.

Put your message.

Examine the messages in the transmission queue using something like amqsbcg.

If the messages appear well formed, then it is a problem on his side.

Start the channel.

Have him stop his program. Have him send you an output from something like amqsbcg of the messages on his side.

You can't solve problems without data.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
vennela
PostPosted: Mon Dec 20, 2004 7:06 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

How is he getting the messages?
Instead of getting the message from his app, ask him to do amqsbcg and see if the message is going through.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
knegarpetter
PostPosted: Mon Dec 20, 2004 7:43 am    Post subject: Reply with quote

Apprentice

Joined: 10 Dec 2004
Posts: 39

hi

well...
then i try to "look" att the trans q.

with amgsbcg...
I get
failed with CompCode:2 Reason:2016....

And i cant make a listener that collects them either...


strange..

Petter
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Dec 20, 2004 7:50 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

reason codes wrote:
MQRC_GET_INHIBITED
MQGET calls are currently inhibited for the queue, or for the queue to which this queue resolves.

Corrective action: If the system design allows get requests to be inhibited for short periods, retry the operation later.


So, just get-enable the xmit queue.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
knegarpetter
PostPosted: Mon Dec 20, 2004 8:24 am    Post subject: Reply with quote

Apprentice

Joined: 10 Dec 2004
Posts: 39

thanks...

this is what i can see:

Code:
****Message descriptor****

  StrucId  : 'MD  '  Version : 2
  Report   : 0  MsgType : 8
  Expiry   : -1  Feedback : 0
  Encoding : 546  CodedCharSetId : 1208
  Format : 'MQXMIT  '
  Priority : 4  Persistence : 1
  MsgId : X'414D5120494E5456312E514D20202020D3BAC64102300020'
  CorrelId : X'414D5120494E5456312E514D20202020D3BAC64101300020'
  BackoutCount : 0
  ReplyToQ       : '                                                '
  ReplyToQMgr    : 'INTV1.QM                                        '
  ** Identity Context
  UserIdentifier : 'mqm         '
  AccountingToken :
   X'0431313434000000000000000000000000000000000000000000000000000006'
  ApplIdentityData : '                                '
  ** Origin Context
  PutApplType    : '7'
  PutApplName    : 'INTV1.QM                    '
  PutDate  : '20041220'    PutTime  : '16044657'
  ApplOriginData : '    '

  GroupId : X'000000000000000000000000000000000000000000000000'
  MsgSeqNumber   : '1'
  Offset         : '0'
  MsgFlags       : '0'
  OriginalLength : '-1'

****   Message      ****

 length - 615 bytes

00000000:  5851 4820 0100 0000 494E 5456 312E 512E           'XQH ....INTV1.Q.'
00000010:  5258 2020 2020 2020 2020 2020 2020 2020           'RX              '
00000020:  2020 2020 2020 2020 2020 2020 2020 2020           '                '
00000030:  2020 2020 2020 2020 5041 4D2E 514D 2020           '        PAM.QM  '
00000040:  2020 2020 2020 2020 2020 2020 2020 2020           '                '
00000050:  2020 2020 2020 2020 2020 2020 2020 2020           '                '
00000060:  2020 2020 2020 2020 4D44 2020 0100 0000           '        MD  ....'
00000070:  0000 0000 0800 0000 FFFF FFFF 0000 0000           '................'
00000080:  1101 0000 B804 0000 4D51 4852 4632 2020           '........MQHRF2  '
00000090:  0400 0000 0100 0000 414D 5120 494E 5456           '........AMQ INTV'
000000A0:  312E 514D 2020 2020 D3BA C641 0130 0020           '1.QM    Óº.A.0. '
000000B0:  0000 0000 0000 0000 0000 0000 0000 0000           '................'
000000C0:  0000 0000 0000 0000 0000 0000 2020 2020           '............    '
000000D0:  2020 2020 2020 2020 2020 2020 2020 2020           '                '
000000E0:  2020 2020 2020 2020 2020 2020 2020 2020           '                '
000000F0:  2020 2020 2020 2020 2020 2020 494E 5456           '            INTV'
00000100:  312E 514D 2020 2020 2020 2020 2020 2020           '1.QM            '
00000110:  2020 2020 2020 2020 2020 2020 2020 2020           '                '
00000120:  2020 2020 2020 2020 2020 2020 6D71 6D20           '            mqm '
00000130:  2020 2020 2020 2020 0431 3134 3400 0000           '        .1144...'
00000140:  0000 0000 0000 0000 0000 0000 0000 0000           '................'
00000150:  0000 0000 0000 0006 2020 2020 2020 2020           '........        '
00000160:  2020 2020 2020 2020 2020 2020 2020 2020           '                '
00000170:  2020 2020 2020 2020 1C00 0000 5765 6273           '        ....Webs'
00000180:  7068 6572 6520 4D51 2043 6C69 656E 7420           'phere MQ Client '
00000190:  666F 7220 4A61 7661 3230 3034 3132 3230           'for Java20041220'
000001A0:  3136 3034 3436 3537 2020 2020 5246 4820           '16044657    RFH '
000001B0:  0000 0002 0000 009C 0000 0111 0000 04B8           '................'
000001C0:  4D51 5354 5220 2020 0000 0000 0000 04B8           'MQSTR   ........'
000001D0:  0000 0020 3C6D 6364 3E3C 4D73 643E 6A6D           '... <mcd><Msd>jm'
000001E0:  735F 7465 7874 3C2F 4D73 643E 3C2F 6D63           's_text</Msd></mc'

000001F0:  643E 2020 0000 0050 3C6A 6D73 3E3C 4473           'd>  ...P<jms><Ds'
00000200:  743E 7175 6575 653A 2F2F 2F49 4E54 5631           't>queue:///INTV1'
00000210:  2E51 2E54 583C 2F44 7374 3E3C 546D 733E           '.Q.TX</Dst><Tms>'
00000220:  3131 3033 3535 3937 3737 3035 353C 2F54           '1103559777055</T'
00000230:  6D73 3E3C 446C 763E 323C 2F44 6C76 3E3C           'ms><Dlv>2</Dlv><'
00000240:  2F6A 6D73 3E20 2020 4D54 7C4D 3D30 3033           '/jms>   MT|M=003'
00000250:  3436 3530 3934 3730 3639 7C4E 7C54 3D74           '4650947069|N|T=t'
00000260:  6573 7469 6E67 32                                 'esting2         '



 No more messages


the string im sending is there in the message... strange..

regards
Petter
Back to top
View user's profile Send private message
knegarpetter
PostPosted: Mon Dec 20, 2004 9:11 am    Post subject: Reply with quote

Apprentice

Joined: 10 Dec 2004
Posts: 39

can i send a message from java without all th crap in the message.... (no <jms_text> etc) ???

Petter
Back to top
View user's profile Send private message
teal
PostPosted: Mon Dec 20, 2004 9:13 am    Post subject: Reply with quote

Acolyte

Joined: 15 Dec 2004
Posts: 66

It appears you are using the RFH2 header, is he expecting this?

In other words, what is the TARGET queue?
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Mon Dec 20, 2004 9:17 am    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

Quote:
the string im sending is there in the message... strange..

There is nothing strange about your message on the XMITQ. First, you have the XMIT header, then the message's MQMD header, followed by the MQRFH2 header, then folders (2 of them) and then finally your data.

If you don't want the MQRFH2 & the folders in your message then change the MQ JNDI queue's 'TargClient' attribute from 'JMS' to 'MQ'.

Regards,
Roger Lacroix
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
knegarpetter
PostPosted: Tue Dec 21, 2004 1:21 am    Post subject: Reply with quote

Apprentice

Joined: 10 Dec 2004
Posts: 39

!!!!!!
You are the greatest!!!

Thank you very much!!

now its working

Regards
Petter
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 Java / JMS » The Textmessages are empty when they reach the remote QM
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.