OSB File polling working twice with the same file

I have a problem executing a proxy service that get files from a file system. Everything in the flow works as expected, but at a certain point I must wait an update on a database and the process awaits for that change. Everthing goes normal if the update comes within the next 1-7 minutes, but after that if the process is still there(generally 9-11 minutes), a second process is called and the file processed is the same. After the first process is called the folder is empty so I can not understand why the proxy is called again with the same file, since there is nothing on the folder. This can happen since I am doing database modifications.
The process is only invoked twice with the same file, no process is called again(A Third one) if the two processes are still working, wich is weird. since nothing in my proxy logic returns to the beginning.
Does "Weblogic/OSB" tends to free resources on a specified time, such as "Max Stuck Thread Time" but for files or other resources?
Any ideas why this is happening
Thanks in advance.

I think this is due to transaction timeout. The PolledMessageListenerMDBEJB under File Transport provider has a transaction timeout of 10 minutes. So if you are having a very long running transactions which spans more than the 10 minutes, you might see the rollback happening due to timeout.
To confirm is this is the case, when this issue occurs, Go to JMS Modules >jmsResources >wlsb.internal.transport.task.queue.file_auto_n >Monitoring. You should see messages in messages pending column.
click Show Messages. Click on a message and check Delivery count. This should have a value 1 or more which should mean message has been rolled back atleast once before.
if it is the case you can try modifying the transaction timeout value of PolledMessageListenerMDBEJB under File Transport provider in deployments and then update the file transport provider deployment. Parallely check with support on what is the official recommendation for increasing timeout.

