1 Reply Latest reply on Jun 25, 2008 8:55 AM by 666705

    Exception: java.util.ConcurrentModificationException

    666705
      We are using BEA WebLogic 8.1 SP 3. Sometimes on application machines appear following error:
                
                Exception: java.util.ConcurrentModificationException
                
                <2007-01-04 16:34:20 CET> <Error> <Management> <BEA-140001> <An error occurred while getting attribute Connections on MBean
                tpecaredomain:Location=portal01,Name=portal01,Type=ServerRuntime. Method: public weblogic.management.runtime.Connection[] we
                blogic.t3.srvr.ServerRuntime.getConnections(). Exception: java.util.ConcurrentModificationException.
                java.util.ConcurrentModificationException
                at java.util.HashMap$HashIterator.nextEntry(HashMap.java:782)
                at java.util.HashMap$KeyIterator.next(HashMap.java:818)
                at weblogic.rjvm.ConnectionRuntime.<init>(ConnectionRuntime.java:68)
                at weblogic.rjvm.ConnectionRuntime.getConnections(ConnectionRuntime.java:26)
                at weblogic.t3.srvr.ServerRuntime.getConnections(ServerRuntime.java:871)
                at sun.reflect.GeneratedMethodAccessor1151.invoke(Unknown Source)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:324)
                at weblogic.management.internal.DynamicMBeanImpl.getAttribute(DynamicMBeanImpl.java:574)
                at com.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.java:1183)
                at com.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.java:1153)
                at weblogic.management.internal.RemoteMBeanServerImpl.getAttribute(RemoteMBeanServerImpl.java:287)
                at weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unknown Source)
                at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
                at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
                at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
                at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
                at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
                at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
                at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
                at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
                >
                
                When does the error appear? How we can eliminate it?