Can't deploy MDB connected to RA using JBOSS 6.4.2 GAteispir Aug 23, 2016 8:13 AM
I have found similar issues already discussed in this forum, but they were for JBOSS AS7 and I'm using, as described in the subject of this post, a earlier version (6.4.2 GA).
This is what I have tried to make my MDB deployed in connection to a Resource Adapter.
1) I have deployed my RA (tibco-adapter-ra2.rar): it is a RA integrated with TIBCO RV middleware. In attachment you can see the rar file of the tibco-adapter-ra2 maven project)
2) The RA has its logic in another maven project, which I have named tibco-adapter-jar (project attached as well)
3) There is a second maven jar project (tibco-adapter-msg-listener), containing just the MessageListener, and it is a dependency of tibco-adapter-jar project
So far, no problem, I can deploy the Tibco Adapter RA, without any further configuration into the standalone.xml file.
The problem (ERROR 1): I can't deploy the tibco-adapter-ear, made with tibco-adapter-ejb (it contains the MDB to connect to Tibco Adapter RA, both of them are attached as well) because of the following error:
The MDB uses Annotation to refer the Message Listener interface:
import com.ericsson.jee.sep.tibco.adapter.api.TibcoRvMessageListener; // from tibco-adapter-msg-listener JAR, so also tibco-adapter-ejb refers that library
public class TibcoRvMessageBean implements TibcoRvMessageListener
Caused by: org.jboss.msc.service.ServiceNotFoundException: Service service jboss.ejb.default-resource-adapter-name-service not found (see Error1_Deployment_EAR_1.txt for the complete Stack Trace)
I have also edited the standalone.xml with the following configuration:
The ERROR 2 after this configuration is:
Caused by: java.lang.IllegalStateException: JBAS014521: No message listener of type com.ericsson.jee.sep.tibco.adapter.api.TibcoRvMessageListener found in resource adapter tibco-adapter-ra2 (see Error2_Deployment_EAR_2.txt for the complete Stack Trace).
I have seen similar issues raised in the past, but some of the suggestions have been already applied (see standalone.xml configuration), without resolving the issue.
I really need a support here, since I'm not able to find a way forward.
Where I'm doing wrong?
tibco-adapter-ra2.rar 1.6 MB
tibco-adapter-jar.rar 83.7 KB
tibco-adapter-ear.rar 65.3 KB
tibco-adapter-ejb.rar 18.0 KB