This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes ConcurrentModification Exception in WL 7.0 SP4 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "ConcurrentModification Exception in WL 7.0 SP4" Watch "ConcurrentModification Exception in WL 7.0 SP4" New topic
Author

ConcurrentModification Exception in WL 7.0 SP4

SenthilKumar Natarajan
Greenhorn

Joined: Mar 21, 2001
Posts: 15
Suggestion Pls!

We are porting our application from WL 6.1 to 7.0 SP4 and are seeing exactly the stack trace listed below -- ConcurrentModificationException called from TxManager.flushModifiedBeans(). Can anyone help by suggesting what sorts of things we should be looking for in our code?

Thanks,

Senthil

Stack Trace:
------------
[exec] <Jun 23, 2004 12:53:39 PM IST> <Info> <EJB> <010049> <EJB Exception in method: ejbFindByName: java.util.ConcurrentModificationException
[exec] java.util.ConcurrentModificationException
[exec] at java.util.HashMap$HashIterator.next(HashMap.java:731)
[exec] at weblogic.ejb20.internal.TxManager.flushModifiedBeans(TxManager.java:328)
[exec] at weblogic.ejb20.manager.BaseEntityManager.flushModifiedBeans(BaseEntityManager.java:1644)
[exec] at weblogic.ejb20.manager.BeanManagedPersistenceManager.scalarFinder(BeanManagedPersistenceManager.java:71)
[exec] at weblogic.ejb20.manager.BaseEntityManager.scalarFinder(BaseEntityManager.java:881)
[exec] at weblogic.ejb20.manager.BaseEntityManager.remoteScalarFinder(BaseEntityManager.java:815)
[exec] at weblogic.ejb20.internal.EntityEJBHome.finder(EntityEJBHome.java:550)
[exec] at com.covigna.dom.PropertyTypeBean_bkv29d_HomeImpl.findByName(PropertyTypeBean_bkv29d_HomeImpl.java:269)
[exec] at com.covigna.dom.xml.MetaModelEJBGenerator.createEJBPropertyType(MetaModelEJBGenerator.java:1555)
[exec] at com.covigna.dom.xml.MetaModelEJBGenerator.processPropertyTypeObjOrRef(MetaModelEJBGenerator.java:2335)
[exec] at com.covigna.dom.xml.DomInstanceEJBGenerator.setEJBProperties(DomInstanceEJBGenerator.java:573)
[exec] at com.covigna.dom.xml.DomInstanceEJBGenerator.setProperties(DomInstanceEJBGenerator.java:818)
[exec] at com.covigna.dom.xml.EntityInstanceEJBGenerator.createEJBEntity(EntityInstanceEJBGenerator.java:553)
[exec] at com.covigna.dom.xml.EntityInstanceEJBGenerator.processSubTypeDef(EntityInstanceEJBGenerator.java:1575)
[exec] at com.covigna.dom.xml.EntityInstanceEJBGenerator.createEJBEntity(EntityInstanceEJBGenerator.java:287)
[exec] at com.covigna.dom.xml.EntityInstanceEJBGenerator.fromXML(EntityInstanceEJBGenerator.java:1795)
[exec] at com.covigna.dom.xml.XMLMapperBean.fromXML(XMLMapperBean.java:160)
[exec] at com.covigna.dom.xml.XMLMapperBean_w24ffc_EOImpl.fromXML(XMLMapperBean_w24ffc_EOImpl.java:46)
[exec] at com.covigna.tools.importexport.Importer.createEntities(Importer.java:472)
[exec] at com.covigna.tools.importexport.Importer.importEntities(Importer.java:157)
[exec] at com.covigna.tools.importexport.Importer.importXMLFile(Importer.java:282)
[exec] at com.covigna.tools.importexport.Importer.importFile(Importer.java:186)
[exec] at com.covigna.tools.importexport.Importer.main(Importer.java:328)
[exec] at com.covigna.command.api.tools.ImportCommand.performActualExecute(ImportCommand.java:191)
[exec] at com.covigna.command.BaseCommand.run(BaseCommand.java:349)
[exec] Jun 23, 2004 12:53:39 PM com.covigna.dom.xml.EntityInstanceEJBGenerator writeErrorConditional
[exec] at com.covigna.command.BaseCommand.performExecute(BaseCommand.java:265)
[exec] SEVERE: javax.transaction.TransactionRolledbackException: EJB Exception:: java.util.ConcurrentModificationException
[exec] at com.covigna.command.CommandServerBean.executeStaticCommand(CommandServerBean.java:65)
[exec] at com.covigna.command.CommandServerBean.executeCommand(CommandServerBean.java:45)
[exec] at java.util.HashMap$HashIterator.next(HashMap.java:731)
[exec] at weblogic.ejb20.internal.TxManager.flushModifiedBeans(TxManager.java:328)
[exec] at com.covigna.command.CommandServerBean_7282fw_EOImpl.executeCommand(CommandServerBean_7282fw_EOImpl.java:46)
[exec] at weblogic.ejb20.manager.BaseEntityManager.flushModifiedBeans(BaseEntityManager.java:1644)
[exec] at com.covigna.command.CommandServerBean_7282fw_EOImpl_WLSkel.invoke(Unknown Source)
[exec] at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:441)
[exec] at weblogic.ejb20.manager.BeanManagedPersistenceManager.scalarFinder(BeanManagedPersistenceManager.java:71)
[exec] at weblogic.ejb20.manager.BaseEntityManager.scalarFinder(BaseEntityManager.java:881)
[exec] at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:114)
[exec] at weblogic.ejb20.manager.BaseEntityManager.remoteScalarFinder(BaseEntityManager.java:815)
[exec] at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:382)
[exec] at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:726)
[exec] at weblogic.ejb20.internal.EntityEJBHome.finder(EntityEJBHome.java:550)
[exec] at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:377)
[exec] at com.covigna.dom.PropertyTypeBean_bkv29d_HomeImpl.findByName(PropertyTypeBean_bkv29d_HomeImpl.java:269)
[exec] at com.covigna.dom.xml.MetaModelEJBGenerator.createEJBPropertyType(MetaModelEJBGenerator.java:1555)
[exec] at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
[exec] at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
[exec] at com.covigna.dom.xml.MetaModelEJBGenerator.processPropertyTypeObjOrRef(MetaModelEJBGenerator.java:2335)
[exec] at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)
[exec] >
[exec] at com.covigna.dom.xml.DomInstanceEJBGenerator.setEJBProperties(DomInstanceEJBGenerator.java:573)
[exec] at com.covigna.dom.xml.DomInstanceEJBGenerator.setProperties(DomInstanceEJBGenerator.java:818)
[exec] at com.covigna.dom.xml.EntityInstanceEJBGenerator.createEJBEntity(EntityInstanceEJBGenerator.java:553)
[exec] at com.covigna.dom.xml.EntityInstanceEJBGenerator.processSubTypeDef(EntityInstanceEJBGenerator.java:1575)
[exec] at com.covigna.dom.xml.EntityInstanceEJBGenerator.createEJBEntity(EntityInstanceEJBGenerator.java:287)
[exec] at com.covigna.dom.xml.EntityInstanceEJBGenerator.fromXML(EntityInstanceEJBGenerator.java:1795)
[exec] at com.covigna.dom.xml.XMLMapperBean.fromXML(XMLMapperBean.java:160)
[exec] at com.covigna.dom.xml.XMLMapperBean_w24ffc_EOImpl.fromXML(XMLMapperBean_w24ffc_EOImpl.java:46)
[exec] at com.covigna.tools.importexport.Importer.createEntities(Importer.java:472)
[exec] at com.covigna.tools.importexport.Importer.importEntities(Importer.java:157)
[exec] at com.covigna.tools.importexport.Importer.importXMLFile(Importer.java:282)
[exec] at com.covigna.tools.importexport.Importer.importFile(Importer.java:186)
[exec] at com.covigna.tools.importexport.Importer.main(Importer.java:328)
[exec] at com.covigna.command.api.tools.ImportCommand.performActualExecute(ImportCommand.java:191)
[exec] at com.covigna.command.BaseCommand.run(BaseCommand.java:349)
[exec] at com.covigna.command.BaseCommand.performExecute(BaseCommand.java:265)
[exec] at com.covigna.command.CommandServerBean.executeStaticCommand(CommandServerBean.java:65)
[exec] at com.covigna.command.CommandServerBean.executeCommand(CommandServerBean.java:45)
[exec] at com.covigna.command.CommandServerBean_7282fw_EOImpl.executeCommand(CommandServerBean_7282fw_EOImpl.java:46)
[exec] at com.covigna.command.CommandServerBean_7282fw_EOImpl_WLSkel.invoke(Unknown Source)
[exec] at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:441)
[exec] at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:114)
[exec] at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:382)
[exec] at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:726)
[exec] at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:377)
[exec] at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
[exec] at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
[exec] at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)
[exec] ; nested exception is:
[exec] java.util.ConcurrentModificationException
[exec] java.util.ConcurrentModificationException
[exec] at java.util.HashMap$HashIterator.next(HashMap.java:731)
[exec] at weblogic.ejb20.internal.TxManager.flushModifiedBeans(TxManager.java:328)
[exec] at weblogic.ejb20.manager.BaseEntityManager.flushModifiedBeans(BaseEntityManager.java:1644)
[exec] at weblogic.ejb20.manager.BeanManagedPersistenceManager.scalarFinder(BeanManagedPersistenceManager.java:71)
[exec] at weblogic.ejb20.manager.BaseEntityManager.scalarFinder(BaseEntityManager.java:881)
[exec] at weblogic.ejb20.manager.BaseEntityManager.remoteScalarFinder(BaseEntityManager.java:815)
[exec] at weblogic.ejb20.internal.EntityEJBHome.finder(EntityEJBHome.java:550)
[exec] at com.covigna.dom.PropertyTypeBean_bkv29d_HomeImpl.findByName(PropertyTypeBean_bkv29d_HomeImpl.java:269)
[exec] at com.covigna.dom.xml.MetaModelEJBGenerator.createEJBPropertyType(MetaModelEJBGenerator.java:1555)
[exec] at com.covigna.dom.xml.MetaModelEJBGenerator.processPropertyTypeObjOrRef(MetaModelEJBGenerator.java:2335)
[exec] at com.covigna.dom.xml.DomInstanceEJBGenerator.setEJBProperties(DomInstanceEJBGenerator.java:573)
[exec] at com.covigna.dom.xml.DomInstanceEJBGenerator.setProperties(DomInstanceEJBGenerator.java:818)
[exec] at com.covigna.dom.xml.EntityInstanceEJBGenerator.createEJBEntity(EntityInstanceEJBGenerator.java:553)
[exec] at com.covigna.dom.xml.EntityInstanceEJBGenerator.processSubTypeDef(EntityInstanceEJBGenerator.java:1575)
[exec] at com.covigna.dom.xml.EntityInstanceEJBGenerator.createEJBEntity(EntityInstanceEJBGenerator.java:287)
[exec] at com.covigna.dom.xml.EntityInstanceEJBGenerator.fromXML(EntityInstanceEJBGenerator.java:1795)
[exec] at com.covigna.dom.xml.XMLMapperBean.fromXML(XMLMapperBean.java:160)
[exec] at com.covigna.dom.xml.XMLMapperBean_w24ffc_EOImpl.fromXML(XMLMapperBean_w24ffc_EOImpl.java:46)
[exec] at com.covigna.tools.importexport.Importer.createEntities(Importer.java:472)
[exec] at com.covigna.tools.importexport.Importer.importEntities(Importer.java:157)
[exec] at com.covigna.tools.importexport.Importer.importXMLFile(Importer.java:282)
[exec] at com.covigna.tools.importexport.Importer.importFile(Importer.java:186)
[exec] at com.covigna.tools.importexport.Importer.main(Importer.java:328)
[exec] at com.covigna.command.api.tools.ImportCommand.performActualExecute(ImportCommand.java:191)
[exec] at com.covigna.command.BaseCommand.run(BaseCommand.java:349)
[exec] at com.covigna.command.BaseCommand.performExecute(BaseCommand.java:265)
[exec] at com.covigna.command.CommandServerBean.executeStaticCommand(CommandServerBean.java:65)
[exec] at com.covigna.command.CommandServerBean.executeCommand(CommandServerBean.java:45)
[exec] at com.covigna.command.CommandServerBean_7282fw_EOImpl.executeCommand(CommandServerBean_7282fw_EOImpl.java:46)
[exec] at com.covigna.command.CommandServerBean_7282fw_EOImpl_WLSkel.invoke(Unknown Source)
[exec] at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:441)
[exec] at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:114)
[exec] at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:382)
[exec] at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:726)
[exec] at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:377)
[exec] at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
[exec] at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
[exec] at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)

