Unable to Deploy Resource Adapter on Jboss EAP 7.1.5

Solution Verified - Updated -

Issue

We are in process of migrating our application from Jboss EAP 6.4.3 to Jboss EAP 7.1.5. These applications have a dependency on the resource adapter. However, when i try to deploy the resource adapter, i am getting the below error.

2019-01-10 20:46:58,683 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 8) MSC000001: Failed to start service jboss.ra.deployer."LdapConnector.rar": org.jboss.msc.service.StartException in service jboss.ra.deployer."LdapConnector.rar": WFLYJCA0046: Failed to start RA deployment [LdapConnector.rar]
    at org.jboss.as.connector.services.resourceadapters.deployment.ResourceAdapterDeploymentService$1.run(ResourceAdapterDeploymentService.java:174)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)
    at org.jboss.threads.JBossThread.run(JBossThread.java:320)
Caused by: org.jboss.jca.deployers.common.DeployException: IJ020056: Deployment failed: file:/C:/Jboss_Upgrade/JbossServer/JbossEap7/AppServer/jboss-eap-7.1/standalone/tmp/vfs/temp/tempc412089ad6b80370/content-3030475c98251ee7/contents/
    at org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer.createObjectsAndInjectValue(AbstractResourceAdapterDeployer.java:2058)
    at org.jboss.as.connector.services.resourceadapters.deployment.ResourceAdapterDeploymentService$WildFLyRaDeployer.doDeploy(ResourceAdapterDeploymentService.java:226)
    at org.jboss.as.connector.services.resourceadapters.deployment.ResourceAdapterDeploymentService.start(ResourceAdapterDeploymentService.java:124)
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032)
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)
Caused by: org.jboss.jca.validator.ValidatorException: Severity: ERROR
Section: 6.5.3.2
Description: The class must implement the javax.resource.spi.ManagedConnectionFactory interface.
Code: org.persistence.connector.ldap.LdapManagedConnectionFactoryImpl
    ... 8 more
2019-01-10 20:46:58,699 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 1) WFLYCTL0013: Operation ("full-replace-deployment") failed - address: ([]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.ra.deployer.\"LdapConnector.rar\"" => "WFLYJCA0046: Failed to start RA deployment [LdapConnector.rar]
    Caused by: org.jboss.jca.deployers.common.DeployException: IJ020056: Deployment failed: file:/C:/Jboss_Upgrade/JbossServer/JbossEap7/AppServer/jboss-eap-7.1/standalone/tmp/vfs/temp/tempc412089ad6b80370/content-3030475c98251ee7/contents/
    Caused by: org.jboss.jca.validator.ValidatorException: Severity: ERROR
Section: 6.5.3.2
Description: The class must implement the javax.resource.spi.ManagedConnectionFactory interface.
Code: org.persistence.connector.ldap.LdapManagedConnectionFactoryImpl

Please note that LdapManagedConnectionFactoryImpl implements the javax.resource.spi.ManagedConnectionFactory interface. I am not sure why its still complaining. The same rar file works in JBOSS EAP 6.4.3.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.x

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