PQ77983: WEBSPHERE APPLICATION SERVER V5 ZOS ENCOUNTERING BBOO0223I SERVLET ERROR JAVA.UTIL.CONCURRENTMODIFICATIONEXCEPTION

 A fix is available

Obtain the fix for this APAR



APAR status
Closed as program error.

Error description
Customer application encountering the following exception.
From v5 traces :
./bborjtr.cpp+812 ... BBOO0223I [Servlet Error]
                  -[PrototypeControllerServlet]:
      java.util.ConcurrentModificationException:
      concurrent access to HashMap attempted by
      Thread[WebSphere t=009ce8c8,5,main]
.
Trace: 2003/08/21 14:39:51.940 01 t=9CE8C8 c=6.1 key=P8
        (13007002)
FunctionName: com.ibm.ws.webcontainer.srt.WebGroup
SourceId: com.ibm.ws.webcontainer.srt.WebGroup
Category: ERROR
ExtendedMessage: [Servlet Error]-[PrototypeControllerServlet]:
java.util.ConcurrentModificationException: concurrent access
to Has hMap attempted by Thread[WebSphere t=009ce8c8,5,main]
Local fix Problem summary
****************************************************************
* USERS AFFECTED: All users of WebSphere Application Server    *
*                 V5.0 for z/OS                                *
****************************************************************
* PROBLEM DESCRIPTION: Customer application encountering the   *
*                      following exception.                    *
*                      From v5 traces : ./bborjtr.cpp+812 ...  *
*                      BBOO0223I  Servlet Error  -             *
*                       PrototypeControllerServlet :           *
*                      java.util.ConcurrentModificationExcepti *
*                      on:                                     *
*                      concurrent access to HashMap attempted  *
*                      by Thread WebSphere t=009ce8c8,5,main   *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
The _attributes(class java.util.HashMap) variable in the class
WebGroup was modified when another thread was iterating the
KeySet. It is not generally permssible for one thread to modify
a Collection while another thread is iterating over it
In general, the results of the iteration are undefined under
these circumstances. This behaviour is implemented by the
java.util.HaspMap class in the JDK.
Problem conclusion
Created a new class HashMap and assigned it to _attributes
variable in the class WebGroup.
The keySet() method of this new class will return a non
"Fail-fast" version of the keys that are a snapshot at the time
of the method call. This allows for a thread to modify the
Collection while another thread is iterating over it.

APAR PQ77983 is associated with SERVICE LEVEL W501002 of
WebSphere Application Server V5.0 for z/OS.
Temporary fix Comments
APAR information
APAR number PQ77983
Reported component name WEBSPHERE FOR Z
Reported component ID 5655I3500
Reported release 500
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Special Attention NoSpecatt
Submitted date 2003-09-02
Closed date 2003-10-22
Last modified date 2003-11-02

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
BBOUBINF          

Publications Referenced

Fix information
Fixed component name WEBSPHERE FOR Z
Fixed component ID 5655I3500

Applicable component levels
R500 PSY UQ81380    UP03/10/28 P F310

  Fix is available
Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.


Document Information


Current web document: swg1PQ77983.html
Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server for z/OS
Operating system(s):
Software version: 500
Software edition:
Reference #: PQ77983
IBM Group: Software Group
Modified date: Nov 2, 2003