[exec] Jun 23, 2004 12:53:40 PM com.covigna.dom.xml.EntityInstanceEJBGenerator writeErrorConditional
[exec] SEVERE: Exception raised:001-00-00001
[exec] Jun 23, 2004 12:53:40 PM com.covigna.dom.xml.EntityInstanceEJBGenerator writeErrorConditional
[exec] SEVERE: Exception stack trace:com.covigna.OpalRuntimeException: 001-00-00001 : Unexpected internal error
[exec] at com.covigna.dom.xml.MetaModelEJBGenerator.createEJBPropertyType(MetaModelEJBGenerator.java:1596)
[exec] at com.covigna.dom.xml.MetaModelEJBGenerator.processPropertyTypeObjOrRef(MetaModelEJBGenerator.java:2335)
[exec] at com.covigna.dom.xml.DomInstanceEJBGenerator.setEJBProperties(DomInstanceEJBGenerator.java:573)
[exec] at com.covigna.dom.xml.DomInstanceEJBGenerator.setProperties(DomInstanceEJBGenerator.java:818)
[exec] at com.covigna.dom.xml.EntityInstanceEJBGenerator.createEJBEntity(EntityInstanceEJBGenerator.java:553)
[exec] at com.covigna.dom.xml.EntityInstanceEJBGenerator.processSubTypeDef(EntityInstanceEJBGenerator.java:1575)
[exec] at com.covigna.dom.xml.EntityInstanceEJBGenerator.createEJBEntity(EntityInstanceEJBGenerator.java:287)
[exec] at com.covigna.dom.xml.EntityInstanceEJBGenerator.fromXML(EntityInstanceEJBGenerator.java:1795)
[exec] at com.covigna.dom.xml.XMLMapperBean.fromXML(XMLMapperBean.java:160)
[exec] at com.covigna.dom.xml.XMLMapperBean_w24ffc_EOImpl.fromXML(XMLMapperBean_w24ffc_EOImpl.java:46)
[exec] at com.covigna.tools.importexport.Importer.createEntities(Importer.java:472)
[exec] at com.covigna.tools.importexport.Importer.importEntities(Importer.java:157)
[exec] at com.covigna.tools.importexport.Importer.importXMLFile(Importer.java:282)
[exec] at com.covigna.tools.importexport.Importer.importFile(Importer.java:186)
[exec] at com.covigna.tools.importexport.Importer.main(Importer.java:328)
[exec] at com.covigna.command.api.tools.ImportCommand.performActualExecute(ImportCommand.java:191)
[exec] at com.covigna.command.BaseCommand.run(BaseCommand.java:349)
[exec] at com.covigna.command.BaseCommand.performExecute(BaseCommand.java:265)
[exec] at com.covigna.command.CommandServerBean.executeStaticCommand(CommandServerBean.java:65)
[exec] at com.covigna.command.CommandServerBean.executeCommand(CommandServerBean.java:45)
[exec] at com.covigna.command.CommandServerBean_7282fw_EOImpl.executeCommand(CommandServerBean_7282fw_EOImpl.java:46)
[exec] at com.covigna.command.CommandServerBean_7282fw_EOImpl_WLSkel.invoke(Unknown Source)
[exec] at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:441)
[exec] at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:114)
[exec] at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:382)
[exec] at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:726)
[exec] at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:377)
[exec] at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
[exec] at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
[exec] at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)

