[
https://issues.jboss.org/browse/AS7-5356?page=com.atlassian.jira.plugin.s...
]
Kabir Khan commented on AS7-5356:
---------------------------------
A symptom of this error is in the testsuite:
[0m[33m12:40:29,728 WARN [org.jboss.modules] (ServerService Thread Pool
-- 84) Failed to define class org.jboss.as.test.integration.jpa.hibernate.Employee in
Module "deployment.jpa_SecondLevelCacheTestCase.jar:main" from Service Module
Loader: java.util.ConcurrentModificationException
at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
[rt.jar:1.6.0_29]
at java.util.AbstractList$Itr.next(AbstractList.java:343) [rt.jar:1.6.0_29]
at
org.jboss.as.jpa.classloader.JPADelegatingClassFileTransformer.transform(JPADelegatingClassFileTransformer.java:47)
[jboss-as-jpa-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
at
org.jboss.as.server.deployment.module.DelegatingClassFileTransformer.transform(DelegatingClassFileTransformer.java:60)
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:383)
[jboss-modules.jar:1.1.3.GA]
at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:243)
[jboss-modules.jar:1.1.3.GA]
at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:73)
[jboss-modules.jar:1.1.3.GA]
at org.jboss.modules.Module.loadModuleClass(Module.java:527)
[jboss-modules.jar:1.1.3.GA]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:182)
[jboss-modules.jar:1.1.3.GA]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
[jboss-modules.jar:1.1.3.GA]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
[jboss-modules.jar:1.1.3.GA]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
[jboss-modules.jar:1.1.3.GA]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
[jboss-modules.jar:1.1.3.GA]
at org.hibernate.internal.util.ReflectHelper.classForName(ReflectHelper.java:165)
[hibernate-core-4.1.4.Final.jar:4.1.4.Final]
at org.hibernate.ejb.Ejb3Configuration.classForName(Ejb3Configuration.java:1318)
[hibernate-entitymanager-4.1.4.Final.jar:4.1.4.Final]
at
org.hibernate.ejb.Ejb3Configuration.addNamedAnnotatedClasses(Ejb3Configuration.java:1390)
[hibernate-entitymanager-4.1.4.Final.jar:4.1.4.Final]
at
org.hibernate.ejb.Ejb3Configuration.addClassesToSessionFactory(Ejb3Configuration.java:1184)
[hibernate-entitymanager-4.1.4.Final.jar:4.1.4.Final]
at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:1048)
[hibernate-entitymanager-4.1.4.Final.jar:4.1.4.Final]
at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:693)
[hibernate-entitymanager-4.1.4.Final.jar:4.1.4.Final]
at
org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:73)
[hibernate-entitymanager-4.1.4.Final.jar:4.1.4.Final]
at
org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:197)
[jboss-as-jpa-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
at
org.jboss.as.jpa.service.PersistenceUnitServiceImpl.access$500(PersistenceUnitServiceImpl.java:57)
[jboss-as-jpa-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
at
org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:96)
[jboss-as-jpa-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[rt.jar:1.6.0_29]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[rt.jar:1.6.0_29]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_29]
at org.jboss.threads.JBossThread.run(JBossThread.java:122)
....
PersistenceUnitInfo implementation should be thread safe
--------------------------------------------------------
Key: AS7-5356
URL:
https://issues.jboss.org/browse/AS7-5356
Project: Application Server 7
Issue Type: Task
Components: JPA / Hibernate
Reporter: Scott Marlow
Assignee: Scott Marlow
Fix For: 7.2.0.Alpha1
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira