Why does the "JMSException: Failed to route Reference[xxxxxxx]:RELIABLE to <QUEUE_NAME>" exception occur while connecting to JMS queue ?
Issue
- When attempting to connect to a JBoss JMS queue from remote JMS client, the following exceptions occur in the server.log file:
org.jboss.messaging.core.impl.ChannelSupport 'Failed to handle message'
java.lang.NullPointerException
at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:846)
at org.jboss.messaging.core.impl.JDBCPersistenceManager.cacheID(JDBCPersistenceManager.java:1649)
at org.jboss.messaging.core.impl.JDBCPersistenceManager$1AddReferenceRunner.doTransaction(JDBCPersistenceManager.java:1370)
javax.jms.JMSException: Failed to route Reference[xxxxxxx]:RELIABLE to <QUEUE_NAME>
at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendMessage(ServerConnectionEndpoint.java:771)
at org.jboss.jms.server.endpoint.ServerSessionEndpoint.send(ServerSessionEndpoint.java:399)
at
org.jboss.jms.server.endpoint.advised.SessionAdvised.org$jboss$jms$server$endpoint$advised$SessionAdvised$send$aop(SessionAdvised.java:87)
What is the root cause behind this exception?
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 4.3.x
- 5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.