SAP PI & UM Integration

Hello UM Gurus,

We are working on connecting SAP PI with UM to enable message transport bus. In this process we are facing issue “Class cast exception”. Could you please have a view of the issue detailed in the attachment and advise at the earliest.

Many Thanks
SAP PI & UM Integration Issue.doc (2.21 MB)

Hi DJ,

this error message might be related to the type of connection factory created on the UM server.

Is it possible, that in your case the factory sappi_dev was created as connection factory?

If so, could you please re-test with a queue connection factory (see attached png)?

Best Regards,

Hello Matthias,
Thanks for your quick reply and my apologies for delay in responding.

We have been troubleshooting and got through with the issue and now once try to some test message from PI to UM, PI is throwing following error:

QueueSender: queue not set in sending to destination sappi_input, the message message: com.pcbsys.nirvana.nJMS.TextMessageImpl@4584e8d0: javax.jms.JMSException: QueueSender: queue not set

Please let us know if you have any suggestions.

Best Regards

Hi Dhanunjaya,

Please let me know whether the issue is resolved. Since we are getting the same error while connecting from SAP PI to UM.


Hello Vijay,

Yes, this has been resolved by upgrading SAP PI software as per the SAP Note # 2344154 - Sending text msg fails due to error from QueueSender.getQueue().

Please check your SAP PI version and accordingly take a step.

Also, have the upto date UM jars deployed in SAP PI vis-a-vis UM system software version.

Hope this helps.

Best Regards