Unable to publish message to JBOSS HornetQ using MDB
Issue
- Configured JBoss HornetQ for JMS messaging and made the necessary configurations in the domain.xml. Created an MDB to publish messages to JBoss HornetQ queues, but we're getting the following error
javax.naming.NamingException: Failed to connect to any server. Servers
tried: [remote://<remote_IP>:50103]
at org.jboss.naming.remote.client.HaRemoteNamingStore.failOverSequence
(HaRemoteNamingStore.java:213)
at org.jboss.naming.remote.client.HaRemoteNamingStore.namingStore
(HaRemoteNamingStore.java:144)
at org.jboss.naming.remote.client.HaRemoteNamingStore.namingOperation
(HaRemoteNamingStore.java:125)
at org.jboss.naming.remote.client.HaRemoteNamingStore.lookup
(HaRemoteNamingStore.java:241)
at org.jboss.naming.remote.client.RemoteContext.lookup(RemoteContext.
java:79)
at org.jboss.naming.remote.client.RemoteContext.lookup(RemoteContext.
java:83)
at javax.naming.InitialContext.lookup(InitialContext.java:411)
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.4.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
