SAP Knowledge Base Article - Preview

2356256 - Incompatible with interface error in JMS adapter log when using Python script to Apache ActiveMQ - Data Services

Symptom

A message can be sent manually via Apache ActiveMQ but when using a Python script to send a message to ActiveMQ you may experience the below error in your JMS Adapter error log. The message will successfully reach the queue in ActiveMQ but the JMS adapter will error out.  

java.lang.ClassCastException: class org.apache.activemq.command.ActiveMQBytesMessage:sun.misc.Launcher$AppClassLoader@119fdafc incompatible with interface javax.jms.TextMessage:sun.misc.Launcher$AppClassLoader@119fdafc


Read more...

Environment

SAP Data Services

Product

SAP Data Services all versions

Keywords

ActiveMQ, JMS, Python, ActiveMQBytesMessage  , KBA , EIM-DS , Data Services , EIM-DS-EXE , Job Execution , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.