File adapter - Write - Elapsed Time based batching not working.

We are creating an asynchronous BPEL process that creates a file every 2 mins with the messages the BPEL process received in the last 2 minutes. We are using a file adapter with only "elapsed time" set to 2 minutes (Number of Messages and File size disabled) . If we deploy this into BPEL console and use bpel console's stress test feature, it doesnt create any file at all. If we use a file adapter based on Number of messages, it works fine. Can any one of you suggest what could be the problem ?

Unfortunately, this is documented bahaviour (solution/workaround anyone?!):
Elapsed Time Exceeds:
Specify a time which, when exceeded, causes a new outgoing file to be created.
Note:
The Elapsed Time Exceeds batching criteria is evaluated and a new outgoing file is created, only when an invocation happens.
For example, if you specify that elapsed time exceeds 15 seconds, then the first message that is received is not written out, even after 15 seconds, as batching conditions are not valid. If a second message is received, then batching conditions become valid for the first one, and an output file is created when the elapsed time exceeds 15 seconds.

Similar Messages

  • Time Based Publishing - Not Working

    Hello SAP KM Gurus-
    I had configured Time Based Publishing to work on our clustered portal.  Everything worked fine until we went to a central instance / dialog set-up.  Now Time Based Publishing no longer works and I can't seem to get it to work no matter what I do.  I have so far:  scheduled the job on only one instance (as per the clustering guidelines in SAP Library), turned it on with properties with the repository (and for the folder I wish to use) and have checked to make sure the service is okay in KM Configuration.  However, it seems like the job never comes by to hide the documents b/c they just show up for Read users no matter what I change.  As I stated before, this was working fine until we went to the new configuation.
    I've checked SAP Notes with no luck.  Anyone have any idea why this is not working?  I'm fresh out.
    Any help greatly appreciated...
    Jim

    Hello Anjali-
    Thanks for your post.  Yes, I have checked that.  Here are my settings - I have Check Valid From assigned to one instance running on  the Central Instance and Check Valid To assigned to the other instance (we have two instances on each server) as per the help docs.  In component monitor, tbp is coming up green and the properties it is State-Ok.  On the repositories, I have both tbp and properties assigned and when I enable tbp I can get the lifecycle tab for the documents.  It appears as if everything is set up right.  However, the read users can see the documents just fine when they shouldn't.  It seems as if the Check Valid From and Check Valid To jobs just never run.
    Is there anyway I can see if the jobs have run and what the schedule was?  The tbp report also showing nothing...  Does it look like I'm doing anything wrong above.  I'm on EP 14/KM 14 by the way...
    Thanks for your help-
    Jim

  • Time Based workflow not working

    Hi,
    I am facing issue in time based workflow. I designed a worflow with two actions. Wait action is the first action and second action is send email. For send email the from address is current user and TO is owner of the record. One thing I noticed is that its working fine when "I" triggered the workflow and assign owner as "me". Its not trigerring the mail when owner is somebody else. I can see the instance with the following error message in the workflow monitor. "The buscomp Service Request is no longer valid for workflow name ********. The workflow instance ******* has terminated."
    Edited by: user11100286 on Oct 1, 2010 4:33 PM

    Hi,
    I am facing issue in time based workflow. I designed a worflow with two actions. Wait action is the first action and second action is send email. For send email the from address is current user and TO is owner of the record. One thing I noticed is that its working fine when "I" triggered the workflow and assign owner as "me". Its not trigerring the mail when owner is somebody else. I can see the instance with the following error message in the workflow monitor. "The buscomp Service Request is no longer valid for workflow name ********. The workflow instance ******* has terminated."
    Edited by: user11100286 on Oct 1, 2010 4:33 PM

  • File Adapter write operation behaviour

    Hi,
    We actually have a process which read JMS Messages, and write a file.
    We don't want to have one file for each JMS Message, so we try to use "Number of Messages equals" and "Elapsed time exceeds".
    This is an example of the behaviour we are expecting :
    Elapsed time exceeds = 10s
    Deploy process BPEL / ESB
    0s - 1 JMS incoming
    10s - a file with 1 record is created.
    3 JMS incoming
    20s - a file with 3 record is created.
    2 JMS incoming
    30s - a file with 2 record is created.
    What happens in reality :
    0s - 1 JMS incoming
    10s - No file generation
    1 JMS incoming => a file with the previous record is created.
    2 JMS incoming
    20s - No file generation
    1 JMS incoming => a file with the 3 previous records is created.
    1 JMS incoming
    30s - No file generation
    If no JMS are incoming during 3 month... didn't have any file for my 2 last JMS Messages.
    The trigger to check the condition of creation of the files seems to be a new process call.
    So... is it the normal behaviour ? Is it a bug ? Are we making something wrong ?
    The problem exist also for "Number of Messages equals".
    I think many people use this, how do you do to resolve this problem ?

    Unfortunately, this is documented bahaviour (solution/workaround anyone?!):
    Elapsed Time Exceeds:
    Specify a time which, when exceeded, causes a new outgoing file to be created.
    Note:
    The Elapsed Time Exceeds batching criteria is evaluated and a new outgoing file is created, only when an invocation happens.
    For example, if you specify that elapsed time exceeds 15 seconds, then the first message that is received is not written out, even after 15 seconds, as batching conditions are not valid. If a second message is received, then batching conditions become valid for the first one, and an output file is created when the elapsed time exceeds 15 seconds.

  • File Adapter Write missing files

    Hello
    I have some trouble with a bpel process containing a file adapter that should write files to disk. Each bpel-process is started when a read file adapter reads a new matching file (*.xml).
    I have tested the process with a few files (5-20) and a new process is started for each file, and at the end of the process a new file is written to disk by the file adapter (Write). But when I am testing with a large number of files (40-50 files) something strange happens.
    A new process is started for each file, but it looks like the file adapter that should write files to disk is not capable to handle the pressure. 10-20% of the processes doesnt complete as expected. In the BPEL Console everything looks ok, it seems like the File Adaper has written a file to disk, no error is trown. But when I look in the directory the file is not there...
    Has this something to do with performance? Is there any parameters or settings I can tune to make the file adapters work better? Sometimes it also looks like the file adapter (read) doesnt manage to start a new process for each incomming file even if they are deleted and archived...

    I ran into a similar issue. As a workaround we ended up just using java to write the files out. When the File Adapter attempts to write out a file it first writes that file to a temp file and then copies that to the appropriate directory.
    I believe that when two or more threads were attempting to write at the same time the write was failing for one (but appearing to work in the console logs). I think a race condition may be created when two threads attempt to write using the File Adapter for access to the temp file. I contacted my oracle rep about it but they are always pretty worthless so I havent ever heard anything back concerning the issue.

  • Oracle Performance 11g - Warning: log write elapsed time

    Hello ,
    We are facing quite bad performance with our SAP cluster running Oracle 11g .
    In the ora alert file we are having constant message for "
    Thread 1 cannot allocate new log, sequence xxxxxx
    Private strand flush not complete"
    However , this seems to be quite old as we have recently started facing the performace issue.
    Moreover , in the sid_lgwr_788.trc file we are getting warning for log write elapsed time as follow.
    *** 2013-07-25 08:43:07.098
    Warning: log write elapsed time 722ms, size 4KB
    *** 2013-07-25 08:44:07.069
    Warning: log write elapsed time 741ms, size 32KB
    *** 2013-07-25 08:44:11.134
    Warning: log write elapsed time 1130ms, size 23KB
    *** 2013-07-25 08:44:15.508
    Warning: log write elapsed time 1161ms, size 25KB
    *** 2013-07-25 08:44:19.790
    Warning: log write elapsed time 1210ms, size 10KB
    *** 2013-07-25 08:44:20.748
    Warning: log write elapsed time 544ms, size 3KB
    *** 2013-07-25 08:44:24.396
    Warning: log write elapsed time 1104ms, size 14KB
    *** 2013-07-25 08:44:28.955
    Warning: log write elapsed time 1032ms, size 37KB
    *** 2013-07-25 08:45:13.115
    Warning: log write elapsed time 1096ms, size 3KB
    *** 2013-07-25 08:45:46.995
    Warning: log write elapsed time 539ms, size 938KB
    *** 2013-07-25 08:47:55.424
    Warning: log write elapsed time 867ms, size 566KB
    *** 2013-07-25 08:48:00.288
    Warning: log write elapsed time 871ms, size 392KB
    *** 2013-07-25 08:48:04.514
    Warning: log write elapsed time 672ms, size 2KB
    *** 2013-07-25 08:48:08.788
    Warning: log write elapsed time 745ms, size 466KB
    Please advice to further understand the issue.
    Regards

    Hi,
    Seem the I/O issue, Check the metalink id
    Intermittent Long 'log file sync' Waits, LGWR Posting Long Write Times, I/O Portion of Wait Minimal (Doc ID 1278149.1)

  • My time machine is not working and the disk utilities cant repair it and is asking me to format the drive again. How can I backup the files before formatting the drive so that I don't lose my files?

    Hi
    My time machine hard drive has stopped working after the latest update and the Disk Utilities says,:
    Error: Disk Utility can’t repair this disk. Back up as many of your files as possible, reformat the disk, and restore your backed-up files."
    How can I back up my files before reformatting when I can't even open the drive's folder?
    Thanks for the help.

    I think my time machine is not working correctly and I dont know how to get it back... I really need to get back my photos!!!!!
    Exactly this was the way I USED to make restores of files and photos..
    but know I CANT!!!!
    When I am inside iPhoto y click on the Time Machine icon at the Dock and it goes to this...
    at my right side there are the backups but when i click them nothing happens they are like NOT CLICKABLE...
    PLEASEE!!! Help me!!

  • Time machine was not working.  I bought a new time machine and migrated time machine files to new time capsule; not recognized by yosemite

    Time machine was not working after yosemite upgrade on new and old MacBooks in my house.  I bought a new time machine and migrated time machine files to new time capsule. I changed the names of the older sparse bundles to the default values.  Yosemite still does not recognize them. 

    I presume the bought a time machine means a time capsule.
    How did you migrate the Time Machine files?
    From where? A Time Capsule or external drive?
    It is difficult to get TM working with Yosemite.. since it doesn't work after the upgrade on the old TM backup.. it will not work on the migrated files either.
    You simply start a new backup and store the old backups for a few months until you are ready to dump them.
    The instructions for inheriting old backups is B5 and B6 here.
    http://pondini.org/TM/Troubleshooting.html
    However it is just unlikely to work.. TM in Yosemite is very different. Broken even.
    I also strongly recommend people to use Carbon Copy Cloner or some other 3rd party backup until Apple get the bugs fixed. And after several months.. they are still rampant.

  • Time Based Publishing not supported in WPC

    Hi all,
    I want to implement Time Based Publishing for some WPC resources (for example: web articles or paragraphs, ie: not for pages, but resources).
    Sadly, it seems that is not allowed. There is the following note: 1310768 - Time Based Publishing not supported in WPC.
    Does anyone know an alternative way to achieve this TBP behavior? I thought developing some task scheduler service, or perhaps a namespace filter.... , some help will be thanked!
    Question aside: I don't understand why standard TBP is not supported, being a WPC's web article a standard KM resource. Don't you find strange?
    Thanks in advance,
    Best regards,
    Marcelo

    In case anyone is interested, I asked SAP about it.
    They said that TBP for WPC is only available to pages, and since 7.3 is the only time based publishing feature available for WPC. Beside that, they made clear the difference betweeen WPC and KMC... I supposed (wrong) that WPC was relied on KMC,
    So.. I'm really stuck on this.
    I'll keep this question opened in case anyone could help or maybe share an idea,
    Thanks in advance
    Best regards,
    Marcelo

  • My Time Capsule does not work with existing WiFi

    Following a question solved on March 24 by LaPastenague, but gone bad again.
    Apple AirPort Time Capsule
    I felt the need for a physical backup of my data, as I would not completely trust the different clouds. I use, and have used Dropbox for 4-5 years and are very satisfied with that, but I am still not sure if or when a political lunatic will shut off the internet.
    I purchased the Apple AP Time Capsule 2T, because all my other stuff are Apple, and that it's wireless. My old backup is Maxtor 300 GB.
    Since we stay 2-3 weeks on two locations, one in Norway and one in Sweden (two different countries) we must use Mobile Broadband 4G, cables or fibre connections are useless for us, and we don't have it up to the houses. I have one mini router for each country, we bring with us iPhones, iPads, iMac, Apple TV, APExpress. When we pass the boarder I change the mini router, and the system continues working perfect on the WiFi, except the APExpress that needs to be reconfigured,  but then it works.
    The APTC was difficult to make working as it would not accept to be in an existing network, but with good help from the Apple Community, LaPastenague, with forcing the TC connect to the APE with Ethernet cable in bridge mode, ref "My Time Capsule does not work with existing WiFi" from March 24, the problem was solved and all gadgets worked together in a perfect harmony, until we changed location.
    Now, as I have my second WiFi network, and the APExspress is reconfigured, it's like the TC thinks, I am the base boss here, I am not taking orders from APE one more time, and it simply does not work, not only that, it fluctuates all the time.
    I have a slight feeling that the two WiFi bands are making the trouble as during the configuration of the TC sometime the last figure 6 and 7 pops up, and that has something two do with the two different 2,4 and 5 GHZ bands
    So, I am curious if you have any idea ?
    I am thinking of returning the TC if I don't make it work now, but how do I delete all the data that's on it?

    I can deal with the last question first and easily.
    I am thinking of returning the TC if I don't make it work now, but how do I delete all the data that's on it?
    Open the airport utility .. go to the disk tab and select erase.
    When you select erase you will get mulitiple options.
    Quick removes the file table but does not delete the files,, it takes 2min or less.
    A Zero out data is the secure way,, by writing 0 ie low level drive format.
    It can take several hours..
    7 pass will take a week.. not recommended..
    35 pass erase is ridiculous.. it would take a month.. put an ax through the TC. It is quick and better.
    Now, as I have my second WiFi network, and the APExspress is reconfigured, it's like the TC thinks, I am the base boss here, I am not taking orders from APE one more time, and it simply does not work, not only that, it fluctuates all the time.
    The fact that it did work and has now failed might point to faulty unit.
    The only way to tell is reset it properly to factory and start over.
    Universal Factory Reset.. any model TC or AE.
    Unplug your TC/AE from power or turn off at the power point.
    Hold in reset. and power the TC/AE back on..  all without releasing reset and keep holding in for about 10sec. (this is often difficult without a 2nd person or a 3rd arm).
    Release it when the status light flashes rapidly. If it doesn’t flash rapidly you have missed it and try again.
    Note..
    Be Gentle! Feel the switch click on. It has a positive feel..  add no more pressure after that.
    TC/AE will reboot after a couple of minutes with default factory settings and will wipe out previous configurations of the router.
    No files are deleted on the hard disk in a TC.. No reset of the TC deletes files.. to do that you use erase from the airport utility.
    Generally having multiple wireless AP should not cause problems.. but it is better to set channels manually.. so it doesn't go beserk rotating channels.
    Remember to keep all names short, no spaces and pure alphanumeric.
    Sadly though the Apple routers have no logging now and no SNMP and almost nothing to help diagnose a problem, so if it continues .. take it back to apple.. they have given you no other method of fixing it.

  • Quick Time player is not working and I can't see apple videos. What can I do?

    Quick Time player is not working and I can't see apple videos. What can I do?

    Backup files off the comptuer, disconnect
    run through 1-16 here anyway
    Step by Step to fix your Mac
    Reinstall Just OS X
    How to reinstall just OS X or erase/install OS X

  • Time Machine will NOT work with Airport Disks!

    It looks like Time Machine will not work with Airport Disks after all. All references to Airport have been removed from the Time Machine page:
    http://www.apple.com/macosx/features/timemachine.html
    It also specifically says: "You can designate just about any HFS+ formatted FireWire or USB drive connected to a Mac as a Time Machine backup drive. Time Machine can also back up to another Mac running Leopard with Personal File Sharing, Leopard Server, or Xsan storage devices."
    Surely, they would have included the Airport Extreme Base Station in this list if it was supported.
    I really hope there will be another firmware update for the AEBS which will bring compatibility with Time Machine, because Time Machine was the only reason for me to buy an AEBS. (I only use it as a small backup server, I don't even have wireless networking enabled. There were other solutions, e.g. from Synology, which are faster and more reliable than AEBS disk sharing, but Synology stated their network drives would not be compatible with Time Machine.)

    Here's how you can potentially use your AirDisk with TimeMachine (beware that YMMV), but it should work as it works with every other "unsupported" device.
    1) Mount your AirDisk so it appears on your Mac
    2) Open Terminal.app
    3) change directories to the AirDisk's root folder located in "/Volumes"
    ie: cd "/Volumes/AirDisk Name"
    4) execute this command to "bless" the drive to be used with time machine:
    touch .com.apple.timemachine.supported
    5) Start TimeMachine and if all went well, it should recognize your AirDisk drive and use it for TM.
    This should also work on NFS shares, SMB shares, AFP shares, basically anything. It has worked up until the last developer seed, so unless they yanked this at the last minute, it should still work.
    Now, the reason why Apple removed this feature may be due to the unreliability of the AirDisk, so be cautious.

  • I want to reset my privacy questions for my apple i.d. But when i request to do so it sends it to a email address that isnt on my file can anyone tell me why its not working?

    I want to reset my privacy questions for my apple i.d. But when i request to do so it sends it to a email address that isnt on my file can anyone tell me why its not working?

    1)  Apple ID: All about Apple ID security questions
    Torrifromny wrote:
    I want to reset my privacy questions for my apple i.d. But when i request to do so it sends it to a email address that isnt on my file ?
    2)  See Here.  Apple ID: Contacting Apple for help with Apple ID account security
    Ask to speak with the Account Security Team...
    3)  Or Email Here  >  Apple  Support  iTunes Store  Contact

  • I got an error message: 'iTunes has stopped working. A problem caused the program to stop working correctly. The solution asked me to load latest version which I did many times and still not working... HELP!

    [Window Title]
    Microsoft Windows
    [Main Instruction]
    iTunes has stopped working
    [Content]
    A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.
    [Close program]
    This is what I got... sorry, not very tech savvy to copy the error message onto here...
    Have tried uninstalled and re-installed iTune, updated the new version of 10.6... many times over still not working!!!
    I share the frustrations of many here. HELP!!!!!

    Hi there Nok Saensanoh,
    I would recommend taking a look at the troubleshooting steps found in the article below.
    iTunes for Windows Vista, Windows 7, or Windows 8: Fix unexpected quits or launch issues
    http://support.apple.com/kb/ts1717
    -Griff W.

  • I just got the iPhone 5 and noticed that the message alerts will only alert once . I have it set up as 3 times and its not working . Please help. I'm running 6.0.2 and I really starting to get ****** off with apple products

    I just got the iPhone 5 and noticed that the message alerts will only alert once . I have it set up as 3 times and its not working . Please help. I'm running 6.0.2 and I really starting to get ****** off with apple products

    Instead of getting annoyed, read the User's Guide and try basic troubleshooting.

