Monday, April 21, 2014

ERRJMS_UNEXPECTED_TYPE. ERRJMS_UNEXPECTED_TYPE. Received a JMS Bytes message, while expecting to receive a JMS Text message. Please examine the log file to determine the problem.

I was creating an end to end scenario in SOA with Oracle B2B and faced this issue.

The exact scenario was B2B was polling on a location and after polling it was writing to a jms queue.

A soa process was listening on the queue and it was failing with the below error message

ERRJMS_UNEXPECTED_TYPE. ERRJMS_UNEXPECTED_TYPE. Received a JMS Bytes message, while expecting to receive a JMS Text message. Please examine the log file to determine the problem.



The reason for the error was that in the B2B configuration the message type was selected as byte.



I changed it to text type and my issue got resolved.

2 comments:

SureshChandra G said...

This helped me man. Thank you

Unknown said...

Thank you. It saved my time.