Compensation handler and compensate activity doesn't work

Hi!
i'm trying to build process with compensation handlers and it doesn't work .. to test it i made the following example:
in scope_1 there is simple assign_1 and in compensation handler there is assign_2. after scope_1 i throw error and in catchAll branch i have compensate activity - calling compensation of scope_1. But that compensation activity is never invoked! can please someone tell me why? what am i doing wrong?
I have bpel 10.1.2 ...
Thanks, Tomas
This is the source of my process:
<process name="pokusy" targetNamespace="http://xmlns.oracle.com/pokusy"
xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
xmlns:ns4="http://xmlns.oracle.com/pcbpel/adapter/db/all_keycodes/"
xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns5="aa"
xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
xmlns:client="http://xmlns.oracle.com/pokusy"
xmlns:ora="http://schemas.oracle.com/xpath/extension"
xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc">
<partnerLinks>
<partnerLink name="client" partnerLinkType="client:pokusy"
myRole="pokusyProvider" partnerRole="pokusyRequester"/>
</partnerLinks>
<variables>
<variable name="inputVariable" messageType="client:pokusyRequestMessage"/>
<variable name="outputVariable" messageType="client:pokusyResponseMessage"/>
</variables>
<faultHandlers>
<catchAll>
<sequence name="Sequence_2">
<compensate name="Compensate_2" scope="Scope_1"/>
<assign name="Assign_3">
<copy>
<from expression="concat(bpws:getVariableData('outputVariable','payload','/client:pokusyProcessResponse/client:result'),'after compensate..')"/>
<to variable="outputVariable" part="payload"
query="/client:pokusyProcessResponse/client:result"/>
</copy>
</assign>
<invoke name="Invoke_1" partnerLink="client"
portType="client:pokusyCallback" operation="onResult"
inputVariable="outputVariable"/>
</sequence>
</catchAll>
</faultHandlers>
<sequence name="main">
<receive name="receiveInput" partnerLink="client" portType="client:pokusy"
operation="initiate" variable="inputVariable" createInstance="yes"/>
<scope name="Scope_1">
<compensationHandler>
<assign name="Assign_2">
<copy>
<from expression="concat( bpws:getVariableData('outputVariable','payload','/client:pokusyProcessResponse/client:result'),'...COMPENSATE!!!')"/>
<to variable="outputVariable" part="payload"
query="/client:pokusyProcessResponse/client:result"/>
</copy>
</assign>
</compensationHandler>
<sequence name="Sequence_1">
<assign name="Assign_1">
<copy>
<from expression="concat(bpws:getVariableData('inputVariable','payload','/client:pokusyProcessRequest/client:keyCode'),'...first assign...')"/>
<to variable="outputVariable" part="payload"
query="/client:pokusyProcessResponse/client:result"/>
</copy>
</assign>
</sequence>
</scope>
<throw name="Throw_1" faultName="ns5:aa"/>
<invoke name="callbackClient" partnerLink="client"
portType="client:pokusyCallback" operation="onResult"
inputVariable="outputVariable"/>
</sequence>
</process>

this might be caused by a bug I found too causing eventhandlers not to work, the work round in your case would be:
blar blar blar
</variables>
<!-- start work round --><scope><!-- end work round -->
<faultHandlers>
blar blar blar
blar blar blar
</sequence>
<!-- start work round --></scope><!-- end work round -->
</process>
i.e. what I'm saying is that top level handler don't work since they are ignored by the engine because they are not in a scope. Try it and see....

Similar Messages

  • How can I activate an old version of Photoshop that I've loaded on my new tablet? The web activation doesn't work, and when I call the number, it says it's not being used anymore. Meanwhile, I'm down to 13 days till it stops working due to not being activ

    How can I activate an old version of Photoshop that I've loaded on my new tablet? The web activation doesn't work, and when I call the number, it says it's not being used anymore. Meanwhile, I'm down to 13 days till it stops working due to not being activated. HELP?  I really need to continue using this product for my home business.It works fine not activated but the threat is that it will stop working in 13 more days if I don't get it activated, and none of the activation methods they list seem to work.

    The new serial number is to the right of your chosen download.

  • My iphone 5 went into search mode and I can't place or receive calls or use the internet but my text messages work. Sprint had me do a master reset and my phone doesn't work at all now I can't get it past the activation. Will I have to pay in store?

    My iphone 5 went into search mode and I can't place or receive calls or use the internet but my text messages work. Sprint had me do a master reset and my phone doesn't work at all now I can't get it past the activation. Will I have to pay for repairs in store because I didnt get the Apple care plan when I purchased it. Sprint said it may be a phone problem not sure if I should take it to Sprint or Apple...I just need my phone

    I'm sorry to learn that you are not able to make/receive calls chelseabee! (ticket number removed) results indicate that there is no issues with the network or account provisioning. Since you have already done a hard reset http://vz.to/1gBkSJc (as per your post), I recommend exploring replacement options. If your phone is within the one year manufacturers' warranty we can provide a Certified Like New replacement http://vz.to/uyYF0o as long as no physical/liquid damage exist. If your phone has sustained physical/water damage and you have insurance, you can submit a claim to the insurance company online at this link http://bit.ly/07CrqPK
    AntonioC_VZW Follow us on Twitter at www.twitter.com/VZWSupport
    >> Edited to comply with the Verizon Wireless Terms of Service <<
    Edited by:  Verizon Moderator

  • I have install io6 and now Music doesn't work, sometimes it stay with a blank page with no possibility to press anithing, sometimes it crash. I have match music active with more than 15000 title. Someone could help me?

    I have install io6 and now Music doesn't work, sometimes it stay with a blank page with no possibility to press anithing, sometimes it crash. I have match music active with more than 15000 title. Someone could help me?

    What is your current Flash Player version: http://helpx.adobe.com/flash-player/kb/installation-problems-flash-player-windows.html ?
    What is your display adapter, driver version & date?  See http://forums.adobe.com/thread/945765

  • Application Restart and Recovery APIs doesn't work for windows services

    I am using the Application Restart and Recovery mechanism (provided in Windows API Code Pack for Microsoft.NET Framework) to collect some information (i.e. stack information when there's an unhandledexception)  before my windows service crash down.
    It works well for windows form applications, but the callback method wouldn't be called if the host is a windows service. 
    I have checked the article: https://msdn.microsoft.com/zh-cn/subscriptions/downloads/cc303708
    But it doesn't specify clearly whether it works for a windows service. It seems that the recovery will only be activated when the user interacts with the error dialog of Windows Error Reporting (clicking "close" on the dialog, for example).
    So I am wondering is my guess right that the Application Restart and Recovery mechanism doesn't work for windows services. Or is there a better way to meet my requirement? 

    I would suggest trying ARR if that's what you want to use.  The restart portion won't work, but it doesn't need to as if you fail out of your service, the Windows service controller will handle recovery (up to and including restarting your service).
     You configure those recovery actions either through code or one of the built in administrative tools for services such as services.msc.  
    DebugDiag/ADplus and similar tools ultimately do use built-in APIs; you don't need to add anything external to collect debugging information.  You do however have to write a good deal of code to do somethings.  It's pretty simple to use the unmanaged
    function that I pointed out before and
    MiniDumpWriteDump to write a minidump when you hit an unexpected error(the dbghelp.dll that comes installed with Windows has it so you don't need anything additional installed).  You can even write a basic debugger that literally debugs a process using
    only kernel32 functions (see
    https://msdn.microsoft.com/en-us/library/windows/desktop/ms679301(v=vs.85).aspx if you're interested).  
    WinSDK Support Team Blog: http://blogs.msdn.com/b/winsdk/

  • Using Office 2013 group policy template to define Trusted Locations and Template Locations doesn't work

    User Configuration/Policies/Administrative Templates
    - Using Office 2013 group policy template to define Trusted Locations and Template Locations doesn't work
    Microsoft Word 2013/Word Options/Security/Trust Center/Trusted Locations
    - Allow Trusted Locations on the network: 
    Enabled 
    - Trusted Location #1: 
    Enabled 
    Path:  //server/sharedfoldername   [Edit:  Path:
    \\server\sharedfoldername]
    Date: June 10, 2013
    Description: Trusted Location
    Allow sub folders: Enabled
    The policy appears to apply to the client correctly by adding the following registry key and values:
    HKEY_CURRENT_USER\Software\Policies\Microsoft\office\15.0\word\security\trusted locations\location1
    allowsubfolders: 1
    date: June 10, 2013
    Description: Trusted Location
    Path:  //server/sharedfoldername  [Edit: Path: 
    \\server\sharedfoldername]
    However, when you open Word Options/Trust Centre/Trust Centre Settings…/Trusted Locations
    There are no trusted locations listed under ‘Policy Locations’
    I have tried setting similar settings for setting the Shared Templates folder location and just like the trusted locations policy, the registry keys are created properly in HKEY_CURRENT_USER\Software\Policies however word doesn’t
    seem to recognize these either.
    This used to work flawlessly using the administrative templates for Word 2007 and 2010. Has anyone been able to get these policies to apply successfully, or know why office doesn’t recognize these settings from the Policies registry
    Key?

    This would have been an easy solution to the issue.  Unfortunately it isn't the problem.  This question was originally posted on another Microsoft site and
    was transferred here and when it was transferred the path's changed from the original post: 
    \\server\sharedfodlername to //server/sharedfoldername.  (I will edit the question to show up as it did in the original post) Not sure how that happened.  This
    is still an issue that I haven't been able to get working correctly.
    As it turns out the 'New from Template' interface Word 2013 has developed is very bulky with large thumbnails and is not very customizable nor practical for an office
    that has a large number of templates.   Because I am unsatisfied with the display and performance of the 'New' template chooser I sought after a solution to change the way word creates a document from a template in another thread: 
    http://answers.microsoft.com/en-us/office/forum/office_2013_release-word/how-can-you-change-the-display-of-templates-in/d49194b9-a6b4-4768-8502-7d7b50e9dd65 working through this issue with Jay we were able to develop
    some VB script with handles a very large number of templates in a list view and it works much faster than the built-in Word interface.  The above thread is how I've worked around trying to define a shared template location and I am quite happy with it.

  • Mac Mail Version 6.0 (1486) has stopped recieving mesages regularly and the search doesn't work

    Mac Mail Version 6.0 (1486) has stopped recieving mesages regularly and the search doesn't work.
    Since installing Mountain Lion, Mail seems to be very unresponsive. I have mac mail running on an iMac (which works fine) and a 2012 MacbookPro which is the one having the issues with the Mail app. Both computers are running on Mountian Lion.
    When I scroll up in Mail for instance, the frame rate drops to about 5 a second.
    When I click on a message it doesn't display it in the preview pane. Which is very annoying!
    But I can get around the issue by double clicking on a message and it opens up the message in a new window.
    When I search for a message, nothing appears in the results. Even if Im searching for something that is defiently there, eg if I type in my name, you'd think some results would come up. But when I click on something else, the results dispaly for about half a second. Bizarre. Is anyone else having this problem?

    what kind of error in browser you are seeing?
    is search service application never starterd or its started but cannot crawl?
    did you see the timer jobs related to search services and what's their status?
    so what about the search results from site collection?
    also make sure this service "SharePoint Search Host Controller Service" started on all servers in the farm.
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog
    In the browser I receive the following error:
    The search service app is running, doesn't crawl:
    Yes, I can see the timer jobs related to search services, some of them are Succeded, others are Scheduled.
    The service SharePoint Search Host Controller Service is started in the first server of the farm, but not in the second
    one. When I try to start it, I receive the following error:
    Windows could not start the Sharepoint Search Host Controller Service on Local Computer. Error 1067: The process terminated unexpectedly.
    Melvintt
    MCTS, Windows Server 2008 R2: Network Infrastructure
    MCTS, Windows Server 2008 R2: Active Directory, Configuring

  • Yosemite and Photoshop Elements doesn't work. Can anyone help

    I have recently updates my mac software to Yosemite and Photoshop Elements doesn't work. Can anyone help

    Hi,
    We sincerely apologize for the problem customers are facing while using a trackpad with Photoshop Elements 11 & 12 on Mac OSX 10.10 (Yosemite).
    We have been actively working with Apple to resolve this problem as quickly as possible. We're hopeful this will get completely resolved in an upcoming update of Yosemite(MAC 10.10).
    In the meanwhile, you have two options to work around this problem:
    1. Option1: Use a mouse instead of the trackpad
    2. Option2: Install a plug-in which should workaround the problem
    Plug-in installation instructions:
    1. Close Photoshop Elements
    2. Download this zip file to a location you can easily find (e.g. your desktop)
    3. Unzip the file, WhiteWindowWorkaround.plugin, and move it to the Plug-In folder:
    • For Elements 12 – //Applications/Adobe Photoshop Elements 12/Support Files/Plug-Ins/
    • For Elements 11 - //Applications/Adobe Photoshop Elements 11/Support Files/Plug-Ins/
    You can verify the plug-in is installed by launching the Photoshop Elements Editor and choosing Help > System Info... Scroll to the bottom of the text in the dialog and look for the plug-in name "WhiteWindowWorkaround.plugin".
    Note: This plugin is a temporary workaround and should be used until this issue is addressed in Mac OSX 10.10 (Yosemite). Please remove this plugin once the issue is officially resolved by Apple.
    If you are using a stylus in conjunction with a trackpad, you might see issues with your trackpad. Workaround in this particular case is to use mouse instead of the trackpad.
    Hope this helps!
    Regards,
    vaishali

  • Last week, I had no problems streaming my MacBook Pro to my sony Bravia with a logix hdmi cable. I came back from holidays and now it doesn't work anymore.  What settings should my computer be on and what settings should my tv be on?

    Last week, I had no problems streaming my MacBook Pro to my sony Bravia with a logix hdmi cable. I came back from holidays and now it doesn't work anymore.  What settings should my computer be on and what settings should my tv be on?

    TarahCurrie Sep 10, 2014 3:48 PM
    Restore From Time Machine Backup
    Reinstall OS X
    Get Help Online
    Disk Utility
    MacBook Pro, Mac OS X (10.5.8)
    You are running 10.5.8
    Did you try booting off your Install disk holding the c key down.  From here you can get to the drop down menu just a few clicks in (you are not going to install) and run  the Disk Utility>Repair Disk.  See if it will let you do this.

  • HT1657 I rented a movie and the sound doesn't work, how do I fix it?, who do I direct to for a complaint?

    Hi, I rented warhorse HD, and the sound doesn't work, my itunes version is 10.6.1(7). How do I fix it or who do I direct to get my money back? Thank you

    I'd report the problem to the iTunes Store.
    Log in to the Store. Click on "Account" in your Quick Links. When you're in your Account information screen, go down to Purchase History and click "See all".
    Find the item that is not playing properly. If you can't see "Report a Problem" next to the entry, click the "Report a problem" button. Now click the "Report a Problem" link next to the item.
    (Not entirely sure what happens after you click that link, but fingers crossed it should be relatively straightforward.)

  • My new iMac has recently had OSX Lion installed on it and now when I start the machine it looks like its updating something every time, and the wireless doesn't work. So I restart and everything is OK - until I have to start up again the next time?

    My new iMac has recently had OSX Lion installed on it and now when I start the machine it looks like its updating something every time, and the wireless doesn't work. So I restart and everything is OK - until I have to start up again the next time - then I have to repeat this again! Any help appreciated.

    I've been having the same issue, but have just discovered something on my own that hasn't been pointed out in any of the forums I've visited.  In what I thought would be a vain attempt to help myself, I went to System Preferences, Users & Groups, and then clicked on Login Items.  I discovered that one of the Items that was listed to open automatically upon login was iTunes Helper and that there was an exclamation point beside it indicating that it was incompatible.  I simply deleted that item and now I don't have the situation you described and my wireless is connected.  Hope this helps!

  • On any page that I have to log in Firefox stops responding and has to shut down. I've tried resetting it and it still doesn't work.

    I've been having this problem for a while now and I can't seem to fix it. Any time I log into any page, Firefox says not responding and I have to restart it. I have to run all of firefox in safe mode if I log out of my email or facebook. I've tried resetting FF and it still doesn't work.

    ''' "I have to run all of firefox in safe mode if I log out of my email or facebook. " '''
    Please explain what you mean by '''all of firefox'''. You're either running in the Firefox SafeMode or you're not. There's no "all" or partial SafeMode.
    Please see this: https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode

  • How do i copy content from one hard rive to another through my macbook air? the copy and paste option doesn't work

    How do i copy content from one hard rive to another through my macbook air? the copy and paste option doesn't work

    It's because of the extension of the hard drive is a Windows extension ( most likely MSDOS or Ex-FAT), meaning you can only read but not write. If there are no important files (or you can copy the whole thing to your computer/mac) you can just reformat the hard drive and change the extension to NTFS (readable and writable on both windows and mac) or Mac OS Extended (readable and writable on Mac, readable on windows).
    Go to DISK UTILITY
    Choose the Hard Disk you intended
    ERASE
    You can choose either
              (I personally prefer this one, you know just in case)

  • Can you restore from an older iCloud back up (July 3rd), and if it doesn't work RE restore from a new iCloud (July 14th)?

    I upgraded my 4S to a 5 on July 3. I had updated my back up to iCloud that morning (but it had also updated the night before). It did NOT restore from back up ANY games (I play one all the time and had a year and a half's worth of work in it!!!) But, I assumed it didn't do that, because it DID pull my contacts, though it didn't pull my email or my texts or anything. On July 13th I had to swap the 5 out for a new 5 because the first one was glitching. When I restored from back up this time (the date on it was July 12th) it pulled EVERYTHING!! I would like to try to reload the one from the 3rd to see if it will work now, but I hate to loose everything again! Can I load the 3rd's back up and if it doesn't work, RE load the back up from now? And even if I could do that, HOW do I do it?

    This is my boilerplate respone for the "waiting apps" problem. Give these suggestions a try in order.
    1. Tap the "waiting" icon and see if you can pause it. If it does pause, then tap it again and see if it will resume. If that works, repeat the same steps for each "waiting" icon.
    2. Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    3. Make sure that you do not have a stalled download in iTunes - if you have a download in there that did not finish, complete that one first.
    4. If that doesn't work - sign out of your account, restart the iPad and then sign in again.
    Settings>iTunes & App Store>Apple ID. Tap your ID and sign out. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Go back to Settings>iTunes & App Store>Sign in and then try to update again. Tap one waiting icon only if necessary to start the download stream.
    5. You can also try deleting the waiting icons - tap and hold down on an icon until it wiggles - the tap the X on the icon to delete it. Then try to download again. Apps may also be able to be deleted in Settings>General>Usage>Storage if you cannot get the X to pop up on the icon.
    6. You can try resetting all settings. Settings>General>Reset>Reset All Settings. You will have to enter all of your device settings again.... All of the settings in the settings app will have to be re-entered.
    7. If all else fails, download the updates or the apps in iTunes on your computer and then sync the content to your iPad.

  • Help - Font Book and font Library doesn't work

    I've just updated to a new iMac on Yosemite, and Font Book doesn't work. Neither does putting fonts into the "Library"
    There is a range of fonts that ARE working that are already in either place, but some (that worked up until two days ago in my old Mac running OS 10.6.8) just won't work.
    If I select the fonts in Font Book, Font Book doesn't load them. If I put them in the Library, they don't appear for use in any application.
    As a designer, updating fonts is essential, and if this can't be fixed I'm in serious trouble! So any advice welcome!

    We see posts like this here all the time. A person upgrades to a new OS, and Font Book suddenly stops working. Usually, the problem is that Font Book's database has been trashed by the upgrade with the very common symptoms you're seeing. You suddenly can't add fonts, and fonts Font Book says are open don't appear in some, or any apps.
    Restart your Mac and immediately hold down the Shift key when you hear the startup chime to boot into Safe Mode. Keep holding the Shift key until you see a progress bar towards the bottom of the screen. You can let go of the Shift key at that point. Yosemite is a bit different. Whether it's a Safe Mode boot or a normal one, you get the same progress bar. It just takes longer to get to the desktop in Safe Mode. So hold the Shift key until you get to the desktop.
    OS X asks you to log in (you will get this screen on a Safe Mode boot even if your Mac is set to automatically log in). Let the Mac finish booting to the desktop and then restart normally. This will clear Font Book's database and the cache files of the user account you logged into in Safe Mode.
    If that alone doesn't do it (it should), then clear out all of the font cache data.
    Close all running applications. From an administrator account, open the Terminal app and enter the following command. You can also copy/paste it from here into the Terminal window:
    sudo atsutil databases -remove
    Terminal will then ask for your admin password. As you type, it will not show anything, so be sure to enter it correctly.
    This removes all font cache files. Both for the system and the current logged in user account. After running the command, close Terminal and immediately restart your Mac.

Maybe you are looking for

  • Can't check photos to import in full screen preview

    Hi All, Bit of a frusting bug, unless I misunderstand it,  but when I import photos using Aperture from a SD card, I can only do so in the tiled view (max 9 photos to a screen on my 21" Mac) I'd much prefer to select the files to import in the much l

  • Table for depot excise invoice

    Hi everyone, I want to know that from which table we can list out excise invoice numbers under depot sale excise invoice (J1IJ). Regards Prabudh

  • Dm package(process chain: /cpmb/load_infoprov_UI)

    HI Friends, i'm trying to load data from bw cube to bpc, using data manager package(based on process: /cpmb/load_infoprov_ui). Which allows user to selectively load data. With this DM package,  succsfully loaded data for few combinations, but i faile

  • Two dimension in JTable and date.

    Hi, Can anyone show me or teach me how to create two dimension in JTable. The column is time ie 12pm-1pm, 1pm-2pm.......3am-4am, and the row is monday, tuesday .....sunday.And row should consists of day and date ie monday 1/4,tuesday 2/4.....sunday 8

  • Video Rotation iMovie 10.0.5

    Hello, Please, how do I rotate a video on iMovie 10.0.5. Looked on the forums already, but the answers were for other versions of iMovie. (Where for instance one would create a "new project", mine says "new movie".) Thank you for your help, Gen