Maybe you are looking for

  • IPad 3 very slow after updating to iOS 8

    I Updated my iPad 3 to iOS 8 the day it was released and almost immediately after it finished updating I started having problems. 1) The Wifi connection is incredibly slow on every device I update. 2) The entire iPad 3 itself runs very slowly whether

  • Condition in script logic.

    I need to copy the 'All Account'  % value in datasource 'A' to 'All Account' , All costcenters with in same data source. This I need to copy only for those cost centers, for  which transaction data exist in data source 'B' for this period How to achi

  • MVC model confusion...

    I don't know if this is an mvc model: I have an HTML pages for viewing and input of data.... a JSP file to get the request from the HTML page.... and Java beans that has functions that is called by the JSP file... The beans also gets the data to the

  • Remove Axis Lines

    10 points to the first correct answer: How do I remove the axis lines from a graph? The graph has been created from a pivot table (i.e. selected 'Graph Pivoted Results'). I've created a horizontal stacked bar chart and removed everything (legend, lab

  • Help installing CS3 on my Vista computer

    HP G60-235DX laptop Intel Pentium Dual-Core Processor    320 GB hard drive 3 GB DDR2 SDRAM Windows Vista Home Premium (32-bit) with Service Pack 1 I just purchased a new laptop this week and I need to install CS3 on it.  Now I have the Adobe Creative