File Adapter does not process the same file twice

SOA: 11.1.1.4 (non-HA).
I have a file adapter that triggers when a new file gets to a directory; the file is not deleted after the process triggers.
The process is supposed to call other services via a mediator and if any remote fault happens it should rollback automatically and re-trigger with the same file at the next polling interval.
I have literally 3 scenarios:
1). The file gets picked up once, the process fails and the file is never picked up again.
Msg in log: The file : /xx/xx/xx/abc.xml is being ignored as it has already been processed
2). If the mediator only routes to one service after the file gets picked up, it works as expect (that is rollback and restart at the next polling interval). If it has more than one sequential routing rule, I see the same error as above.
3). File does not get picked up EVEN if I "touch" or rename the file.
Msg in Log:
File Adapter ProcessName Poller enqueuing file for processing :/xx/xx/xx/abc.xml
File Adapter ProcessName Ignoring File : abc.xml as it is already enqued for processing.
I have already checked, there is no permission issue.
This is what my .jca file looks like:
<adapter-config name="getFile" adapter="File Adapter" wsdlLocation="getFile.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
<connection-factory location="eis/FileAdapter" UIincludeWildcard="*"/>
<endpoint-activation portType="Read_ptt" operation="Read">
<activation-spec className="oracle.tip.adapter.file.inbound.ScalableFileActivationSpec">
<property name="DeleteFile" value="false"/>
<property name="MinimumAge" value="5"/>
<property name="SingleThreadModel" value="true"/>
<property name="PhysicalDirectory" value="/xx/xx"/>
<property name="Recursive" value="false"/>
<property name="PollingFrequency" value="20"/>
<property name="IncludeFiles" value=".*"/>
<property name="UseHeaders" value="true"/>
<property name="MaxRaiseSize" value="5"/>
<property name="ListSorter" value="oracle.tip.adapter.file.inbound.listing.TimestampSorterAscending"/>
</activation-spec>
</endpoint-activation>
</adapter-config>
Thanks for looking into it in advance.
Any help with the error messages will be appreciated.

You have to use MOVE operation, if there is any remote exception occured, then move the file to someother folder and again move back to the same folder where the file pickup will start.
In that way you will be use the same file picked up next time when the polling happens.
It is considered good etiquette to reward answerers with points (as "helpful" - 5 pts - or "correct" - 10pts).
Thanks,
Vijay

