rar fails to deploy with "A ResourceAdapter must be a non-null instance" in EAP 6
Issue
- Coherence resource adapter (RAR) failing to deploy in JBoss EAP 6 with the exception:
ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 57) MSC000001: Failed to start service jboss.ra.deployer.core-coherence-transaction: org.jboss.msc.service.StartException in service jboss.ra.deployer.core-coherence-transaction: JBAS010446: Failed to start RA deployment [core-coherence-transaction]
at org.jboss.as.connector.services.resourceadapters.deployment.ResourceAdapterDeploymentService$1.run(ResourceAdapterDeploymentService.java:159)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_51]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_51]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51]
at org.jboss.threads.JBossThread.run(JBossThread.java:122)
Caused by: org.jboss.jca.deployers.common.DeployException: IJ020056: Deployment failed: file:/tmp/jboss-eap-6.4.6/standalone/tmp/vfs/temp/temp4bb9b5fc64eea2b/core-coherence-transaction.rar-8e248e142bc24f4a/contents/
at org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer.createObjectsAndInjectValue(AbstractResourceAdapterDeployer.java:2485) [ironjacamar-deployers-common-1.0.35.Final-redhat-1.jar:1.0.35.Final-redhat-1]
at org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer.createObjectsAndInjectValue(AbstractResourceAdapterDeployer.java:1144) [ironjacamar-deployers-common-1.0.35.Final-redhat-1.jar:1.0.35.Final-redhat-1]
at org.jboss.as.connector.services.resourceadapters.deployment.ResourceAdapterDeploymentService$AS7RaDeployer.doDeploy(ResourceAdapterDeploymentService.java:221)
at org.jboss.as.connector.services.resourceadapters.deployment.ResourceAdapterDeploymentService.start(ResourceAdapterDeploymentService.java:113)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1980)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1913)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_51]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_51]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51]
Caused by: org.jboss.jca.validator.ValidatorException: Severity: ERROR
Section: 6.5.3.2
Description: A ManagedConnectionFactory must be a non-null instance.
Code: com.tangosol.coherence.transaction.internal.ra.spi.ManagedConnectionFactoryImpl (ModuleClassLoader for Module "deployment.core-coherence-transaction.rar:main" from Service Module Loader)
Severity: ERROR
Section: 5.3.1
Description: A ResourceAdapter must be a non-null instance.
Code: com.tangosol.coherence.transaction.internal.ra.spi.ResourceAdapterImpl (ModuleClassLoader for Module "deployment.core-coherence-transaction.rar:main" from Service Module Loader)
... 9 more
15:07:48,416 INFO [org.hibernate.validator.internal.util.Version] (ServerService Thread Pool -- 56) HV000001: Hibernate Validator 4.3.2.Final-redhat-3
15:07:48,535 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014612: Operation ("deploy") failed - address: ([("deployment" => "core-coherence-transaction.rar")]) - failure description: {"JBAS014671: Failed services" => {"jboss.ra.deployer.core-coherence-transaction" => "org.jboss.msc.service.StartException in service jboss.ra.deployer.core-coherence-transaction: JBAS010446: Failed to start RA deployment [core-coherence-transaction]
Caused by: org.jboss.jca.deployers.common.DeployException: IJ020056: Deployment failed: file:/tmp/jboss-eap-6.4.6/standalone/tmp/vfs/temp/temp4bb9b5fc64eea2b/core-coherence-transaction.rar-8e248e142bc24f4a/contents/
Caused by: org.jboss.jca.validator.ValidatorException: Severity: ERROR
Section: 6.5.3.2
Description: A ManagedConnectionFactory must be a non-null instance.
Code: com.tangosol.coherence.transaction.internal.ra.spi.ManagedConnectionFactoryImpl (ModuleClassLoader for Module \"deployment.core-coherence-transaction.rar:main\" from Service Module Loader)
Severity: ERROR
Section: 5.3.1
Description: A ResourceAdapter must be a non-null instance.
Code: com.tangosol.coherence.transaction.internal.ra.spi.ResourceAdapterImpl (ModuleClassLoader for Module \"deployment.core-coherence-transaction.rar:main\" from Service Module Loader)
"}}
Environment
- Red Hat JBoss Enterprise Application Platform (EAP) 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.