BEA-003108: Unicast receive error: java.io.EOFException
Technology, KeyWords:
WebLogic Server 10.3, Cluster, Unicast, Exception;JAVA.IO.EOFEXCEPTION
Error Message: <BEA-003108> <Unicast receive error : java.io.EOFException“ >
Problem:
If I restart one Managed Server in a Cluster, I get the following error:
<Error> <Cluster> <BEA-003108> <Unicast receive error : java.io.EOFException
java.io.EOFException
at java.io.DataInputStream.readFully(DataInputStream.java:180)
at java.io.DataInputStream.readLong(DataInputStream.java:399)
at java.io.ObjectInputStream$BlockDataInputStream.readLong(ObjectInputStream.java:2799)
at java.io.ObjectInputStream.readLong(ObjectInputStream.java:960)
at weblogic.cluster.HeartbeatMessage.readExternal(HeartbeatMessage.java:55)
Truncated. see log file for complete stacktrace>
Description
Weblogic declaration from: http://docs.oracle.com/cd/E17904_01/apirefs.1111/e14397/ClusterExtension.html
<BEA-003108> <Unicast receive error : java.io.EOFException“
Error: Unicast receive error: e
An error occurred while trying to receive a message over the cluster broadcast.
Cause
An error occurred while trying to receive a message over the cluster broadcast.
Action
Make sure that the NIC is functioning properly. If you believe there no environment problems exist, contact Oracle Customer Support and provide the stack trace for further analysis.
More detail and Background information:
Note: Sometimes you get Error Message: <BEA-002616> <Failed to listen on channel „Default“…> and it can be a logical effect of error BEA-003108.
The issue “ <BEA-003108> <Unicast receive error : java.io.EOFException“ occurs when using a Unicast cluster and when the cluster debug flags DebugCluster and/or DebugClusterHeartBeats are turned on for some of the managed servers, but not all of them.
The issue also occurs when the debug flags are turned on for the servers that existed previously in the cluster but not on servers which are newly added.
Solution
To resolve this issue, the cluster debug flags need to be enabled consistently: either disabled on all the servers of the cluster or enabled on all of them. In a production environment, debugging should be disabled. Cluster debug flags should be enabled only while debugging a problem with the Unicast cluster.
Solution via AdminServer:
- Click on Domain Structure and select your Server
- Select debugging tab
- Select items, that you want to disable or/enable, e.g. Disable weblogic debugging by click on „disable“(german: „deaktivieren“)
- Check Log files, wether the issue is solved.
Refernces
- Screenshots:
- http://docs.oracle.com/cd/E17904_01/apirefs.1111/e14397/ClusterExtension.html
- MOS: WebLogic Server: Getting“Unicast receive error: java.io.EOFException“ Exceptions in Logs [ID 1289389.1]