Asset Listener Issue In CS. V7.6p2 (Doc ID 1535116.1)

Last updated on SEPTEMBER 18, 2017

Applies to:

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

Symptoms

We are having issues with asset listeners in ourCS v7.6p2 environment. We have a listener class  deployed in WEB-INF/classes folder that on create/edit-save/delete of an asset , we are seeing an error in the logs as follows,

[2013-02-20 13:21:28,431] [com.openmarket.basic.event] Error in looking up Event of type com.example.MyEventListener. Please verify that the event class is accessible in the classpath.
java.lang.InstantiationException
at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at com.openmarket.basic.event.NameBasedPersistentListenerRegistry._toT(y:502)
at com.openmarket.basic.event.NameBasedPersistentListenerRegistry.getListeners(y:28)
at com.fatwire.cs.core.event.SimpleDispatcher.dispatchBlocking(y:3053)
at com.fatwire.cs.core.event.SimpleDispatcher.dispatchEvent(y:3086)
at com.openmarket.xcelerate.asset.Asset._fireAssetEvent(y:12058)
at com.openmarket.xcelerate.asset.Asset._fireAssetSaveEvent(y:11250)
at com.openmarket.xcelerate.asset.Asset.SaveAll(y:4310)
at com.openmarket.assetframework.complexasset.ComplexAsset.superSaveAll(y:3389)
at com.openmarket.assetframework.complexasset.AssetManager.saveAll(y:2235)
at com.openmarket.assetframework.common.BulkTransactionalAssetManager.save(y:1683)
at com.openmarket.assetframework.complexasset.ComplexAsset.Save(y:808)
at com.openmarket.xcelerate.asset.Asset.Save(y:2375)

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