I'm not aware about Web Logic, but you can review what exactly are you doing the insertion. Can you share with us where do you have your ksession (inside a Stateless/Statefull session bean inside weblogic?), how you access that session to insert facts, etc. Greetings.
On Tue, Jun 22, 2010 at 11:03 AM, <tom.e.mur...@wellsfargo.com> wrote: > Maurice – > > By design of our runtime components, a single stateful session is owned and > managed by a single thread. Data is only inserted by that one thread into > that session. > > Unless maybe the Web Logic app server is doing something odd under the > covers… > > > > *Tom Murphy* > > Business Process Consultant > Wells Fargo HCFG - CORE Deal Decisioning Platform* > * > 800 S. Jordan Creek Parkway | West Des Moines, IA 50266 > MAC: X2301-01B* > *Office: 515 324 4853 | Mobile: 515 423 4334 > > tom.e.mur...@wellsfargo.com > > This transmission may contain information that is confidential and/or > proprietary. If you are not the individual or entity to which it is > addressed, note that any review, disclosure, copying, retransmission, or > other use is strictly prohibited. If you received this transmission in > error, please notify the sender immediately and delete the material from > your system. > > > > *From:* rules-dev-boun...@lists.jboss.org [mailto: > rules-dev-boun...@lists.jboss.org] *On Behalf Of *Mauricio Salatino > *Sent:* Tuesday, June 22, 2010 8:26 AM > *To:* Rules Dev List > *Subject:* Re: [rules-dev] Exception in runtime > > > > Are you inserting facts from different threads in a statefull session? > > On Tue, Jun 22, 2010 at 10:21 AM, <tom.e.mur...@wellsfargo.com> wrote: > > Anybody have any ideas on this? > > > > We are seeing ConcurrentModificationException while inserting objects into > working memory. This happens occasionally, either at service start-up, where > the first transaction is being submitted and the rules are loading for the > first time, or sometimes under heavy loads with lots of transactions being > processed by the service: > > Drools 5.0.1-GA > > AS: Web Logic > > JVM: 1.5 > > > > Fragment of stack trace: > > Caused by: java.util.ConcurrentModificationException > > java.util.HashMap$HashIterator.nextEntry(HashMap.java:2117) > > java.util.HashMap$ValueIterator.next(HashMap.java:2147) > > org.drools.reteoo.EntryPointNode.updateSink(EntryPointNode.java:285) > > org.drools.reteoo.ObjectTypeNode.attach(ObjectTypeNode.java:279) > > > org.drools.reteoo.builder.PatternBuilder.attachObjectTypeNode(PatternBuilder.java:234) > > org.drools.reteoo.ClassObjectTypeConf.<init>(ClassObjectTypeConf.java:93) > > > org.drools.common.ObjectTypeConfigurationRegistry.getObjectTypeConf(ObjectTypeConfigurationRegistry.java:58) > > > org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:849) > > > org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:788) > > > org.drools.impl.StatefulKnowledgeSessionImpl.insert(StatefulKnowledgeSessionImpl.java:216) > > com.wellsfargo.ARGenT.Execution.DefaultLoader.Load(DefaultLoader.java:16) > > > > > > *Tom Murphy > > *Business Process Consultant > Wells Fargo HCFG - CORE Deal Decisioning Platform > > 800 S. Jordan Creek Parkway | West Des Moines, IA 50266 > MAC: X2301-01B > Office: 515 324 4853 | Mobile: 515 423 4334 > > tom.e.mur...@wellsfargo.com > > This transmission may contain information that is confidential and/or > proprietary. If you are not the individual or entity to which it is > addressed, note that any review, disclosure, copying, retransmission, or > other use is strictly prohibited. If you received this transmission in > error, please notify the sender immediately and delete the material from > your system. > > > > > > > > > _______________________________________________ > rules-dev mailing list > rules-dev@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-dev > > > > > -- > - CTO @ http://www.plugtree.com > - MyJourney @ http://salaboy.wordpress.com > - Co-Founder @ http://www.jbug.com.ar > > - Salatino "Salaboy" Mauricio - > > _______________________________________________ > rules-dev mailing list > rules-dev@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-dev > > -- - CTO @ http://www.plugtree.com - MyJourney @ http://salaboy.wordpress.com - Co-Founder @ http://www.jbug.com.ar - Salatino "Salaboy" Mauricio -
_______________________________________________ rules-dev mailing list rules-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-dev