Cannot Delete Sites (Doc ID 1535682.1)

Last updated on NOVEMBER 14, 2016

Applies to:

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

Symptoms

In WebCenter Sites 11.1.1.6.x, Site deletion is interrupted because an asset is in use. The sites.log shows exception:

[2013-03-06 21:19:34,610 WIT] [ERROR] [.kernel.Default (self-tuning)'] [logging.cs.xcelerate.asset] Error: error invoking method DeleteAssetsNoLock in Asset.callDeleteAssetsNoLock()
net.sf.ehcache.CacheException: dependencyRepositoryCache: Could not remove disk store entry for key MyAsset_C:1230987654321. Error was unexpected EOF in middle of data block
at net.sf.ehcache.store.DiskStore.remove(DiskStore.java:474)
at net.sf.ehcache.Cache.remove(Cache.java:1519)
at net.sf.ehcache.Cache.remove(Cache.java:1446)
at net.sf.ehcache.Cache.remove(Cache.java:1404)
at net.sf.ehcache.Cache.remove(Cache.java:1382)
at com.fatwire.cache.ehcache.EhCacheObjectCache$DependencyRepository.invalidate(EhCacheObjectCache.java:1135)
at com.fatwire.cache.ehcache.EhCacheObjectCache.invalidateDependencies(EhCacheObjectCache.java:331)
at com.fatwire.cache.ehcache.EhCacheObjectCache.invalidateDependencies(EhCacheObjectCache.java:320)
at com.fatwire.assetcache.AssetCacheOverObjectCache.invalidateDependencies(AssetCacheOverObjectCache.java:98)
at com.fatwire.assetcache.AssetCacheUtil.removeByDeps(AssetCacheUtil.java:164)
at com.openmarket.xcelerate.asset.Asset.handleCachePostSave(Asset.java:12317)
at com.openmarket.xcelerate.asset.Asset.DeleteAssetsNoLock(Asset.java:1967)
at com.openmarket.assetframework.complexasset.ComplexAsset.superdeleteassetsNoLocks(ComplexAsset.java:2113)
at com.openmarket.assetframework.complexasset.AssetManager.deleteassetsNoLocks(AssetManager.java:1744)
at com.openmarket.gator.common.BaseFlexDefManager.deleteassetsNoLocks(BaseFlexDefManager.java:776)
at com.openmarket.assetframework.complexasset.ComplexAsset.DeleteAssetsNoLock(ComplexAsset.java:2089)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.openmarket.xcelerate.asset.Asset.callDeleteAssetsNoLock(Asset.java:1511)
at com.openmarket.xcelerate.asset.Asset.DeleteHeterogeneousAssetsOneTypeNoLock(Asset.java:1724)
at com.openmarket.assetframework.complexasset.ComplexAsset.superdeleteHeterogeneousAssetsOneTypeNoLock(ComplexAsset.java:2058)
at com.openmarket.assetframework.complexasset.AssetManager.deleteHeterogeneousAssetsOneTypeNoLock(AssetManager.java:1750)
at com.openmarket.assetframework.complexasset.ComplexAsset.DeleteHeterogeneousAssetsOneTypeNoLock(ComplexAsset.java:2045)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.openmarket.xcelerate.asset.Asset.callDeleteHeterogeneousAssetsOneTypeNoLock(Asset.java:1685)
at com.openmarket.xcelerate.asset.Asset.DeleteHeterogeneousAssets(Asset.java:1828)
at com.openmarket.xcelerate.asset.Asset.deleteSite(Asset.java:1435)
at com.openmarket.xcelerate.asset.AssetNotifySiteDelete.notify(AssetNotifySiteDelete.java:49)
at com.openmarket.xcelerate.common.EventManager.triggerEvent(EventManager.java:122)
at com.openmarket.xcelerate.site.Publication.Delete(Publication.java:574)
at com.openmarket.framework.xml.object.Delete.startTag(Delete.java:83)


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