Problems with Message Driven Beans, MessageListener, and HornetQ

Solution Unverified - Updated -

Issue

I'm currently trying to migrate an application to JBoss EAP 6.1.0 that has previously used a MessageListener Message Driven Bean to receive commands from an outside server over JMS queues.

However, I'm having some issues with my beans specifications. Attempting to deploy gives me:

ERROR [org.jboss.as.server] (HttpManagementService-threads - 9) JBAS015870: Deploy of deployment "abc.ear" was rolled back with the following failure message: 
{"JBAS014771: Services with missing/unavailable dependencies" => [
    "jboss.deployment.subunit.\"abc.ear\".\"abc.war\".component.XIConfirmationMDB.CREATE is missing [jboss.ra.hornetq-ra]",
    "jboss.web.deployment.default-host./abc is missing [jboss.deployment.subunit.\"ccs.ear\".\"abc.war\".component.MyOrderMDB.VIEW.\"javax.jms.MessageListener\"]",
    "jboss.deployment.subunit.\"abc.ear\".\"abc-xi-outbound.jar\".component.XIConfirmationMDB.CREATE is missing [jboss.ra.hornetq-ra]",
    "jboss.deployment.subunit.\"abc.ear\".\"abc-xi.jar\".component.TransferOrderMDB.CREATE is missing [jboss.ra.hornetq-ra]",
    "jboss.deployment.subunit.\"abc.ear\".\"abc.war\".component.TransferOrderMDB.CREATE is missing [jboss.ra.hornetq-ra]",
    "jboss.deployment.subunit.\"abc.ear\".\"abc-xi.jar\".component.XIConfirmationMDB.CREATE is missing [jboss.ra.hornetq-ra]"
]}

I realize there are two things going on here:
1. I'm having issues getting the hornetq-ra resource adapter in use in my ejb-jar.xml files.
2. There's something missing with MyABCMDB, but I don't know what. I've included all the necessary HornetQ jar files in my .ear file, so I don't know how I'm missing something here.

Environment

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

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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.