Maximum Polling Interval in File Adapter
Hi,
Can you please let me know what can we set as the maximum polling interval in the Sender File adapter?
I have a scenario where I am setting the File Adapter polling interval as 7884000 secs. i.e.2190 hr= approx 3 months.
But the file adapter is polling at very short intervals.
Any help on this would be appreciated.
Regards,
Sampada
You need to configure the polling settings so that the system does not become overloaded, but at the same time, in a way that end users do not notice a major decrease in performance over time. Keep in mind that the greater the polling interval, the less frequently users will receive updates.
Adapter Scheduling - Hail SP 19 :-)
Similar Messages
-
Polling interval in file adapter.
Hi,
I have a doubt regarding the file adapter polling interval.
Suppose we get a file of size 512 MB and PI file adapter taking long time (say 15 Min) to process it, we have a polling interval of 10 min.
I have a 2 doubt in this case.
1. what will happen in the next polling interval. because the older file still is in process and it is still in the source folder location.
2. if at the same time there is new file get places in same folder location. then how the file adapter behave in this case. Is it start picking the second file or again poll the incomplete file.
I want to know that is PI maintaining some lock while processing some file from source folder.
regards,
NavneetHi,
I guess normally it should process both files, earlier one which is in process and the new one as well (it depends your selection string in file name scheme).
Also refer thsi Wiki to help in avoiding duplicate file processing:
http://wiki.sdn.sap.com/wiki/display/XI/DifferentwaystokeepyourInterfacefromprocessingduplicate+files
Regards,
Divyesh Vasani -
Polling issue in File Adapter scenario
Hello Experts,
I have a scenario where in I am using a batch command to rename a file before processing it using "run operating system command before message processing". The command works fine and renames the file, but the issue is that it does not process the renamed file in the same polling interval.
In next polling interval the file is processed as expected.
Can you please let me know the reason why this might be happening?
Thanks.Hi Ravi,
First the file is picked and then the pre-message processing OS command is executed and then the message is processed. Processing of the message is not dependent on whether the OS command gets executed successfully or not. Basically, PI issues the OS command and then processes the message.
So if you have renamed the file using OS command it should be picked up in the subsequent interval.
Hope it helps!
Cheers,
Anand -
What is the Maximum Data can a file adapter can send at a time.
Hi ,
What is the Maximum Data can a file adapter can send at a time.Is there any maximum limit data can adapters will send.
can any one help on this.
regrads
RaghuHi Reddy,
I have raised the same question and I got correct answer.
Refer the below thread which will give u information.
Wat is the maximu size of data XI can handle
Thnx
Chirag -
How can i pass the name of the file polled by the file adapter to next step
Hi XI guru's ,
How can i pass the name of the file polled by the file adapter to next step in a BPM..?
regards,Use Adapter-Specific Message Attributes and map that value in udf to the BPM message.
Also see this
/people/michal.krawczyk2/blog/2005/06/11/xi-how-to-retrieve-messageid-from-a-bpm
Regards,
Prateek -
Restricting polling in sender file adapter
Hi friends,
I have a requirement where I need to poll a file from an FTP server. But, if the file is being edited (some other application is writing to it) I need to avoid picking that file. Plz tell me how i can achieve this...waiting for ur replies.
Regards,
ShilpaShilpa,
Check out this sap note :
[https://websmp230.sap-ag.de/sap(bD1kZSZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=821267|https://websmp230.sap-ag.de/sap(bD1kZSZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=821267]
File Locking / Incomplete Processing
Q: I sometimes observe that files are processed only partially, i.e., only a fragment from the file's start is converted into an XI message. Nevertheless, the file is usually archived completely. Does the File Sender Adapter honor if another process has locked a file for exclusive use?
A: Unfortunately, the J2EE 1.3 technology the File Adapter is built upon does not support file locking. This limitation affects the File Adapter's operation. Depending on whether the JRE implementation for the operating system under which the adapter runs uses mandatory file locking or advisory file locking, opening a file that is currently being written to by another process will fail or not.
If opening the file fails, no problem exists and the adapter will try to open the file each poll interval until it succeeds.
However, if opening the file is not prevented by the operating system, the adapter starts to process the file although it is still being modified. Since XI 3.0 SP11 / PI 7.0 there is a parameter named "Msecs to Wait Before Modification Check" in the advanced settings of the File Sender channel configuration to work around this issue. This setting causes the File Adapter to wait a certain time after reading, but before sending a file to the Adapter Engine. If the file has been modified (which is basically determined by comparing the size of the read data with the current file size of the input file) after the configured interval has elapsed, the adapter aborts the processing of the file and tries to process the file again after the retry interval has elapsed.
If this option is not available for the settings you would like to use, the following algorithm (to be implemented in your application) may be used to ensure that the File Adapter only processes completely written files:
Create the file using an extension, which does not get processed by the File Adapter, e.g., ".tmp"
Write the file content
Rename the file to its final name, so the File Adapter will notice its existence and pick it up
Hope this will help.
Thanks,
Nilesh -
Making Polling Interval on DB Adapter as a property.
Hi All,
I am trying to make the polling interval on my db adapter as a prpoerty so the polling interval time gets read from a property file and hence i dont have to redploy the process when i want to change the polling time interval. Is it possible ?
Thanks
Kin case of 11g and the use of mediator you can use it using the assing in the mediator itself and set the 'PollingFrequency' property
http://download.oracle.com/docs/cd/E15523_01/integration.1111/e10231/adptr_propertys.htm#CIHJIDCH
haven't tested it, but i assume you can use a xpath expression in there.
and then you can use getPreferences function to retrieve the values which you can set in the console on runtime, see :
http://eelzinga.wordpress.com/2009/10/28/oracle-soa-suite-11g-setting-and-getting-preferences/
hope it works :) -
How to set polling interval for database adapter in interconnect?help plz!!
Hi
i have 4 database adapters with same name subscribing to same event in 4 different interconnect instances(i.e., same business event and application event in different hubs) and pointing to same source application database , same destination application database.
source application database have one oai bridge schema.When a message has to be sent,message will be enqueued in messageobjecttable.This message can be taken by 4 databse adapters.and send to 4hubs then 4 messages will be sent to destination application instead of single message.
To avoid this,I want to set database polling interval in 4 adapters sych a way that if one adapter take message in MESSAGEOBJECT TABLE,the other three adapters don't pick same message.
this way i can avoid redundacy at destination application.Please reply soon
ThanksYou would seem to have an extremely unusual use case for interconnect. The whole purpose of Interconnect is to concentrate the message processing into one hub and distribute the message to those applications interested in it. The use of 4 hubs from one application is probably not supported for precisely the reasons you are having trouble. Can you give us more details of your use case?
I am not sure that adjusting the polling interval for the different adapters will help. Since at some point you will get a collision where 2 or more adapters poll at the same time. -
Get poll interval parameter from adapter module
Hi,
I'd like to make special treatment in my adapter module based on the "poll interval" information filled in Processing Parameters part of the adapter configuration.
Can an adapter module access this information?
regards
YannHi Yann,
>>>>Can an adapter module access this information?
of course it can you just have to use
a correct parameter's name
check this post to get the java code
Re: Access the URL Parameter from a Adaptermodule
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a> -
How to set DAY as a polling time in file adapter?
Hi all,
I have a scenario where I have to pick a file weekly once. But due to some maintanance activity XI system will be restarted on monthly basis. Due to that the weekly polling freuquency is not going to work properly.
For example Wednesday I have to pick a file and thursday system is restarted so the polling frequency also will be restarted from thursday.
Is there any way to get rid of this scenraio?
Is it possible to configure any adapter modules for making the file pick only on WEDNESDAY?.
Can anyone please help on this?
Thanks,
JayanhHi
Hope it helps..
Note:You will need to have the authorizations of the user group SAP_XI_ADMINISTRATOR with the role modify.
Go to Runtime Workbench -> Component Monitoring -> Communication Channel Monitoring
Locate the link Availability Time Planning on the top right corner of your Communication Channel Monitoring page.
In your case, the requirement is to schedule the Sender file adapter daily once at 8:00 at morming.
In Availability Time Planning, choose the Availability time as daily and say create.
Provide the details like the time 12:00
Then select the communication channel , goto the Communication Channels tab and filter and add the respective channel (File Sender).
Once all the above has been done 'Save' the changes.
For more
/people/shabarish.vijayakumar/blog/2006/11/26/adapter-scheduling--hail-sp-19-
/people/alexander.bundschuh/blog/2006/01/04/scheduling-messages-in-sap-xi
Thanks -
File adapter polls before the processing is finished in R3
Hi,
Polling in sender file adapter is set as 4 secs. The problem arises when more than one files with same Service Order number are uploaded and the corresponding IDOCs are simultaneously received in R3 system. As one IDOC is already processing the Service Order, the other IDOC fails as the Service Order is already being processed.
Kindly suggest if there is a way to resolve this issue.
Regards
PraveshHi,
Check below link:
File adapter should pick a single file at a time
can file adapter pick files sequentially
Amol
Edited by: AMOL BHARTI on Apr 14, 2010 11:38 AM -
Defining polling interval on customization file
Hello everyone,
I have a requirement: define a polling interval (in this specific case for a email polling proxy, however it would be useful for a file polling proxy as well) in a customization file.
It seems a simple task, however i could not find a way to perform...
I've searched here in the forums and have found nothing (if someone finds a thread about this please provide the link).
I've googled a bit as well, and the result was the same...
In this blog post http://wesselj.blogspot.pt/2012/01/oracle-service-bus-good-bad-and-ugly.html we can read:
"+(...) Customization files. Inflexible, verbous and complex to maintain. Not everything can be customized with the customization files, some like passwords are reasonable, *but things like polling interval for file integration would be nice to be able to change between environments*.+"
And in this document http://docs.oracle.com/cd/E11036_01/alsb30/pdf/consolehelp.pdf , in the customization topic (page 29-1), there is nothing mentioning polling interval...
The environment installed is OSB 11gR1.
Any suggestions on how to perform this task?Any ideas?
-
Query operation in file adapter
Dear All,
we have faced several issues in using polling for production env.
We have to ensure sequential nature of data, which means FIFO order of inserts
is there any alternative to using polling - Receive in file adapter ?
Can we use {query database adapter - invoke activity } in file adapter ?
Please let me know if any body as any leads.
Appreciate your response.
Regards
Arcwe cant use Invoke activity for Read functionality for File Adapter but there is another way to achive this we can use two recieve activities in one BPEL please find the Sample here $BPEL_HOME\samples\tutorials\109.CorrelationSets
Krishna -
Polling with RFC Sender Adapter
Hi,
i am facing a general problem with the rfc sender adapter.
I have to design a scenario where periodically pi has to call a rfc fuba/bapi in R3 and insert the response into a database or create a file.
I looked for some possibilities to impelement this scenario and desided to use ABAP Proxies to transfer the data from R3 to pi.
The problem is that the wish of the department for R3 is not to plan a job to send the files. They want that pi itself call periodically the fuba in R3. I found out that the rfc sender adapter is not able to poll like jdbc oder file adapter.
I thought i could write a litte abap program in pi to be planned in a job or to create a dummy file and poll with the file adapter. But i mean that these solutions are not good. They feel like workarounds and not like a real good solution.
Beside this there is also the problem that we could use the inubit integration system. inubit is able to poll periodically the rfc adapter and is it hard to argument against this.
Are there any good solutions known for the problem?
Does anyone know what the official SAP meaning is for a process like the described above?
many thanks
Michael Eckstein
Edited by: Michael Eckstein on Dec 16, 2011 12:55 PMhi,
1st: your R3 department is stupid (!).
As your flow is ECC -> PI -> Database. you could easily create a litle extraction program with a selection screen (and a variant which could be easily updated !!) (1) to send data to PI (by using a proxy or an idoc), with a log (at end of your program) and to create easily (!!) a sap job (ecc) based on a country calendar (2).
2nd: If you really need to have "PI -> ECC (proxy)-> PI -> JDBC", you have to use the standard PI scheduler tool, called "Availibility time planning" (ATP). see this option in CC monitoring (RWB). you could trigger your sender CC (proxy)
And if you want, another possibility could be to trigger your sender CC by an external tools (to buy), or by creating an abap program....
(1) how you will pass the value to extract data with your solution (my 2nd point).
(2) in ATP of PI, the scheduling will be NOT based on a country calendar (holiday, religious/bank holiday), but just daily, weekly, inside a range, etc...
Mickael
Edited by: Mickael Huchet on Dec 16, 2011 12:53 PM -
Hi All,
I have a scenario where i need to pick 2 files from 2 different folders and process them in a particular sequence. Can anyone suggest me a method how this can be achieved.
Thanks,
Siva.use two file adapter with different polling intervals.
first file adapter will pick up file then second adapter will be polled and will pick the another file from the folder.
chirag
Maybe you are looking for
-
Flash Player not working in IE8 or IE9
Had been using IE9 and all of a sudden had problems on all sites with Flash. Went to a website and was prompted to "Click to install activex control: Adobe Flash Player". When I click to install, I get the error message that the "Flash Player I am t
-
Need help to write an interesting query
I need some help in framing the query for the following scenario. I have three tables (in general) Departments DNO (PK) DNAME Employees DNO (FK to DNO in Departments) ENO (PK) CODE History seqid (PK) ENO (FK to ENO in Employees) The summary of the da
-
HP's Quality Center Integration with SharePoint 2010
Hello, I am having an requirement to access all the records from HP's Quality Center 11 and import those in SharePoint List. Is there any way we can consume the web services exposed by QC and utilize the same in SharePoint to retrive the data ? Also,
-
I need to back up my iMovie DVDs. I recently had my Seagate External Hard Drive go bad. Seagate replaced the drive but not all the iMovie projects i had backed up there. Is there a way to do this from theDVDs i burned the iMovie projects to? The
-
Problem installing solutions software on HP officejet pro 8500 A909a
I've tried everything including trying to install directly from the temp 7zip folder by clicking on the HP setup icon to no avail including install wizards and print and scan doctor. exhausting, please help.