Unable to publish message to JBOSS HornetQ using MDB

Solution Unverified - Updated -

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content