FTP Polling Adapter Unresponsive or Hangs Once in Month
Hi,
We have 3-4 services in BPEL 11g which polls data from the FTP server .But out of which one services hangs or Unresponsive (once in months).Due To which files are not picked up from FTP server. Others services are working fine.
Currently, we are monitoring this interface and bounce FTP Adapter (sometimes even SOA Servers as well) in order to prevent this scenario.You are therefore, kindly request to suggest a permanent fix to this problem.
Regards,
Dumesh Kumar
http://docs.oracle.com/cd/E14571_01/core.1111/e10108/adapters.htm#BABCICBB
15.2.1 Inbound Throttling Best Practices
Increase the thread count
paste this line in ur composite.xml under " <binding.jca config=..... .jca/>"
<property name="ThreadCount" value="40"/>
Similar Messages
-
Wrong port in FTP receiver adapter - no errors in message monitoring?
Hello all
We're on XI 3.0 SP16 and have created / configured a HTTP XML -> XI -> FTP Server scenario. In the receiver comm. channel (ftp) we had specified a wrong port number and always wondered, why we never got errors in message monitoring. Everything seemed to be processed correctly... but no file arrived on the FTP server (receiver) side!
After correcting the wrong FTP port number in the receiver FTP comm. channel everything went fine.
We now encountered a similar problem with a RFC receiver adapter. We're using it in another scenario HTTP XML -> XI -> RFC to SAP R/3 (4.7).
For some reason it died (red status in adapter monitor) and it was no more possible to do RFC calls from XI to SAP R/3 (normal RFC adapter, NO proxies).
In XI message monitor everything seemed to be ok but no message arrived till SAP R/3. Nothing in any queue...
After deactivating and reactivation the RFC receiver comm. channel it worked again BUT ALL PREVIOUSLY SENT messages seem to be lost.
Is it really the way it works? Does XI integration engine at runtime NOT catch whether or not a RFC or FTP receiver adapter died, thus is not able to tell somewhere in message monitor that a message could not be delivered at all?
I'm really confused here but hopefully I simply don't understand some easy principles to take into account...
Our SAP R/3 is on rel. 4.70 with Web AS 6.20. The XI 3.0 plugin is not installed. Do we need to go with server proxies there and use QOS = best effort?!?
Thanks for some suggestions.
Best regards,
RenaudHi Michal
Thanks... works great for normal XML based messages!
Now, what if I wanted to pass binary files from one ftp server via BPM to another ftp server in order to enable the transport acknowledgment?
The files polled from ftp server using the ftp sender adapter are all in binary format (ARJ). No xml data in there. How should the message format look like in BPM for the receiving step? Or: how to make sure not to loose the binary content when passing through BPMs?
I need this sort of scenario because of the tansport acknowledgment and because I need to have some sort of message splitting (send the binary file over to a second ftp server and additionally send some kind of info message to SAP R/3 regarding thin binary file).
BTW: in the MessagingSystem/monitor/monitor.jsp I do not see sender / receiver information. Is this normal? It's quite of a bad thing to look inside each message in order to find out what message I'm having in front of me...
Thanks a lot for your support and patience!
Kind regards,
Renaud -
FTP sender adapter wait sometime before processing a message
Hi,
I want my FTP sender adapter to wait sometime before processing a message. This is needed in my case since the receiver of the message cannot consume message in, say two seconds, so I would like to configure a "time to wait before processing message" in PI since PI processes all of the files in folder without waiting another poll interval time if more than one exist.
Is this possible in PI 7.0 sp16?
Regards,HI Tarik
BPM is the solution for this problem. If you are not willing to use BPM other solutions are Adapter module and Scripts
You can write adapter module and use the threads mechanism. Thread.sleep can help you achieve this but you need to set this properly.
Another method is Unix script. Let your actual directory be Dir1 and poll PI to Dir2. Use the script to write files from Dir1 to Dir2 one by one and with time gap. This will work for you.
If you have PI system on Windows i prefer to go with Adapter module.
Thanks
Gaurav -
FTP-Sender Adapter ignores files with "known filenames"
Hello experts,
the scenario is FTP -> XI -> IDOC and we have problems with the polling of the files. In communication channel monitoring everything is working fine, but in the FTP folder some files are ignored, although the communication channel is set up for all *.txt-files.
My question is, is it possible that the FTP sender adapter ignores files, if it already has processed a file with the same filename? After renaming the files they all were picked up and archived into another folder. How can I configure the communication channel to pick up ALL *.txt-files in the out-folder?
Best regards
DavidHi David,
What I have observed is, XI always reads files in a certain order (possibly alphabetical or reverse alphabetical). If it finds a file in the source directory that already exists in the archive directory, it will not attempt to read/process the next file (even if the next filename is completely new).
So, if any of the files in the source directory exist in the archive directory, there is a possibility that certain files may get processed and certain wont.
Make sure that none of the files that you put in source directory exist in the archive directory (i.e. all the files are new) and see the output. Let me know if this helps.
PS: I used FTP protocol
Regards,
Riyaz -
Use temporary file in FTP receiver adapter
Hi guys,
I'm not getting the purpose of "use temporary file" in FTP receiver adapter. Can you describe any situation, where this should be used?
What is the location of this temporary file?
Is it deleted after "normal" file is created?
Thanks a lot,
Olian> I'm not getting the purpose of "use temporary file" in FTP receiver adapter. Can you describe any situation, where this should be used?
Some times when you create the file on your target dir then if there is another application looking for same file is quite faster to pick the file before it is complety written on target dir then in this situation using temporary file option is very helpful. What it does, it simply creates the file first by using temporary name once all bytes or bits has been transfered then it creates the original name and the temp file get deleted.
> What is the location of this temporary file?
Same location, where your original file is suppose to be written.
> Is it deleted after "normal" file is created?
Yes.
Regards,
Sarvesh -
EOIO service on Receiver FTP/File Adapter
Hi,
I have a scenario where I would like the sender adapter to be quality of service, EO (Exactly Once), and the receiver ftp/file adapter to be of quality of service, EOIO (Exactly Once in Order). Is there a way to change the quality of service on the receiver adapter only so that it differs from the sender adapter?
Thanks in advance.
Best Regards,
DukeHi,
Unfortunately changing the QoS in the adapter module does not solve the issue. The message appears to be put into the queue prior to the module being called. Below is the audit log.
2007-10-26 09:58:30 Success Using connection AFW. Trying to put the message into the receive queue.
2007-10-26 09:58:30 Success Message successfully put into the queue.
2007-10-26 09:58:30 Success The message was successfully retrieved from the receive queue.
2007-10-26 09:58:30 Success The message status set to DLNG.
2007-10-26 09:58:30 Success Delivering to channel: XXXXXXX
2007-10-26 09:58:30 Success ChangeQoS: Module called
2007-10-26 09:58:30 Success File adapter receiver: processing started; QoS required: ExactlyOnceInOrder
As you can see the QoS has been changed to EOIO from the adapter module, but the message is still in Qos EO.
Am I missing something or is there another way this can be achieved? Can we do this in the mapping somehow before it ever gets to the AFW?
Thanks in advance.
Best Regards,
Duke -
Hi All,
BPEL 10.1.3.4 - 2 Nodes
I have a BPEL FTP poller which polls and initiates new process.
Since we have two nodes, its creating two instances very time we drop the file.
How do I prevent the duplication or make the poller work in only one node?
Thanks,
RaviHi Ravi,
You have to make adapter singleton to prevent this race condition.
Have a look at this link
http://soa-bpel-esb.blogspot.com/2010/01/how-to-set-up-singleton-adapter-in.html -
CRIO - RT - FTP server becomes unresponsive
All,
Ive got an issue here that once i load my code (executable), and it starts up, the NI ftp server becomes unresponsive. All the software on the RealTime is the latest NI RT 2009 software. Im using about 55% CPU and 92% memory on the device.
Regards,
KenI would kind of expect that if the CPU usage was really high, but not at 55%. Have you narrowed it down to this specific piece of code? Have you built a simple do-nothing application and deployed it to your controller? And could you expand on "becomes unresponsive", does it work for a while then stop, or is it immediate?
Justin Parker
National Instruments
Product Support Engineer -
Filename from payload - FTP receiver adapter
Hello everyone!
I have a scenario wherein I need to get the value from a field coming from an IDOC and then give that value as the "filename" of the file that is saved in the FTP folder.
IDOC > XI > FILE
For example, if /ORDERS05/IDOC/E1EDK02/BELNR = 620000123
then I want the name of the file to be saved in the FTP folder to be 620000123.xml
I understand you may use the 'variable substitution' property in the FTP receiver adapter, but subsequent attempts at trying to configure that property have resulted in errors. Can anyone help me out?
Warm regards,
Glenndo u have recordset name (root message)
For Ex: If you want to refer to the field which is bold
below is your variable substuition:
payload:root,1,e1,1,e2,2
<?xml version="1.0" encoding="UTF-8" ?>
<root>
<dummy>
<e1>
<e2>Data_1</e2>
<f/>
<g attr="abc">text</g>
<e2>Data_2</e2>
</e1>
</dummy>
<e1>
<e2>illegal/value</e2>
<f/>
<g attr="abc">text</g>
<e2 attr="fghij">Example Value</e2>
</e1>
</root>
Similarly
for your strucutre:
<MS_MT>
<order>
<number>
the variable substuition would be
payload:MS_MT,1,order,1,number,1
you have to give complete XML to arrive to this value. -
FTP receiver adapter does not transfer (STORE) file
Hello gurus,
In my scenario I want to transfer files from server X to server Y using FTP.
To get the files from server-X I use the FTP sender adapter, to put the files on server-Y I user the FTP receiver adapter.
Getting the file (QoS = EOIO) is not a problem; I see the result is SXM_MONI.
Putting the file doesn't seem to work; I don't have an error message in SXMB_MONI but the file is not physical stored on server-Y.
When I monitor server-Y I see that XI connects with the configured user/pwd and even creates the directory when it doesn't exist but the file is not STORED.
I'm not using the BPE, this is a very simple and basic scenario: what comes in, goes out.
Can you please advice what might be the cause of the strange behavior?
Many thanks - DannyHello Michal, thanks for your (very) quick reply.
this is the result:
1) adapter monitoring
<b>Status to be delivered:</b>
- Message successfully received by messaging system. Profile: XI URL: http://xdsci.cie.etat.lu:53100/MessagingSystem/receive/AFW/XI Credential (User): XIISUSER
- Using connection File_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.
- Message successfully put into the queue.
2) sxmb_moni
- no error
3) communication channel monitor
- Message successfully received by messaging system. Profile: XI URL: http://xdsci.cie.etat.lu:53100/MessagingSystem/receive/AFW/XI Credential (User): XIISUSER
- Using connection File_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.
- Message successfully put into the queue.
- The message was successfully retrieved from the receive queue.
- The message status set to DLNG.
- Delivering to channel: FTP_receiver
- MP: entering
- MP: processing local module localejbs/CallSapAdapter
- File adapter receiver: processing started; QoS required: ExactlyOnce
- File adapter receiver channel FTP_receiver: start processing: party " ", service "xyz"
Any idea? -
FTP Sender Adapter - File Order
Hi,
can somebody tell me, in which order files are being read via the ftp sender adapter when using wildcards for the filename ?
I need to process the files sorted by name. Is there any possibility to get this done ?
BR,
Martinhi Martin,
Check this forum discussion.
Re: FTP Sender Adapter - Processing Sequence
and check out Praveen reply regarding your query
regards
Ramesh P -
How to Create a Flat File using FTP/File Adapter
Can any body done workaround on creating the Flat file using FTP/File Adapter?.
I need to create a simple FlatFile either using of delimiter/Fixed length. using the above said adapters we can create XML file, i tried concatinating all the values into a single String and writing into a file, but it does not have proper structure
Can any body help me out on this..
Thanks
RamYou can create a text schema while creating a File Adapter. If schema is specified for File Adapter, it takes care of converting XML into fixed length or delimited format.
Thanks,
-Ng. -
Hi All,
From XI I need to FTP file to outer system using
FTP Receiver Adapter
Now due to security reason my client wants to use FTPS
I checked in FTP Receiver Adapter -- there is an option
Connection Security -- FTPS (FTP Using SSL/TLS) for Control Connection.
Can I select this option and use like simple FTP Receiver Adapter?
Please tell the process/docs for it.
Regards
<Moderator note: Subject edited. Please do not use 'Urgent'. See the [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement] for further info.>
Edited by: Mike Pokraka on Jul 25, 2008 8:47 AMHi,
check some links on FTPS.
FTPS Sender and FTPS Receiver adapter. Pls help
SFTP vs. FTPS in SAP PI
http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
Introduction to simple (File-XI-File)scenario and complete walk through for starters(Part2)
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/964f67ec-0701-0010-bd88-f995abf4e1fc
Regards,
Phani -
Specifying Additional Files in an FTP Sender Adapter
Hi,
Has anyone worked out how to specify additional files in a File/FTP Sender Adapter using the FTP transport protocol? This functionality comes 'standard' in the File/FTP Sender Adapter using NFS transport protocol so that additional files can been included as attachments, however, it doesn't seem to be available when trying to use the FTP protocol.
Thanks in advance.
Regards,
Reuben.Yes this is available in only NFS mode check sap help
http://help.sap.com/saphelp_nw04/helpdata/en/3c/b4a6490a08cd41a8c91759c3d2f401/frameset.htm
Thanks! -
Stopping DB-Polling-Adapter when failure in mediator
Hi
I have a DB-Polling-Adapter that posts data directly to a mediator. When data is readed mediator does a logical delete, e.g 2 for field readstatus. So during reading readstatus is 9 and before 1.
When a failure happens in mediator (during xsl-transformation) mediator throws failure back to DB-Polling-Adapter. The problem is now that state of readingstatus is still 9 and after each polling sequence adaptor reads and posts same data again and the failure happens also.
Is there any posibility to send failure into error hospital and to set readstatus to 2, so that adapter doesn't poll the same data on and on? Catching mediator fault in fault-policies doesn't work.
I found two solutions: 1. Send data from Polling-Adapter to BPEL, 2. Sematron validation but it doesn't cover all posible failures.
Example failure during transformaiton:
ORAMED-03303:[Unexpected exception in case execution]Unexpected exception in request response operation "execute" on reference "Convert_JDE-to-Common". Possible Fix:Check whether the reference service is properly configured and running or look at exception for analysing the reason or contact oracle support. Cause:oracle.tip.mediator.infra.exception.MediatorException: ORAMED-01201:[Error in transform operation]Error occurred while transforming payload using "xsl/F0006Collection_To_ProjectsCollection.xsl" for target part "reply".Possible Fix:Review the XSL or source payload. Either the XSL defined does not match with the payload or payload is invalid
Thx a lot for help.
PascalIssue solved.
Setting jca.retry.count=unlimited causes the adapter to behave as we want.
We had set jca.retry.count = 1 on the mistaken understanding that this related only to a failure to query/poll the database, and that sequence number was updated in a separate context that needed a global transaction to coordinate/rollback.
We don’t even need to propagate our global transaction from polling adapter to bpel component since all our writes happen in an OSB transaction; Our bpel just (re)throws a fault back to the polling adapter which is enough to trigger retry.
Maybe you are looking for
-
i just recently upgraded my itouch from 4.1 to ios 5, and updated to itunes 10.5. but when i synced my music files,ebooks and other apps, all is working except when im trying to sync my video files. it says, canot be synced as cannot be played on thi
-
TREX- process is terminating, because lockfile
Hi experts, We recently implemented TREX to ease our search functionality within our ERP environment. Now its only implemented for DMS- document search within PLM. We almost done with the initial indexing, but stucked at last bit with error in trace
-
How to import custom java jar/class into oracle to be used in java proc ?
Hi I would like to know how to import custom java jar/class files into oracle to be used in java stored procedure. I am developing a oracle pl/sql procedure to call java program. The java program will be created as procedure and will be published. Bu
-
I bought my iPad in USA. It was set up over there.i live in Ireland.when I try to buy from apple store it doesn't accept my details and says I must put in my USA address.can this be changed?
-
Hi, I am a new beginner to LabVIEW. Right now, I am trying to acquire data from the HP8753D Vector Network Analyzer (VNA). However, I don't think I even managed to get past the first step. I tried to create a simple VI with only a single READ GPIB an