I am trying to understand RAR deployments inside of an EAR. I have an EAR which contains an inbound resource adapter. If I rename the EAR, I get an error like the following:
2013-09-13 15:46:18,400 ERROR [AbstractKernelController] Error installing to Start: name=jboss.j2ee:binding=message-inflow-driven-bean,jndiName=local/CMOD_LISTE
NER@1304262451,plugin=invoker,service=EJB state=Create mode=Manual requiredState=Installed (logger=org.jboss.kernel.plugins.dependency.AbstractKernelController,
CausalityId=,thread=HDScanner,nested=)
org.jboss.deployment.DeploymentException: Cannot locate resource adapter deployment adrenalin-cmod.ear#adrenalin-cmod-resource-adapter.rar
...
Caused by: javax.management.InstanceNotFoundException: jboss.jca:service=RARDeployment,name='adrenalin-cmod.ear#adrenalin-cmod-resource-adapter.rar' is not registered.
What I am trying to understand is what is tying the RAR to the EAR name? The EAR name is not referenced in any configuration I can find.
This is JBoss 5.1.
Thanks.