[exec] Jun 23, 2004 12:53:40 PM com.covigna.dom.xml.EntityInstanceEJBGenerator writeErrorConditional
[exec] SEVERE: Exception raised:001-00-00001
[exec] Jun 23, 2004 12:53:40 PM com.covigna.dom.xml.EntityInstanceEJBGenerator writeErrorConditional
[exec] SEVERE: Exception stack trace:com.covigna.OpalRuntimeException: 001-00-00001 : Unexpected internal error
[exec] at com.covigna.dom.xml.MetaModelEJBGenerator.createEJBPropertyType(MetaModelEJBGenerator.java:1596)
[exec] at com.covigna.dom.xml.MetaModelEJBGenerator.processPropertyTypeObjOrRef(MetaModelEJBGenerator.java:2335)
[exec] at com.covigna.dom.xml.DomInstanceEJBGenerator.setEJBProperties(DomInstanceEJBGenerator.java:573)
[exec] at com.covigna.dom.xml.DomInstanceEJBGenerator.setProperties(DomInstanceEJBGenerator.java:818)
[exec] at com.covigna.dom.xml.EntityInstanceEJBGenerator.createEJBEntity(EntityInstanceEJBGenerator.java:553)
[exec] at com.covigna.dom.xml.EntityInstanceEJBGenerator.processSubTypeDef(EntityInstanceEJBGenerator.java:1575)
[exec] at com.covigna.dom.xml.EntityInstanceEJBGenerator.createEJBEntity(EntityInstanceEJBGenerator.java:287)
[exec] at com.covigna.dom.xml.EntityInstanceEJBGenerator.fromXML(EntityInstanceEJBGenerator.java:1795)
[exec] at com.covigna.dom.xml.XMLMapperBean.fromXML(XMLMapperBean.java:160)
[exec] at com.covigna.dom.xml.XMLMapperBean_w24ffc_EOImpl.fromXML(XMLMapperBean_w24ffc_EOImpl.java:46)
[exec] at com.covigna.tools.importexport.Importer.createEntities(Importer.java:472)
[exec] at com.covigna.tools.importexport.Importer.importEntities(Importer.java:157)
[exec] at com.covigna.tools.importexport.Importer.importXMLFile(Importer.java:282)
[exec] at com.covigna.tools.importexport.Importer.importFile(Importer.java:186)
[exec] at com.covigna.tools.importexport.Importer.main(Importer.java:328)
[exec] at com.covigna.command.api.tools.ImportCommand.performActualExecute(ImportCommand.java:191)
[exec] at com.covigna.command.BaseCommand.run(BaseCommand.java:349)
[exec] at com.covigna.command.BaseCommand.performExecute(BaseCommand.java:265)
[exec] at com.covigna.command.CommandServerBean.executeStaticCommand(CommandServerBean.java:65)
[exec] at com.covigna.command.CommandServerBean.executeCommand(CommandServerBean.java:45)
[exec] at com.covigna.command.CommandServerBean_7282fw_EOImpl.executeCommand(CommandServerBean_7282fw_EOImpl.java:46)
[exec] at com.covigna.command.CommandServerBean_7282fw_EOImpl_WLSkel.invoke(Unknown Source)
[exec] at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:441)
[exec] at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:114)
[exec] at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:382)
[exec] at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:726)
[exec] at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:377)
[exec] at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
[exec] at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
[exec] at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)

