APAR status
Closed as program error.
Error description
ConcurrentModificationException when driving
servlet on 2 threads.
Corresponding z/OS defect is MD19746
Stacktrace follows:
Trace: 2004/03/28 12:34:09.029 01 t=9DDD90 c=1D.11
key=P8 (13007002)
FunctionName: com.ibm.ws.webcontainer.srt.WebGroup
SourceId: com.ibm.ws.webcontainer.srt.WebGroup
Category: ERROR
ExtendedMessage: [Servlet Error]-[concurrent access to
HashMap attempted by Thread[WebSphere t=009ddd90,5,main]]:
java.util.ConcurrentModificationException:
concurrent access to HashMap attempted by
Thread[WebSphere t=009ddd90,5,main]
at java.util.HashMap.onExit(HashMap.java
at java.util.HashMap.rehash(HashMap.java
at java.util.HashMap.put(HashMap.java)
at com.ibm.ws.cache.config.ConfigManager.
getCacheEntry(ConfigManager.java:161)
at com.ibm.ws.cache.servlet.ServletWrapper.
prepareMetadata(ServletWrapper.java:102)
at com.ibm.ws.cache.servlet.CacheHook.
handleFragment(CacheHook.java:205)
at com.ibm.ws.cache.servlet.CacheHook.
handleServlet(CacheHook.java:137)
at com.ibm.ws.cache.servlet.ServletWrapper.
service(ServletWrapper.java:251)
Local fix Problem summary
****************************************************************
* USERS AFFECTED: All Dynamic Caching users *
****************************************************************
* PROBLEM DESCRIPTION: ConcurrentModificationException *
* in ConfigManager when two servlets *
* are accessed for the first time *
* at the same instances in time. *
****************************************************************
* RECOMMENDATION: *
****************************************************************
You might see a stack trace like this:
Trace: 2004/03/28 12:34:09.029 01 t=9DDD90 c=1D.11 key=P8
(13007002)
FunctionName: com.ibm.ws.webcontainer.srt.WebGroup
SourceId: com.ibm.ws.webcontainer.srt.WebGroup
Category: ERROR
ExtendedMessage: [Servlet Error]-[concurrent access to
HashMap attempted by Thread[WebSphere t=009ddd90,5,main]]:
java.util.ConcurrentModificationException: concurrent access
to HashMap attempted by Thread[WebSphere t=009ddd90,5,main]
at java.util.HashMap.onExit(HashMap.java)
at java.util.HashMap.rehash(HashMap.java)
at java.util.HashMap.put(HashMap.java(Compiled Code))
at com.ibm.ws.cache.config.ConfigManager.
getCacheEntry(ConfigManager.java:161)
Problem conclusion
Synchronized on entryCache during put and clear.
Temporary fix Comments
APAR information |
APAR number |
PQ86797 |
Reported component name |
WAS BASE 5.0 |
Reported component ID |
5630A3600 |
Reported release |
00W |
Status |
CLOSED PER |
PE |
NoPE |
HIPER |
NoHIPER |
Special Attention |
NoSpecatt |
Submitted date |
2004-03-29 |
Closed date |
2004-03-31 |
Last modified date |
2004-03-31 |
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
Publications Referenced
Applicable component levels |
R003 PSY |
UP |
R00A PSY |
UP |
R00H PSY |
UP |
R00I PSY |
UP |
R00P PSY |
UP |
R00S PSY |
UP |
R00W PSY |
UP |
R103 PSY |
UP |
R10A PSY |
UP |
R10H PSY |
UP |
R10I PSY |
UP |
R10P PSY |
UP |
R10S PSY |
UP |
R10W PSY |
UP |
|