Coherence Server Node Throws "java.net.SocketException: Invalid argument" At Startup (Doc ID 1298907.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle Coherence - Version 3.6.1 to 3.6.1 [Release AS10g]
Oracle Solaris on SPARC (32-bit)
Oracle Solaris on SPARC (64-bit)
Oracle Solaris on x86 (32-bit)
Oracle Solaris on x86-64 (64-bit)
***Checked for relevance on 22-FEB-2013***

Symptoms

When starting a cache server in Coherence 3.6.1 the following error appears in the log file:

2011-02-22 16:11:38.863/32.631 Oracle Coherence GE 3.6.1.1 <Error>
(thread=Cluster, member=n/a):
java.net.SocketException: Invalid argument
at sun.nio.ch.Net.setIntOption0(Native Method)
at sun.nio.ch.Net.setIntOption(Net.java:157)
at sun.nio.ch.SocketChannelImpl$1.setInt(SocketChannelImpl.java:399)
at sun.nio.ch.SocketOptsImpl.setInt(SocketOptsImpl.java:46)
at sun.nio.ch.SocketOptsImpl.linger(SocketOptsImpl.java:104)
at sun.nio.ch.SocketOptsImpl$IP$TCP.linger(SocketOptsImpl.java:268)
at sun.nio.ch.OptionAdaptor.setSoLinger(OptionAdaptor.java:67)
at sun.nio.ch.SocketAdaptor.setSoLinger(SocketAdaptor.java:276)
at com.tangosol.coherence.component.net.TcpRing.onAccept(TcpRing.CDB:29)
at com.tangosol.coherence.component.net.TcpRing.onSelect(TcpRing.CDB:27)
at com.tangosol.coherence.component.net.TcpRing.select(TcpRing.CDB:14)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.ClusterService.onWait(ClusterService.CDB:6)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:39)
at java.lang.Thread.run(Thread.java:662)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms