Publish fails with EOFException (Doc ID 1495531.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle WebCenter Sites - Version 7.5.0 and later
Information in this document applies to any platform.

Goal

We are noticing some publishes to Delivery are failing, it looks like it fails when trying to find serialized files.

We are getting the following error with some assets, like this with Document 123456789101112:


2012-04-13 12:14:40.455][com.fatwire.cs.core.db.DBTransaction][ERROR] TransactionUnit failed to execute
java.lang.IllegalStateException: Unable to lazy load resource ASSET:Document:123456789101112

at com.fatwire.realtime.ResourceSaveTask$LazyLoadedResourceData._getLoadedData(y:226)
at com.fatwire.realtime.ResourceSaveTask$LazyLoadedResourceData.getData(y:2374)
at com.fatwire.realtime.util.ResourceSaveUtil2._saveOneAssetType(y:720)
at com.fatwire.realtime.util.ResourceSaveUtil2._saveAssets(y:3163)
at com.fatwire.realtime.util.ResourceSaveUtil2._saveGroupTrans(y:1932)
at com.fatwire.realtime.util.ResourceSaveUtil2$1.execute(y:602)
at com.fatwire.cs.core.db.NestedTransactionBlock.execute(y:2027)
at com.fatwire.realtime.util.ResourceSaveUtil2.saveGroup(y:2170)
at com.fatwire.realtime.ResourceSaveTask._saveData(y:1183)
at com.fatwire.realtime.ResourceSaveTask._execute(y:2405)
at com.fatwire.realtime.ResourceSaveTask.execute(y:1975)
at com.fatwire.realtime.BasicTask.call(y:2481)
at com.fatwire.realtime.BasicTask.call(y:2368)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:284)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:678)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:703)
at java.lang.Thread.run(Thread.java:811)
Caused by: com.fatwire.cs.core.realtime.DataException: java.io.EOFException
at com.fatwire.realtime.BinaryAssetDeserializerImpl.execute(y:742)
at com.fatwire.realtime.DefaultDeserializerImpl.execute(y:744)
at com.fatwire.realtime.ResourceSaveTask$LazyLoadedResourceData._getLoadedData(y:3366)
... 17 more
Caused by: java.io.EOFException
at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2267)
at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2733)
at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:791)
at java.io.ObjectInputStream.<init>(ObjectInputStream.java:307)
at com.fatwire.realtime.BinaryAssetDeserializerImpl.execute(y:433)
... 19 more


The production environment for delivery is a four member cluster, it has one physical server, with two JVM's.
In one JVM there is one WebCenter Sites installation, and in the other JVM there are three WebCenter Sites installs.

Solution

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