Java EE spec violation when configuring a JMS bridge in JBoss EAP

Solution Verified - Updated -


I'm trying to configure a JMS bridge with a source topic on WebLogic, destination topic on EAP 6.1. The major twist here is that I'm trying to use an XA ConnectionFactory with HornetQ.

During startup, starting the bridge fails with the following exception:

WARN  [org.hornetq.jms.server] (ServerService Thread Pool -- 50) HQ122010: Failed to connect JMS Bridge: javax.jms.IllegalStateException: This method is not applicable inside the application server. See the J2EE spec, e.g. J2EE1.4 Section 6.6
    at org.hornetq.ra.HornetQRASessionFactoryImpl.setExceptionListener(
    at org.hornetq.jms.bridge.impl.JMSBridgeImpl.createConnection(
    at org.hornetq.jms.bridge.impl.JMSBridgeImpl.setupJMSObjects(
    at org.hornetq.jms.bridge.impl.JMSBridgeImpl.start(
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask( [rt.jar:1.6.0_45]
    at java.util.concurrent.ThreadPoolExecutor$ [rt.jar:1.6.0_45]
    at [rt.jar:1.6.0_45]


  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.1.0
    • 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In