[
https://issues.jboss.org/browse/JBJCA-1363?page=com.atlassian.jira.plugin...
]
Francis ANDRE edited comment on JBJCA-1363 at 12/27/17 2:40 AM:
----------------------------------------------------------------
Hi
I am trying to understand why my EIS RA is not activated when used under JBoss-eap-6.1
using ALL trace logs in the ironjacamar-1.0.17-Final server.
This exception is blocking the deployment of my EIS RA -- scortcicsecirar-3.1.0.rar -- on
the ironjacamar-1.0.17-Final server, precluding any debugging I can make with
ironjacamar-1.0.17-Final.
For information, below is the server.log from a standalone JBoss-eap-6.1 configuration.
19:03:59,804 DEBUG [org.jboss.as.connector.logging] (MSC service thread 1-3) starting
Inactive:InactiveResourceAdapterDeployment{module=Module
"deployment.AcctFtCics-ear-1.0.0.ear.scortcicsecirar-3.1.0.rar:main" from
Service Module Loader,
connectorXmlDescriptor=org.jboss.as.connector.metadata.xmldescriptors.ConnectorXmlDescriptor@61b97010,
deployment='AcctFtCics-ear-1.0.0.ear#scortcicsecirar-3.1.0',
deploymentUnitName='AcctFtCics-ear-1.0.0.ear#scortcicsecirar-3.1.0.rar',
registration=org.jboss.as.controller.registry.ConcreteResourceRegistration@556c5c8f,
serviceTarget=org.jboss.msc.service.ServiceControllerImpl$ChildServiceTarget@3d30dc19}
19:03:59,820 INFO [org.jboss.as.connector.deployers.RADeployer] (MSC service thread 1-4)
IJ020001: Required license terms for
file:/C:/ProgramFiles/JBoss/jboss-eap-6.1/standalone/deployments/AcctFtCics-ear-1.0.0.ear/scortcicsecirar-3.1.0.rar/
19:03:59,820 TRACE [org.jboss.as.connector.deployers.RADeployer] (MSC service thread 1-4)
Connector=<?xml version="1.0" encoding="UTF-8"?><connector
version="1.5"><description>Resource Adapter for accessing CICS through
CTG (CICS Transaction Gateway)</description><display-name>Resource Adapter for
CICS Transaction Gateway</display-name><vendor-name>SCORT
S.A.</vendor-name><eis-type>CICS via
CTG</eis-type><license><license-required>true</license-required></license><resourceadapter-version>1.0</resourceadapter-version><resourceadapter><resourceadapter-class>com.scort.ctg.cics.eci.jca.EciResourceAdapter</resourceadapter-class><outbound-resourceadapter><connection-definition><managedconnectionfactory-class>com.scort.ctg.cics.eci.jca.EciManagedConnectionFactory</managedconnectionfactory-class><config-property><description>URL
of the
CTG</description><config-property-name>connectionUrl</config-property-name><config-property-type>java.lang.String</config-property-type></config-property><config-property><description>Server
(CICS)
Name</description><config-property-name>serverName</config-property-name><config-property-type>java.lang.String</config-property-type></config-property><connectionfactory-interface>javax.resource.cci.ConnectionFactory</connectionfactory-interface><connectionfactory-impl-class>com.scort.ctg.cics.eci.jca.EciConnectionFactory</connectionfactory-impl-class><connection-interface>javax.resource.cci.Connection</connection-interface><connection-impl-class>com.scort.ctg.cics.eci.jca.EciConnection</connection-impl-class></connection-definition><transaction-support>LocalTransaction</transaction-support><authentication-mechanism><authentication-mechanism-type>BasicPassword</authentication-mechanism-type><credential-interface>javax.resource.spi.security.PasswordCredential</credential-interface></authentication-mechanism><reauthentication-support>true</reauthentication-support></outbound-resourceadapter></resourceadapter></connector>
*19:03:59,820 TRACE [org.jboss.as.connector.deployers.RADeployer] (MSC service thread 1-4)
IronJacamar=null
19:03:59,820 TRACE [org.jboss.as.connector.deployers.RADeployer] (MSC service thread 1-4)
RaXML=null
19:03:59,820 TRACE [org.jboss.as.connector.deployers.RADeployer] (MSC service thread 1-4)
ActivateDeployment=false*
19:03:59,820 DEBUG [org.jboss.as.connector.deployers.RADeployer] (MSC service thread 1-4)
CdMeta:
<connection-definition><managedconnectionfactory-class>com.scort.ctg.cics.eci.jca.EciManagedConnectionFactory</managedconnectionfactory-class><config-property><description>URL
of the
CTG</description><config-property-name>connectionUrl</config-property-name><config-property-type>java.lang.String</config-property-type></config-property><config-property><description>Server
(CICS)
Name</description><config-property-name>serverName</config-property-name><config-property-type>java.lang.String</config-property-type></config-property><connectionfactory-interface>javax.resource.cci.ConnectionFactory</connectionfactory-interface><connectionfactory-impl-class>com.scort.ctg.cics.eci.jca.EciConnectionFactory</connectionfactory-impl-class><connection-interface>javax.resource.cci.Connection</connection-interface><connection-impl-class>com.scort.ctg.cics.eci.jca.EciConnection</connection-impl-class></connection-definition>
19:03:59,820 DEBUG [org.jboss.as.connector.deployment] (MSC service thread 1-4) Exception
during unregistering deployment: org.jboss.jca.core.spi.mdr.NotFoundException: IJ000855:
AcctFtCics-ear-1.0.0.ear#scortcicsecirar-3.1.0 isn't registered
at
org.jboss.jca.core.mdr.SimpleMetadataRepository.unregisterResourceAdapter(SimpleMetadataRepository.java:117)
[ironjacamar-core-impl-1.0.17.Final-redhat-1.jar:1.0.17.Final-redhat-1]
at
org.jboss.as.connector.services.mdr.AS7MetadataRepositoryImpl.unregisterResourceAdapter(AS7MetadataRepositoryImpl.java:66)
at
org.jboss.as.connector.services.resourceadapters.deployment.ResourceAdapterDeploymentService.unregisterAll(ResourceAdapterDeploymentService.java:165)
at
org.jboss.as.connector.services.resourceadapters.deployment.ResourceAdapterDeploymentService.start(ResourceAdapterDeploymentService.java:115)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_80]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_80]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_80]
19:03:59,835 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed
to start service
jboss.ra.deployer."AcctFtCics-ear-1.0.0.ear#scortcicsecirar-3.1.0":
org.jboss.msc.service.StartException in service
jboss.ra.deployer."AcctFtCics-ear-1.0.0.ear#scortcicsecirar-3.1.0": JBAS010446:
N'a pas pu démarrer le déploiement RA
[AcctFtCics-ear-1.0.0.ear#scortcicsecirar-3.1.0]
at
org.jboss.as.connector.services.resourceadapters.deployment.ResourceAdapterDeploymentService.start(ResourceAdapterDeploymentService.java:116)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
[jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
[jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_80]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_80]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_80]
Caused by: org.jboss.jca.deployers.common.DeployException: IJ020056: Deployment failed:
file:/C:/ProgramFiles/JBoss/jboss-eap-6.1/standalone/deployments/AcctFtCics-ear-1.0.0.ear/scortcicsecirar-3.1.0.rar/
at
org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer.createObjectsAndInjectValue(AbstractResourceAdapterDeployer.java:2449)
at
org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer.createObjectsAndInjectValue(AbstractResourceAdapterDeployer.java:1104)
at
org.jboss.as.connector.services.resourceadapters.deployment.ResourceAdapterDeploymentService$AS7RaDeployer.doDeploy(ResourceAdapterDeploymentService.java:197)
at
org.jboss.as.connector.services.resourceadapters.deployment.ResourceAdapterDeploymentService.start(ResourceAdapterDeploymentService.java:112)
... 5 more
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.scort.ctg.cics.eci.jca.EciManagedConnectionFactory (ModuleClassLoader for Module
"deployment.AcctFtCics-ear-1.0.0.ear.scortcicsecirar-3.1.0.rar:main" from
Service Module Loader)
Severity: ERROR
Section: 5.3.1
Description: A ResourceAdapter must be a non-null instance.
Code: com.scort.ctg.cics.eci.jca.EciResourceAdapter (ModuleClassLoader for Module
"deployment.AcctFtCics-ear-1.0.0.ear.scortcicsecirar-3.1.0.rar:main" from
Service Module Loader)
was (Author: fandremxw):
Hi
I am trying to understand with the ironjacamar-1.0.17-Final server why my EIS RA is not
activated when used under JBoss-eap-6.1.
This exception is blocking the deployment of my EIS RA -- scortcicsecirar-3.1.0.rar -- on
the ironjacamar-1.0.17-Final server, precluding any debugging I can make with
ironjacamar-1.0.17-Final.
For information, below is the server.log from a standalone JBoss-eap-6.1 configuration.
19:03:59,804 DEBUG [org.jboss.as.connector.logging] (MSC service thread 1-3) starting
Inactive:InactiveResourceAdapterDeployment{module=Module
"deployment.AcctFtCics-ear-1.0.0.ear.scortcicsecirar-3.1.0.rar:main" from
Service Module Loader,
connectorXmlDescriptor=org.jboss.as.connector.metadata.xmldescriptors.ConnectorXmlDescriptor@61b97010,
deployment='AcctFtCics-ear-1.0.0.ear#scortcicsecirar-3.1.0',
deploymentUnitName='AcctFtCics-ear-1.0.0.ear#scortcicsecirar-3.1.0.rar',
registration=org.jboss.as.controller.registry.ConcreteResourceRegistration@556c5c8f,
serviceTarget=org.jboss.msc.service.ServiceControllerImpl$ChildServiceTarget@3d30dc19}
19:03:59,820 INFO [org.jboss.as.connector.deployers.RADeployer] (MSC service thread 1-4)
IJ020001: Required license terms for
file:/C:/ProgramFiles/JBoss/jboss-eap-6.1/standalone/deployments/AcctFtCics-ear-1.0.0.ear/scortcicsecirar-3.1.0.rar/
19:03:59,820 TRACE [org.jboss.as.connector.deployers.RADeployer] (MSC service thread 1-4)
Connector=<?xml version="1.0" encoding="UTF-8"?><connector
version="1.5"><description>Resource Adapter for accessing CICS through
CTG (CICS Transaction Gateway)</description><display-name>Resource Adapter for
CICS Transaction Gateway</display-name><vendor-name>SCORT
S.A.</vendor-name><eis-type>CICS via
CTG</eis-type><license><license-required>true</license-required></license><resourceadapter-version>1.0</resourceadapter-version><resourceadapter><resourceadapter-class>com.scort.ctg.cics.eci.jca.EciResourceAdapter</resourceadapter-class><outbound-resourceadapter><connection-definition><managedconnectionfactory-class>com.scort.ctg.cics.eci.jca.EciManagedConnectionFactory</managedconnectionfactory-class><config-property><description>URL
of the
CTG</description><config-property-name>connectionUrl</config-property-name><config-property-type>java.lang.String</config-property-type></config-property><config-property><description>Server
(CICS)
Name</description><config-property-name>serverName</config-property-name><config-property-type>java.lang.String</config-property-type></config-property><connectionfactory-interface>javax.resource.cci.ConnectionFactory</connectionfactory-interface><connectionfactory-impl-class>com.scort.ctg.cics.eci.jca.EciConnectionFactory</connectionfactory-impl-class><connection-interface>javax.resource.cci.Connection</connection-interface><connection-impl-class>com.scort.ctg.cics.eci.jca.EciConnection</connection-impl-class></connection-definition><transaction-support>LocalTransaction</transaction-support><authentication-mechanism><authentication-mechanism-type>BasicPassword</authentication-mechanism-type><credential-interface>javax.resource.spi.security.PasswordCredential</credential-interface></authentication-mechanism><reauthentication-support>true</reauthentication-support></outbound-resourceadapter></resourceadapter></connector>
19:03:59,820 TRACE [org.jboss.as.connector.deployers.RADeployer] (MSC service thread 1-4)
IronJacamar=null
19:03:59,820 TRACE [org.jboss.as.connector.deployers.RADeployer] (MSC service thread 1-4)
RaXML=null
19:03:59,820 TRACE [org.jboss.as.connector.deployers.RADeployer] (MSC service thread 1-4)
ActivateDeployment=false
19:03:59,820 DEBUG [org.jboss.as.connector.deployers.RADeployer] (MSC service thread 1-4)
CdMeta:
<connection-definition><managedconnectionfactory-class>com.scort.ctg.cics.eci.jca.EciManagedConnectionFactory</managedconnectionfactory-class><config-property><description>URL
of the
CTG</description><config-property-name>connectionUrl</config-property-name><config-property-type>java.lang.String</config-property-type></config-property><config-property><description>Server
(CICS)
Name</description><config-property-name>serverName</config-property-name><config-property-type>java.lang.String</config-property-type></config-property><connectionfactory-interface>javax.resource.cci.ConnectionFactory</connectionfactory-interface><connectionfactory-impl-class>com.scort.ctg.cics.eci.jca.EciConnectionFactory</connectionfactory-impl-class><connection-interface>javax.resource.cci.Connection</connection-interface><connection-impl-class>com.scort.ctg.cics.eci.jca.EciConnection</connection-impl-class></connection-definition>
19:03:59,820 DEBUG [org.jboss.as.connector.deployment] (MSC service thread 1-4) Exception
during unregistering deployment: org.jboss.jca.core.spi.mdr.NotFoundException: IJ000855:
AcctFtCics-ear-1.0.0.ear#scortcicsecirar-3.1.0 isn't registered
at
org.jboss.jca.core.mdr.SimpleMetadataRepository.unregisterResourceAdapter(SimpleMetadataRepository.java:117)
[ironjacamar-core-impl-1.0.17.Final-redhat-1.jar:1.0.17.Final-redhat-1]
at
org.jboss.as.connector.services.mdr.AS7MetadataRepositoryImpl.unregisterResourceAdapter(AS7MetadataRepositoryImpl.java:66)
at
org.jboss.as.connector.services.resourceadapters.deployment.ResourceAdapterDeploymentService.unregisterAll(ResourceAdapterDeploymentService.java:165)
at
org.jboss.as.connector.services.resourceadapters.deployment.ResourceAdapterDeploymentService.start(ResourceAdapterDeploymentService.java:115)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_80]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_80]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_80]
19:03:59,835 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed
to start service
jboss.ra.deployer."AcctFtCics-ear-1.0.0.ear#scortcicsecirar-3.1.0":
org.jboss.msc.service.StartException in service
jboss.ra.deployer."AcctFtCics-ear-1.0.0.ear#scortcicsecirar-3.1.0": JBAS010446:
N'a pas pu démarrer le déploiement RA
[AcctFtCics-ear-1.0.0.ear#scortcicsecirar-3.1.0]
at
org.jboss.as.connector.services.resourceadapters.deployment.ResourceAdapterDeploymentService.start(ResourceAdapterDeploymentService.java:116)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
[jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
[jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_80]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_80]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_80]
Caused by: org.jboss.jca.deployers.common.DeployException: IJ020056: Deployment failed:
file:/C:/ProgramFiles/JBoss/jboss-eap-6.1/standalone/deployments/AcctFtCics-ear-1.0.0.ear/scortcicsecirar-3.1.0.rar/
at
org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer.createObjectsAndInjectValue(AbstractResourceAdapterDeployer.java:2449)
at
org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer.createObjectsAndInjectValue(AbstractResourceAdapterDeployer.java:1104)
at
org.jboss.as.connector.services.resourceadapters.deployment.ResourceAdapterDeploymentService$AS7RaDeployer.doDeploy(ResourceAdapterDeploymentService.java:197)
at
org.jboss.as.connector.services.resourceadapters.deployment.ResourceAdapterDeploymentService.start(ResourceAdapterDeploymentService.java:112)
... 5 more
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.scort.ctg.cics.eci.jca.EciManagedConnectionFactory (ModuleClassLoader for Module
"deployment.AcctFtCics-ear-1.0.0.ear.scortcicsecirar-3.1.0.rar:main" from
Service Module Loader)
Severity: ERROR
Section: 5.3.1
Description: A ResourceAdapter must be a non-null instance.
Code: com.scort.ctg.cics.eci.jca.EciResourceAdapter (ModuleClassLoader for Module
"deployment.AcctFtCics-ear-1.0.0.ear.scortcicsecirar-3.1.0.rar:main" from
Service Module Loader)
IOException: Could not delete
C:\ProgramFiles\JBoss\ironjacamar-1.2.7.Final\tmp\scortcicsecirar-3.1.0.rar\bouncycastle-1.04.jar
-------------------------------------------------------------------------------------------------------------------------------
Key: JBJCA-1363
URL:
https://issues.jboss.org/browse/JBJCA-1363
Project: IronJacamar
Issue Type: Bug
Components: Deployer
Affects Versions: 1.0.17.Final, 1.2.7.Final
Environment:
C:\ProgramFiles\JBoss\ironjacamar-1.2.7.Final\bin>"%java_home%\bin\java"
-version
java version "1.7.0_80"
Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)
Windows 10
Reporter: Francis ANDRE
Priority: Blocker
Hi
Got this exception when deploying a EIS rar
C:\ProgramFiles\JBoss\ironjacamar-1.2.7.Final\bin>run
===============================================================================
IronJacamar
IRON_JACAMAR_HOME: C:\ProgramFiles\JBoss\ironjacamar-1.2.7.Final
JAVA: C:\Program Files\Java\jdk1.7.0_80\bin\java
JAVA_OPTS: -Xmx512m
===============================================================================
10:16:49,330 INFO [Fungal] Fungal 0.11.0.Final started
10:16:49,908 INFO [Version] HV000001: Hibernate Validator 5.0.1.Final
10:16:50,065 INFO [WebServer] Jetty 8.1.3.v20120416 started
10:16:50,143 INFO [RADeployer] IJ020001: Required license terms for
file:/C:/ProgramFiles/JBoss/ironjacamar-1.2.7.Final/system/jdbc-xa.rar
10:16:50,221 INFO [RADeployer] IJ020001: Required license terms for
file:/C:/ProgramFiles/JBoss/ironjacamar-1.2.7.Final/system/jdbc-local.rar
10:16:50,268 INFO [RADeployer] IJ020001: Required license terms for
file:/C:/ProgramFiles/JBoss/ironjacamar-1.2.7.Final/system/scortcicsecirar-3.1.0.rar
10:16:50,362 INFO [WARDeployer] Deployed:
file:/C:/ProgramFiles/JBoss/ironjacamar-1.2.7.Final/system/root.war
10:16:50,362 INFO [WARDeployer] Deployed:
file:/C:/ProgramFiles/JBoss/ironjacamar-1.2.7.Final/system/console.war
10:16:50,362 SEVERE [Fungal] Deployment
file:/C:/ProgramFiles/JBoss/ironjacamar-1.2.7.Final/deploy/scortcicsecirar-3.1.0.rar
failed: com.github.fungal.spi.deployers.DeployException: Deployment
file:/C:/ProgramFiles/JBoss/ironjacamar-1.2.7.Final/deploy/scortcicsecirar-3.1.0.rar
failed
at org.jboss.jca.deployers.fungal.RADeployer.deploy(RADeployer.java:209)
at com.github.fungal.impl.MainDeployerImpl.deploy(MainDeployerImpl.java:144)
at com.github.fungal.impl.KernelImpl$UnitDeployer.run(KernelImpl.java:1947)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: Could not delete
C:\ProgramFiles\JBoss\ironjacamar-1.2.7.Final\tmp\scortcicsecirar-3.1.0.rar\bouncycastle-1.04.jar
at com.github.fungal.api.util.FileUtil.delete(FileUtil.java:378)
at com.github.fungal.api.util.FileUtil.extract(FileUtil.java:179)
at org.jboss.jca.deployers.fungal.RADeployer.deploy(RADeployer.java:131)
... 5 more
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)