File adapter Need to wait When Other Applicatio is writing the file

Hi All,
This is File to File Interface, iam using NFS here.
While other application is writing the file to the Folder, XI Sender File Adapter shld wait for certain time and then pick it up.
We have the Option " MSecs to Wait Before Modification Check" on File Sender Advanced TAB.
But it is no Use, it is not behaving correctly.
Please assist me on this
Regards

Hey Vamsi,
I think you're good to go here. The behaviour is exactly as it should be. The polling interval takes priority when there is no file there but when there is a file there the modification check will take priority over polling interval so it will still wait the mandatory 2 minutes to ensure that no modification is taking place & that's exactly what you want. You don't want to pick up an incomplete file irrespective of when it was put there. So there will always be just over a 2 minute delay (or whatever you set the Msecs value to + a few seconds depending on where the polling cycle is when a file is written out but a max of 2 minutes & 19 seconds delay) when there is a file there but at least you'll have consistent data. If there is no file there the adapter will just poll every 20 seconds until a file arrives.
The 2 minute 'wait' step is exactly that. The adapter will see the file then wait 2 minutes & probably does a timestamp comparison or something. It doesn't do a modification check within those 2 minutes. Having said that, I don't see why you can't reduce the Msecs interval. My reasoning is that you basically want to establish whether it's still being wriiten out before you pick it up. Even if you set it to 5 seconds you should still be able to pickup whether the file is being modified (I'm assuming that the check is doing a timestamp comparison). That will significantly reduce your time wait period.
My assumption on the timestamp comparison was wrong It's actually does a comparison on file size when it reads the data in, see SAP Note (Point 3): [http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bc_xi/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d383231323637%7d]
Another suggestion made on the note: Get the writing application to write the file out with an extension different to the one you're polling for. Then, after they have completed writing out the file, they can do a re-name to the extension that you're polling for. That could also speed up things.
Regards, Trevor
Edited by: Trevor Naidoo on Oct 8, 2009 9:38 AM

Similar Messages

  • Database Time Spent Waiting (%): Wait Class Other nearly 100% all the time

    Don't understand why OEM is reporting that Database Time Spent Waiting (%): Wait Class Other is nearly 100% all the time. Database 10.1.0.4 just installed on Linux(RHEL4AS) and nobody use it for now except OEM and me for admin purpose.
    Any clue for that problem ?
    Regards
    Nicolas

    Seems like you are not the first to see this kind of behaviour.
    I've found another similar thread on metalink. I can't say the answer is terribly helpful, but thought you might be interested anyway:
    From: Jose Ramón Tourón 14-Sep-07 08:34
    Subject: Database Time Spent Waiting (%) at 100 in event class Commit
    RDBMS Version: Oracle 10g r2
    Operating System and Version: Suse Enterprise Linux 10
    Error Number (if applicable):
    Product (i.e. SQL*Loader, Import, etc.): database core
    Product Version: 10gR2
    Database Time Spent Waiting (%) at 100 in event class Commit
    Hi everyone, yesterday we create a new database instance with dbca, the creation process was ok, and the two instances are running ok, database stops and starts without any problem, and listeners are ok. In the enterprise manager of this new instance we found this message:
    Database Time Spent Waiting (%) at 100 in event class Commit, this event happend every 1 or 2 minutes sometimes at 100, the next 40%, the next 98, ... and so on.
    Do you know what's happend in this instance?
    Thanks in advance to everyone
    Santiago Pérez
    From: Oracle, Helmut Pfau 14-Sep-07 12:52
    Subject: Re : Database Time Spent Waiting (%) at 100 in event class Commit
    From Oracle Database Reference Manual:
    Commit
    This wait class only comprises one wait event - wait for redo log write confirmation after a commit (that is, 'log file sync')
    So you can't write fast enough into your log files.
    Did you check the frequency of log switches?
    From: Metalink TCS User Group TCS Uruguay 14-Sep-07 15:52
    Subject: Re : Database Time Spent Waiting (%) at 100 in event class Commit
    Hi José! Please don't get anxious because of this: Wait time must be SOMEWHERE, there's a saying "An OLTP DB is only as fast as its redo logs", but if you are not having any performance problem you don't need to do anything special.
    You say you've just created the DB. Now make it DO something: put it to the test by simulating production conditions as closely as you can, and after some hours ask the users whether there is some problem. If there is, take a look at the wait statistics... you'll probably see many other top events before this one!
    Bruno abate_at_adinet.com.uy

  • Page link error when other user connect to the oracle portal

    Hi,
    I have a problem which I just realized today. I have created a page group, named community, and this page group contains few pages that are created using templates.
    My problem is, when my colleagues logged to the oracle portal using their account, they cannot see the pages that I created, instead, when clicked on the pages within the page group, they only see the page templates (only the skeleton). They should be able to view the actual page that I created using the template, not the template I used to create the page.
    Anybody with this problem can help? or maybe others can help me solve this problem.
    Thanks in advance

    Hi,
    Did you try granting the page to PUBLIC or the users whom you want to show the page to ..
    Thanks,
    Anu

  • Any other way of writing the same query?

    Hi all,
    I need to give raise an alert message that employee is not hired for next week and I have written the below query....
    select 'EMPLOYEE NOT HIRED FOR NEXT WEEK' from dual where not exists(select hiredate form employee where hiredate = sysdate+7);
    is there a more efficient way of doing the same?
    Thanks in advance....

    user141 wrote:
    Hi all,
    I need to give raise an alert message that employee is not hired for next week and I have written the below query....
    select 'EMPLOYEE NOT HIRED FOR NEXT WEEK' from dual where not exists(select hiredate form employee where hiredate = sysdate+7);
    is there a more efficient way of doing the same?
    Thanks in advance....I'd worry more about accuracy before you get to efficiency :)
    HireDate = SYSDATE + 7 will retain the hour/minute/second precision from SYSDATE, i don't think you're going to know that information. You would want to remove it by using
    TRUNC(SYSDATE, 'DD')And possibly
    TRUNC(HireDate 'DD')If you are storing time information in that column.

  • My Macbook pro charging adapter is fine, but when plugged into the charging port it needs to be pressed down to charge and buzzes.

    My charging adapter is fine but when I plug it into the charging port on the macbook it only works if I press down on it and it buzzes slightly. What is wrong and how much will it cost to fix?

    Check the charger connection to the MBP.  The pins are spring loaded and should be able to move freely.  Look into the charge port of the MBP and make certian that there is no dirt or debris inside.
    There should be NO noise when connected to the charger.  If so, bring the MBP and the charger for a FREE evaluation at an Apple store genius bar.
    Ciao.

  • What is the right way to connect the adapter to my macbook when charging?

    what is the right way to connect the adapter to my macbook when charging.
    is it connect the magsafe connector first before plugging the adapter to the outlet? or the way around? or both ways will do?
    what if i'm using a surge protection with a on/off button, can I just turn the surge protector extension on and off without disconnecting the magsafe connector and adapter plug from my laptop when i'm not using it?
    thank you very much

    If there is any arcing it may be because the adapter is dirty. It is best to plug in the wall wart then attach the magsafe to the MacBook. As GfulDedFan mentioned this reduces the chance of power surging the MacBook. I have done mine this way since he day I bought it and have never had an arc. I keep it clean to reduce the chance of this happening. The following will help in the care of your supply.
    Apple: Use and cleaning of MagSafe power connector

  • I have an operating system of 10.4.11 but want to download lightroom - when I tried to buy the new operating system, it said I needed to work off an operating system of 10.6...how can I download lightroom (3  preferabley)!

    I have just purchased an old macbook with an OS of 10.5. Im trying to download lightroom 4 but won't let me because of the OS (needs 10.7), when I tried to purchase the updated OS, it said I need 10.6 to do so!! I just want to download lightroom (3 or 4 preferabley).  How do I go about doing so?
    Thank you kindly in advanced...
    New MAC owner

    Hello & a warm welcome to the forums & Macdom!
    For Lightroom 3...
    http://www.ebay.com/sch/i.html?_nkw=adobe+lightroom+3
    Silly Apple, you can't even buy Lion/10.7 anymore, onlt ML/10.8 after you get SL/10.6!???
    You need to get 10.6 & update to 10.6.8 first to be able to buy it from the App Store & download it.
    Snow Leopard/10.6.x Requirements...
    General requirements
       * Mac computer with an Intel processor
        * 1GB of memory (I say 4GB at least, more if you can afford it)
        * 5GB of available disk space (I say 30GB at least)
        * DVD drive for installation
        * Some features require a compatible Internet service provider; fees may apply.
        * Some features require Apple’s MobileMe service; fees and terms apply.
    Which apps work with Mac OS X 10.6?...
    http://snowleopard.wikidot.com/
    It's been pulled from the online store, so you have to call Apple to buy it, last I heard, but quick, call before it's gone!
    At the Apple Icon at top left>About this Mac.
    Then click on More Info>Hardware and report this upto but not including the Serial#...
    Hardware Overview:
    Model Name: iMac
    Model Identifier: iMac7,1
    Processor Name: Intel Core 2 Duo
    Processor Speed: 2.4 GHz
    Number Of Processors: 1
    Total Number Of Cores: 2
    L2 Cache: 4 MB
    Memory: 6 GB
    Bus Speed: 800 MHz
    Boot ROM Version: IM71.007A.B03
    SMC Version (system): 1.21f4

  • When Other Realtek Driver Packages Fail...

    There have been a number of posts, where problems with APE have been solved
    by reloading the REALTEK audio interface drivers.
    When Other Realtek Driver Packages Fail...
    try this one:
    AUD_ALLOS_XP_VISTA_5377_PV_REALTEK.EXE
    from:
    http://downloadcenter.intel.com/download.aspx?url=/11597/eng/UAA.zip&DwnldId=11597&lang=en g
    This is actually a composite of a number of fixes and updates from both
    Realtek and Microsoft. It is especially useful when other driver packages,
    including the current High Definition Driver package from Realtek's site,
    fail to load properly.
    Errors addressed include red and yellow error flags on the high definition
    audio driver entry in XP's device manager, and a PCI device that won't load
    a driver because an appropriate driver can't seem to be found.
    I ran into these problems when trying to upgrade an existing
    fully-configured XP system to a new motherboard. The audio driver provided
    by the motherboard vendor wouldn't load, and neither would the
    latest-greatest one from Realtek's site.
    As always, if your system is working OK right now, don't try to fix it!

    Though not specific to Realtek chips, there is also a little add-on, that has saved a lot of people with all flavors or Premiere, Audition and SounBooth - the freeware ASIO4All. This applet installs and sets up an ASIO environment that by-passes some of the problem areas encountered when trying to set up Audio with just the chip/card's driver. Once installed, it will appear in the ASIO settings list, or drop-down, depending on program. One has to point to it for all ASIO interfaces. Do not forget any other programs with Audio, such as Audacity, Magix Music Studio, etc.
    Hunt

  • What do i do when i get an error 2330 message when trying to update to the new itunes?, what do i do when i get an error 2330 message when trying to update to the new itunes?

    What do I need to do when I go to download the new iTunes i get an error message 2330? And when I try to delete all the iTunes and other things that has to do with iTunes it will give me the message again?

    Running iPhoto 9.4.3 under OS 10.8.4 "being updated" message when try to open the Application
    Sounds like iPhoto is trying to update the library or thumbnails. Do the following: apply the two fixes below in order as needed:
    Fix #1
    Launch iPhoto with the Command+Option keys held down and rebuild the library.
    Since only one option can be run at a time start
    with Option #4 and then #1 as needed.
    Fix #2
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    1 - download iPhoto Library Manager and launch.
    2 - click on the Add Library button, navigate to your Home/Pictures folder and select your iPhoto Library folder.
    3 - Now that the library is listed in the left hand pane of iPLM, click on your library and go to the File ➙ Rebuild Library menu option.
    4 - In the next  window name the new library and select the location you want it to be placed.
    5 - Click on the Create button.
    Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments.  However, books, calendars, cards and slideshows will be lost. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory.
    OT

  • How to see inbox/ other mail without closing the e-mail I'm writing?

    New Mac user seeks help!
    If I'm writing an e-mail, I don't seem to be able to switch to my in-box without closing and saving the e-mail first (it's like having an open dialogue box in windows, where you can see but not access the program underneath until you close the box).  Can I not have multiple e-mails open at the same time?  Or look at my in-box or sent mail while I write?  I didn't realize how often I need to check a previous message while writing the current one until now, when I can't do it except laboriously!
    Any suggestions would be much appreciated.

    Thanks!!  Trying to implement your solution made me realize what my problem was. My default mail setting seemed to be full screen, and in full screen mode I can't access the inbox or buttons underneath the open e-mail. But as soon as I shrink the e-mail slightly in order to see the top menu bar, it allowed me to not only access the menu bar, but also brought the whole inbox and associated tools alive.
    With a little playing, I figured out to bring to the foreground function, as well as various ways to see multiple e-mails side-by-side, or switch between them from both the Window menu, as well as from the dock.
    Many thanks for your help! While so far I have successfully googled all the things I couldn't figure out how to do, I didn't seem to be able to create search terms that were giving me a meaningful answer to this particular question.
    It's a big learning curve, but oh so worth it!

  • How to know when I have scrolled to the bottom of my advancedDataGrid

    I need to know when I have scrolled to the bottom of my advancedDataGrid or when the last row appears on the screen. Is there anyway of getting this?
    I tried to do it by the verticalScrollPosition, but I don't know how to find the maxScrollPosition.
    Any help would be appreciated.

    Follow above instructions. Use the App Store to get applications for your computer via Apple. Apps for your iDevice are purchased through the iTunes Store. These are two different stores. Now you will have Numbers on your iPhone or iPad or iPod Touch, and then one for your Mac computer.
    The Dock icon for the App Store looks like this:

  • I can't sync my files-when I click sync and need to wait for a while but then nothing happened, not even error notification

    I can't sync my files-when I click sync and need to wait for a while but then nothing happened, not even error notification

    File Sync Links that may help
    -http://helpx.adobe.com/creative-cloud/kb/arent-my-files-syncing.html
    -http://helpx.adobe.com/creative-cloud/kb/cannot-share-certain-types-files.html
    -Size Limits https://forums.adobe.com/thread/1488242

  • I got new hard driver for my MacBook I don't have the cd but I do have flash drive that has the software I need help because when I turn on my laptop it shows me a file with question mark how can I install the software from the flash driver?

    I got new hard driver for my MacBook I don't have the cd but I do have flash drive that has the software I need help because when I turn on my laptop it shows me a file with question mark how can I install the software from the flash driver?

    Hold down the Option key while you boot your Mac. Then, it should show you a selection of devices. Click your flash drive and it will boot from that.

  • Error-Receiver File Adapter using Variable substitution when file is empty

    XI Experts,
    We are on PI 7.0, SP14.
    We are using variable subtitution to get the filename from source message. This works fine as long as we have data in the payload for filename element. But we have a scenario where we don't have to create file when certain condition does not exists in source message so in the message payload filename element will not exists in such condition and file will be empty and we should not create file.
    Parameter in the communication channel for Handling empty message is "Ignore".
    Does anyone knows how to handle this scneario. We don't want to default any file name in the message mapping if source file name element does not exists.
    We are following getting error in the Adapter engine.
    MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: The following variable was not found in the message payload: file: com.sap.aii.adapter.file.configuration.DynamicConfigurationException: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: The following variable was not found in the message payload: file
    Thanks
    MP

    You can implement this by writing the module to throw an exception or whatever method you want to execute.
    If you don't want to receive an error message then module is suitable for you.
    Gaurav Jain

  • I need help! when I am importing my NEF files from my D3300 camera into lightroom 5 and try to use the "copy as DNG" button I always get an error message saying that "saying the file is not recognized by the raw format support"

    I need help! when I am importing my NEF Raw files from my D3300 camera into lightroom 5 and try to use the "copy as DNG" button I always get an error message saying that "saying the file is not recognized by the raw format support". The whole purpose of that button is so that the file can be recognized... How can I make the "copy as DNG" button work as it is supposed too?? Thank you

    Thank you for responding. So I essentially will never be able to use that button in lightroom 5? do I need to get LR 6? Will there ever be an update for LR 5 that will enable me to use it?
    Does DNG Converter work within LR or do I have to upload pictures to my computer and then make a second copy in DNG format. and then go into LR and use them?
    Thank you @dj_paige

Maybe you are looking for

  • Addiitonal Custom Duty : JADC

    Hi , Our Import pricing schema has following two condition types for ADDITIONAL Custom duty Step         Condn Type  and Desc                              from          to         A/c key        Accural 220     JADC     Addi. Duty Custom%            

  • Jboss with mapviewer and network configuration.

    Hello All, developped succesfully an application piece with mapviewer and network (10.x) ndm on OAS. Now should integrate in solution running on JBoss 4.0.5. First problem arises when cannot reach new mapviewer html admin pages. Anybody has experienc

  • OpenCL include path with spaces

    Hi! I tried passing additional include paths to the clBuildProgram(...) function using "-I dir" as given in the specification. This works perfect as long as the directory name given does not contain any spaces. However on some platforms you cannot av

  • "ORA-00904: "POLTYP": invalid identifier" in export

    First I got errors when I did the export with an export tool of Release 11.1.0.7.0 and there were lot of ORA-00904 and ORA-01003 like the following: XP-00008: ORACLE error 904 encountered ORA-00904: "MAXSIZE": invalid identifier . . exporting table X

  • DDLs of  Schema

    Hi All I'm taking DDLs of a Schema.I took for all the objects of that schema using select dbms_metadata.get_ddl( 'OBJECT TYPE' ,'OBJECTNAME','SCHEMA') from dual; Almost i took for Table,SYNONYM,Procudure,Index and Package. Still i need to take for Pa