Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

JMSListener not working due to ClassCastException



Th user tried to migrate from Tibco to Solace queues for their JMS service and connect. But after migration, they are getting an error.

Error Messages

Object at JNDI node 'PUB_CF' doesn't implement javax.jms.QueueConnectionFactory

2016-10-22 17:24:41,833 [ JMS-Thread-16] [ STANDARD] [ ] ( services.jms.JMSListener) ERROR .RIMMSPostResponseSolace AutoMarginCall - Caught java.lang.ClassCastException in listener RIMMSPostResponseSolace
java.lang.ClassCastException: com.solacesystems.jms.SolConnectionFactoryImpl cannot be cast to javax.jms.ConnectionFactory

Steps to Reproduce

Not applicable

Root Cause

A defect or configuration issue in the operating environment.


Make the following change to the operating environment:
There is a client imported jms.jar in the pega database table 'pr_engineclasses'. The jar is incompatible with Solace jars. Removing the records in the pr_engineclasses table related to the 'jms.jar' resolves the issue.


Published November 18, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us