javax.jms.MessageFormatException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • We are getting a lot of these warnings even though we are not setting any JMSX properties. Please suggest on how to avoid these warnings. We are seeing this error consistently for every message. The WARN Message is: 2010-05-05 07:49:42,153 WARN [pool-1-thread-1] jms.DefaultJmsHeaderMapper - failed to map Message header 'JMSXUserID' to JMS property javax.jms.MessageFormatException: MQJMS1058: Invalid message property name: JMSXUserID at com.ibm.jms.JMSMessage.newMessageFormatException(JMSMessage.java:4751) at com.ibm.jms.JMSMessage.setObjectProperty(JMSMessage.java:5655) at org.springframework.integration.jms.DefaultJmsHeaderMapper.fromHeaders(DefaultJmsHeaderMapper.java:84) at org.springframework.integration.jms.HeaderMappingMessageConverter.toMessage(HeaderMappingMessageConverter.java:177) at org.springframework.jms.core.JmsTemplate$5.createMessage(JmsTemplate.java:619) at org.springframework.jms.core.JmsTemplate.doSend(JmsTemplate.java:570) at org.springframework.jms.core.JmsTemplate$3.doInJms(JmsTemplate.java:541) at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:471) at org.springframework.jms.core.JmsTemplate.send(JmsTemplate.java:539) at org.springframework.jms.core.JmsTemplate.convertAndSend(JmsTemplate.java:617) at org.springframework.jms.core.JmsTemplate.convertAndSend(JmsTemplate.java:609) at org.springframework.integration.jms.JmsSendingMessageHandler.handleMessage(JmsSendingMessageHandler.java:62) at org.springframework.integration.dispatcher.UnicastingDispatcher.doDispatch(UnicastingDispatcher.java:103) at org.springframework.integration.dispatcher.UnicastingDispatcher.dispatch(UnicastingDispatcher.java:90) at org.springframework.integration.channel.AbstractSubscribableChannel.doSend(AbstractSubscribableChannel.java:43) at org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:116) at org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:94) at org.springframework.integration.channel.MessageChannelTemplate.doSend(MessageChannelTemplate.java:223) at org.springframework.integration.channel.MessageChannelTemplate.send(MessageChannelTemplate.java:180) at org.springframework.integration.handler.DelayHandler.releaseMessage(DelayHandler.java:229) at org.springframework.integration.handler.DelayHandler.access$0(DelayHandler.java:227) at org.springframework.integration.handler.DelayHandler$1.run(DelayHandler.java:207) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
    via by SrikanthReddy Vuppula,
  • We are getting a lot of these warnings even though we are not setting any JMSX properties. Please suggest on how to avoid these warnings. We are seeing this error consistently for every message. The WARN Message is: 2010-05-05 07:49:42,153 WARN [pool-1-thread-1] jms.DefaultJmsHeaderMapper - failed to map Message header 'JMSXUserID' to JMS property javax.jms.MessageFormatException: MQJMS1058: Invalid message property name: JMSXUserID at com.ibm.jms.JMSMessage.newMessageFormatException(JMSMessage.java:4751) at com.ibm.jms.JMSMessage.setObjectProperty(JMSMessage.java:5655) at org.springframework.integration.jms.DefaultJmsHeaderMapper.fromHeaders(DefaultJmsHeaderMapper.java:84) at org.springframework.integration.jms.HeaderMappingMessageConverter.toMessage(HeaderMappingMessageConverter.java:177) at org.springframework.jms.core.JmsTemplate$5.createMessage(JmsTemplate.java:619) at org.springframework.jms.core.JmsTemplate.doSend(JmsTemplate.java:570) at org.springframework.jms.core.JmsTemplate$3.doInJms(JmsTemplate.java:541) at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:471) at org.springframework.jms.core.JmsTemplate.send(JmsTemplate.java:539) at org.springframework.jms.core.JmsTemplate.convertAndSend(JmsTemplate.java:617) at org.springframework.jms.core.JmsTemplate.convertAndSend(JmsTemplate.java:609) at org.springframework.integration.jms.JmsSendingMessageHandler.handleMessage(JmsSendingMessageHandler.java:62) at org.springframework.integration.dispatcher.UnicastingDispatcher.doDispatch(UnicastingDispatcher.java:103) at org.springframework.integration.dispatcher.UnicastingDispatcher.dispatch(UnicastingDispatcher.java:90) at org.springframework.integration.channel.AbstractSubscribableChannel.doSend(AbstractSubscribableChannel.java:43) at org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:116) at org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:94) at org.springframework.integration.channel.MessageChannelTemplate.doSend(MessageChannelTemplate.java:223) at org.springframework.integration.channel.MessageChannelTemplate.send(MessageChannelTemplate.java:180) at org.springframework.integration.handler.DelayHandler.releaseMessage(DelayHandler.java:229) at org.springframework.integration.handler.DelayHandler.access$0(DelayHandler.java:227) at org.springframework.integration.handler.DelayHandler$1.run(DelayHandler.java:207) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
    via by SrikanthReddy Vuppula,
  • setting the JMSReplyTo
    via by 721783,
  • MQJMS1061 and java.io.StreamCorruptedException
    via by Unknown author,
  • MQJMS1061 and java.io.StreamCorruptedException
    via by Unknown author,
  • How to set JMSXAppId property?
    via by 843830,
  • JNDI issue with Webphere MQ
    via by Prantik Biswas,
    • javax.jms.MessageFormatException: MQJMS1058: Invalid message property name: JMSXUserID at com.ibm.jms.JMSMessage.newMessageFormatException(JMSMessage.java:4751) at com.ibm.jms.JMSMessage.setObjectProperty(JMSMessage.java:5655) at org.springframework.integration.jms.DefaultJmsHeaderMapper.fromHeaders(DefaultJmsHeaderMapper.java:84) at org.springframework.integration.jms.HeaderMappingMessageConverter.toMessage(HeaderMappingMessageConverter.java:177) at org.springframework.jms.core.JmsTemplate$5.createMessage(JmsTemplate.java:619) at org.springframework.jms.core.JmsTemplate.doSend(JmsTemplate.java:570) at org.springframework.jms.core.JmsTemplate$3.doInJms(JmsTemplate.java:541) at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:471) at org.springframework.jms.core.JmsTemplate.send(JmsTemplate.java:539) at org.springframework.jms.core.JmsTemplate.convertAndSend(JmsTemplate.java:617) at org.springframework.jms.core.JmsTemplate.convertAndSend(JmsTemplate.java:609) at org.springframework.integration.jms.JmsSendingMessageHandler.handleMessage(JmsSendingMessageHandler.java:62) at org.springframework.integration.dispatcher.UnicastingDispatcher.doDispatch(UnicastingDispatcher.java:103) at org.springframework.integration.dispatcher.UnicastingDispatcher.dispatch(UnicastingDispatcher.java:90) at org.springframework.integration.channel.AbstractSubscribableChannel.doSend(AbstractSubscribableChannel.java:43) at org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:116) at org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:94) at org.springframework.integration.channel.MessageChannelTemplate.doSend(MessageChannelTemplate.java:223) at org.springframework.integration.channel.MessageChannelTemplate.send(MessageChannelTemplate.java:180) at org.springframework.integration.handler.DelayHandler.releaseMessage(DelayHandler.java:229) at org.springframework.integration.handler.DelayHandler.access$0(DelayHandler.java:227) at org.springframework.integration.handler.DelayHandler$1.run(DelayHandler.java:207) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,