[jboss-jira] [JBoss JIRA] Closed: (JBREM-649) Concurrent exceptions on Lease when connecting/disconnecting new Clients

Clebert Suconic (JIRA) jira-events at jboss.com
Fri Jan 12 16:50:53 EST 2007


     [ http://jira.jboss.com/jira/browse/JBREM-649?page=all ]

Clebert Suconic closed JBREM-649.
---------------------------------


> Concurrent exceptions on Lease when connecting/disconnecting new Clients
> ------------------------------------------------------------------------
>
>                 Key: JBREM-649
>                 URL: http://jira.jboss.com/jira/browse/JBREM-649
>             Project: JBoss Remoting
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 2.2.0.Alpha3 (Bluto)
>            Reporter: Clebert Suconic
>         Assigned To: Tom  Elrod
>            Priority: Blocker
>             Fix For: 2.2.0.Alpha4
>
>
> It looks like also there is a possibility of Server hang on these situations:
> On the exception bellow, a HashMap was changed while being iterated inside serialization.
> java.lang.reflect.InvocationTargetException
>         at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:120)
>         at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86)
>         at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
>         at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
>         at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
>         at org.jboss.serial.persister.ObjectOutputStreamProxy.writeObjectOverride(ObjectOutputStreamProxy.java:60)
>         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:274)
>         at java.util.HashMap.writeObject(HashMap.java:986)
>         at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:120)
>         at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86)
>         at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
>         at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
>         at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
>         at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
>         at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
>         at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
>         at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
>         at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
>         at org.jboss.serial.io.JBossObjectOutputStream.writeObjectOverride(JBossObjectOutputStream.java:181)
>         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:274)
>         at org.jboss.remoting.serialization.impl.java.JavaSerializationManager.sendObject(JavaSerializationManager.java:86)
>         at org.jboss.remoting.marshal.serializable.SerializableMarshaller.write(SerializableMarshaller.java:84)
>         at org.jboss.jms.server.remoting.JMSWireFormat.write(JMSWireFormat.java:310)
>         at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.versionedWrite(MicroSocketClientInvoker.java:518)
>         at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:340)
>         at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:125)
>         at org.jboss.remoting.LeasePinger.sendClientPing(LeasePinger.java:97)
>         at org.jboss.remoting.LeasePinger$LeaseTimerTask.run(LeasePinger.java:216)
>         at java.util.TimerThread.mainLoop(Timer.java:432)
>         at java.util.TimerThread.run(Timer.java:382)
> Caused by: java.util.ConcurrentModificationException
>         at java.util.HashMap$HashIterator.nextEntry(HashMap.java:782)
>         at java.util.HashMap$EntryIterator.next(HashMap.java:824)
>         at java.util.HashMap.writeObject(HashMap.java:984)
>         ... 36 more

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list