Tuesday, May 31, 2016

Fix: OAM 11g Custom Authentication Plugin Activation Failed With Felix Bundle Exception

Error:

[2016-05-31T11:19:17.173-04:00] [oam_server1] [WARNING] [] [oracle.oam.extensibility.lifecycle] [tid: OAM Map Notification:MessageListenerWrapper] [userId: <anonymous>] [ecid: 0000LK7NL4x4epo5GVl3if1NJQ^h000004,1:24194] [APP: oam_server#11.1.2.0.0] Activation failed due to felix bundle exception while installing and starting the bundle.null[[
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at oracle.security.am.plugin.internal.OSGIPluginService.installAndStartBundle(OSGIPluginService.java:177)
        at oracle.security.am.extensibility.lifecycle.messaging.NodeMessageListener.installAndStartBundle(NodeMessageListener.java:66)
        at oracle.security.am.extensibility.lifecycle.messaging.NodeMessageListener.receiveMessage(NodeMessageListener.java:112)
        at oracle.security.am.extensibility.lifecycle.messaging.NodeMessageListener.receiveMessageList(NodeMessageListener.java:49)
        at oracle.security.am.extensibility.lifecycle.messaging.MessageListenerWrapper.objectCreated(MessageListenerWrapper.java:30)
        at oracle.security.am.foundation.mapimpl.coherence.events.MapListenerWrapper.notifyListener(MapListenerWrapper.java:174)
        at oracle.security.am.foundation.mapimpl.coherence.events.EventDispatcher.dispatch(EventDispatcher.java:132)
        at oracle.security.am.foundation.mapimpl.coherence.events.EventDispatcher.run(EventDispatcher.java:114)



Solution:

1. Deleted the entire "/tmp" folder in the Domain Home for BOTH OAM WLS Manage Server and Admin Servers
2. Restart the OAM Server.
3. Redeploy, distribute and activate plugins again.

-- Siva Pokuri.

1 comment:

  1. Hi,

    WOW! This fixed the problem and allowed me to active my OAM plugin!

    Is there any explanation for what causes this problem and why deleting the files from the Adminserver and OAM managed servers' tmp directory fixes this problem??

    Thanks again!

    ReplyDelete