Event handlers 11gR2PS3 IOM raises but does not commit any changes

Hello

We have developed a few EventHandlers that triggers events RoleUser (MODIFY, CREATE, DELETE). An eventHandler does the following:
-Gets the role that have been added to a user
-Detects the role information
-Updates the user with the role to some UDF information

This feature works fine on its own when only an EventHandler is defined - there is not when having several of the handlers defined in the same time. This seems very strange for us, as some features do not work when this unfortunate error occurs.

These are the ones we have now:

<? 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 " >
< class = "Manager com.foo.bar.event.handlers.hr.UsrPreProcess of shares' entity type = operation 'User' = 'CREATE' name ="UsrPreProcess"Stadium ="postprocess"order ="1000"sync ="TRUE"/ >"
< class = "Manager com.foo.bar.event.handlers.email.HandleEmailAddresses of shares' entity type = operation 'User' = 'CREATE' name ="HandleEmailAddresses"Stadium ="postprocess"order ="1001"sync ="TRUE"/ >"
< class = "Manager com.foo.bar.event.handlers.security.SecurityAuthorizedForRestrictedHandler of shares' entity type = operation 'User' = 'EDIT' name ="SecurityAuthorizedForRestrictedHandler"Stadium ="postprocess"order = 'LAST' sync ="TRUE"/ >"
<!-RELATING to the USER/ROLE->
< class = "Manager com.foo.bar.event.handlers.security.SecurityRoleHandler of shares' entity-type ="RoleUser"operation ="CREATE"="SecurityRoleCreateHandler"Stadium"postprocess"order = name = '1010' sync ="TRUE"/ >"
< class = "Manager com.foo.bar.event.handlers.security.SecurityRoleHandler of shares' entity-type ="RoleUser"operation = 'EDIT' name ="SecurityRoleModifyHandler"Stadium ="postprocess"order ="1011"sync ="TRUE"/ >"
< class = "Manager com.foo.bar.event.handlers.security.SecurityRoleDeleteHandler of shares' entity type = operation 'RoleUser' = 'CLEAR' name ="SecurityRoleDeleteHandler"Stadium ="postprocess"order ="1012"sync ="TRUE"/ >"
< class = "Manager com.foo.bar.event.handlers.security.SecurityUpdatedClearanceHandler of shares' entity-type ="RoleUser"operation ="CREATE"name ="SecurityClearanceHandlerCreate"Stadium ="postprocess"order = sync"1013"="TRUE"/ >"
< class = "Manager com.foo.bar.event.handlers.security.SecurityUpdatedClearanceHandler of shares' entity-type ="RoleUser"operation = 'EDIT' name ="SecurityClearanceHandlerModify"Stadium ="postprocess"order ="1014"sync ="TRUE"/ >"
< class = "Manager com.foo.bar.event.handlers.security.SecurityRevokedAuthorizationHandler of shares' entity-type ="RoleUser"operation = 'CLEAR' name ="SecurityRevokedAuthorizationHandler"Stadium ="postprocess"order ="1015"sync ="TRUE"/ >"
< / eventhandlers >

Newspapers are populated and APPARENTLY the IOM user is updated (populated UDF and our own newspapers and oracle logs shows that the user object is updated [using the UserManager]), but when you look in the database, nothing happens. No update after all the UDF. It's quite strange and we do not quite understand the EventHandlers point if they cannot live together like that...

Anyone who has experienced similar problems? Its quite frustrating and chasing a fake bug as it's pretty boring.

Kind regards
Vegard

EIS,

This has been resolved now. It seems to be related to this Bug:

https://support.Oracle.com/epmos/faces/BugDisplay?_afrLoop=544812021641634&parent=SrDetailText&SourceID=3-11573477441&ID=11804355&_afrWindowMode=0&_adf.CTRL-State=lmefs64q2_81

As indicated in the bug, a new orchestration runs and causing the initial EventHandler that triggered, say UserManager.modify (), to stall PENDING - even if there is nothing to be waiting on. The fix pertains to adding the following lines of code:

try {
ContextManager. pushContext (role.getKey (), ContextManager.ContextTypes. ADMIN, OimContextProperties. ( ROLE_GRANT) ;
roleManager.updateRoleGrant (role.getKey (), long of . toString(user.getKey ()), attributes);
} catch (ValidationFailedException |) NoSuchRoleGrantException | RoleGrantUpdateException e) {}

...
} { finally
ContextManager. popContext ();
}

Tags: Fusion Middleware

Similar Questions

  • My Aspire will work you tube videos but does not run any other type, advice please.

    As stated above, my aspire will work you tube videos but for example if I try to watch traffic cameras all I get is a black screen. The meter also trying to run an internet speed test does not appear? I'm not computer savvie then please don't baffle me.

    you're probably missing some Java components (download x 86 and x 64) or the flash from adobe on your system drive (chrome has its own).

    https://www.Java.com/download/

    https://get.Adobe.com/flashplayer/otherversions/

  • DVD Sony player appears installed but does not recognize any CD or DVD

    I just bought a Sony Optiarc AD7260 DVD RW drive and installed in my system. I am running Win XP Pro sp3. My Bios says the drive is recognized by the latter and in the Device Manager in Windows, the drive shows up and says that "this device works properly." However, any disk I put in the drive (self burned cd / self burned dvd / retail music cd / dvd retail game / virgins DVD) never presents itself as being accessible. When the drawer goes in, I get the icon of the cd spinning for about 15-30 seconds, but then it goes back to the usual pointer. If I try to access the drive in Windows Explorer or any other program, it does not appear. I tried to use ImgBurn to get media info I had placed in the drive (blanks & with data) but it still says "incompatible medium installed" in the drive. The Optiarc is my 4th Sata device, 3 others are hard drives. The system is a dc7100 HP Compaq with 3 GB of ram. Any suggestions?

    Hello.

    Do you have the old disk, or access to another drive, try in the computer?  If these work then you will have a faulty drive.  It is possible to have a defective out of the box.  Also try a different SATA cable.  These can sometimes be problematic.

  • Need to reinstall windows, but does not have any CD - Satellite Pro L20

    Hi, I wanted to reinstall Windows XP home on my Satellite Pro L20, but do not have the software that my laptop came with (read the discs lost). I have a valid XP tone (like its stuck on the bottom of my laptop), but no disc so I tired using a copy of a cd of Windows XP home, which did not work, but let me go as far as the formatting of the hard drive.

    So now I use Ubuntu, but want to reinstall Windows. Have valid product key, but no software to reinstall.

    Any suggestions?

    Thank you

    Christopher

    Valid key will not help you. This key belongs to the image recovery and copy included WXP he.
    If you have two options. Either you order original Toshiba recovery image or use Microsoft installations CD key which belongs to this copy. All the necessary drivers, tools and utilities that you can download at Toshiba support page under http://eu.computers.toshiba-europe.com > support & downloads.

    Good luck!

  • Have installed but does not work, any ideas?

    Have Windows Vista and Internet Explorer 9, the 32-bit version. Flash Player is installed, uninstall, restarted my computer, laptop and installed new corn cannot operate. It is being installed, but whenever I try to view what anyone who uses Flash Player, I am prompted to install it.

    You can see the animation Flash (red rotation 'f') to http://www.adobe.com/software/flash/about/ ?

    On IE9, tools, you have activated ActiveX filtering?

    On IE9, tools, manage add-ons, don't you see Shockwave Flash Object, and it is enabled?

    What files do you have in C:\Windows\system32\Macromed\Flash?

  • Pavillion 2132tx g6: Ralink wifi driver installed but does not work in my hp Pavilion g6

    My wi fi connection worked properly. But when I reinstall the ralink wifi driver, then the driver is installed but does not appear any wireless device. In Device Manager, it says sign exclaimation. How can I solve this problem?

    Hi Raj1813,

    Uninstall the driver that you installed, download & install 1 of these drivers in place: Intel Wireless drivers for Microsoft Windows 7, Ralink 802.11 b/g/n WiFi Adapter

    AFTER THE INSTALLATION OF ANY KIND OF DRIVERS, RESTART YOUR COMPUTER FOR DRIVERS TO WORK ON YOUR COMPUTER.

    Yours faithfully,

    Ryan

  • My storm blackBerry smartphones comes on the screen upward, but does not show a picture!

    My storm blackberry 9530 recently fell to the ground, but nothing happened. But today its very slow and most of the time the screen turns on but does not display any image at all, just a black screen

    What can I do?

    Hi Mxgaudelli,

    Welcome to the BB Community Forum...

    There seems to be a hardware problem... have u tried a reboot of your BB battery pull, if you have not then try it once... If the problem persists, I recommend you to visit a centre of Service of BB and they have a quick glance at your question...

  • Unable to connect mifi 4510 hotspot for PC. Wireless see peripheral but does not connect... is to expire.

    mifi4510L

    Unable to connect mifi 4510 hotspot for PC. Meet operational requirements throughout the system. Using XP SP3. Wireless see peripheral but does not connect... is to expire. No msg error in Event Viewer.

    THX

    Hello

    I suggest you to try the steps below and check if it helps.

    Method 1: Try running the Fixit tool from the link below.

    Hardware devices do not work or are not detected in Windows:
    http://support.Microsoft.com/GP/hardware_device_problems

    Method 2: Try also to update the latest drivers for your device wireless using the link below.

    How to manage devices in Windows XP:

    http://support.Microsoft.com/kb/283658

    Hope this information is useful.

  • printer is offline but but does not print completely baffled!

    Completely stumped with this. I have a brother MFP990 all in a station. It is connected wireless to my network. I have a laptop computer connected wireless network and it prints fine. My desktop computer, but does not print even if it seems to recognize that it is there. The printer is communicating with my computer and let me know the ink level is low. My scanner works perfectly and scans the computer, no problem. But whenever I try to print, the computer tells me that the printer is offline. I tried to disable Norton firewall, no difference. I tried to uninstall the software, and oddly enough, during the uninstall process, an exceptional print request was printed! When I reinstalled, same problem. Any ideas?

    Hi, Frank,.

    Open the event viewer > application log

    After return that error messages/event ID is related to the question of the printer

    Start > right click on computer

    Select manage

    Select event viewer > application log

    In the meantime, try the following:

    Start > type Services.msc
     
    Press enter
    Scroll down to print spooler
    Right-click on the spooler > select Properties
    Make sure that the Startup Type is set to automatic
    Under the service stop status
    Wait for Windows to stop the printer
     
    Control Panel > open the printer folder
    Right click on the printer icon > select Open
    Do you see the documents listed in the queue for printing?
    Click file > cancel all Documents
     
    Start > right click on computer > select Manage
    Click on continue on window UAC (Vista, Windows 7)
    Select Device Manager
     
    Click on the + sign next to Ieeee... compatible printer
    Right-click on the printer driver and select uninstall
    Click on the + sign next to the imaging device (s)
    Right-click on the printer driver and select uninstall
    Click on the + sign next to printers
    Right-click on the printer driver and select uninstall
    Click on the + sign next to Bus USB controllers
    Right-click on the printer driver and select uninstall
     
    While the printer is turned on, unplug the cable from the rear
    Unplug the cable from the wall outlet
     
    Wait 5 minutes
     
    Plug the cable into the wall jack, and then the back of the printer
    Restart the computer

    Go back, and then restart the print spooler
     
    Go to the manufacturer's website and search for updated drivers

  • Process begins but does not (reader 10.1.0)

    Hello

    Recently, I installed Adobe on a couple of our servers and on some of them the process Adobe starts (twice, as always), however, nothing shows up.

    We have taken this on Citrix Presentation Server 4.5, and it is only on 3 of 5 of our servers, all identical.

    However it is not only on Citrix, after installing it locally even there when I open the executable file of adobe, start the process, but does not show anything.

    If you want more info I will post it here if someone has an idea of what it might be.

    Thank you

    R

    Edit:

    Event Viewer shows nothing about adobe not does not properly.

    Use the forum for Adobe Reader.

  • I have iphone 5 c. I've updated new version 10.0.2. Now Weather app is working for different cities but does not not for my site which has already been demonstrated in latitude and longitude. Similarly maps application also does not work for my site

    I have iphone 5 c. I've updated new version 10.0.2. Now Weather app is working for different cities but does not not for my site which has already been demonstrated in latitude and longitude. Similarly maps application does not also work for my site.

    Settings > privacy > location Services > confirm you always give permission to these applications to use your location.

    If not, try these standard troubleshooting steps.

    -Reset: hold the Home and Power buttons until you see the logo Apple (10-15 seconds).

    -Restore your iDevice: https://support.apple.com/en-us/HT204184

    If your backup is in iTunes, make sure that it is encrypted.

  • I bought if sky was not So Far Away as ringtone but does not appear in my ringtones

    I bought if sky was not So Far Away as ringtone but does not appear in my ringtones

    I bought if sky was not So Far Away as ringtone but does not appear in my ringtones

  • Firefox opens but does not, display shows lock icon

    After several updates have been installed to win 8.1 that the icon on the desktop at the top of the page has a padlock is displayed. 38 of Firefox opens but does not appear. I used the Task Manager to check that Firefox is running. I noticed that Firefox was running in the Sandbox Avast and disable the sandbox, but the problem, such as presented still exists.

    Good to hear. Play well.

    Hello

    I'm glad to hear that your problem has been resolved. If you haven't already done so, please select the answer that solved the problem. This will help other users with similar problems more easily find the solution.

    Please contact the Mozilla Support.

  • Xfinity toolbar enabled but does not appear on the screen

    My Xfinity toolbar is enabled but does not appear on the screen. Tried to turn it off, remove it and add it back, but no luck. There is a space in which it above my Norton toolbar but it's only this - space. How can I make it reappear?

    Problem has been resolved by downloading a new version of the Comcast toolbar. They use to automatically update this bar tools, but for some reason stopped mines updated. But problem is now solved by this new version, the toolbar is now visible on the screen.

  • Can I allow an application for one person on my family share but does not allow for each other?

    Can I allow an application for one person on my family share but does not allow for each other?

    You can't delegate who has access and who doesn't have access to the applications. You can lock devices with age restrictions, so only items appropriate age are at their disposal. Or you can hide your list purchases. The purchased app can then be displayed when you want to share with someone else, then be hidden again once the application is downloaded on their device.

    I hope this helps.

    SI10

