Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Cluster exception: "Unable to refresh sockets:"

697976Dec 7 2009 — edited Jun 12 2010
I'm getting an exception after starting my Tomcat server with my webapp that is using coherence. In all other environments I have not gotten this error with the same tomcat and app but this new environment is a linux box with multiple interfaces.

I think it has something to do with the multicast communications which I would happily disable for now if I could but no matter what I set I still get this exception.

2009-12-07 14:37:29,594 ERROR Logger@9264948 3.5.2/463 Coherence - 2009-12-07 14:37:29.594/137.767 Oracle Coherence GE 3.5.2/463 <Error> (thread=PacketListenerN, member=1): Stopping cluster due to unhandled exception: com.tangosol.net.messaging.ConnectionException: Unable to refresh sockets: [UnicastUdpSocket{State=STATE_OPEN, address:port=172.16.96.56:8088}, MulticastUdpSocket{State=STATE_OPEN, address:port=224.3.5.2:35463, InterfaceAddress=172.16.96.56, TimeToLive=4}, TcpSocketAccepter{State=STATE_OPEN, ServerSocket=172.16.96.56:8088}]; last failed socket: MulticastUdpSocket{State=STATE_OPEN, address:port=224.3.5.2:35463, InterfaceAddress=172.16.96.56, TimeToLive=4}
at com.tangosol.coherence.component.net.Cluster$SocketManager.refreshSockets(Cluster.CDB:91)
at com.tangosol.coherence.component.net.Cluster$SocketManager$MulticastUdpSocket.onInterruptedIOException(Cluster.CDB:9)
at com.tangosol.coherence.component.net.socket.UdpSocket.receive(UdpSocket.CDB:33)
at com.tangosol.coherence.component.net.UdpPacket.receive(UdpPacket.CDB:4)
at com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketListener.onNotify(PacketListener.CDB:19)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.net.SocketTimeoutException: Receive timed out
at java.net.PlainDatagramSocketImpl.receive0(Native Method)
at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136)
at java.net.DatagramSocket.receive(DatagramSocket.java:712)
at com.tangosol.coherence.component.net.socket.UdpSocket.receive(UdpSocket.CDB:20)
at com.tangosol.coherence.component.net.UdpPacket.receive(UdpPacket.CDB:4)
at com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketListener.onNotify(PacketListener.CDB:19)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
at java.lang.Thread.run(Thread.java:619)


My tangosol-coherence-config:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<coherence>
<multicast-listener>
<address>224.1.0.0</address>
<time-to-live>0</time-to-live>
<port>2342</port>
<join-timeout-seconds>1</join-timeout-seconds>
</multicast-listener>

<unicast-listener>
<well-known-addresses>
<socket-address id="1">
<address>127.0.0.1</address>
<port>8088</port>
</socket-address>
</well-known-addresses>
</unicast-listener>

<logging-config>
<destination>log4j</destination>
<severity-level>4</severity-level>
<character-limit>4096</character-limit>
</logging-config>
</coherence>


So my first question is what is the correct way to disable multicast? Second question is about the exception as to what may be causing it. Thanks much.

- Matt
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 10 2010
Added on Dec 7 2009
2 comments
2,346 views