Similar Messages

  • Using Firefox 3.6.20 and Windows XP Home SP3. Firefox sporatically deletes bookmarks from the bookmarks toolbar. Additionally, when I try to import from a saved HTML file, Firefox does not import the complete file. Results are inconsistent.

    Using Firefox 3.6.20 and Windows XP Home SP3. Firefox sporatically deletes bookmarks from the bookmarks toolbar. Additionally, when I try to import from a saved HTML file, Firefox does not import the complete file. Results are inconsistent.

    A possible cause is a problem with the file places.sqlite that stores the bookmarks and the history.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox

  • Iphone 4 file size does not match the ACTUAL file size

    My iphone 4 is reading 27 gigs of music as over 29 gigs of music. I don't understand why. Anyone else having an issue like this? My 3gs reads it as 27 gigs and so does my computer. I even set my 3gs to sync off a backup of my iphone 4 and it reads it as 2 less gigs. Why?

    Don't know, though Apple has been known to play with the numbers a bit:
    http://www.tuaw.com/2009/08/29/snow-leopard-the-new-one-gigabyte-now-slimmer-tha n-before/
    Or you could have had a conversion box checked in iTunes when you loaded your IPh4
    Phil

  • JNI generated header file does not match the class file

    We have had a JNI project for many years and all has been fine. Within our libraries we have several classes that have inner enum classes.
    Recently we have moved to JDK1.7. Up to now when JNI generated the methods where the signature used the inner enum class, and it was an oveloaded method, we would get something like the following as the signature:
    Java_PackageName_ClassName_methodName_OuterClass_00024InnerEnum_2
    And the class file result of the build would look like the following:
    methodName(OuterClass$InnerEnum)
    Since we have moved to JDK 1.7 the header file looks like the following:
    Java_PackageName_ClassName_methodName_OuterClasss_InnerEnum_2
    The class file is still the same, and because of that when we run the program we get an UnsatisfiedLinkError. I understand that this error is because the VM cannot find the implementation. So why JDK 1.7 generates a header file that does not match the class file?
    Thank you in advance.

    I don't have 1.6 to verify but your statements about what is generated for 1.7 for the header appear correct.
    The 000024 represents the '$' and for 1.7 the inner class is still named using '$'. So for example after compiling in 1.7 the inner class file is named the following...
    MyClass$InnerEnum.class
    So a one to one conversion should have kept the 000024 (presuming it does in fact do it that way in 1.6.)
    You might want to look at the release notes for 1.7.
    If you need a solution you could add a post javah step that renames the file.

  • The executible I build with the application builder does not function the same as my VI file.

    I am using a USB 6008 device with the newest DAQmx drivers and Labview
    8.2 to make analog voltage readings.  Within my main VI I first
    create a data folder in the same location as the VI using a property
    node and then use case statements to call two sub VIs that create a
    data file within the data folder and then collects data.  When I use the
    application builder to create an executible the resulting file does not
    operate the same as the origional VI.  The program appears to be
    reacting to button presses on the GUI, but there is no indication that
    the data folder is being created or that any measurements are buing
    made.  Are there any known issues that may account for this
    anomily?
    -Mike
    Message Edited by TMBurleson on 10-16-2006 03:09 PM

    Are you using the VI Path property, using a reference to the current VI?
    I could be wrong, but if you're attempting to use a path relative to the current VI, I think that does indeed change in a built application. If your VI used to be C:\somewhere\foo.VI, then after building its path would actually be C:\somewhere\foo.EXE\foo.vi . Thus, if foo.VI used to try to make a folder like C:\somewhere\datafolder, the built application would be trying to make C:\somewhere\foo.EXE\datafolder , which wouldn't work.
    This is sort of a shot in the dark, but does this sound like it might be the case?
    EDIT: Dennis beat me to it.Message Edited by kehander on 10-16-2006 03:26 PM

  • HT3678 If I download a .mov file from gmail, I am not able to open the file. I reinstalled QuickTime 7.6.6, still unable to open the file. If I download the same file from another mail server I have no trouble. What is gmail doing to my file?

    If I download a .mov file from gmail, I am not able to open the file. I reinstalled QuickTime 7.6.6, still unable to open the file. If I download the same file from another mail server I have no trouble. What is gmail doing to my file?

    Also i have reinstalled the reader9 two  times and tried with reader8 also but in both the cases same problem.
    it would be gr8 help if someone can help.

  • Selected file cannot be linked because its type (video) does not match the original file's type

    I've been using Premiere Elements 9 for a couple of years now, and a few months ago I began having problems importing AVI files created from a BlackMagic Intensity Pro capture card.  (These issues were not previously occurring, and since they surfaced, I have exhausted the various settings for the BlackMagic card, used various software such as BlackMagic's own Media Express as well as the freeware VirtualDub, and still have the following problems.)
    In addition, these AVI files play just fine, in their entirety, using Windows Media Player and in Quicktime.
    The problem (or possibly two, but I suspect they could be related) is that most of the AVI files I attempt to import will either (1) import all video and NO audio, or (2) import ONLY a short segment of audio and video, and the length that Elements imports varies.  Usually only in the range of a minute or two.  The rest of the file is not imported at all.
    After much digging in forums, and testing various settings in trying to figure out the issue, I decided to back up all of my files and completely wipe all hard drives and start over with a fresh installation of Windows and Premiere Elements 9.  I haven't installed much else yet, as I wanted to first find out if the reinstallation improved things with Elements.
    For the first project I created in Elements after the reinstallation, Elements successfully imported an entire AVI that was nearly 2 hours long, audio and video.  This was a file that previously would not import properly into Elements.  This suggested that my earlier installation of Elements must have been corrupted somehow.  At this point I was very hopeful that all was well.
    I proceeded to edit the video as I had wanted, saved the project, and exported it to an MPEG format file.  I had originally wanted to export it as an MOV, but I hadn't yet installed Quicktime, so Elements couldn't do that just yet.  The MPEG export was successful and plays fine.
    However, I then installed Quicktime, and once it was finished, I restarted the PC and reloaded the same project.  This time, Elements claimed the media was offline.  I double-clicked on a segment of the video, and directed Elements to the raw file, but then an error message popped up:  "The selected file cannot be linked because its type (video) does not match the original file's type (audio and video)."  This was the same file I had JUST edited and of which I created an MPEG.
    I tried creating a new project and the "Get Media" function to import the AVI again, but this time only the video imported with NO audio.  (This would explain why the error message said what it did, but not why the audio wasn't imported.)
    What in the world is going on with Elements???  I am baffled since the ONLY task I have done on this machine after a complete reinstallation of both Windows and Elements is edit one AVI.  I find it very hard to believe that just installing Quicktime caused this.
    Some info on my system:
    System:  Asus P6T w/ Intel i7 920 and 12 GB memory
    OS: Windows 7 Ultimate
    Video Software:  Premiere Elements 9
    Capture Card:  BlackMagic Intensity Pro (PCI-e)
    Capture Software:  AVIs recorded with either BlackMagic Media Express or VirtualDub (only prior to the reinstallation, as neither of these programs are currently installed)
    I'm getting to the point with Elements that I might need to just abandon it and find something else that is more reliable.  Anybody have suggestions to help with this, so I won't have to migrate?

    mtnsports
    We think that we need to start off with definiting the properties of these .avi files that you are importing into Premiere Elements 9.0/9.0.1 (assumed that you are working for the required 9.0.1 Update).
    You say that the "avi" was created from a "BlackMagic Intensity Pro capture card". What are the properties of this .avi that you imported into Premiere Elements? Not all .avi are created equal. What is the video and audio compression, frame size, frame rate, interlaced or progressive, pixel aspect ratio, typical duration?
    Based on the properties of the video what have you been setting as the project preset?
    Let us start here.
    More later.
    ATR

  • Script Alert: "Sorry I could not process the following files" (Error Message using Image Processor)

    I'm a seasoned Photoshop/Bridge CS5 user who recently upgraded to CS6.  In Bridge I just ran my first Image Processor batch, trying to convert a set of RAW .NEF files to .PSD files with a basic editing action I created applied to them.  Photoshop CS6 opens the files from Bridge and applies the actions, but then I get the "Script alert" error message "Sorry I could not process the following files" and a list of all of the files in the batch I was trying to run the script on.  The files all remain open and are saved on my hard drive in a folder created by the Image Processor script, but do not close unless I manually close them.  I never had this problem in CS5 where the image processor would apply the desired actions to the batch of photos one at a time, then save and close.  Thoughts on how I can fix this bug?

    Hey Jeff--
    No specific action steps to make the image safe - no flattening, etc. Had problems narrowing down the specific action step causing the problem. So I ran the Image Processor script in the ExtendScript ToolKit and debugged in. (I'm using the version that shipped with CS4.)
    Turns out what was happening is that the app.activeDocument.close() command on line 1490 was never getting called, because the this.SaveFile() above it was throwing an exception. More debugging got me to the problem - SaveFile() tries to restore the history state after making a doc safe for saving as a JPEG. This causes an exception. So I commented out line 1571:
    // app.activeDocument.ativeHistoryState = historyState;
    The script runs just fine after this. I commented out the close to see what history states got added to the doc, but no new states are recorded, so commenting out the restore line should not cause any problems.
    Of course, my solution does not solve the problem and I may need to comment out all the saveFile() lines that does this. Not sure why some actions have this problem and others don't. The actions I am running have about 25 steps. Perhaps PS is not catching up quick enough. I added a $.sleep(2500) after the restore history but that didn't help.
    So, not sure where this gets us. I will check about posting an action set with just one of the actions that cause the problem. But I may also have our customer comment out that line of the Image Processor script.
    Hope this helps. May post more next week.

  • Somehow my calender was erased. How do I restore it? I have time machine. Fortunately it was synched with Outlook, so I still have it there. But Ical does not recognize the Outlook file. Is there a way to restore from Outlook? resi

    Somehow my calendar in iCal was deleted. It was not archived. I have Time Machine. How do I restore? Fortunately it was synched to Outlook, so it is not lost. I would like to out it back in iCal but iCal does not recognize the Outlook file.

    Thank you. It's all back to normal (took around 7 hours on the late 2009 iMac). Time Machine's become better now compared to the last time I used it to migrate everything automatically (Snow Leopard days). With Maverick's Time Machine, it's almost like a cloning (except for the password) tool now. But it's always great to name the account and maybe the hardisk the same names so can just replace a newly installed OS.
    God bless. Thanks again.

  • CS5 The selected file cannot be linked because its type (audio) does not match the original file's t

    Greetings,
    I have been working on a very large project using CS5 on my desktop computer. Now I am on the road and bought a laptop so that I can continue to work. I placed all of my assets on a back-up external 2tb drive (which I was able to open without incident on my desktop). I installed CS5 on my new laptop and now when I try to open the project I get the following message "The selected file cannot be linked because its type (audio) does not match the original file's type (audio and video)". This message appears before I indicate the path to any of the assets. Then, when I do indicate the path to each asset, I get the same message for individual files.
    Any advice is appreciated.
    Thanks,
    Jeremy

    I had this problem and have found a solution / workaround:  my issue was when trying to open a cs5 project that had been collected on mac and then transfered to pc, my footage was all png image sequences but this will hopefully work in other situations...
    Open the project and cancel the first dialogue box that pops up where you get the "file cannot be linked" error when trying to reconnect footage.  The project will open and then in the project panel, right click on any footage that needs reconnected and choose "Replace footage..." this will open a dialog that will allow you to select the file that gave you the error in the first place without any issues.  Any sequences with that footage will now work and everything show be all good. 
    You may experience "Offline material is present in this export and will be encoded using the offline media graphic" on first export but apparently you can just ingore that, but i guess it's woth testing a few short sections before commiting to a huge render...
    This workaround isn't perfect as i had about 50 pieces of footage i had to relink via this method one by one but at least it saved redoing the edit which was critical for my project...
    good luck!

  • When I try to upload a file it goes through the correct proceedure, but does not change the remote file i.e.Index.htm

    Hi
    I have an uploading problem to the server. The problem is when I try to upload a file it goes through the correct proceedure,
    but does not change the remote file i.e.Index.htm, or three stages1.htm.
    My Localroot folder is C:\Gods Plan Web\
    The site map layout is C:\Gods Plan Web\Index.htm
    The folder for the remote site is /public_html/
    Should the local root folder mirror the remote site, i.e./public_html/
    if this is so, what should I put into the
    (a) Local Root Folder box?
    (b) site map layout box?
    The FTP is performing well other than changing the intended file.

    You should be uploading only the contents of your local root to the public_html folder (remote root).
    The index.html you use as your site's home page needs to be in your site root. If you look at your Files window in DW, you should have something like the following...
    Site - Whatever you named your site
         index.html
         images
         pages
              page1.html
              page2.html
    If you have any folder between Site - and the index.html page, like...
    Site - Whatever you named your site
         mywebsite
              index.html
    It will upload to the public_html while still in that folder, so to find your page online, you would need to type something like...
    www.mydomain.com/mywebsite
    public_html should NOT appear within your local files and if it existed there, would cause a redundancy if uploaded. You would need to type www.yourdomain.com/public_html to see the uploaded pages.
    If you could post a screen shot of your expanded Files window while connected to the server (just connect and click the Expand button in Files, don't drill down into any of the directories), we may be able to see the issue.

  • Adobe Lightroom, Photoshop and Bridge does not recognize the raw files from my Canon Mark III 5D Camera.

    Adobe Lightroom, Photoshop and Bridge does not recognize the raw files from my new Canon Mark III 5D Camera.  How can I get my files open to view and edit?  I am using LR3, Photoshop CS3 and Bridge CS3.  Do I need to upgrade these programs or is there another way to get these programs to recognize my files?
    When I try opening the raw images in Lightroom, the thumbnails say "Preview unavailable for this file"  ... when I click "import" an error message pops up that says "The files are from a camera which is not recognized by the raw format support in Lightroom."
    When I try opening the raw images in Photoshop, an error message pops up saying "could not complete your request because photoshop does not recognize this type of file."
    When I try opening the raw images in Bridge, it just shows an icon with the file name and CR2.
    Please help!!!

    Unless I missed an announcement, today, LR6 isn't available, yet, right?  Only Adobe employees and beta testers would know what LR6 does differently at this point and they're all sworn to secrecy.
    LR5 is available as a standalone version.
    PS-CS6 is available as a serial-number-licensed version.
    PS-CC + LR5 are also available as a Photography Plan subscription for $10/month with a minimum OS versions of OSX 10.7 (and probably 10.8, soon) and Windows 7.
    Bridge is part of PS, not a separate program.
    LR5 standalone and LR+PS-CC plan are both available on this page:  http://www.adobe.com/products/catalog/software.html
    PS-CS6 can be found on this page:  Creative Suite 6 which can be found by searching www.adobe.com for Photoshop CS6 and clicking the Buy link in the on-the-fly search results.
    As with any new Adobe software, it might be wise to run it in trial mode for a few days/weeks to see if it works well with your computer, before purchasing and finding out you might need a new computer, first.

  • I have a new windows 7 pc and i want to move my iTunes mediathek (Music, movies) to it. by using an external driver (Hd.). But On the new pc iTunes does Not integrales the Media files.

    I have a new windows 7 pc and i want to move my iTunes mediathek (Music, movies) to it. by using an external driver (Hd.). But On the new pc iTunes does Not integrales the Media files.

    Copy the entire /Music/iTunes/ folder from old computer to /Music/ on new computer.
    Launch iTunes.
    That is all you need to do.

  • Adobe Bridge does not accept the NEF files from my new Nikon D800. I use the latest version, there a

    Adobe Bridge does not accept the NEF files from my new Nikon D800. I use the latest version, there are no updates

    Hi,
    CS6
    Van: R_Kelly [email protected]
    Verzonden: maandag 16 september 2013 18:42
    Aan: Hans van Sloten
    Onderwerp: Adobe Bridge does not accept the NEF files from my new Nikon D800. I use the latest version, there a
    Re: Adobe Bridge does not accept the NEF files from my new Nikon D800. I use the latest version, there a
    created by R_Kelly <http://forums.adobe.com/people/R_Kelly>  in Photoshop for Beginners - View the full discussion <http://forums.adobe.com/message/5686078#5686078

  • Acrobat Pro "save as" function in the file menu does not show the current directory of the file

    I have installed CC but Acrobat Pro gives me headaches.
    The "save as" function in the file menu does not show the current directory of the file but something I have worked on in the past.
    It forces me to navigates through my hard disk for this very straightforward thing in normal conditions. I precise: Acrobat is the only software reacting like that.
    I use Windows7 professional 64bits.

    I use what seems to be the latest version available on the Cloud:
    To illustrate my point, I open a directory with explorer and double-click on the only PDF in there:
    So here it is, open:
    When I do a "Save as", it takes me to a totally different place on the disk!
    Very annoying...
    Thanks for your time!
    JJ

Maybe you are looking for

  • Dvd caddy and drive replaced...error results

    i have a powerbook g3 pismo...dvd caddy broke...i ordered a whole new module...in a new caddy...when i try to put it in computer it says "there was an initialization error a valid dvd drive could not be found (-70012)" i have os x 10.9.3....400 mhz,

  • Strange Startup Problem

    My dual 2.7 powermac is acting very strangely at startup. At times it will not startup after several tries. here's what has happened and what I've done so far: Most of the time the screen remains black, fans running slowly but no startup. One time I

  • Why can i not update to the new version of iPhoto and Garageband through the appstore?

    When trying to update, I keep getting the pop-up: "We could not complete your request There was an error in the App Store. Please try again later. (null)". How can I update to the new version? Im running on the OS X Lion 10.7.4 system for Macbook Pro

  • [svn:fx-trunk] 13293: When making the halo - mx namespace changes we missed the following edits in revision 12635.

    Revision: 13293 Revision: 13293 Author:   [email protected] Date:     2010-01-05 17:07:48 -0800 (Tue, 05 Jan 2010) Log Message: When making the halo -> mx namespace changes we missed the following edits in revision 12635. The mxml-manifest.xml descri

  • Unable to close "Notes" after Mavericks Upgrade

    Hi Everyone, I am using a MacPro (pre retina version) 2.4 Ghz,i5 version and recently upgraded to Mavericks. Post upgrade, "Notes" automatically opens and stays on top of other applications. Force Quit doesn't help either, causes it to reopen. It's p