PQ77983: WEBSPHERE APPLICATION SERVER V5 ZOS ENCOUNTERING BBOO0223I SERVLET ERROR JAVA.UTIL.CONCURRENTMODIFICATIONEXCEPTION | |||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||
![]() 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 is sysrouted FROM one or more of the following: APAR is sysrouted TO one or more of the following: Modules/Macros
Publications Referenced
|
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
(C) Copyright IBM Corporation 2000, 2009. All Rights Reserved.