APAR status
Closed as program error.
Error description
The wsadmin $AdminConfig save command throw the following
ConcurrentModificationException. Exception stack:
java.util.ConcurrentModificationException
at
java.util.HashMap$HashIterator.nextEntry(HashMap.java(Compiled
Code))
at java.util.HashMap$KeyIterator.next(HashMap.java(Compiled
Code))
at
com.ibm.ws.management.configservice.ConfigServiceImpl.save(Confi
gService
Impl.java:458)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
Impl.jav
a:85)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
Impl.jav
a:58)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
Accessor
Impl.java(Compiled Code))
at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
at
com.tivoli.jmx.modelmbean.MMBInvoker.invoke(MMBInvoker.java(Inli
ned
Compiled Code))
at
com.tivoli.jmx.modelmbean.MMBInvoker.invokeOperation(MMBInvoker.
java(Com
piled Code))
at
com.tivoli.jmx.modelmbean.DynamicModelMBeanSupport.invoke(Dynami
cModelMB
eanSupport.java(Compiled Code))
at
javax.management.modelmbean.RequiredModelMBean.invoke(RequiredMo
delMBean
.java(Compiled Code))
at
com.tivoli.jmx.GenericMBeanSupport.invoke(GenericMBeanSupport.ja
va(Compi
led Code))
at com.tivoli.jmx.MBeanAccess.invoke(MBeanAccess.java(Compiled
Code))
at
com.tivoli.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java(Compi
led
Code))
at
com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.j
ava(Comp
iled Code))
at
com.ibm.ws.management.connector.AdminServiceDelegator.invoke(Adm
inServic
eDelegator.java(Compiled Code))
at
com.ibm.ws.management.connector.rmi.RMIConnectorService.invoke(R
MIConnec
torService.java:175)
at
com.ibm.ws.management.connector.rmi._RMIConnectorService_Tie.inv
oke(_RMI
ConnectorService_Tie.java:362)
at
com.ibm.ws.management.connector.rmi._RMIConnectorService_Tie._in
voke(_RM
IConnectorService_Tie.java:133)
at
com.ibm.CORBA.iiop.ServerDelegate.dispatchInvokeHandler(ServerDe
legate.j
ava:608)
at
com.ibm.CORBA.iiop.ServerDelegate.dispatch(ServerDelegate.java:4
61)
at com.ibm.rmi.iiop.ORB.process(ORB.java:432)
at com.ibm.CORBA.iiop.ORB.process(ORB.java:1728)
at com.ibm.rmi.iiop.Connection.doWork(Connection.java:2227)
at com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl.java:65)
at com.ibm.ejs.oa.pool.PooledThread.run(ThreadPool.java:95)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:912)
This exception is thrown because the configuration file already
exists
or has been changed, resulting in save conflict. Instead of
receiving a
ConcurrentModificationException, an appropriate workspace
exception
should be received.
Local fix
test fix
Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server V5.x users *
* who use wsadmin to configure the repository. *
****************************************************************
* PROBLEM DESCRIPTION: When there are multiple users updating *
* the same configuration file from *
* wsadmin, the second user performing a *
* save operation will receive a *
* ConcurrentModificationException. *
****************************************************************
* RECOMMENDATION: *
****************************************************************
The ConcurrentModificationException is thrown due to improper
handling of a java API in configuration service code. Instead
of throwning ConcurrentModificationException, a workspace
exception should be thrown.
Problem conclusion
Modified configuration service code to avoid
ConcurrentModificationException and throw the appropriate
workspace exception.
The fix for this APAR is currently targeted for inclusion in
fixpack 5.0.2.11 and 5.1.1.4.
Please refer to the Recommended Updates page for delivery
dates:http://www-1.ibm.com/support/docview.wss?rs=180&context
=SSEQTP&uid=swg27004980
Temporary fix Comments
APAR information |
APAR number |
PK01049 |
Reported component name |
WAS NETWRK DEPL |
Reported component ID |
5630A3601 |
Reported release |
10I |
Status |
CLOSED PER |
PE |
NoPE |
HIPER |
NoHIPER |
Special Attention |
NoSpecatt |
Submitted date |
2005-02-14 |
Closed date |
2005-03-08 |
Last modified date |
2005-03-08 |
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 |
R00A PSY |
UP |
R00H PSY |
UP |
R00I PSY |
UP |
R00P PSY |
UP |
R00S PSY |
UP |
R00W PSY |
UP |
R10A PSY |
UP |
R10H PSY |
UP |
R10I PSY |
UP |
R10P PSY |
UP |
R10S PSY |
UP |
R10W PSY |
UP |
|