<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<resource-adapters>
<resource-adapter id="ID">
<archive>RaCPerf.rar</archive>
<config-property name="ConnectionURL">Oracle_XA+SqlNet=VGERT+Threads=true+Loose_Coupling=false</config-property>
<config-property name="sessionTimeout">7200</config-property>
<config-property name="UserName">pylon</config-property>
<config-property name="Password">pylon</config-property>
<transaction-support>XATransaction</transaction-support>
<connection-definitions>
<connection-definition class-name="FIXME" connectable="false" enabled="true" enlistment="true" jndi-name="java:jboss/adap_cperf" pool-name="adap_cperf" sharable="true" use-ccm="true" use-java-context="true">
<config-property name="ConnectionURL">Oracle_XA+SqlNet=VGERT+Threads=true+Loose_Coupling=false</config-property>
<config-property name="sessionTimeout">7200</config-property>
<config-property name="UserName">pylon</config-property>
<config-property name="Password">pylon</config-property>
<xa-pool>
<prefill>false</prefill>
<use-strict-min>false</use-strict-min>
<flush-strategy>FailingConnectionOnly</flush-strategy>
<pad-xid>false</pad-xid>
<wrap-xa-resource>true</wrap-xa-resource>
</xa-pool>
<security>
<application/>
</security>
<timeout/>
<validation>
<validate-on-match>false</validate-on-match>
<use-fast-fail>false</use-fast-fail>
</validation>
<recovery no-recovery="false">
<recover-credential>
<user-name>user</user-name>
<password>password</password>
</recover-credential>
</recovery>
</connection-definition>
</connection-definitions>
</resource-adapter>
</resource-adapters>
I copy and paste these into the standalone.xml. But as I start the Jboss I got exceptions in the server.log as follow:
...
2020-08-27 09:35:17,448 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) WFLYJCA0001: Bound data source [java:/ORGDataSource]
2020-08-27 09:35:18,026 WARN [org.jboss.as.logging] (MSC service thread 1-2) WFLYLOG0015: The per-logging deployment property (org.jboss.as.logging.per-deployment) has been deprecated. Please use the use-deployment-logging-config attribute to enable/disable per-deployment logging.
2020-08-27 09:35:18,329 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 58) MSC000001: Failed to start service jboss.ra.deployer."RaCPerf.rar": org.jboss.msc.service.StartException in service jboss.ra.deployer."RaCPerf.rar": WFLYJCA0046: Failed to start RA deployment [RaCPerf.rar]
at org.jboss.as.connector.services.resourceadapters.deployment.ResourceAdapterDeploymentService$1.run(ResourceAdapterDeploymentService.java:174)
at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1349)
at java.lang.Thread.run(Thread.java:748)
at org.jboss.threads.JBossThread.run(JBossThread.java:485)
Caused by: org.jboss.jca.deployers.common.DeployException: IJ020056: Deployment failed: file:/opt/jboss-apps/vger-dev/tmp/vfs/temp/temp859b2436b89d821c/content-c1c3ef5b791b5771/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:1739)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1701)
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:1985)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1364)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.jboss.jca.validator.ValidatorException: Severity: ERROR
Section: 5.3.1
Description: A ResourceAdapter must be a non-null instance.
Code: org.jboss.resource.deployment.DummyResourceAdapter (ModuleClassLoader for Module "deployment.RaCPerf.rar" from Service Module Loader)
... 11 more
2020-08-27 09:35:18,750 INFO [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-1) ISPN000128: Infinispan version: Infinispan 'Estrella Galicia' 9.3.8.Final-redhat-00001
2020-08-27 09:35:19,067 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 58) WFLYCLINF0002: Started client-mappings cache from ejb container
2020-08-27 09:35:19,146 INFO [org.wildfly.security] (MSC service thread 1-2) ELY00001: WildFly Elytron version 1.6.5.Final-redhat-00001
2020-08-27 09:35:19,150 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "RaCPerf.rar")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.ra.deployer.\"RaCPerf.rar\"" => "WFLYJCA0046: Failed to start RA deployment [RaCPerf.rar]
Caused by: org.jboss.jca.deployers.common.DeployException: IJ020056: Deployment failed: file:/opt/jboss-apps/vger-dev/tmp/vfs/temp/temp859b2436b89d821c/content-c1c3ef5b791b5771/contents/
Caused by: org.jboss.jca.validator.ValidatorException: Severity: ERROR
Section: 5.3.1
Description: A ResourceAdapter must be a non-null instance.
Code: org.jboss.resource.deployment.DummyResourceAdapter (ModuleClassLoader for Module \"deployment.RaCPerf.rar\" from Service Module Loader)
"}}
2020-08-27 09:35:19,155 INFO [org.jboss.as.server] (ServerService Thread Pool -- 34) WFLYSRV0010: Deployed "RaCPerf.rar" (runtime-name : "RaCPerf.rar")
2020-08-27 09:35:19,195 INFO [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
WFLYCTL0186: Services which failed to start: service jboss.ra.deployer."RaCPerf.rar": WFLYJCA0046: Failed to start RA deployment [RaCPerf.rar]
2020-08-27 09:35:19,302 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
2020-08-27 09:35:19,304 ERROR [
org.jboss.as] (Controller Boot Thread) WFLYSRV0026: JBoss EAP
7.2.7.GA (WildFly Core 6.0.24.Final-redhat-00001) started (with errors) in 9286ms - Started 390 of 646 services (2 services failed or missing dependencies, 401 services are lazy, passive or on-demand)
...