Jboss Migration from EAP 6.3 to EAP 7.3 - Resource Adapter Not Working

Posted on

My application was working without any problem using Java with IBM MQ using wmq.jmsra-7.5.0.7.rar in EAP 6.3 environment. Now due to migration to EAP 7.3, getting the following error while starting the server and tired of finding solution. Kindly assist me to fix this issue.

ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service jboss.deployment.subunit."Global-ear.ear"."Global-ejb.jar".component.ReceivingMsgFromRTL.CREATE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."Global-ear.ear"."Global-ejb.jar".component.ReceivingMsgFromRTL.CREATE: Failed to start service
at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1731)
at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1559)
at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1363)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.IllegalStateException: WFLYEJB0383: No message listener of type javax.jms.MessageListener found in resource adapter wmq.jmsra-7.5.0.7.rar
at org.jboss.as.ejb3.component.messagedriven.MessageDrivenComponentCreateService.createActivationSpecs(MessageDrivenComponentCreateService.java:142)
at org.jboss.as.ejb3.component.messagedriven.MessageDrivenComponentCreateService.createComponent(MessageDrivenComponentCreateService.java:105)
at org.jboss.as.ee.component.BasicComponentCreateService.start(BasicComponentCreateService.java:86)
at org.jboss.as.ejb3.component.messagedriven.MessageDrivenComponentCreateService.start(MessageDrivenComponentCreateService.java:93)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1739)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1701)
... 6 more

ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "Global-ear.ear")]) - failure description: {"WFLYCTL0080: Failed services" => {
"jboss.deployment.subunit.\"Global-ear.ear\".\"Global-ejb.jar\".component.ReceivingMsgFromRTL.CREATE" => "Failed to start service
Caused by: java.lang.IllegalStateException: WFLYEJB0383: No message listener of type javax.jms.MessageListener found in resource adapter wmq.jmsra-7.5.0.7.rar",

INFO [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
WFLYCTL0186: Services which failed to start: service jboss.deployment.subunit."Global-ear.ear"."Global-ejb.jar".component.ReceivingMsgFromRTL.CREATE: Failed to start service
WFLYCTL0448: 15 additional services are down due to their dependencies being missing or failed

Here are the configuration information I have used in standalone xml.

wmq.jmsra-7.5.0.7.rar

XATransaction
2

${websphere.channelEDWReceive:XXXXX.CLIENT}
${websphere.hostNameEDWReceive:WMQ_XXXXX.yyy.zzz}
${websphere.transportType:CLIENT}
${websphere.queueManagerEDWReceive:XXXXX}
${websphere.portEDWReceive:12345}

10
20
true
true
FailingConnectionOnly

3
5000

${websphere.ReceiveFrmMFeDWRTL:VCS.NCI.RTL.ZOS}
${websphere.queueManagerEDWReceive:XXXXX}

ejb-jar.xml

ReceivingMsgFromRTL
ReceivingMsgFromRTL
com.nissan.nciservices.global.ejb.ReceivingMsgFromRTL
Container
javax.jms.Queue

jboss-ejb3.xml

ReceivingMsgFromRTL
com.nissan.nciservices.global.ejb.ReceivingMsgFromRTL
Container
javax.jms.Queue

channel
${websphere.channelEDWReceive}

queueManager
${websphere.queueManagerEDWReceive}

transportType
${websphere.transportType}

hostName
${websphere.hostNameEDWReceive}

port
${websphere.portEDWReceive}

destination
java:/jboss/jms/wmq/queue/ReceiveFrmMFeDWRTL

useJNDI
true

destinationType
javax.jms.Queue

Attachments