"CourierServiceBindException: Failed to get JMS Session from pool" Message with JBoss Messaging

Solution Verified - Updated -

Issue

  • Messaging fails, and the following messages appear in the server log:

    org.jboss.soa.esb.couriers.CourierServiceBindException: Failed to get JMS Session from pool.
            at org.jboss.internal.soa.esb.couriers.JmsCourier.getJmsSession(JmsCourier.java:165)
            ......
    Caused by: org.jboss.internal.soa.esb.rosetta.pooling.ConnectionException: Unexpected exception accessing Naming Context
            at org.jboss.internal.soa.esb.rosetta.pooling.JmsConnectionPool.internalGetSession(JmsConnectionPool.java:222)
    .       ......
    Caused by: javax.naming.CommunicationException [Root exception is java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
            java.net.ConnectException: Connection refused: connect]
    

Environment

  • JBoss Enterprise Application Platform 4.3.0.x
  • JBoss SOA Platform

  • JBoss Messaging

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