Discussion:
[openjms-developer] PATCH, Demultiplexer
Andre Gebers
2004-05-21 08:02:34 UTC
Permalink
Hello,

i sporadically get a java.util.ConcurrentModificationException on the
client side when i shut down the openjms server. This is annoying
because my ExceptionListener won't get called and this in turn prevents
my failover to be triggered. I'm using openjms-0.7.6.1.

2004-05-19 12:12:53,473 [MultiplexConnection-XXX.XXX.XXX.XXX:36342]
DEBUG org.exolab.core.mipc.Demultiplexer - Demultiplexer terminating on
exception
java.io.EOFException
at java.io.DataInputStream.readInt(DataInputStream.java:397)
at
org.exolab.core.mipc.MessageInputStream.receive(MessageInputStream.java:95)
at org.exolab.core.mipc.Demultiplexer.run(Demultiplexer.java:153)
at
org.exolab.core.mipc.MultiplexConnection.run(MultiplexConnection.java:240)
2004-05-19 12:12:53,478 [MultiplexConnection-XXX.XXX.XXX.XXX:36342]
DEBUG org.exolab.core.mipc.MultiplexConnection - MultiplexConnection
terminating on exception
java.util.ConcurrentModificationException
at java.util.Hashtable$Enumerator.next(Hashtable.java:976)
at org.exolab.core.mipc.Demultiplexer.run(Demultiplexer.java:172)
at
org.exolab.core.mipc.MultiplexConnection.run(MultiplexConnection.java:240)


I had a look at org.exolab.core.mipc.Demultiplexer and after adding a
bit of synchronisation it worked fine.

Regards
Andre Gebers
--
Software-Entwicklung

Tipp24 AG
Kleine Johannisstrasse 2-4
20457 Hamburg | Germany
phone +49 (0)40 32 55 33-37
fax +49 (0)40 32 55 33-99

Tipp24.de - Lotto im Internet. Clever gemacht.
www.tipp24.de
Jim Alateras
2004-05-21 09:35:42 UTC
Permalink
Andre,

Thanks for that I will apply the patch early next week.

cheers
</jima>
-----Original Message-----
Behalf Of Andre Gebers
Sent: Friday, May 21, 2004 6:03 PM
Subject: [openjms-developer] PATCH, Demultiplexer
Hello,
i sporadically get a java.util.ConcurrentModificationException on the
client side when i shut down the openjms server. This is annoying
because my ExceptionListener won't get called and this in
turn prevents
my failover to be triggered. I'm using openjms-0.7.6.1.
2004-05-19 12:12:53,473 [MultiplexConnection-XXX.XXX.XXX.XXX:36342]
DEBUG org.exolab.core.mipc.Demultiplexer - Demultiplexer
terminating on
exception
java.io.EOFException
at java.io.DataInputStream.readInt(DataInputStream.java:397)
at
org.exolab.core.mipc.MessageInputStream.receive(MessageInputSt
ream.java:95)
at
org.exolab.core.mipc.Demultiplexer.run(Demultiplexer.java:153)
at
org.exolab.core.mipc.MultiplexConnection.run(MultiplexConnecti
on.java:240)
2004-05-19 12:12:53,478 [MultiplexConnection-XXX.XXX.XXX.XXX:36342]
DEBUG org.exolab.core.mipc.MultiplexConnection - MultiplexConnection
terminating on exception java.util.ConcurrentModificationException
at java.util.Hashtable$Enumerator.next(Hashtable.java:976)
at
org.exolab.core.mipc.Demultiplexer.run(Demultiplexer.java:172)
at
org.exolab.core.mipc.MultiplexConnection.run(MultiplexConnecti
on.java:240)
I had a look at org.exolab.core.mipc.Demultiplexer and after adding a
bit of synchronisation it worked fine.
Regards
Andre Gebers
--
Software-Entwicklung
Tipp24 AG
Kleine Johannisstrasse 2-4
20457 Hamburg | Germany
phone +49 (0)40 32 55 33-37
fax +49 (0)40 32 55 33-99
Tipp24.de - Lotto im Internet. Clever gemacht.
www.tipp24.de
Jim Alateras
2004-06-02 03:28:38 UTC
Permalink
Andre,

Patched version of exolabcore-0.3.7.jar in now in the openjms module.

cheers
</jima>
-----Original Message-----
Behalf Of Andre Gebers
Sent: Friday, May 21, 2004 6:03 PM
Subject: [openjms-developer] PATCH, Demultiplexer
Hello,
i sporadically get a java.util.ConcurrentModificationException on the
client side when i shut down the openjms server. This is annoying
because my ExceptionListener won't get called and this in
turn prevents
my failover to be triggered. I'm using openjms-0.7.6.1.
2004-05-19 12:12:53,473 [MultiplexConnection-XXX.XXX.XXX.XXX:36342]
DEBUG org.exolab.core.mipc.Demultiplexer - Demultiplexer
terminating on
exception
java.io.EOFException
at java.io.DataInputStream.readInt(DataInputStream.java:397)
at
org.exolab.core.mipc.MessageInputStream.receive(MessageInputSt
ream.java:95)
at
org.exolab.core.mipc.Demultiplexer.run(Demultiplexer.java:153)
at
org.exolab.core.mipc.MultiplexConnection.run(MultiplexConnecti
on.java:240)
2004-05-19 12:12:53,478 [MultiplexConnection-XXX.XXX.XXX.XXX:36342]
DEBUG org.exolab.core.mipc.MultiplexConnection - MultiplexConnection
terminating on exception java.util.ConcurrentModificationException
at java.util.Hashtable$Enumerator.next(Hashtable.java:976)
at
org.exolab.core.mipc.Demultiplexer.run(Demultiplexer.java:172)
at
org.exolab.core.mipc.MultiplexConnection.run(MultiplexConnecti
on.java:240)
I had a look at org.exolab.core.mipc.Demultiplexer and after adding a
bit of synchronisation it worked fine.
Regards
Andre Gebers
--
Software-Entwicklung
Tipp24 AG
Kleine Johannisstrasse 2-4
20457 Hamburg | Germany
phone +49 (0)40 32 55 33-37
fax +49 (0)40 32 55 33-99
Tipp24.de - Lotto im Internet. Clever gemacht.
www.tipp24.de
Loading...