Can't enforce sequence with polling adapter when faults

I'm trying to process records in sequence using a polling adapter and the update sequence table strategy
I have a polling adapter that invokes a composite app which calls an OSB service over http/soap.
polling adapter -> composite app -> OSB -> db adapter
On successful processing, the polling adapter updates a sequence table.
In the event of a fault, I expect the sequence table not to be updated and the failed record to be tried again on the next polling interval. However, even on failure, the sequence table is being updated.
My bpel component has the property
<property name="bpel.config.transaction" many="false" type="xs:string">required</property>
.. and a catch clause which throws a rollback on remote faults
The next polling interval picks up the next record and the problem repeats. We have then 'lost' the unprocessed record(s).
How can I force the polling adapter to block on failed records?
Thanks
Garret

Issue solved.
Setting jca.retry.count=unlimited causes the adapter to behave as we want.
We had set jca.retry.count = 1 on the mistaken understanding that this related only to a failure to query/poll the database, and that sequence number was updated in a separate context that needed a global transaction to coordinate/rollback.
We don’t even need to propagate our global transaction from polling adapter to bpel component since all our writes happen in an OSB transaction; Our bpel just (re)throws a fault back to the polling adapter which is enough to trigger retry.

Similar Messages

  • I forgot my iCloud password, and i can not reset it with email authentication, when i do it, i don't receive any mail from Apple

    I forgot my iCloud password, and i can not reset it with email authentication, when i do it, i don't receive any mail from Apple

    If you don't know your password, don't know your security questions and don't have a rescue address or don't receive a reset email, you should contact AppleCare who will initially try to assist you with a reset email or if unsuccessful will pass you to the security team to reset your security questions for you.
    If you are in a region that doesn't have international telephone support try contacting Apple through iTunes Store Support.

  • Can I get help with podcasts?  When I try to open the podcasts, itunes crashes, says "itunes has detected a problem and must close", or the spanish equivalent since my xp is in spanish.  everything else works fine, it even downloads podcasts and syncs.

    Can I get help with podcasts?  When I try to open the podcasts tab, itunes crashes, says "itunes has detected a problem and must close", or the spanish equivalent since my xp is in spanish.  everything else works fine, it even downloads podcasts and syncs.

    The only other thing I can suggest is to use the Repair option for iTunes.
    Download the iTunes programme (do not uninstall your current iTunes) and then "install" the new copy. At some stage you should see an option to "install" or "Repair". Take the Repair option.
    Once you've done that, if you still have a problem, I don't know what else to suggest, except to search through the discussions to see if anyone else has had the problem and managed to fix it.

  • Can we use sequences with strings?

    In Sql can we use sequence with strings? ......please tel me

    Hi,
    Sorry, sequences only generate numbers.
    You could write a function in PL/SQL which generates a string, based on the value it gets from a sequence.
    Edited by: Frank Kulash on Jan 22, 2009 2:31 PM
    Of course, you can convert the number to a string, like Salim demonstrated. I assume you're talking about something that generates, for example, 'A', 'B', ..., 'Z', 'AA', 'BB', ..., 'ZZ', 'AAA', ...

  • Stopping DB-Polling-Adapter when failure in mediator

    Hi
    I have a DB-Polling-Adapter that posts data directly to a mediator. When data is readed mediator does a logical delete, e.g 2 for field readstatus. So during reading readstatus is 9 and before 1.
    When a failure happens in mediator (during xsl-transformation) mediator throws failure back to DB-Polling-Adapter. The problem is now that state of readingstatus is still 9 and after each polling sequence adaptor reads and posts same data again and the failure happens also.
    Is there any posibility to send failure into error hospital and to set readstatus to 2, so that adapter doesn't poll the same data on and on? Catching mediator fault in fault-policies doesn't work.
    I found two solutions: 1. Send data from Polling-Adapter to BPEL, 2. Sematron validation but it doesn't cover all posible failures.
    Example failure during transformaiton:
    ORAMED-03303:[Unexpected exception in case execution]Unexpected exception in request response operation "execute" on reference "Convert_JDE-to-Common". Possible Fix:Check whether the reference service is properly configured and running or look at exception for analysing the reason or contact oracle support. Cause:oracle.tip.mediator.infra.exception.MediatorException: ORAMED-01201:[Error in transform operation]Error occurred while transforming payload using "xsl/F0006Collection_To_ProjectsCollection.xsl" for target part "reply".Possible Fix:Review the XSL or source payload. Either the XSL defined does not match with the payload or payload is invalid
    Thx a lot for help.
    Pascal

    Issue solved.
    Setting jca.retry.count=unlimited causes the adapter to behave as we want.
    We had set jca.retry.count = 1 on the mistaken understanding that this related only to a failure to query/poll the database, and that sequence number was updated in a separate context that needed a global transaction to coordinate/rollback.
    We don’t even need to propagate our global transaction from polling adapter to bpel component since all our writes happen in an OSB transaction; Our bpel just (re)throws a fault back to the polling adapter which is enough to trigger retry.

  • My MBP 13" can be used always with AC adapter?

    Simply (silly) question as subject.
    I primary use my MBP 13" connected to AC adapter and only few times it is used with battery. I guess it is not good for battery health and with company notebook I use to remove it while I use it at home with AC adapter (I can't do it with the MBP).
    What to do? any suggestion?
    thank you in advance
    G

    It will be fine to keep it connected nearly continuously to AC mains adapter. I've done that for years with PowerBooks and MacBooks, and MacBook Pro's. The charging system is very smart and won't harm the battery with overcharging. However, two things should be kept in mind.
    1. Don't let the laptop overheat. Heating a fully charged lithium battery reduces its charge capacity.
    2. A few times per month run the battery down to about 50% capacity to exercise it. Otherwise you may lose capacity faster than normal. Actually keeping it at 100% charge does somewhat reduce its shelf life, but removing the battery and risking data loss with power failures costs more than a battery.
    3. Every four months or so run the battery all the way down to the machine shutting itself off to recalibrate the capacity estimation system. This reduces physical charge capacity each time you run the battery all the way down, but is needed to keep the charge estimation systems in sync with the actual battery condition. Do not do this frequently.
    This regimen allows me to keep my batteries in good condition for years despite running 98% of the time on mains.

  • HELP! Can't drive tv with Video adapter

    Just bought the DVI to Video Adapter (M9267G/A) and tried to drive my TV using both an S-video and Composite video cable. No joy. I followed instructions on apple site: hooked up tv to adapter (it is on) and only then, hot-plugged the adapter into the MBP's DVI port. I see a brief flicker on the screen, but the TV's message "no signal" never disappears. Go to monitor controls and it only see's one display.
    I tried hooking up and then booting up... I've tried s-video then composite...same negative results.
    Anybody have a suggestion on what I'm doing wrong? I searched the forum and couldn't find any indication that this has already been answered.
    Thanks!
    2.16Ghz intel Core Duo 17"   Mac OS X (10.4.9)   RadeonX1600

    I've used the dvi-vga adaper to drive a projector. Inexplicably, I couldn't get it to drive my old apple display using the DVI to ADC adapter that I used to use to drive it with my previous 17" powerbook. Luckily, there is an apple repair center a few miles from my house. I'll take the adapter(s) and MBP in and see if they can trouble shoot. Makes me glad I bought applecare.
    Thanks

  • Why can't i register with e-fax when i am definately connected to the internet?

    I have an Envy 110 and I need to send a fax. But when I try to register it tells me that registration was unsuccessfull, check you are connected to the internet and try again. I am connected to the internet, so says the troubleshooting and also I can print documents sent from my computer. What do I do now?

    When I tried to register my printer would not take my email used a differnt one which it took with no
    problem.  Pin # has to be set for you to fax and receive faxes  GOOD LUCK

  • Can i plug a DVI-Video adapter when system is on?

    Apple manual says that i should shutdown my machine, but doing that many times a day is not very usable and since i have noticed huge GUI performance drop when using two monitors i cannot keep the DVI to Video adapter connected all the time.
    Thus i was wondering if it was safe to connect it in the fly then connect the Composite cable and turn on the TV?
    There should be no eletrical discharge in plugging a non powered adapter then a non powered composite cable.
    Also would removal be safe, i mean this by safe for the display adapter?
    I have tried and it works but i am just wondering how safe it is actually.

    It would be completely dependent on the graphics card you have. And I don't think I have ever come across a graphics card that says it is "hot swappable".
    I have from time to time, plugged and unplugged monitors while troubleshooting various problems, and not caused any damage. However, I would not think doing this on a regular basis is a good idea.
    My advice, if this is something you are routinely going to do, find another way.
    Tom N.

  • I can't access iTunes with Apple TV when iMac is asleep

    Even though home sharing is on, if my iMac is asleep, I cannot access iTunes with my ethernet-connected 3rd generation Apple TV. In Apple preferences "Wake for network access" is selected. I'm using Yosemite 10.10.1 on a mid 2011 iMac and iTunes 12.0.1.26.

    Hey Richard Reid1,
    Thanks for the question. If I understand correctly, Home Sharing is not working if the computer is asleep. I would recommend that you read these articles, they may be helpful in troubleshooting your issue.
    Troubleshooting Home Sharing - Apple Support
    If your computer is asleep or shutdown, or iTunes is closed, there's no access to the shared iTunes library. Wake up or start the computer and open iTunes to regain access to that library.
    About Wake on Demand and Bonjour Sleep Proxy - Apple Support
    Thanks for using Apple Support Communities.
    Have a great day,
    Mario

  • I have no sound on my ipad. unless its plugged into my haier external home dock/speaker. I can adjust the volume with the buttons when its plugged in. not when its not plugged in. I play music thru the dock, immediately when I take it off my sound shuts.

    Title.
    Docked into device (haier dock/speakers) sound works on everything fine.
    Not plugged in, nothing. Didnt work on ios6 or ios7. Ipad 3 32gb.

    Reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

  • Seperate Document Row with same account  when post GL

    Hello everyone
    How I can seperate Document Row with same account  when post GL
    because If I post dcoument that  have many rows but same account and difference detail. It will sum amount for same account in JE
    and I found that will seperate if it has diference project code but it's not enough for me.
    How I can config SAP B1 to seperate Doc row when post to JE if it has difference detail (as userfield or standard filed)
    Sorry for my poor english
    Thank,Seang

    Hello Suthee,
    Sorry to tell you, it is not possible to do so in current B1 without addon development.
    There are 2 alternative.
    1.Consulting Workaround:
    Seperate the Item into 2 items, the account into 2 sub accounts.e.g.
    Item A => Item A01 and A02
    G/L Account 1001 => Sub Account 100101 and 100102
    2.AddOn development to seperate the JE just after it is created document
    You can update to JE to seperate just after JE are created by docuemnts.
    Just Listen FormDataAdd Event.
    Sample Code:
    Private Sub FormDataEventHandler( _
        ByRef BusinessObjectInfo As SAPbouiCOM.BusinessObjectInfo, _
        ByRef BubbleEvent As Boolean) Handles oApp.FormDataEvent
            'I just listen 133 - AR invoice here,
            'You may add the target documents
            'Before action = true, start the transation
            If BusinessObjectInfo.FormTypeEx = "133" _
                    And (BusinessObjectInfo.EventType = SAPbouiCOM.BoEventTypes.et_FORM_DATA_ADD _
                    Or BusinessObjectInfo.EventType = SAPbouiCOM.BoEventTypes.et_FORM_DATA_UPDATE) _
                    And BusinessObjectInfo.BeforeAction = True Then
                oCompany.StartTransaction()
            End If
            'Before Action = false,
            'Update the JE in document
            'Succeed, commit, otherwise rollback
            If BusinessObjectInfo.FormTypeEx = "133" _
            And (BusinessObjectInfo.EventType = SAPbouiCOM.BoEventTypes.et_FORM_DATA_ADD _
            Or BusinessObjectInfo.EventType = SAPbouiCOM.BoEventTypes.et_FORM_DATA_UPDATE) Then
                If BusinessObjectInfo.BeforeAction = False And BusinessObjectInfo.ActionSuccess Then
                    Dim xmlDoc As System.Xml.XmlDocument = New System.Xml.XmlDocument
                    xmlDoc.LoadXml(BusinessObjectInfo.ObjectKey)
                    Dim objectKey As String
                    objectKey = xmlDoc.SelectSingleNode("//DocEntry").InnerText
                    Dim oDocument As SAPbobsCOM.Documents = Nothing
                    oDocument = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseOrders)
                    If oDocument.GetByKey(CInt(objectKey)) Then
                        Dim oJE As SAPbobsCOM.JournalEntries
                        oJE = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oJournalEntries)
                        If oJE.GetByKey(oDocument.TransNum) Then
                            '*Add you code to Update oJE lines here*
                            lRetCode = oJE.Update
                            If 0 <> lRetCode Then
                                oApp.MessageBox("Failed to update JE")
                                'roll back the whole transaction, including the document
                                oCompany.EndTransaction(SAPbobsCOM.BoWfTransOpt.wf_RollBack)
                                Exit Sub
                            Else
                                'Commit the transaction
                                oCompany.EndTransaction(SAPbobsCOM.BoWfTransOpt.wf_Commit)
                            End If
                        End If
                    End If
                End If
            End If
        End Sub
    Hope it helps. Thanks.
    Kind Regards
    -Yatsea

  • Can I use custom query in DB Adapter with Polling

    Hi All,
    I am getting problem while using db adapter with polling. Can I use custom query in db adapter with polling.
    I am using 2 tables; table 1 and table2
    Structure of table1 is as:
    File_name
    Batch_id
    Creation_date
    Status
    Structure of table2 is as:
    Batch_id
    Employee_ID
    Last_Name
    First_Name
    Middle_Name
    Group_ID
    Site_ID
    Dept_Num
    Report_id
    I have to use below query while polling to table1
    Select count(*) as NOSEXP, Report_id
    from table1, table2
    where table2.batch_id =
    table2.batch_id
    and table1.Status= 0
    group by Report_id;
    I mean, when I use DB adapter to poll table1, I have to use above query.
    Can you Please suggest on this.
    Thanks in advance.

    I will check for existance not based on Primary key but based on three other fields in the table. I think , by default DB adapter configured for MERGE checks for existance based on PK. Can we change the Primary Key in the mapping file after the DB adapter is configured. In that case , will it check for existance based on the fields , I mention.
    Edited by: user12020809 on Sep 16, 2012 6:08 PM

  • How can I stop an action sequence with another

    Hi,
    I am quite new to flash catalyst. I made a side with an office where you can click the phone to go to the status "phone". In there you should be able to call some virtuell people. I made buttons with names that trigger different action sequences with showing the name of the called person in the display and playing a sound file that sounds like a call. Now my problem is when I am clicking a different name while it is still in one action sequence, the other one shows up over the first and both sounds are playing at the same time.
    How is it possible to tell the action sequence to stop all others when it is started?
    Thank you for your help.

    Sorry, I'm a bit confused now. Just to clear this out:
    WDDOBEFOREACTION is for validating user inputs BEFORE Actions and HERE you can prevent actions from happening
    WDDOAFTERACTION is called JUST WHEN an action is happening for all visible Views (it's to prevent redundant code which would be equal for all event handlers)
    WDDOBEFORENAVIGATION is AFTER Actions and BEFORE navigation.
    Check the chart in the following Link (sorry it's german, english version seems not available, but the chart is in english nevertheless)
    http://help.sap.com/saphelp_nw73/helpdata/de/49/b8c706c7c26d7ce10000000a421937/content.htm
    In my opinion put an if clause into WDDOBEFOREACTION, check whether the respective field is filled; and in case it is filled, execute your method; if not, don't.
    That's why I am confused, you kind of answer your question within your question itself )) or I still don't understand what you want to accomplish.
    best regards, hope this helps you (if not, try to explain it even more detailed for me ;-D)
    Lukas

  • When i run a sequence with ivi step types in simulation mode i get the error code number BFFA0015 - Types do not match.

    When i run the sequence with ivi step types in simulation mode i get the error Types do not mathc. The step that generates this error is an IviScope step type and is configured as a measurement. Th weird thing is that in real mode is working perfectly. I have three measure steps and i get the error in all of them. The exact error message is:
    UUT Result: Error, Error executing substep 'Post'. An exception occurred calling 'RunStep' in 'ISubstep' of 'TestStand Ivi Step Types 1.0 Type Library' An error occurred while executing the step. Component Works IVI Control Error: The IVI Read operation failed on channel '1' for logical name 'SampleScope'. Details: (1
    ) Types do not match. [IVI Error Code: BFFA0015] Source: TSIviStepTypes [Error Code: -30721, User-defined error code.]
    Can someone tell me how to fix this problem?. It seems to me that the simulation generates a diferent type of measurement of that generated in real mode.

    Update:
    The simulation driver appears to be raising the error. By switching to specific driver simulation the error does not occur. This may be a problem in either the class simulation driver or the specific driver.
    Scott Richardson
    National Instruments

Maybe you are looking for

  • Infinite waiting!

    I have been using BT broadband,sky sports 1 and 2, ESPN, BT vision for 18 months and the service has been on the whole very good Up until the last few months.  My wife gave birth on the 21st October and due to breast feeding she is spending a lot of

  • How to disable fields in a report at runtime

    Hi All,         i want to know is there any method to disable a particular field on the selection screen of a report program at runtime.... For example ... if i have two select options on the screen and i want to disable the second field if anything

  • "Unable to Download Podcast" error after upgrade to iOS7 - iPhone 4S

    Hey all, Since upgrading to iOS7 on my iPhone 4S, the Podcasts app is no longer able to download new Podcasts directly from the app. I keep getting the error "Unable to Download Podcast" with the option to Retry, which always fails. This happens on b

  • EyeTV vs Rogers (Cable Company) PVR

    Ok, so I'm mulling over options for creating a home theatre with a limited budget (around 800-100 total, with pvr, and some output to play audio/mp4/etc off a computer. I haven't bought the TV yet, but it's likely a 37" Dynex LCD TV with HD input (on

  • Rotate Brushes

    I asked about this process in the Photoshop forum, but was directed to post the request here. I have CS4 and a Wacom Tablet. Currently, we can change the brush size and softness with keyboard shortcuts. I can also change the brush size by using the r