2 Replies Latest reply: Dec 22, 2012 6:38 PM by idamGod RSS

    Post-Process Event Handler Not Triggering - OIM 11gR2

    942911
      Hello All,

      I am trying to set up a post process event handler on user create in OIM 11gR2, but it doesn't seem to be triggering. I have system print outs and log messages printing from the event handler code, and none of them show up in oim_domain.log or oim_server1.log.

      The steps I went through to register and upload the event handler:

      1. Write plugin.xml

      +<?xml version="1.0" encoding="UTF-8"?>+
      +<oimplugins>+
      +<plugins pluginpoint="oracle.iam.platform.kernel.spi.EventHandler">+
      +<plugin pluginclass="com.hcm.identitybridge.oim.events.UpdateUser"+
      version="1.0"
      name="UpdateUser"/>
      +</plugins>+
      +</oimplugins>+


      2. Create plugin.zip with plugin.xml and directory lib/ containing the event handler in a jar file.

      3. Register plugin.zip with the pluginregistration.xml script in $OIM_HOME/server/plugin_utility

      4. Write UpdateUserEvent.xml. Save in custom directory $OIM_HOME/event_handlers/xml/UpdateUserEvent/

      +<?xml version="1.0" encoding="UTF-8"?>+
      +<eventhandlers+
      xmlns="http://www.oracle.com/schema/oim/platform/kernel"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://www.oracle.com/schema/oim/platform/kernelorchestration-handlers.xsd">

      +<action-handler class="com.hcm.identitybridge.oim.events.UpdateUser"+
      entity-type="User"
      operation="CREATE"
      name="CreateUserEvent"
      stage="postprocess"
      order="FIRST"
      sync="TRUE"/>

      +</eventhandlers>+

      5. Import the xml using the weblogicImportMetadata.sh script in $OIM_HOME/server/bin (use the $OIM_HOME/event_handlers/xml path as the import path in weblogic.properties)

      6. Purge cache (and/or restart the OIM server--I've tried both)


      Both scripts run without error, and the metadata and plugin can be viewed in the database properly. There are also no system errors in the log that would indicate a problem with the event handler directly, it just doesn't seem to be triggered on the creation of a user in OIM.

      Any help would be appreciated, thank you!