I have the activeMQ server running in the jvm at tcp://localhost:61616
then i place the activemq-rar-5.9.0.redhat-610379 unzipped
adaptor
in the
\runtimes\jboss-eap\modules\system\layers\base\org\apache\activemq\main
in the adaptor i have the Meta-INF
in the jboss EAP6 , standalone.xml i have specified the
But when i start the server ... i get the below error
**
12:05:39,910 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 40) JBAS014612: Operation ("add") failed - address: ([ ("subsystem" => "resource-adapters"), ("resource-adapter" => "activemq-rar.rar") ]) - failure description: "JBAS010473: Failed to load module for RA [org.apache.activemq]"
**
I am having trouble reading your question. In general, I would recommend deploying the A-MQ JCA rar file via either the command line CLI or via the web UI and not as a module. Just go to the web UI, find the "Deployments" page and deploy the A-MQ JCA.
Your question is missing some information, but in reviewing what you have typed it sounds like you are missing the module.xml that needs to go in your module directory (\runtimes\jboss-eap\modules\system\layers\base\org\apache\activemq\main)
For ActiveMQ RAR version 5.9 a module.xml would look like the following
Also, you should really not create custom modules under \modules\system\layers\base\ as this is used by JBoss and could be modified during patches and new releases. You are best to either create your own layer or simply create you module directly under the /modules folder.
As previous answer has noted, especially in a standalone setup it might be easier to just directly deploy the RAR instead.
I had the same problem when I followed the tutorial http://www.mastertheboss.com/jboss-frameworks/ironjacamar/configuring-a-resource-adapter-for-activemq-on-jbosswildfly.
I'm using a JBoss EAP 6.3.x and in my case the problem was in reference to the
META-INF/ra.xml
file. If I comment out theconfig-property
below the noteI got the same error like you. If I removed the
config-property
the problem was solved and it's working as expected.