[exec] Jun 23, 2004 12:53:40 PM com.covigna.dom.xml.EntityInstanceEJBGenerator writeErrorConditional
[exec] SEVERE: Exception raised: 001-00-00001
[exec] Jun 23, 2004 12:53:40 PM com.covigna.dom.xml.EntityInstanceEJBGenerator writeErrorConditional
[exec] SEVERE: Exception stack trace:com.covigna.OpalRuntimeException: 001-00-00001 : Unexpected internal error
[exec] at com.covigna.dom.xml.MetaModelEJBGenerator.createEJBPropertyType(MetaModelEJBGenerator.java:1596)
[exec] at com.covigna.dom.xml.MetaModelEJBGenerator.processPropertyTypeObjOrRef(MetaModelEJBGenerator.java:2335)
[exec] at com.covigna.dom.xml.DomInstanceEJBGenerator.setEJBProperties(DomInstanceEJBGenerator.java:573)
[exec] at com.covigna.dom.xml.DomInstanceEJBGenerator.setProperties(DomInstanceEJBGenerator.java:818)
[exec] at com.covigna.dom.xml.EntityInstanceEJBGenerator.createEJBEntity(EntityInstanceEJBGenerator.java:553)
[exec] at com.covigna.dom.xml.EntityInstanceEJBGenerator.processSubTypeDef(EntityInstanceEJBGenerator.java:1575)
[exec] at com.covigna.dom.xml.EntityInstanceEJBGenerator.createEJBEntity(EntityInstanceEJBGenerator.java:287)
[exec] at com.covigna.dom.xml.EntityInstanceEJBGenerator.fromXML(EntityInstanceEJBGenerator.java:1795)
[exec] at com.covigna.dom.xml.XMLMapperBean.fromXML(XMLMapperBean.java:160)
[exec] at com.covigna.dom.xml.XMLMapperBean_w24ffc_EOImpl.fromXML(XMLMapperBean_w24ffc_EOImpl.java:46)
[exec] at com.covigna.tools.importexport.Importer.createEntities(Importer.java:472)
[exec] at com.covigna.tools.importexport.Importer.importEntities(Importer.java:157)
[exec] at com.covigna.tools.importexport.Importer.importXMLFile(Importer.java:282)
[exec] at com.covigna.tools.importexport.Importer.importFile(Importer.java:186)
[exec] at com.covigna.tools.importexport.Importer.main(Importer.java:328)
[exec] at com.covigna.command.api.tools.ImportCommand.performActualExecute(ImportCommand.java:191)
[exec] at com.covigna.command.BaseCommand.run(BaseCommand.java:349)
[exec] at com.covigna.command.BaseCommand.performExecute(BaseCommand.java:265)
[exec] at com.covigna.command.CommandServerBean.executeStaticCommand(CommandServerBean.java:65)
[exec] at com.covigna.command.CommandServerBean.executeCommand(CommandServerBean.java:45)
[exec] at com.covigna.command.CommandServerBean_7282fw_EOImpl.executeCommand(CommandServerBean_7282fw_EOImpl.java:46)
[exec] at com.covigna.command.CommandServerBean_7282fw_EOImpl_WLSkel.invoke(Unknown Source)
[exec] at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:441)
[exec] at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:114)
[exec] at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:382)
[exec] at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:726)
[exec] at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:377)
[exec] at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
[exec] at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
[exec] at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)