Similar Messages

  • 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

  • Pick a particular file and keep on target side with the same file name

    Hi Guys,
    I have got couple of files in a folder. I need to pick only two files, I have setup BPM procedure 2 payloads merge. To keep these merged file with  the same source filename.
    Source side file Directory
    abc_12345_20100408101029.xml (abc_seq number_timestamp.xml)
    xxx12345.xml
    test.xml
    abc_12345_20100408101149.xml
    Target Side, How do I keep with the same file name?
    abc_12345_20100408111239.xml ---  same file name with diffrent timestamp.
    One more question: How to setup a file adapter to trigger between 2:00am to 5:00 am? in a particular time
    Does anybody has got quick idea, any links etc.,
    Your quick and positive response will be much appreciates.
    Kind Regards
    San

    Hi,
    One more question: How to setup a file adapter to trigger between 2:00am to 5:00 am? in a particular time
    For this you can Availability time planning (i.e you can schedule the file adapter to poll for the files with in the time interval i.e 2 -5)...
    for generating the file name at target side you need to look for the Dynamic Configuration as you need to change the timestamp for the file..and i am not sure how this works in BPM..
    in normal scenarios dynamic configuration will help....
    HTH
    Rajesh

  • My goal: "convert into pdf" -- the file is instantly saved with the same name as pdf. feasible?

    Good evening dear experts,
    i use Adobe Acrobat 9 pro extend to convert word, ppt, jepgs etc. into pdfs.
    No if i
    1) convert a ppt into a pdf: it asks --> "save as" --> converts --> opens the file
    2) convert a jpeg into a pdf: it instantly --> opens the file as pdf --> i need to save it manual under "save as"
    In both cases i want to
    my goal: "convert into pdf" --> the file is instantly saved with the same name as pdf
    WITHOUT asking me "save as" + "opening of the file".
    Is the possible, and if yes, HOW ?
    A fast answer is very very much appreciated, for i have to convert hundreds of files tonight in order to get it into 1 pdf
    Thx and greetings from Germany,
    Julia

    We are nearly there!
    A] - righclick "convert-to-method": @Bill: thx again, your approach worked for ppt, doc-files etc.
    2 problems:
    1) exception: for jpegs/bmps it doesn't work (the file is still opened after conversion, strange).
    2) the output-folder. it only accepts the standard "output-folder documents/*.pdf" (which is a step further but not my end-goal). If i choose another output-folder via "browse", this setting is NOT SAVED (even after clicking on "accept" + "ok").
    my goal: the the file should be automatically saved in THE SAME folder the original file is in (seems that can't be achieved and the standard folder is the only thing where to convert in?).
    Personal background for understanding: i have many folders with several ppts in it. Once i send it out to a customer, i always have to convert it into a pdf. thats why i want to save time (i know that i can convert it directly + send per mail, but i want an up-to-date copy of the pdf in the folder as well).
    B] - "the automated solution"- @Sandeep:
    i just watched your link http://tv.adobe.com/watch/acrobat-tips-and-tricks/automating-tasks-in-acrobat/
    about batch processing and i think its really helpful if i want to convert ALL of the files in one folder.
    1 question regarding this: are the subfolders also affected?
    As i understood from the video, i choose 1 "watched folder" and a "destination folder" (can be the same). E.g i have 1 big folder "designs" with many subfolders. I create a batch converting ppts to pdf to "the same folder" Once i run my batch, it converts ppts in the chosen folder "designs" + all subfolders into the same folder, right?
    If this is the case, i get too many pdfs, for i only need the latest ppt-version to be converted (copies of old ppts are also in the files) ;(.
    Do you have an idea how can i solve this?
    Now we are very near to the end-solution of my goal:
    i need this option "to the same folder" in my general settings when i convert a file via right-click. ATM it only works with the standard-folder documents/*.pdf
    In A], my files are now instantly saved with the same name in 1 specific folder. I would be completely happy, if this folder would be alwys the same as the one with the original file (and not 1 specific folder)
    2nd problem with a]: it does not apply to picture files (bmp, jpegs..)
    So if we could solve this, i would be a completely happy girl
    Guys, you are great, thx again for the whole struggle with my concerns!!

  • ITunes playback 'clicks & pops' - quicktime with the same file doesn't

    I've recently noticed that iTunes is playback my music with clicks 'n pops. It makes the listening to music unbearable. I've tried to resolve the situation by testing many different things.
    After a bit of testing I can say that:
    * The problem is not parameters selected when ripping a CD. It seems that 'all' audio pumping through my speakers is clicking even 'bought' music from the iTunes store.
    * The problem is not settings in iTunes. I've checked the menu and unchecked the 'sound enhancer' option - this seems to have no affect on the clicking.
    * The problem is not the source audio file. If I play the same file in QuickTime or any other application ... it plays back fine.
    * The problem is not my speakers and audio setup ... I've checked using my speakers, my headphones plugged into my sound-card ... and headphones plugged directly into my Mac.
    I've been using iTunes for some time and I've only recently started noticing this problem. Unfortunately I can't give an exact date as to when it started doing this to check if it falls in line with any updates.
    Can anyone offer any advice on this matter? Any info would be greatly appreciated.

    lol... have to say that macs don't "just work" as they want everyone to believe. plus, if there is any kind of problem you can't try to fix it yourself unlike a PC... but anyway I digress
    I have the same problem:
    I just updated to 8.0.2.20 and now everything I plays skips and sounds like an old scratched LP record (remember those???).
    This is not related to equalizer settings or hardware settings or anything else... you have people who have been using iTunes just fine until version 8 then all of a sudden massive problems... there are dozens and dozens of posts about this problem now. It has nothing to do with any settings, as people have been fine with prior versions, the common thread is that they've all upgraded to version 8.
    And you shouldn't have to stop using equalization or change anything you had before either.
    This is a BUG in VERSION 8. It seems that this version is full of bugs from what I have read across the internet-- has Apple started finally releasing crappy software? (It is inevitable). Maybe this is from outsourcing all the coding to countries where English is not the native language-- who knows.
    In any event, before I updated (from an earlier version of 8) I noticed Itunes stopped playing any sound at all. After I updated it gave me the error message telling me I had to delete/re-install quicktime. I did and now the clicking and popping. I re-installed/repaired directly from the website. Still nothing.
    My music plays perfectly from any other application. This is an iTunes BUG in VERSION 8.
    Also, as others have noticed new oddities in the way itunes behaves in version 8. Some have tremendous CPU usage or problems with internet. My hard drive rattles and buzzes whenever I start iTunes!!!! That scares the h*ll out of me! No other app does this and I can load all my music with any other app just fine-- no buzzing of the hard drive.
    I'm running a new machine with max'd RAM, 2 TB of drives hooked into a Windows Home Server with 9TB of music and video. I'll try rebuilding the library... but darn it how come no other problems with any other app? Media Monkey plays everything fine, for exmaple. GOTTA be iTunes.

  • Tif files will not import with the same filenames as the .nef files

    When I work on a .nef file, say x.nef, Lightroom 1.0 will allow me to export the x.nef as x.tif to the same folder as the x.nef file resides, but obviously I need to import the x.tif file into the folder for it to show up in LR When I try to import the x.tif file into LR it shows up the the file list OK. When select it and try to import it I get a message telling me that I can't import it as the file x.nef already exists. I didn't select x.nef but x.tif. It will allow me to import it into a different folder, but that is not what I want to do. i need the keep the relevant net and tif files with the same name in the same folder.
    Adobe tech. support suggested; reinstalling, trashing the LR preferences folder, making new databases. None of these solved the problem. In LR beta 4 I could save import tif files with the same file name the .nef with no problem, but not in LR1.0.
    Using Win XP Pro SP2. Pentium P4 3.0 with 2gig ram.
    Has anyone else had this problem. Any assistance appreciated.

    I agree (Adobe) that first the concept that michael.nef and michael.tif and michael.jpg are different files needs to be changed.
    A duplicate is a file that has the same filename and extension and the same content measurements.
    Under the above concept or any concept, ignore duplicates should bring in any file to LR with the same name (contents and measurements) and different extensions.
    I do edit in NEF (more now if I use LR instead of PSE5), do save to PSD, and do save to L/F JPG. If I had to layer in PSD, then I use that for printing, otherwise LR. I always have to make large jpgs to upload to web printing sites, and even small jpgs (now we have the same name and extension (but the measurements would be different) to email. Yes, we do keep copies of an image. I can see where I might want to have the edited .NEF and the PSD in the lib to view, cuz they may have different edits on them.
    MichaelM

  • When saving a File OS Is Creating Multiple Folders With The Same File Name

    Not sure what I changed but, now when I save a any file (ppt. word, Keynote,Pages e.g.,) to the desktop or any other location the OS will also create multiple file folders with the same file name as the file I'm saving. Inside the folders are what appears to be files locating the saved files. What can I do to fix this problem?
    I'm using the 10.7.2 version
    MacBook Pro

    Misio wrote:
    It looks like a finder bug. To replicate, I surf to any website, I right-click on a jpg image, select "Save Image As" and in the window that pops up I type in the filename "000.jpg", I select the folder Pictures, and click on Save.
    BTW, I don't know why, but the file was saved only as "000" without the file extension ".jpg". Does anybody know why?
    the extension is simply hidden. go to the get info panel for the file and uncheck the option to hide the extension.
    Then I surf to another image, and again I save it as "000.jpg" and now it asks me if I want to replace the existing filename, although the existing one is "000" and I try to save as "000.jpg", so I say yes, and then magically the file is saved with the full filename including the extension "000.jpg"
    When I did it a couple of times, always saving image as "000.jpg" from various sources, I ended up with two distinct files named "000" and both in the same folder Pictures.
    Please advise.
    it sounds to me like you saved one file as 000.jpg and the other and 000.jpg.jpg.
    check the info panels for the files for full names to verify if this is the case.

  • HELP, PLEASE.. I'm looking for a App that I can install on both my iPad and iPhone, then when I load a document, picture, or anything on that app on iPhone or iPad, it will Sync with the other Device so both devices will end up with the same file .

    HELP, PLEASE.. I'm looking for a App that I can install on both my iPad and iPhone, then when I load a document, picture, or anything on that app on iPhone or iPad, it will Sync with the other Device so both devices will end up with the same file ...

    iCloud Drive: https://www.apple.com/icloud/icloud-drive/
    Dropbox: https://itunes.apple.com/us/app/dropbox/id327630330?mt=8
    OneDrive: https://itunes.apple.com/us/app/onedrive-for-ios/id477537958?mt=8

  • Have an imac with snow leopard and Firefox 3.6.13. On a prompt downloaded and installed Firefox 3.6.16. Firefox opening Screen still shows 3.6.13. Have done this twice with the same result. Any help?

    Imac, processor Intel core i3, Mac OS X version 3.6.6.
    On opening Firefox 3.6.13 firefox screen suggests downloading latest version. Have downloaded and installed Firefox 3.6.15 (sorry typing error in previous entry). On opening Firefox, screen still shows 3.6.13 as the operating version although "Get info" shows that updating has been done. Thinking I may have made a mistake I have done this twice with the same result. The screen is still telling me to update.
    Not really a problem using Firefox but I would like to know which version I am using.

    Your user agent in the More system details list shows that you have the Firefox 3.6.15 version
    *Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15
    Where do you see "3.6.13" ?

  • Can I import 2 sets of photos with the same file name numbers?

    I've inadvertantly not had my camera set to "continuous" for file names and now have 2 memory cards with 2 different sets of images with the same file names.
    Can I still import both into Lightroom 2 without problems?
    What are the consequences?
    Thanks
    Stuart

    Yes. Of course, two files with the same name cannot be in the same folder. And don't forget to uncheck Don't import suspected duplicates during import.
    Another thing is that's not a good idea for good asset management, because someday you'll make some mistake because of this ambiguity. Good DAM practices suggest renaming your files after or during import, so that each files has a unique name across your entire image archive.

  • Opening 2 PDF's with the same file name

    I have someone who has difficulty opening two PDF's with the same file name. They had a file open, then try to open another PDF document with the same file name as the original document, however it will not open (and no error displays) and reverts back to the "old" document. Any ideas?

    Are this diferent documents? What version of Adobe Reader?

  • 2 SD cards with the same file numbers

    How do I burn 2 SD cards with the same file numbers. Always says do I want to replace photo with the same number.

    Welcome to the Apple Discussions. Rename one set of photos by renaming them in iPhoto with the Photos ➙ Batch Change ➙ Title to Text menu option and then export to the Desktop with the option to use the Title as the new file name.
    Or, put one each set of photos in their own folder and put the two folders on the memory card.
    Happy Holidays

  • Downloaded Yosemite but it will not install on Macintosh HD as it says it is used for Time Machine Backups but it is not.  TM backup is to an external 2TB HD.  Downloaded OX x twice with the same result.

    Downloaded Yosemite but it will not install on Macintosh HD as it says it is used for Time Machine Backups but it is not.  TM backup is to an external 2TB HD.  Downloaded OX X twice with the same result.

    OS X: Cannot install on a volume used by Time Machine for backups
    For some reason you have a folder called Backups.backupdb at the root level of the hard disk on which you want to install Yosemite.
    Move it to the Trash.

  • Can you download the same film twice with the same itunes account

    can you download the same film twice with the same itunes account

    It depends upon which region you are in and the current policy of the copyright holder. Sometimes individual items are exemept even though repeat downloads are generally supported. Any purchased item could be removed from the store in future so you should really maintain your own backup.
    See iTunes in the Cloud and iTunes Match Availability.
    tt2

  • 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.

Maybe you are looking for