E*Way Shutdown Due To Invalid Message Selector (Doc ID 953488.1)

Last updated on AUGUST 17, 2016

Applies to:

Oracle Retail Integration Bus - Version 12.0.1 and later
Information in this document applies to any platform.
***Checked for relevance on 23-Nov-2011***


Symptoms

Unable to start ewReceivingToRMS e*Way. The following error appears in the logs:
"Invalid Message Selector on Topic... cannot remove and re-create because messages are on topic and must be backed up."

ERROR

Location: ewReceivingToRMS.colReceivingToRMS
Description: Message has exceeded maximum attempt count; retry will stop.
Message: com.retek.rib.sbyn.RibMessageWrapper@1d34fd6[]
Failure history (most recent first):
2009-10-10 13:27:28.0 ewReceivingToRMS.colReceivingToRMS Invalid item for this shipment.
100071543 100339121
2009-10-10 13:27:28.0 ewReceivingToRMS.colReceivingToRMS Invalid item for this shipment.
100074963 100339127
2009-10-10 13:27:28.0 ewReceivingToRMS.colReceivingToRMS Invalid item for this shipment.
100072327 100339124
2009-10-10 13:27:28.0 ewReceivingToRMS.colReceivingToRMS Invalid item for this shipment.
100054743 100334307
2009-10-10 13:27:28.0 ewReceivingToRMS.colReceivingToRMS Invalid item for this shipment.
100074066 100339126
2009-10-10 13:27:28.0 ewReceivingToRMS.colReceivingToRMS Invalid item for this shipment.
100053804 100334302

20:32:02,032
retek.ewReceivingToRMS.colReceivingToRMS.com.retek.rib.sbyn.collab.SbynMessageSelector - Checking
MessageSelector ...
20:32:02,091
retek.ewReceivingToRMS.colReceivingToRMS.com.retek.rib.sbyn.collab.SbynMessageSelector - Current
Message Selector = '' but it should be = 'threadValue = '1' and (retryLocation is null or
retryLocation = 'ewReceivingToRMS.colReceivingToRMS') and (groupKey is null or groupKey in (''))'
20:32:02,095 retek.ewReceivingToRMS.colReceivingToRMS.com.retek.rib.cmd.AbstractJMSCommand -
Attempting to execute; command=stcmsctrlutil -host ribprod -port 23053 -topicstat etReceiving
20:32:02,215 retek.ewReceivingToRMS.colReceivingToRMS.com.retek.rib.cmd.AbstractJMSCommand -
Command executed; exitValue=0
20:32:02,222
retek.ewReceivingToRMS.colReceivingToRMS.com.retek.rib.sbyn.collab.SbynMessageSelector - There are
up to 178 messages awaiting processing by this subscriber
20:32:02,222
retek.ewReceivingToRMS.colReceivingToRMS.com.retek.rib.sbyn.collab.SbynMessageSelector - To fix
this problem Export all messages on Topic and delete the subscriber with the following command:

stcmsctrlutil -host ribprod -port 23053 -deletesub etReceiving
{C8002FA2-411D-11DD-9C1C-E0C2DE564142} eGate{C8002FA2-411D-11DD-9C1C-E0C2DE564142}
20:32:02,233
retek.ewReceivingToRMS.colReceivingToRMS.com.retek.rib.sbyn.collab.SbynMessageSelector - Exception
caught while checking message selector:Invalid Message Selector on Topic... can't remove and
re-create because messages are on topic and must be backed up.
java.lang.RuntimeException: Invalid Message Selector on Topic... can't remove and re-create
because messages are on topic and must be backed up.
at
com.retek.rib.sbyn.collab.SbynMessageSelector.checkForMessageSelectorOnDurableSubscriberOnTopic(Sbyn
MessageSelector.java:166)
at com.retek.rib.sbyn.collab.SbynMessageSelector.setMessageSelector(SbynMessageSelector.java:85)
at com.retek.rib.collab.MessageSelectorImpl.setMessageSelector(MessageSelectorImpl.java:89)
at com.retek.rib.collab.RibCollabController.setMessageSelector(RibCollabController.java:70)
at com.retek.rib.collab.general.GeneralSubscriberHelper.init(GeneralSubscriberHelper.java:217)
at
com.retek.rib.collab.general.GeneralSubscriberHelper.createSubHelper(GeneralSubscriberHelper.java:57
)
at crGeneralSubscriberRePublisher.userInitialize(crGeneralSubscriberRePublisher.java:82)
at com.stc.jcsre.JCollaboration.initialize(JCollaboration.java:47)
at
com.stc.common.collabService.JCCollabControllerImpl.initializeJCollaboratorExt(JCCollabControllerImp
l.java:1238)
at
com.stc.common.collabService.JCCollabControllerImpl.firstTimeInTranslate(JCCollabControllerImpl.java
:1223)
at com.stc.common.collabService.JCCollabControllerImpl.translate(JCCollabControllerImpl.java:433)
20:32:02,239
retek.ewReceivingToRMS.colReceivingToRMS.com.retek.rib.sbyn.collab.SbynMessageSelector - Message
Selector on Durable Subscriber is invalid... eway is shuttting down.
12:36:47,574
retek.ewReceivingToRMS.colReceivingToRMS.com.retek.rib.sbyn.collab.SbynMessageSelector - Checking
MessageSelector ...
12:36:47,624 retek.ewReceivingToRMS.colReceivingToRMS.com.retek.rib.cmd.AbstractJMSCommand -
Attempting to execute; command=stcmsctrlutil -host ribprod -port 23053 -sublistall
12:36:47,788 retek.ewReceivingToRMS.colReceivingToRMS.com.retek.rib.cmd.AbstractJMSCommand -
Command executed; exitValue=0
12:36:47,877
retek.ewReceivingToRMS.colReceivingToRMS.com.retek.rib.sbyn.collab.SbynMessageSelector - Current
Message Selector = '' but it should be = 'threadValue = '1' and (retryLocation is null or
retryLocation = 'ewReceivingToRMS.colReceivingToRMS') and (groupKey is null or groupKey in (''))'
12:36:47,882 retek.ewReceivingToRMS.colReceivingToRMS.com.retek.rib.cmd.AbstractJMSCommand -
Attempting to execute; command=stcmsctrlutil -host ribprod -port 23053 -topicstat etReceiving
12:36:47,975 retek.ewReceivingToRMS.colReceivingToRMS.com.retek.rib.cmd.AbstractJMSCommand -
Command executed; exitValue=0

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms