JMS Queue Receiver or Get JMS Queue Message activity fails with com.tibco.plugin.share.jms.impl.JMSExceptionWrapper: javax.jms.MessageFormatException.

JMS Queue Receiver or Get JMS Queue Message activity fails with com.tibco.plugin.share.jms.impl.JMSExceptionWrapper: javax.jms.MessageFormatException.

book

Article ID: KB0088811

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Resolution:
Description
=========

JMS Queue Receiver or Get JMS Queue Message uses the Object Ref or Object message type. When receiving a Java object message it throws the following error:

There was an unexpected error.
    at com.tibco.plugin.jms.JMSAbstractGetMessageActivity.postEval(Unknown Source)
    at com.tibco.pe.core.TaskImpl.eval(Unknown Source)
    at com.tibco.pe.core.Job.a(Unknown Source)
    at com.tibco.pe.core.Job.k(Unknown Source)
    at com.tibco.pe.core.JobDispatcher$JobCourier.a(Unknown Source)
    at com.tibco.pe.core.JobDispatcher$JobCourier.run(Unknown Source)
caused by: com.tibco.plugin.share.jms.impl.JMSExceptionWrapper: javax.jms.MessageFormatException: Deserialization failed: <java package name>.<class name>
    at com.tibco.plugin.share.jms.impl.JMSPluginException.<init>(Unknown Source)
    at com.tibco.plugin.share.jms.impl.JMSReceiveException.<init>(Unknown Source)
    at com.tibco.plugin.jms.JMSAbstractGetMessageActivity.postEval(Unknown Source)
    at com.tibco.pe.core.TaskImpl.eval(Unknown Source)
    at com.tibco.pe.core.Job.a(Unknown Source)
    at com.tibco.pe.core.Job.k(Unknown Source)
    at com.tibco.pe.core.JobDispatcher$JobCourier.a(Unknown Source)
    at com.tibco.pe.core.JobDispatcher$JobCourier.run(Unknown Source)
Caused by: javax.jms.MessageFormatException: Deserialization failed: source.Customer
    at com.tibco.tibjms.TibjmsObjectMessage.getObject(TibjmsObjectMessage.java:240)
    at com.tibco.plugin.jms.JMSAbstractGetMessageActivity.deserialize(Unknown Source)
    ... 6 more

Environment
==========
All

Cause:
======
The jar file containing the class of the Java object is not present in the BW classpath.

Resolution
=========
Add the jar containing the class of the Java object to BW classpath.

Issue/Introduction

JMS Queue Receiver or Get JMS Queue Message activity fails with com.tibco.plugin.share.jms.impl.JMSExceptionWrapper: javax.jms.MessageFormatException.