activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuiser <>
Subject JBoss 5.1.2: Message driven beans are not bound into remote jndi
Date Fri, 24 Feb 2012 16:27:51 GMT
Greetings all!

I've been trying to connect an MDB (deployed to JBoss EAP 5.1.2) to ActiveMQ
5.5.1, but so far... no luck.

I am using the panacya-mdb-test-1.0.jar example (from and tried to connect to
either an embedded or external ActiveMQ broker -- whatever I try, it always
ends up registering the SenderEJB successful, but all MDBs fail deployment
with the stack trace:

I've followed 1:1 the steps (as listed in the great eBook "ActiveMQ in

1. Extract under the JBoss deploy/activemq-ra.rar directory the RAR
2. Modify the ra.xml to use the ServerUrl vm://localhost and point to the
broker-config.xml config
3. Create an activemq-ds.xml under the JBoss deploy/ directory with content:

4. Test JBoss application server startup, verify the Broker starts (YES!!!)
and the resources are registered (YES!!!):

5. Modify the panacya-mdb-test-1.0.jar/META-INF/jboss.xml to refer to the

6. Copied the modified panacya-mdb-test-1.0.jar to the JBoss deploy
7. Start Jboss (./ -c activemq2)
8. Everything goes fine until the MDBs are deployed, just after the message:

Please advice, we are seriously considering to use ActiveMQ for our banking

Thanks in advance,
Robin Huiser
Technical Architect Allshare Banking Solutions

Ps. The alternative could be using annotations, but we do not want to mix
application logic and deployment configuration in our source code.

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message