My Oracle Support Banner

RealTime Publishing fails due to "Failed to create RandomAccessFile in NioFileLock" and java.io.FileNotFoundException (Illegal byte sequence) (Doc ID 2052111.1)

Last updated on SEPTEMBER 26, 2018

Applies to:

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

Symptoms

RealTime publishing fails on the publishing target at the Unpacker stage with the following errors:

[2015-08-28 11:28:08,226 BRT] [WARN ] [-1-Publishing-ParallelUnpacker] [fatwire.logging.cs.filelock] Failed to create RandomAccessFile in NioFileLock for [<path_to_Shared>/ccurl/xxx/xxx/testãfile.png.ftlock].  Attempting a total of 400 times, waiting 25ms between attempts.  This failure occurred on attempt number 400.
java.io.FileNotFoundException: <path_to_Shared>/ccurl/xxx/xxx/testãfile.png.ftlock (Illegal byte sequence)
    at java.io.RandomAccessFile.open(Native Method)
    at java.io.RandomAccessFile.<init>(RandomAccessFile.java:216)
    at COM.FutureTense.Util.NioFileLock$LockFile.constructRandomAccessFile(NioFileLock.java:312)
    at COM.FutureTense.Util.NioFileLock$LockFile.<init>(NioFileLock.java:272)
    at COM.FutureTense.Util.NioFileLock$LockFile.<init>(NioFileLock.java:245)
    at COM.FutureTense.Util.NioFileLock._lockFile(NioFileLock.java:64)
    at COM.FutureTense.Util.NioFileLock.lockFile(NioFileLock.java:33)
    at COM.FutureTense.Util.ftFileLock.lockFileName(ftFileLock.java:91)
...
[2015-08-28 11:28:08,252 BRT] [ERROR] [-1-Publishing-ParallelUnpacker] [fatwire.logging.cs.filelock] Unexpected failure locking file
COM.FutureTense.Util.NioFileLock$NioFileLockException: Low level failure constructing RandomAccessFile in FileLock constructor.  It was attempted a total of 400 times, waiting 25 between attempts. [File: <path_to_Shared>/ccurl/xxx/xxx/testãfile.png.ftlock]
    at COM.FutureTense.Util.NioFileLock$LockFile.constructRandomAccessFile(NioFileLock.java:339)
    at COM.FutureTense.Util.NioFileLock$LockFile.<init>(NioFileLock.java:272)
    at COM.FutureTense.Util.NioFileLock$LockFile.<init>(NioFileLock.java:245)
    at COM.FutureTense.Util.NioFileLock._lockFile(NioFileLock.java:64)
    at COM.FutureTense.Util.NioFileLock.lockFile(NioFileLock.java:33)
    at COM.FutureTense.Util.ftFileLock.lockFileName(ftFileLock.java:91)
    at COM.FutureTense.Common.ftDBTable.reserveFileName(ftDBTable.java:3253)
    at COM.FutureTense.Common.ftDBTable.processUploadData(ftDBTable.java:807)
    at COM.FutureTense.Common.ftDBTable.setvalues(ftDBTable.java:1664)
    at COM.FutureTense.Common.ftDBTable.insertRow(ftDBTable.java:1276)
    at COM.FutureTense.CatalogManager.CatalogEngine.addToTable_trans(CatalogEngine.java:823)
    at COM.FutureTense.CatalogManager.CatalogEngine.addToTable(CatalogEngine.java:708)
    at COM.FutureTense.Common.CatalogManager.execute(CatalogManager.java:771)
    at COM.FutureTense.Common.ContentServer.runManager(ContentServer.java:3472)
    at COM.FutureTense.Common.CS.CatalogManager(CS.java:1503)
    at COM.FutureTense.Common.CS.CatalogManager(CS.java:1457)
    at com.openmarket.basic.common.BaseTable.callCatalogManager(BaseTable.java:97)
    at com.openmarket.gator.blobservice.BlobService.saveBinaryData(BlobService.java:359)
    at com.openmarket.gator.common.AttributeValue.setImmediateAttributes(AttributeValue.java:1792)
    at com.openmarket.gator.common.AttributeIndex.setImmediateAttributes(AttributeIndex.java:1362)
    at com.openmarket.gator.flexassets.FlexAssetManager.createLocalData(FlexAssetManager.java:227)
    at com.openmarket.assetframework.common.BulkTransactionalAssetManager.writeLocalData(BulkTransactionalAssetManager.java:89)
    at com.openmarket.assetframework.common.BulkTransactionalAssetManager.saveAllNoPubLock(BulkTransactionalAssetManager.java:306)
    at com.openmarket.assetframework.complexasset.ComplexAsset.SaveAllNoPubLock(ComplexAsset.java:2498)
    ...
Caused by: java.io.FileNotFoundException: <path_to_Shared>/ccurl/xxx/xxx/testãfile.png.ftlock (Illegal byte sequence)
    at java.io.RandomAccessFile.open(Native Method)
    at java.io.RandomAccessFile.<init>(RandomAccessFile.java:216)
    at COM.FutureTense.Util.NioFileLock$LockFile.constructRandomAccessFile(NioFileLock.java:312)
    ... 49 more
[2015-08-28 11:28:08,254 BRT] [ERROR] [-1-Publishing-ParallelUnpacker] [logging.cs.xcelerate.asset] Error in ComplexAsset: Error: errno=-105 on call to catalog manager for table 'MungoBlobs'
com.openmarket.basic.interfaces.AssetException: Error: errno=-105 on call to catalog manager for table 'MungoBlobs'

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.