Message Selector Threading issue in "Get JMS Queue Message" activity.

Message Selector Threading issue in "Get JMS Queue Message" activity.

book

Article ID: KB0087694

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Resolution:
Description:
============
Message Selector Threading issue in "Get JMS Queue Message" activity.


Environment:
===========
All

Symptoms:
========
The following exception stack trace is generated: 

<StackTrace>Job-76000-2 Error in [ProjectComponents/MEEDIX/UnitTest/Gateway Emulator 270 - Static Queue.process/Group/Get JMS Queue Message]
There was an unexpected error.
    at com.tibco.plugin.jms.JMSAbstractGetMessageActivity.postEval(JMSAbstractGetMessageActivity.java:683)
    at com.tibco.pe.core.TaskImpl.eval(TaskImpl.java:531)
    at com.tibco.pe.core.Job.a(Job.java:712)
    at com.tibco.pe.core.Job.k(Job.java:501)
    at com.tibco.pe.core.JobDispatcher$JobCourier.a(JobDispatcher.java:249)
    at com.tibco.pe.core.JobDispatcher$JobCourier.run(JobDispatcher.java:200)
caused by: com.tibco.plugin.share.jms.impl.JMSExceptionWrapper: Invalid configuration data: specified connection reference not found in repository.[%1]
    at com.tibco.plugin.share.jms.impl.JMSPluginException.<init>(JMSPluginException.java:22)
    at com.tibco.plugin.share.jms.impl.JMSReceiveException.<init>(JMSReceiveException.java:15)
    at com.tibco.plugin.jms.JMSAbstractGetMessageActivity.postEval(JMSAbstractGetMessageActivity.java:683)
    at com.tibco.pe.core.TaskImpl.eval(TaskImpl.java:531)
    at com.tibco.pe.core.Job.a(Job.java:712)
    at com.tibco.pe.core.Job.k(Job.java:501)
    at com.tibco.pe.core.JobDispatcher$JobCourier.a(JobDispatcher.java:249)
    at com.tibco.pe.core.JobDispatcher$JobCourier.run(JobDispatcher.java:200)
Caused by: Invalid configuration data: specified connection reference not found in repository.[%1]
    at com.tibco.plugin.jms.JMSAbstractGetMessageActivity$JMSMessageGetter.getEvent(JMSAbstractGetMessageActivity.java:964)
    at com.tibco.plugin.jms.JMSAbstractGetMessageActivity$JMSMessageGetter.run(JMSAbstractGetMessageActivity.java:799)
    </StackTrace>
    <Msg>There was an unexpected error.</Msg>
    <FullClass>com.tibco.plugin.share.jms.impl.JMSReceiveException</FullClass>
    <Class>JMSReceiveException</Class>
    <ProcessStack>ProjectComponents/MEEDIX/UnitTest/Gateway Emulator 270 - Static Queue.process/Group/Get JMS Queue Message</ProcessStack>
    <MsgCode>BW-JMS-100032</MsgCode>
    <Data>
        <ns1:JMSReceiveException xmlns:ns1 = "http://schemas.tibco.com/bw/plugins/jms/5.0/jmsExceptions">
            <msg>There was an unexpected error.</msg>
            <msgCode>BW-JMS-100032</msgCode>
        </ns1:JMSReceiveException>
    </Data>
</ns0:ErrorReport>
    


Resolution:
==========
Copy the destination queue value from the configuration tab to the input tab. This workaround is proposed in defect “1-A6U6S8”. Despite the fact that the defect “1-A6U6S8” was created for a different stack trace, ”javax.jms.IllegalStateException: Illegal use of receive () from multiple threads“, it also fixes the issue above.

Issue/Introduction

Message Selector Threading issue in "Get JMS Queue Message" activity.