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 » WebSphere Message Broker (ACE) Support » PubSub Problem with non-durable subscription

Post new topic  Reply to topic
 PubSub Problem with non-durable subscription « View previous topic :: View next topic » 
Author Message
SABCAS
PostPosted: Wed Jan 09, 2008 12:34 am    Post subject: PubSub Problem with non-durable subscription Reply with quote

Acolyte

Joined: 09 Mar 2005
Posts: 60
Location: Switzerland

Hallo
I have a problem with the following Publication message input
RFH ............
.... ....
UNIQUE_CONNECTIO
N_ID 414D51204D5
12E5342453137383
92E4147833BEC200
9AA02 MQPSComman
d Publish MQPSTo
pic /an/other/ad
dress MQPSPubOpt
s NoReg
<?xml version="1
.0" encoding="UT
F-8"?>.<test1 xmlns=""/>

It is an MQRFH1 Message.

When the Message Broker receives this publication, it throws die following error:
Jan 9 09:00:18 sbe1789 user:err|error WebSphere Broker v6006[667874]: (SBE1789.PUBLICATION)[5655]BIP2121E: The thread bootstrap code caught an unhandled exception on thread '5655'. : SBE1789.5edc3759-1701-0000-0080-fc97dd1fd288: /build/S600_P/src/CommonServices/rios_aix_4/ImbOsThread.cpp: 261: ImbOsThread::threadBootStrap: :
Jan 9 09:00:18 sbe1789 user:info WebSphere Broker v6006[667874]: (SBE1789.PUBLICATION)[5655]BIP7053S: Unexpected Java exception com.ibm.disthub2.impl.util.AssertFailureError: {-1379378023|com.ibm.disthub2.impl.matching.MatchingException: Severe error in matching: {-1200843245\|java.lang.StringIndexOutOfBoundsException: String index out of range: -1\|}|} at com.ibm.disthub2.impl.util.Assert.failure(Assert.java:80) at com.ibm.disthub2.impl.server.MessageProcessor.performMatch(MessageProcessor.java:182) at com.ibm.disthub2.impl.server.MessageProcessor.newMessageFromClient(MessageProcessor.java:234) at com.ibm.broker.server.EngineNodeContext.publish(EngineNodeContext.java:430) at com.ibm.broker.server.EngineNodeContext.publish(EngineNodeContext.java:592) . : SBE1789.5edc3759-1701-0000-0080-fc97dd1fd288: /build/S600_P/src/DataFlowEngine/JavaNodeLibrary/ImbPubSubException.cpp: 310: ImbPubSubJavaException::getJavaExceptionInformation: :
Jan 9 09:00:29 sbe1789 user:info WebSphere Broker v6006[667874]: (SBE1789.PUBLICATION)[1]BIP2204I: Execution group using process '667874' thread '1' stopped. : SBE1789.5edc3759-1701-0000-0080-fc97dd1fd288: /build/S600_P/src/DataFlowEngine/ImbMain.cpp: 890: main: :
Jan 9 09:00:29 sbe1789 user:warn|warning WebSphere Broker v6006[778386]: (SBE1789)[3857]BIP2060W: The broker has detected that the Execution Group PUBLICATION, process ID 667874, has shutdown. : SBE1789.agent: /build/S600_P/src/AdminAgent/ImbAdminAgent.cpp: 4215: ImbAdminAgent::startAndMonitorADataFlowEngine: :
Jan 9 09:00:30 sbe1789 user:info WebSphere Broker v6006[667876]: (SBE1789.PUBLICATION)[1]BIP2201I: Execution Group started: process '667876'; thread '1'; additional information: brokerName 'SBE1789'; executionGroupUUID '5edc3759-1701-0000-0080-fc97dd1fd288'; executionGroupLabel 'PUBLICATION'; defaultExecutionGroup 'false'; queueManagerName 'MQ.SBE1789.AIX.D'; trusted 'false'; dataSourceName 'WBIMBBK1'; userId 'tmqsi'; migrationNeeded 'false'; brokerUUID 'e895c6e8-1601-0000-0080-e316fe2992af'; filePath '/opt/IBM/mqsi/6.0'; workPath '/var/mqsi'; ICU Converter Path ''. : SBE1789.5edc3759-1701-0000-0080-fc97dd1fd288: /build/S600_P/src/DataFlowEngine/ImbMain.cpp: 351: main: :
Jan 9 09:00:43 sbe1789 user:info WebSphere Broker v6006[667876]: (SBE1789.PUBLICATION)[1]BIP7407I: Publish/Subscribe subscriptions recovery started. Found '84' subscriptions. : SBE1789.5edc3759-1701-0000-0080-fc97dd1fd288: /build/S600_P/src/DataFlowEngine/NativeTrace/ImbNativeTrace.cpp: 792: SubscriptionService.readSubscriptions: DynamicSubscriptionEngine: DynamicSubscriptionEngine
Jan 9 09:00:43 sbe1789 user:info WebSphere Broker v6006[667876]: (SBE1789.PUBLICATION)[1]BIP7410I: Publish/Subscribe subscriptions recovery. Recovered '2500' subscriptions. : SBE1789.5edc3759-1701-0000-0080-fc97dd1fd288: /build/S600_P/src/DataFlowEngine/NativeTrace/ImbNativeTrace.cpp: 792: SubscriptionService.readSubscriptions: DynamicSubscriptionEngine: DynamicSubscriptionEngine
Jan 9 09:00:43 sbe1789 user:info WebSphere Broker v6006[667876]: (SBE1789.PUBLICATION)[1]BIP7033I: Publish/Subscribe state recovery completed. : SBE1789.5edc3759-1701-0000-0080-fc97dd1fd288: /build/S600_P/src/DataFlowEngine/NativeTrace/ImbNativeTrace.cpp: 667: SubscriptionService.readSubscriptions: DynamicSubscriptionEngine: DynamicSubscriptionEngine
Jan 9 09:00:54 sbe1789 user:err|error WebSphere Broker v6006[667876]: (SBE1789.PUBLICATION)[5655]BIP2648E: Message backed out to a queue; node 'JMSInput_Publication.MQInput'. : SBE1789.5edc3759-1701-0000-0080-fc97dd1fd288: /build/S600_P/src/DataFlowEngine/ImbMqInputNode.cpp: 1925: ImbCommonInputNode::eligibleForBackout: ComIbmMQInputNode: JMSInput_Publication#FCMComposite_1_5