Maybe you are looking for

  • Why I can not ban them annoying jump - rises?

    Almost every new open tab brings two pop-up ads, unwanted and annoying, even though I specified "Block Pop Up Windows" in the Options.One is about 3 inches square in the lower right corner and is usually a video ad. The other is about 1 inch to 10 in

  • Satellite L300D c000021a (PSLC8E) blue screen on startup after win7 64 bit

    Hello The error code on a blue screen after startup (after loading win7 logo) is:STOP: c000021a {fatal system error} Installed Win7 Ultimate x 64. My bios version is 1.80 Someone has any idea how to solve this problem? Thanks for help

  • Pavilion Touchsmart 15-n022sa: upgrade of the HP Pavilion Touchsmart 15-n022sa wireless card

    I want to upgrade the Wifi card the currently disappointing Realtek RTL8188EE 802.11 b/g/n wifi adapter to the 802.11a/b/g/n Intel 6230 Wireless N WiFi Bluetooth BT 3.0 a half size PCI-E card dual band 2.4/5.0 GHz I heard much talk about the notrorio

  • Family photo sharing albums: everything?

    I can't find a clear article on this topic: If the family sharing is enabled, it is said that we * shared * album will be created "automatically". I have not seen elsewhere... (true: I was not choosing "photos" in the context of family iCloud because

  • Tungsten E2 - HotSync stuck to the appointment.

    All the previous sessions of the hot sync were no problem.   HotSync full this time, but showed the synchronization of the Agenda has been abandoned.  All the data calendar on the desktop was lost.  I tried to sync again.  Then he got stuck on the ag