[exec] Jun 23, 2004 12:53:40 PM com.covigna.dom.xml.XMLMapperBean_w24ffc_Impl writeErrorConditional
[exec] SEVERE: Exception raised: 001-00-00001
[exec] Jun 23, 2004 12:53:40 PM com.covigna.dom.xml.XMLMapperBean_w24ffc_Impl writeErrorConditional
[exec] SEVERE: Exception stack trace:com.covigna.OpalRuntimeException: 001-00-00001 : Unexpected internal error
[exec] at com.covigna.dom.xml.EntityInstanceEJBGenerator.fromXML(EntityInstanceEJBGenerator.java:1804)
[exec] at com.covigna.dom.xml.XMLMapperBean.fromXML(XMLMapperBean.java:160)
[exec] at com.covigna.dom.xml.XMLMapperBean_w24ffc_EOImpl.fromXML(XMLMapperBean_w24ffc_EOImpl.java:46)
[exec] at com.covigna.tools.importexport.Importer.createEntities(Importer.java:472)
[exec] at com.covigna.tools.importexport.Importer.importEntities(Importer.java:157)
[exec] at com.covigna.tools.importexport.Importer.importXMLFile(Importer.java:282)
[exec] at com.covigna.tools.importexport.Importer.importFile(Importer.java:186)
[exec] at com.covigna.tools.importexport.Importer.main(Importer.java:328)
[exec] at com.covigna.command.api.tools.ImportCommand.performActualExecute(ImportCommand.java:191)
[exec] at com.covigna.command.BaseCommand.run(BaseCommand.java:349)
[exec] at com.covigna.command.BaseCommand.performExecute(BaseCommand.java:265)
[exec] at com.covigna.command.CommandServerBean.executeStaticCommand(CommandServerBean.java:65)
[exec] at com.covigna.command.CommandServerBean.executeCommand(CommandServerBean.java:45)
[exec] at com.covigna.command.CommandServerBean_7282fw_EOImpl.executeCommand(CommandServerBean_7282fw_EOImpl.java:46)
[exec] at com.covigna.command.CommandServerBean_7282fw_EOImpl_WLSkel.invoke(Unknown Source)
[exec] at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:441)
[exec] at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:114)
[exec] at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:382)
[exec] at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:726)
[exec] at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:377)
[exec] at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
[exec] at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
[exec] at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)
[exec] com.covigna.OpalRuntimeException: 001-00-00001 : Unexpected internal error
[exec] at com.covigna.dom.xml.MetaModelEJBGenerator.createEJBPropertyType(MetaModelEJBGenerator.java:1596)
[exec] at com.covigna.dom.xml.MetaModelEJBGenerator.processPropertyTypeObjOrRef(MetaModelEJBGenerator.java:2335)
[exec] at com.covigna.dom.xml.DomInstanceEJBGenerator.setEJBProperties(DomInstanceEJBGenerator.java:573)
[exec] at com.covigna.dom.xml.DomInstanceEJBGenerator.setProperties(DomInstanceEJBGenerator.java:818)
[exec] at com.covigna.dom.xml.EntityInstanceEJBGenerator.createEJBEntity(EntityInstanceEJBGenerator.java:553)
[exec] at com.covigna.dom.xml.EntityInstanceEJBGenerator.processSubTypeDef(EntityInstanceEJBGenerator.java:1575)
[exec] at com.covigna.dom.xml.EntityInstanceEJBGenerator.createEJBEntity(EntityInstanceEJBGenerator.java:287)
[exec] at com.covigna.dom.xml.EntityInstanceEJBGenerator.fromXML(EntityInstanceEJBGenerator.java:1795)
[exec] at com.covigna.dom.xml.XMLMapperBean.fromXML(XMLMapperBean.java:160)
[exec] at com.covigna.dom.xml.XMLMapperBean_w24ffc_EOImpl.fromXML(XMLMapperBean_w24ffc_EOImpl.java:46)
[exec] at com.covigna.tools.importexport.Importer.createEntities(Importer.java:472)
[exec] at com.covigna.tools.importexport.Importer.importEntities(Importer.java:157)
[exec] at com.covigna.tools.importexport.Importer.importXMLFile(Importer.java:282)
[exec] at com.covigna.tools.importexport.Importer.importFile(Importer.java:186)
[exec] at com.covigna.tools.importexport.Importer.main(Importer.java:328)
[exec] at com.covigna.command.api.tools.ImportCommand.performActualExecute(ImportCommand.java:191)
[exec] at com.covigna.command.BaseCommand.run(BaseCommand.java:349)
[exec] at com.covigna.command.BaseCommand.performExecute(BaseCommand.java:265)
[exec] at com.covigna.command.CommandServerBean.executeStaticCommand(CommandServerBean.java:65)
[exec] at com.covigna.command.CommandServerBean.executeCommand(CommandServerBean.java:45)
[exec] at com.covigna.command.CommandServerBean_7282fw_EOImpl.executeCommand(CommandServerBean_7282fw_EOImpl.java:46)
[exec] at com.covigna.command.CommandServerBean_7282fw_EOImpl_WLSkel.invoke(Unknown Source)
[exec] at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:441)
[exec] at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:114)
[exec] at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:382)
[exec] at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:726)
[exec] at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:377)
[exec] at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
[exec] at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
[exec] at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)

[exec] <Jun 23, 2004 12:53:40 PM IST> <Info> <EJB> <010051> <EJB Exception during invocation from home: com.covigna.dom.xml.XMLMapperBean_w24ffc_HomeImpl@2b2cf2 threw exception: com.covigna.OpalRuntimeException: 001-00-00001 : Unexpected internal error
[exec] com.covigna.OpalRuntimeException: 001-00-00001 : Unexpected internal error
[exec] at com.covigna.dom.xml.XMLMapperBean.fromXML(XMLMapperBean.java:172)
[exec] at com.covigna.dom.xml.XMLMapperBean_w24ffc_EOImpl.fromXML(XMLMapperBean_w24ffc_EOImpl.java:46)
[exec] at com.covigna.tools.importexport.Importer.createEntities(Importer.java:472)
[exec] at com.covigna.tools.importexport.Importer.importEntities(Importer.java:157)
[exec] at com.covigna.tools.importexport.Importer.importXMLFile(Importer.java:282)
[exec] at com.covigna.tools.importexport.Importer.importFile(Importer.java:186)
[exec] at com.covigna.tools.importexport.Importer.main(Importer.java:328)
[exec] at com.covigna.command.api.tools.ImportCommand.performActualExecute(ImportCommand.java:191)
[exec] at com.covigna.command.BaseCommand.run(BaseCommand.java:349)
[exec] at com.covigna.command.BaseCommand.performExecute(BaseCommand.java:265)
[exec] at com.covigna.command.CommandServerBean.executeStaticCommand(CommandServerBean.java:65)
[exec] at com.covigna.command.CommandServerBean.executeCommand(CommandServerBean.java:45)
[exec] at com.covigna.command.CommandServerBean_7282fw_EOImpl.executeCommand(CommandServerBean_7282fw_EOImpl.java:46)
[exec] at com.covigna.command.CommandServerBean_7282fw_EOImpl_WLSkel.invoke(Unknown Source)
[exec] at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:441)
[exec] at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:114)
[exec] at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:382)
[exec] at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:726)
[exec] at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:377)
[exec] at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
[exec] at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
[exec] at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)
[exec] >


Senthil Kumar Natarajan<br />SCEA
Karthik Guru
Ranch Hand

Joined: Mar 06, 2001
Posts: 1209
Guess you must be having a session facade bean to execute your business logic. As the stack trace suggests it a concurrency problem.

SLSB promises that it will take care of threading issues for you. But do you have some static variables in a class that is likely to be modified by different instances?

Looks like a single copy of a collection / list is being shared by multiple instances / threads and while one of them is iterating through the instance, the other guy is trying to modify it. Look for such global variables.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ConcurrentModification Exception in WL 7.0 SP4
 
Similar Threads
cannot find my entity bean
Unique Key Violation While Doing Multiple Updates And Create in EJB
EJB transaction
IllegalStateException
unable to access database,what shall i do??