MQJMS1000

I recently ran into this error: IBM - MQJMS1000: Failed to create JMS message and MQJMS2007: failed to send message to MQ queue . The IBM support page says this

Another common cause of MQJMS1000 is that the data has been written in a code page that is not supported by the JVM.

Unfortunately, my resolution was to use the IBM JVM…frustrating, but it works.

Update: The underlying cause of this JMSException was “java.io.UnsupportedEncodingException: Cp437″ The source of the JMS message was an IBM 4690 client and the default file.encoding is Cp437. The rt.jar in the Sun JDK does not support this type of encoding, but it is supported in charsets.jar. So the solution was to add charsets.jar to the classpath.

Comments are closed.