I have to say that the subscription is a non-durable, with MQRFH2 it's works, only in this case doesn't work.
Could you me Help ?
Thanks a Lot
Ciao
Sabato javascript:emoticon('')
javascript:emoticon('')
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Jan 09, 2008 3:48 am    Post subject: Reply with quote

Grand High Poobah

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

Isn't MQRFH1 for the MQ Broker?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
SABCAS
PostPosted: Wed Jan 09, 2008 7:43 am    Post subject: Reply with quote

Acolyte

Joined: 09 Mar 2005
Posts: 60
Location: Switzerland

Hallo
I have a Trace Log and the following Message will be send to Node Publish
**** Input Message to Publication Message Broker ********
2008-01-09 15:14:37.208740
(
(0x01000000):Properties = (
(0x03000000):MessageSet = ''
(0x03000000):MessageType = ''
(0x03000000):MessageFormat = ''
(0x03000000):Encoding = 273
(0x03000000):CodedCharSetId = 1208
(0x03000000):Transactional = TRUE
(0x03000000):Persistence = TRUE
(0x03000000):CreationTime = GMTTIMESTAMP '2008-01-09 14:14:17.990'
(0x03000000):ExpirationTime = -1
(0x03000000):Priority = 4
(0x03000000):ReplyIdentifier = X'414d51204d512e534245313738392e414784cd572001590b'
(0x03000000):ReplyProtocol = 'MQ'
(0x03000000):Topic = '/an/other/address'
(0x03000000):ContentType = ''
)
(0x01000000):MQMD = (
(0x03000000):SourceQueue = 'SYSTEM.BROKER.DEFAULT.STREAM'
(0x03000000):Transactional = TRUE
(0x03000000):Encoding = 273
(0x03000000):CodedCharSetId = 1208
(0x03000000):Format = 'MQHRF '
(0x03000000):Version = 2
(0x03000000):Report = 0
(0x03000000):MsgType = 8
(0x03000000):Expiry = -1
(0x03000000):Feedback = 0
(0x03000000):Priority = 4
(0x03000000):Persistence = 1
(0x03000000):MsgId = X'414d51204d512e534245313738392e414784cd572001590c'
(0x03000000):CorrelId = X'414d51204d512e534245313738392e414784cd572001590b'
(0x03000000):BackoutCount = 0
(0x03000000):ReplyToQ = ' '
(0x03000000):ReplyToQMgr = 'MQ.SBE1789.AIX.D '
(0x03000000):UserIdentifier = 'mqm '
(0x03000000):AccountingToken = X'0000000000000000000000000000000000000000000000000000000000000000'
(0x03000000):ApplIdentityData = ' '
(0x03000000):PutApplType = 28
(0x03000000):PutApplName = 'Websphere MQ Client for Java'
(0x03000000):PutDate = DATE '2008-01-09'
(0x03000000):PutTime = GMTTIME '14:14:17.990'
(0x03000000):ApplOriginData = ' '
(0x03000000):GroupId = X'000000000000000000000000000000000000000000000000'
(0x03000000):MsgSeqNumber = 1
(0x03000000):Offset = 0
(0x03000000):MsgFlags = 0
(0x03000000):OriginalLength = -1
)
(0x01000000):MQRFH = (
(0x03000000):Version = 1
(0x03000000):Encoding = 273
(0x03000000):CodedCharSetId = 1208
(0x03000000):Format = ' '
(0x03000000):Flags = 0
(0x03000000):UNIQUE_CONNECTION_ID = '414D51204D512E534245313738392E414784CD5720015C08'
(0x03000000):MQPSCommand = 'Publish'
(0x03000000):MQPSTopic = '/an/other/address'
(0x03000000):MQPSPubOpts = 'NoReg'
)
(0x01000010):XML = (
(0x05000018):XML = (
(0x06000011): = '1.0'
(0x06000012): = 'UTF-8'
)
(0x06000002): = '
'
(0x01000000):test2 = (
(0x03000000):xmlns = ''
)
)
)

So it's MQRFH.

Ciao
Sabato
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Jan 09, 2008 7:45 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You must use an MQRFH2 when talking to message broker, not an MQRFH.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
SABCAS
PostPosted: Thu Jan 10, 2008 2:27 am    Post subject: Reply with quote

Acolyte

Joined: 09 Mar 2005
Posts: 60
Location: Switzerland

Hallo

I have in InfoCenter :
http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r1m0/index.jsp?topic=/com.ibm.etools.mft.doc/aq19770_.htm

like it follows
"Client applications that are developed for WebSphere® Message Broker should use the MQRFH2 message header. These applications can then use all the function provided by WebSphere Message Broker.
Existing WebSphere MQ Publish/Subscribe applications that use the MQRFH message header are also supported by WebSphere Message Broker, but function is limited to that provided by WebSphere MQ Publish/Subscribe."

And Perhaps all the Publications with RFH Header with durable Subscription works Fine with PubSub Message Broker, only the Publications with RFH with non-durable subscriptions have a Problem into Pubsub Message Broker.

Thanks a Lot
Ciao
Sabato
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 » WebSphere Message Broker (ACE) Support » PubSub Problem with non-durable subscription
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.