My Oracle Support Banner

Getting java.util.ConcurrentModificationException after enabling WLS HTTPSession Debug (Doc ID 1539670.1)

Last updated on FEBRUARY 17, 2019

Applies to:

Oracle WebLogic Server - Version 10.3.1 to 12.1.1.0
Information in this document applies to any platform.

Symptoms

Observing followng exception in WLS server logs:

 

####<Mar 22, 2013 12:10:29 AM EET> <Error> <Kernel> <MAC1> <MS1> <ExecuteThread: '8' for queue: 'xxxxxxxxxxxxxxxx'> <> <> <> <1363903829193> <BEA-000802> <ExecuteRequest failed
java.util.ConcurrentModificationException.
java.util.ConcurrentModificationException
               at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
               at java.util.HashMap$EntryIterator.next(HashMap.java:834)
               at java.util.HashMap$EntryIterator.next(HashMap.java:832)
               at java.util.HashMap.writeObject(HashMap.java:999)
               at sun.reflect.GeneratedMethodAccessor125.invoke(Unknown Source)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
               at java.lang.reflect.Method.invoke(Method.java:597)
               at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:940)
               at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469)
               at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
               at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
               at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
               at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
               at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
               at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
               at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
               at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
               at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
               at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
               at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
               at java.util.concurrent.ConcurrentHashMap.writeObject(ConcurrentHashMap.java:1247)
               at sun.reflect.GeneratedMethodAccessor1425.invoke(Unknown Source)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
               at java.lang.reflect.Method.invoke(Method.java:597)
               at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:940)
               at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469)
               at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
               at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
               at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
               at weblogic.common.internal.PassivationUtils.toByteArray(PassivationUtils.java:33)
               at weblogic.common.internal.PassivationUtils.toByteArray(PassivationUtils.java:24)
               at weblogic.common.internal.PassivationUtils.sizeOf(PassivationUtils.java:59)
               at weblogic.servlet.internal.session.SessionData.calculateSessionSize(SessionData.java:1036)
               at weblogic.servlet.internal.session.SessionData.syncSession(SessionData.java:1026)
               at weblogic.servlet.internal.session.MemorySessionContext.sync(MemorySessionContext.java:101)
               at weblogic.servlet.internal.ServletRequestImpl$SessionHelper.syncSession(ServletRequestImpl.java:2913)
               at weblogic.servlet.internal.ServletRequestImpl$SessionHelper.syncSession(ServletRequestImpl.java:2888)
               at weblogic.servlet.internal.ServletResponseImpl$1.run(ServletResponseImpl.java:1504)
               at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
               at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
               at weblogic.servlet.internal.ServletResponseImpl.send(ServletResponseImpl.java:1498)
               at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1498)
               at weblogic.work.ExecuteRequestAdapter.execute(ExecuteRequestAdapter.java:21)
               at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
               at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)

 

Changes

 You might have enabled WLS HTTPSession Debug (either from console, or using WLST or using WLS JVM flag).

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.