]
Jesper Pedersen closed JBJCA-933.
---------------------------------
Resolution: Duplicate Issue
JBJCA-885.
Use the user forum before opening JIRAs.
IronJacamarResourceCreator Throws ConcurrentModificationException
-----------------------------------------------------------------
Key: JBJCA-933
URL:
https://issues.jboss.org/browse/JBJCA-933
Project: IronJacamar
Issue Type: Bug
Affects Versions: 1.0.12.Final
Reporter: jim_b_o
Assignee: Jesper Pedersen
I am deploying three RARs in the same EAR and regularly get the exception shown below.
14:56:41,913 INFO [org.jboss.as.osgi] (MSC service thread 1-1) JBAS011907: Register
module: Module "deployment.EAR:main" from Service Module Loader
14:56:42,018 INFO [org.jboss.as.osgi] (MSC service thread 1-8) JBAS011907: Register
module: Module "deployment.EAR.XXX.rar:main" from Service Module Loader
14:56:42,037 INFO [org.jboss.as.deployment.connector] (MSC service thread 1-7)
JBAS010406: Registered connection factory java:/eis/XXX
14:56:42,045 INFO [com.xxx.XXXResourceAdapter] (MSC service thread 1-7) #start
14:56:42,047 INFO [org.jboss.as.connector.deployers.RADeployer] (MSC service thread 1-7)
IJ020002: Deployed: XXX
14:56:42,055 INFO [org.jboss.as.deployment.connector] (MSC service thread 1-1)
JBAS010401: Bound JCA ConnectionFactory [java:/eis/XXX]
14:56:42,057 INFO [org.jboss.as.osgi] (MSC service thread 1-1) JBAS011907: Register
module: Module "deployment.EAR.YYY.rar:main" from Service Module Loader
14:56:42,071 INFO [org.jboss.as.osgi] (MSC service thread 1-5) JBAS011907: Register
module: Module "deployment.EAR.ZZZ.rar:main" from Service Module Loader
14:56:42,148 INFO [org.jboss.as.deployment.connector] (MSC service thread 1-8)
JBAS010406: Registered connection factory java:/eis/ZZZ
14:56:42,150 INFO [com.yyy.YYYResourceAdapter] (MSC service thread 1-8) #start
14:56:42,161 INFO [org.jboss.as.connector.deployers.RADeployer] (MSC service thread 1-8)
IJ020002: Deployed: ZZZ
14:56:42,167 INFO [org.jboss.as.deployment.connector] (MSC service thread 1-1)
JBAS010401: Bound JCA ConnectionFactory [java:/eis/ZZZ]
14:56:42,173 INFO [org.jboss.as.deployment.connector] (MSC service thread 1-6)
JBAS010406: Registered connection factory java:/eis/YYY
14:56:42,176 INFO [com.zzz.ZZZResourceAdapter] (MSC service thread 1-6) #start
14:56:42,177 ERROR [org.jboss.msc.service] (MSC service thread 1-7) MSC00002: Invocation
of listener
"org.jboss.as.connector.deployers.ra.processors.ParsedRaDeploymentProcessor$1@21641d7d"
failed: java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:894) [rt.jar:1.7.0_09]
at java.util.HashMap$KeyIterator.next(HashMap.java:928) [rt.jar:1.7.0_09]
at
org.jboss.as.connector.subsystems.resourceadapters.IronJacamarResourceCreator.getIronJacamarResource(IronJacamarResourceCreator.java:268)
[jboss-as-connector-7.1.3.Final.jar:7.1.3.Final]
at
org.jboss.as.connector.subsystems.resourceadapters.IronJacamarResourceCreator.execute(IronJacamarResourceCreator.java:283)
[jboss-as-connector-7.1.3.Final.jar:7.1.3.Final]
at
org.jboss.as.connector.deployers.ra.processors.ParsedRaDeploymentProcessor$1.registerIronjacamar(ParsedRaDeploymentProcessor.java:160)
[jboss-as-connector-7.1.3.Final.jar:7.1.3.Final]
at
org.jboss.as.connector.deployers.ra.processors.AbstractResourceAdapterDeploymentServiceListener.transition(AbstractResourceAdapterDeploymentServiceListener.java:153)
[jboss-as-connector-7.1.3.Final.jar:7.1.3.Final]
at
org.jboss.msc.service.ServiceControllerImpl.invokeListener(ServiceControllerImpl.java:1416)
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at
org.jboss.msc.service.ServiceControllerImpl.access$2700(ServiceControllerImpl.java:49)
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at
org.jboss.msc.service.ServiceControllerImpl$ListenerTask.run(ServiceControllerImpl.java:1954)
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
[rt.jar:1.7.0_09]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
[rt.jar:1.7.0_09]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09]
14:56:42,182 INFO [org.jboss.as.connector.deployers.RADeployer] (MSC service thread 1-6)
IJ020002: Deployed: YYY
14:56:42,190 INFO [org.jboss.as.deployment.connector] (MSC service thread 1-1)
JBAS010401: Bound JCA ConnectionFactory [java:/eis/YYY]
I've replaced the real names of my components with XXX, YYY and ZZZ in a consistent
way above. The problem seems to be during the interleaving of YYY and ZZZ.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: