JDBC Sender - ORA-08177 on UPDATE, but Table is updated - no message

Hi,
I have a problem with JDBC Adapter:
I use a JDBC Sender adapter, polling every minute on an Oracle DB.
I use isolation level "serializable".
No what happens sometimes is, that the update statement fails because of "ORA-08177: can't serialize access for this transaction", so no message is forwarded to the IS. Curiously, the entries in the table are updated, so the JDBC Driver seems to update the data anyways.
Has anybody experience with similar problems? This is a really hard issue because no messages are transmitted althought the condition field in the table is updated and everything seems normal. Also the status light of the communication channel will be green again after a while, so it is really hard to trace.
System:
XI 3.0 SP20
ORACLE 8.1.7.4
I use the following statements with a rownum limit:
select ... from TABLE where CONDITION = '_to_send' AND rownum <= 20 order by NACHRICHT_ID
update TABLE set CONDITION = '_sending' where PRIMARY_KEY in (select PRIMARY_KEY from TABLE where CONDITION = '_to_send' and rownum <= 20)
(just to complete the picture...)
This message goes to BPM, where it is split into single messages. These messages are processed separately, and after an successfull processing an update statement is sent back to the DB:
update TABLE set CONDITION = '_processed' where PRIMARY_KEY = <PK of processed message>
So the condition "_sending" is an interim status for the messages sent to BPM, but not finally processed.
What happens is, that the receiver of the messages complained about missing messages. I could find some messages in the interim status, but no message has ever been sent.
I appreciate any help.
Thank you very much.

Sainath Chutke wrote:
As you have used the Isolation level as serialiable whenever the transaction fails the data gets updated because once the transaction reaches the end of the adapter level processing " the update statemnets gets executed " Irrespective of whether the transaction is sucessful or failure."
Curiously, the select statement does not throw the error, the update statement does. But even though the update statement does not work (ORA-08177), it works (rows in DB are updated). That is what causes headache to me.
Try to change the Isolation level and get the message id generated using an UDF.´
Sorry, but I do not completely understand what you suggest here.
My needs are:
- select rows that fulfill condition (limit to a max number per poll interval)
- update the selected rows to not fulfill the condition any more (to not double sent data)
- the update statement must update exactly the same rows that have been selected before (transaction)
or in other words:
I need to make sure the data is sent only once and exactly once.
If your idea can satisfy these needs, I kindly ask you to explain it more detailed.
Thank you very much.

Similar Messages

  • Effects of Updating GRPO table from Update Query..

    Hi all,
    Wanted to know what are the repercussions of updating GRPO table with Update statement, Basically the client is not selected Project field in the GRPO rows in some of the documents during the Posting. Now the same is to be updated, as Invoices are created for most of them and payments also made document is un-editable.
    If i can update using UPDATE statement how will the system react? I know as per SAP guidelines, we cannot update the SAP Tables directly using INSERT or UPDATE statements but wanted to know what is the further effect on postings and SAP as a whole.
    Regards
    Rohan

    Hi,
    The using of update, insert or delete are not allowed in SAP B1. If you use it in B1 db, the maintenance contract with you will be stopped and your money will not be returned. The consequence of using the statements is the database inconsistency.
    Just an info, SAP AG support will use insert, update and delete statement only if the statements are needed and fix the db inconsistency. E.g., if your user is trying to add sales order and after add, the sales order row is empty and header is not empty. SAP will use  the statement to fix the database only if the cause of the error is explained to them. E.g. the server is suddenly shutdown because  the power supply is stopped and it made the sales order like that
    JimM

  • I try to open iphoto and it comes up with You have made changes to your photo library using a newer version of iPhoto. Please quit and use the latest version of iPhoto. I have downloaded photo manager and it's telling me to update but it wont update...

    I try to open iphoto and it comes up with You have made changes to your photo library using a newer version of iPhoto. Please quit and use the latest version of iPhoto. I have downloaded photo manager and it's telling me to update but it wont update...

    iPhoto is Apple's included program to manage your photo's and pictures.
    It receives updates over time with Software updates and new machine or iLife purchases.
    When iPhoto gets updated or a newer version is used, it may alter iPhoto support files, but newer iPhoto versions usually always compatible with older files which it then updates.
    If you used a newer iPhoto on your iPhoto support files, then they got altered to the newer format, older iPhoto versions can't read the older format.
    Somewhere along the line you somehow got a older version of iPhoto on your computer, you need to fine the newer version of iPhoto (not this photo manager, sounds like another program)
    Or somewhere along the line you used a newer iPhoto version (like on another Mac) and it altered the iPhoto support files on your older version of iPhoto.
    So the key here is to find the newest version of iPhoto and use that to access your iPhoto support files.
    If you didn't access your iPhoto support files from another Mac, then you should have the newer iPhoto version on your computer.
    Once you find it, and get it in the Dock, you should remove the older iPhoto version from your computer to prevent this from happening again.
    Lastly, if the newer version of iPhoto is somehow gone off your computer, you should be able to get a copy off the latest OS X install disk or iLife using a free program called Pacifist.
    http://www.charlessoft.com/
    Then you need to check for updates for iPhoto in the program itself, the current version is 9.1.2

  • Requires to update plug-in JAVA. I update, but всеравно shows update a plug-in

    Requires to update plug-in JAVA. I update, but всеравно shows update a plug-in

    Duplicate of this question:
    https://support.mozilla.org/en-US/questions/950060
    It's an advertisement designed to trick users into installing undesirable software.

  • Safari and Firefox quits unexpectedly after attempting to attach or upload a file online. I checked for software updates, but no pending updates were found, I'm running OS X vr 10.5.8.

    I checked for software updates, but no pending updates were found, I'm running OS X vr 10.5.8.

    None of the above answers have helped me.

  • Angry Birds application appears in App Store for update but i cannot update it.

    Angry Birds application appears in App Store for update but i cannot update it. I haven't bought this but still it appears in app store. If i try to update it, it shows someone else apple id and if i use my apple id then it fails to update. How can i get rid of it.

    Post here:
    https://discussions.apple.com/community/mac_app_store

  • Hey guys . . how come I get updates, but can not updates them as they are "not applicable" for the "version" of the pad?, hey guys . . how come I get updates, but can not updates them as they are "not applicable" for the "version" of the pad?

    hey guys . . how come I get updates, but can not updates them as they are "not applicable" for the "version" of the pad?, hey guys . . how come I get updates, but can not updates them as they are "not applicable" for the "version" of the pad?

    The only people who can possibly assist you with this is Apple Customer Relations, call your local Apple contact number and ask for Customer Relations then explain your situation clearly and politely (be firm but don't rant).
    You might want to investiage what the local laws are regarding defective goods and 'fit for use' definitions on warranties etc. Consumer Protection can be a useful tool to use or bargain with if needed ...

  • When I went to open creative cloud, it said it needed an update, but after I updated it now can not get it to open up

    When I went to open creative cloud, it said it needed an update, but after I updated it now can not get it to open up

    what do you see when you try to open it?

  • HT4623 I can't download The Bible ap because I need 4.3 update but all the updates are done on my iPad

    I can't download The Bible ap because I need 4.3 update but all the updates are done on my iPad
    <Subject Edited by Host>

    The original iPad can be updated to iOS 5.1.1. All more recent iPads can be updated to iOS 6.1.
    If your iPad is running an iOS version prior to 5.0 you must update the iOS by connecting the iPad to your computer.
    Start iTunes on the computer you normally sync with and connect your iPad.
    Select your pad in iTunes on your computer.
    Select Summary from the row of tabs presented.
    Scroll down under Summary to find Check for Updates.
    Follow the prompts. You might also disable virus protection software on your computer while doing the update. You can turn it back on when the update is complete.

  • HT201210 I had problem my the new ipad that show notify to update but can not update that update page show blank page

    I had problem my the new ipad that show notify to update but can not update that update page show blank page

    Try updating from here:
    App Store>Purchased>Select All
    Note: You'll have to look out for apps with the "Update"

  • Update in JDBC Sender adapter for more than one table

    Dear Friends,
              I have to select more than one table in the JDBC sender using the join condition. But i found that update statement is also mandatory in the sender comm channel. I am not going to update any flag after the select but as it is mandatory, i have decided to use the following update statement which wont effect the existing data UPDATE <tablename> set flag = ' ' where flag = ' '.
    But in my case i have 3 tables, do i need to update stmts for all the three tables.
    if yes how can i do the same.
    plz revert back i u couldnt get the queries.
    Thanks
    Prem

    HI
    UPDATE T1
    Set T1.flag =1
    where T1.columnA=value1 and T2.columnB=value2
    where T1 and T2 are tables in the same database,
    and the values (value1 and value 2 ) are provided to XI by SAP based on which the flag need to be updated in T1
    write a stored procedure specifying the join and call it in XI.
    For doing it in SQL statement only reffer to the below link ..sur you will get help .
    Multiple records update using JDBC
    Regard's
    Chetan Ahuja

  • ERROR (ORA-01002)  when Ioading a table by UPDATE/INSERT

    I get the error message ORA-01002 ( Fetch out of sequence ) when I am loading a table by UPDATE/INSERT.
    At de Runtime Audit Viewer the process of loading update a number of register, in that case 44.050 and to the left register I get the error message that I show above.

    Can you please give us some details about your source and targets. I have used UPDATE/INSERT but I did not get this kind of error.
    rgds
    -AP

  • Updating multiple tables from updatable report

    Hi, I'm new to APEX and SQL and need some help
    I've got 2 tables, one for person (containing employee_id which is the primary key and position_id, which shows the position that the employee fills, and some others) and one for position (containing position_id as primary key and current_inc, which shows which employee is currently in that position, and various others). All variables are varchar2.
    Now I've made an updatable report for the person table that can add and update the table without problems using a multi row update, but I also want if to update the value of current_inc in the position table if I were to assign a position to a certain employee in the person table.
    I've though of using either a trigger or a procedure to do it but havn't been able to find satisfying examples online.
    Any suggestions on how to do it (please include sql code)
    Thanks
    V

    Instead of trigger on view... Create a view with the tables you want updated, then build and instead of trigger on the view to handle the updates between tables See this blog entry for an example: http://dgielis.blogspot.com/2006/09/updateable-view.html
    Thank you,
    Tony Miller
    Webster, TX

  • Installed 10.6.8 Server Combo Update, but can't update Server Tools to 10.6.8?

    Hello all,
    I installed the 10.6.8 combo update for my xserve earlier today. I also need to update the server tools to 10.6.8 since I am trying to create a new NetInstall image from a .dmg that is running 10.6.8.
    The server tools update has always shown up in the past in Software Update, but I didn't see it this time around so I went and found what looks like the download link for it: http://support.apple.com/kb/DL1403.
    Anyway, I get it downloaded and go to install it, and it says my Server HD does not have Mac OS X installed, and it will not install the update.
    I have the 10.6.8 Server Tools installed on my imagebuilder, but it isn't setup with the right workflow and it would be a hassle to get that going.
    Has anyone else had any problems getting the 10.6.8 server tools installed on their xserve?

    @m.mills: I'd be interested to see what your workflow looks like for your image using the 10.6.7 SIU on 10.6.8 Server? I have been struggling trying to get NetInstall or NetRestore to work using this tool. For NetRestore, it tries to install on the MBP, but fails after a minute or two with this error:
    Unable to set '10.6' as boot disk: The bless tool was unable to set the current boot disk."
    I am using the 10.6 retail DVD as source. I have a very basic workflow:
    * source DVD 10.6
    * Enable Automated Intall; install to volume name: 10.6, erase before installing
    * Apply System Configuration Settings - (apply computer name and local hosts setting)
    * Add 10.6.8 combo pkg
    * Create image
    I also have a machine running 10.7 Server and have successfully created a 10.7.2 image, but 10.6.8 has been giving me fits. It would be nice if I could create a 10.6.8 image on the 10.7 server. Is it possible to do this?
    Any Help is appreciated.
    thx

  • Library Apps are all Updated but iTunes says Updates Available

    Apple could you please fix this bug?  It is very very annoying and keeps coming back.
    Sometimes updates on a certain iPhone or iPad get into iTunes and aren't able to update but are able to show as needing an update and there is no way to see which App is causing it.
    I have 4 GB of apps in iTunes and the only workaround I know of is below but it really stinks for that many apps and it seems to happen every month or two...
    1) Copy all the .ipa files in iTunes\Mobile Applications to a temporary folder.
    2) Select all apps in my iTunes Library and then delete them
    3) Close iTunes
    4) Make sure iTunes\Mobile Applications is really all deleted
    4) Open iTunes and make sure no Apps show up there either
    5) Drag all the .ipa files from the temporary folder into iTunes and wait from them to install 1 by 1
    6) When a warning dialog pops up saying "There is a more recent version of this.ipa that you are trying to add should i use that instead?" I have to manually click the [Yes] button  (seriously why are you asking me this question?)
    If you can tell which ipa is out of date while adding them then why can't you loop through them and highlight them or something so I can see which app is saying it is out of date while not being able to update at the same time.
    Better yet since you are Apple give me a check box that says Automatically update all free Apps so I don't have to manage this in the first place.  I have zero reason to not have the latest updates for all my Apps all the time so please just take care of it and stop asking if I want the latest and greatest.  It is such a silly question.  Apple is better than that.
    Thanks

    You should be able to see which apps need updating by using the Check for updates tool in iTunes (bottom right of the Apps window) or using the Apps Store app on the device and looking at the Updates tab.
    New users can't report posts, and nobody can report their own. I can report your post for removal at your request if you insist, but the general idea is that your question, and any responses it gets, may help the next person who comes along with the same problem.
    BTW Sometimes updates remove features or add unwanted ones. It is rare, but there may be occasions when you want to keep an older version of an app.
    tt2

Maybe you are looking for

  • Can not connect to home wi-fi.

    Typed in password and nothing happens.  It will not even tell me if the password is incorrect.  Does anyone had a similar problem or suggestion.  This is a brand new phone.  it is upgrade to 4.4

  • CWA with ISE and 5760

    Hi, we have an ISE 1.2 (Patch 5), two 5760 Controllers (3.3), one acting as Primary Controller (named WC7) for the APs and the other as Guest Anchor (named WC5). I have trouble with the CWA. The Guest is redirected and enters the correct credentials.

  • Is-it possible to insert a copyright inside a photo with adobe photoshop elements 10?

    Is-it possible to insert a copyright inside a photo with adobe photoshop elements 10 to protect my rihts?

  • Running reports in CMC is Slow (the first time)

    when we first log into CMC - the report takes 10 minutes or more to run. when you run it subsequent times - it takes less than 15 seconds... what could be causing this unbearable delay the first time? I've seen some people say that you should build a

  • How to resolve namespace using jaxp

    Hi , I have a xml document with structure : <top xmlns:myns="urn:my-namespace"> <second> <myQNameElem>myns:someElem</myQNameElem> </second> </top> How do I parse the element <myQNameElem> into a Qname ? I would guess that if Jaxp has some sort of Nam