FTP adapter fail to move 10 MB file
Hi ,
I am trying to move a file.
1. Size 10MB, FTP adapter.
2. No Mapping
3.Options tried
---3.1 With out having and repositary objects and using a dummy interface.
---3.2 Using the same message type for outbound and inbound with out any mapping.Reading entire row in to one field.
4. Result
4.1 Good with small file with 1000 records(or)
4.2 Success 1 in 4 times for 10MB file.
4.3 Error like this when eror occurs
<SAP:Code area="INTERNAL">CLIENT_RECEIVE_FAILED><BR>
</SAP:Code><BR>
<SAP:P1>405</SAP:P1>
<SAP:P2>ICM_HTTP_INTERNAL_ERROR</SAP:P2> <BR>
<SAP:Stack><BR>
Error when receiving by HTTP <BR>
(error code: 405, error text: ICM_HTTP_INTERNAL_ERROR)<BR></SAP:Stack>
Any help would be Appreciated.
Thank you
Ganges Leaves
Hi Ganges~
If huge load of messages are coming it happens.
Refer SAP Note - 906435
Check this thread~
Performance issue and Error in ICM in case of a lot of messages
error code: 400, error text: ICM_HTTP_CONNECTION_FAILED
Hope this helps,
Regards,
Moorthy
Similar Messages
-
FTP Adapter fails first time when bpel process is invoked from concurrent
Hi,
We noticed that the invoke of the FTP adapter fails the first time when the bpel process is invoked from a concurrent program. The second time the concurrent is ran, it completes fine. However, when invoked from the console, it compeltes fine the first time itlsef.
Any idea what could be worng. We are on SOA Suite 10.1.3.4
Thanks
-PrapoornaWhat you are doing with FTP adapter? Are you writing a file ? Any error details in logs when it is failing on first invocation ?
-
FTP adapter failing sometimes, msg:Error connecting to the OAI Repository
Hi,
I have imported a dump due to curropt metadata definition. The import was successful without any warning/error.
I have recreated the event , but when I am testing the same, getting following error in the FTP adapter, though the adadpter is started successfully, connecting to hub /repository, still trowing below errror when it translates a file:
Sometimes it works when the adadpter is killed & restarted.
Ususally happening when a new event is created & run for the first time...
++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++
<A N = "do_no">428997</A>
<A N = "mdo_no">
</A>
</AO>
</AO>
</AO>
</B>
</MSG>.
Mon Oct 03 17:18:45 SGT 2005: Transport logs:
Message linked list has 0 elements.
Mon Oct 03 17:18:45 SGT 2005: Transport logs:
FileReceiver.sendResponse() completed.
Mon Oct 03 17:18:45 SGT 2005: Transport logs:
FileReceiver.receive() is invoked.
Mon Oct 03 17:18:45 SGT 2005: Transport logs:
The message queue is empty.
Mon Oct 03 17:18:45 SGT 2005: Initializing connection to the Repository...
Mon Oct 03 17:18:46 SGT 2005: Connected to the Repository.
Mon Oct 03 17:18:46 SGT 2005: Error connecting to the OAI Repository. Please make sure that the hub database and the OAI Repository are started properly. Once everything is started properly, the connection will be automatically re-established. However, if you have provided incorrect parameters concerning your hub database or the OAI Repository during installation of this Adapter, please stop the Adapter, fix the information and restart.
oracle.aob.repository.aobRepositoryCartridge.RepositoryException
++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++
Any pointers on this will be a great help for me.
Regards,
MOhitIn same context, what I observed is that the FTP adapter throws above error if a file is send again for translation...ie; when i try to use the same file for testing putingit in FTO dir , FTP adapter hangs throwing above error.
Even after few runs of other files.
Is it something related to the security feature of the product which prohibits sending the contents of message if the same contents are send previously?
Actullay I had never faced such issue before & use to do the testing with same file itself.
oai_agent_error has following entry in internalid column:
MetadataManager_RepositoryConnectionErrorWithoutOID
When I kill the adapter, the same msg is picked up by the subcribing adadpeter(dbadapter) & puts the data into the table.
Tough I m fixing the above issue as below:
1- kill the FTP adapter
2- remove its entries in componentinfo table.
3-deleting all rows in oai_hub_queue.
4- stop other adapters.
5- Stopping & restarting the repository again.
Still not sure whether error throwing by adapter is expected functionality in iStudio, or something is missing in the setting done in my setup?
Regards.
Mohit -
I am working on SharePoint 2010 Infopath form, i have created one secondary connection to SharePoint List view using XML Connection it works fine.
For the deployment from DEV to PROD i converted this connection to universal data connection (UDC) and tested this before deploying to PROD but i m getting below error.
An error occurred querying a data source.
i checked ULS logs and found below details
Data adapter failed during OnLoad: The UDC file contains errors: '=' is an unexpected token. The expected token is ';'. Line 17, position 108.
UDC file is below
<?xml version="1.0" encoding="UTF-8"?>
<?MicrosoftWindowsSharePointServices ContentTypeID="0x010100B4CBD48E029A4ad8B62CB0E41868F2B0"?>
<udc:DataSource MajorVersion="2" MinorVersion="0" xmlns:udc="http://schemas.microsoft.com/office/infopath/2006/udc">
<udc:Name>LastItemID</udc:Name>
<udc:Description>Format: UDC V2; Connection Type: XmlQuery; Purpose: ReadOnly; Generated by Microsoft InfoPath 2010 on 2014-04-25 at 16:49:31 by DOMAIN\username.</udc:Description>
<udc:Type MajorVersion="2" MinorVersion="0" Type="XmlQuery">
<udc:SubType MajorVersion="0" MinorVersion="0" Type=""/>
</udc:Type>
<udc:ConnectionInfo Purpose="ReadOnly" AltDataSource="">
<udc:WsdlUrl/>
<udc:SelectCommand>
<udc:ListId/>
<udc:WebUrl/>
<udc:ConnectionString/>
<udc:ServiceUrl UseFormsServiceProxy="false"/>
<udc:SoapAction/>
<udc:Query>https://contoso/_vti_bin/owssvr.dll?Cmd=Display&List={32364DED-7FE3-4276-837C-F2AC62C04B81}&View={804CC528-34B2-4473-89DB-C4E766CACC95}&XMLDATA=TRUE&NOREDIRECT=TRUE</udc:Query>
</udc:SelectCommand>
<udc:UpdateCommand>
<udc:ServiceUrl UseFormsServiceProxy="false"/>
<udc:SoapAction/>
<udc:Submit/>
<udc:FileName>Specify a filename or formula</udc:FileName>
<udc:FolderName AllowOverwrite=""/>
</udc:UpdateCommand>
<!--udc:Authentication><udc:SSO AppId='' CredentialType='' /></udc:Authentication-->
</udc:ConnectionInfo>
</udc:DataSource>
w: sandippatilblog.blogspot.com/Hi Sandip ,
How about escape “&” to “&” as below:
<udc:Query>https://contoso/_vti_bin/owssvr.dll?Cmd=Display&List={32364DED-7FE3-4276-837C-F2AC62C04B81}&View={804CC528-34B2-4473-89DB-C4E766CACC95}&XMLDATA=TRUE&NOREDIRECT=TRUE</udc:Query>
Reference:
http://social.technet.microsoft.com/Forums/en-US/534fae6b-2cef-4947-86e2-4869cb291cfe/the-form-cannot-be-opened-because-it-requires-the-domain-permission-level-log-id-5566-error?forum=sharepointcustomizationlegacy
http://stackoverflow.com/questions/3493405/do-i-really-need-to-encode-as-amp
Best Regards,
Eric
Eric Tao
TechNet Community Support -
Using ModificationTimeFormat in FTP adapter fails
Hi all,
I'm trying to use the minimum age for files read via FTP adapter. Logging into the FTP server and doing a 'ls -l' yields
150 Opening ASCII mode data connection for /bin/ls.
-rwxrwxrwx 1 owner group 3799676 Jun 26 15:24 big.xml
226 Transfer complete.
ftp: 136 bytes received in 0.02Seconds 8.50Kbytes/sec.
from which I deduct the format string "46,57,MMM dd HH:mm".
Now this fails with the following message in log.xml:
<MSG_TEXT>JCA: ORABPEL-11430
Error in listing files in the remote directory.
Unable to list file in remote directory.
Any ideas on how I can find more details on the cause ?Hi Diego,
Enable FINEST logging on the esb.server.service.impl.inadapter logger.
This will provide you with the date/time string the adapter is using the run your format string against.
You will see an entry in there along the lines of
JCA: MDTM command returned : 213 20080715005008
Most likely your format string should be "4,18,yyyyMMddHHmmSS"
Validate that it is infact correct, and modify accodingly.
Cheers,
Goran -
FTP adapter: exc. 550 : No such file or directory
Hi Men,
I'm working on 7.0 version.
I am facing a problem with FTP adapter.
In few words, I configured a CC FTP sender to get files from a remote server (in test mode).
As I start this channel, CC monitor retrieves the following error message:
"Could not process file '<getThisFile>.xml': com.sap.aii.adapter.file.ftp.FTPEx: 550 outbox: No such file or directory."
where '<getThisFile>.xml' is filename and "outbox" is the directory.
I presume that it recognizes the filename and the directory but the error message says "dir or file are wrongs".
I tried the same action by command line with same user and password ftp. Result: I was able to get this file from dir "outbox".
...I should exclude a file permission problem.
Here below, some Logs from "default.trc" file:
#1.5#001125BDB332006E000000390006802E0004400DCACAD490#1196327887885#com.sap.aii.adapter.file.File2XI##com.sap.aii.adapter.file.File2XI.processFtpList()#J2EE_GUEST#0####ff6d7bd09e5b11dc9e34001125bdb332#XI File2XI[CC_FTP_SND_Order_new/BS_Arianna_DEV/]_57##0#0#Error#1
#/Applications/ExchangeInfrastructure/AdapterFramework/Services/ADAPTER/ADMIN/File#Plain###Retrieving file 'orders.00089872.xml' failed unexpectedly with com.sap.aii.adapter.file.ftp.FTPEx: 550 outbox: No such file or directory.#
where:
CC_FTP_SND_Order_new is the CC sender;
BS_Arianna_DEV related Business Service.
'orders.00089872.xml' file to get.
'outbox' dir path
.... nothing else.
Have you ever faced a similar problem? Any suggestion to fix it?
Thanks in advance
AlexHi friends,
FTP server is a Microsoft Windows XP [Version 5.1.2600]
When I log in, I only change in a sub dir called outbox.
If I put back slash before (for WinOS), the dir path is wrong (cd \outbox should mean that outbox is under root).
Some FTP server logs:
Nov 29 09:40:00 golem ftpd[25272]: USER 8023******
Nov 29 09:40:00 golem ftpd[25272]: PASS password****
Nov 29 09:40:00 golem ftpd[25272]: SYST
Nov 29 09:40:00 golem ftpd[25272]: TYPE Image
Nov 29 09:40:00 golem ftpd[25272]: CWD outbox
Nov 29 09:40:00 golem ftpd[25272]: PASV
Nov 29 09:40:00 golem ftpd[25272]: LIST orders*
Nov 29 09:40:00 golem ftpd[25272]: CWD outbox
Nov 29 09:40:00 golem ftpd[25272]: QUIT
I suppose that XI works fine and FTP server receives two times the "cd outbox" command. II also suppose that this Windows FTP server memorizes the subdir "outbox" each time I log in by FTP with user "8023******" -
File adapter fails to pickup the complete file
Hi Guys,
I have a file to idoc scenario configured.
Sender is an FTP server and the file type is XML
Here are the details of my file adapter
FTP Connection parameters,
Connect Mode : Permanently
Transfer Mode : Binary
Processing parameters,
QoS : Exactly Once
Poll Interval : 15 secs
Processing Mode : Archive
Most of the time my scenario works perfectly fine.
And sometimes my file adapter fails to pickup the complete xml file and my scenario fails.
The file is read partially and my mapping throws an error.
Am i missing any parameter to be set in File adapter???
Thanks in Advance,
BBnu>>The file is read partially and my mapping throws an error.
Thats the normal behaviour of XI,if you get a partial file,you will get a error message.
There are several work arounds for this,first of all have a script independant of XI which is running on FTP server,this script will keep on checking for modifications in file and once the file is completely written,it will rename the file to some other extension(for e.g .dat) and XI file adapter will only pick .dat file,this will make sure that only complete files are picked up.
Second option is to have a tag all the way in the end of XML which says EOF(of any other character),in your mesage mappin create the root node of target only if this last tag is EOF.Since in incomplete file you will not have this last tag,message processing will stop.
Thanx
Aamir -
FTP adapter for Oracle Service Bus - retrieve file by dynamic file name.
Hi
I am newbie in OSB. I try to use FTP transport in Workshop, it must fill in "Prefix" and "Suffix" for destination file name.
But for us, the file name is sent by external systems.
The workflow is:
1. External system call our proxy services.
2. Proxy service get file name from SOAP message.
3. Proxy Service get the file from FTP server.
4. The file send to Business services.
Any suggestions to implement about workflows?Let me first put here what I understand about the flow:
External Sytem -->(filename)--> OSB HTTP PS --> (1) --> OSB FTP BS --> Read file based on filename
|--> (2) --> send file ontent to another system or return to the original system
If that is the flow, then I beileve ther is no straight forward way to implement it in OSB.
OSB FTP BS will only write a file to FTP Location.
If you create a JCA FTP Adapter for reading the file, then you can use it only to create a Proxy Service, and that proxy will not pick up the file when called from another service but only when a file is put on the source FTP location.
So, to implement the solution you will need to use Java Callout to a class which has code written to accept the file name as input, read the file from an FTP location and return the file content.
This is my understanding of how it is, may be there is another way to implement this or in fact may be the latest version of OSB 11.1.1.4 or 11.1.1.5 JCA adapter does support read operation within a flow instead of just at the start of the flow. -
Sender FTP Adapter, text mode should convert source file?
Hi !
We have a Unix file system where systems and people drop files to be captured by XI. XI runs also on another Unix system.
We configured the Sender FTP comm channel from XI to use the TEXT mode, to have converted the captured file to Unix TEXT (eol = 0x0A), no matter the format of the file used to transfer the source file to the XI polling folder.
But we noticed that TEXT or BINARY modes in sender FTP adapter works all the same, like binary.
What are we doing wrong?
Thanks,
MatiasNo. to see the difference put a gif and give txt in file adapter you will get an error for the same file u use binary it works.
their is difference b/w these . if you use special characters like european then you need to use UTF-8 or UTF-16 or bigInidan if it is binary then you output will junk charaters for these sysmobls
Message was edited by:
Sreeram Reddy -
FTP Adapter errors out while writing a file
Hi ,
I am facing this problem while using FTP adapter tries to write a file on a specific remote machine.The Adapter throws this following error:
Missing class: oracle.tip.adapter.api.TranslationAware
Dependent class: oracle.tip.adapter.file.outbound.FileInteractionSpec
Loader: global.libraries:1.0
Code-Source: /XXX/ias/product/asmt_10131/j2ee/oc4j_soa/applib/fileAdapter.jar
Configuration: <code-source> in /XXX/ias/product/asmt_10131/j2ee/oc4j_soa/config/server.xml
The missing class is available from the following locations:
1. Code-Source: /XXX/ias/product/asmt_10131/bpel/lib/orabpel.jar (from <code-source> in /XXX/ias/product/asmt_10131/j2ee/oc4j_soa/config/server.xml)
This code-source is available in loader oracle.bpel.common:10.1.3.
</summary>
Any Suggestions will be helpful.
Thanks
PSHi Rama Krishna
Are you saying that you are transferring data of your
internal table to another server using a FM??? Am not
sure if that can be done.
How about trying this way????
Download the data to a file on your application
server, using open dataset statement. Then transfer this
file to the other server using FM's FTP_CONNECT, FTP_COMMAND ....
Kind Regards
Eswar -
FTP adapter converting "&" to "&" while creating XML file.
Hi
Using a BPEL process: I am fetching data from a DB and placing that data into a XML file on target. One of the fields (Type:Varchar2) contains "&" ampersand character.When this data is being put in an XML, the target file contains "&amp;" instead of "&".
Please note: This seems to be happening only when the XML file is created on target; Because I can see that during the transformation as well as in the input variable to FTPPut adapter "&" is shown as "&" only (and not "&amp;").
Please let me know in what way can we avoid this conversion of "&" to "&amp;" on the target XML file".
Thanks for the help!
Regards,
Achal Mundra
Edited by: rameshchandra on Nov 5, 2012 11:53 PMThanks Anuj.
I actually needed that the target file should also be without any namespace references or XML headers(e.g. <?xml version="1.0" encoding="UTF-8" ?>). We have got the following data as the input to the FTP adapter :
+<TempStringToRemoveNS_Var>+
+<RadiantDocument CreationSource="CompanyName" CreationTimestamp="2012-11-06T05:12:39.009-08:00" Name="Org Hierarchy Import" Version="1.8">+
+<OrgHierarchyList>+
+<OrgHierarchy Name="ABC" LongName="NewLongName" ParentOrgHierarchyName="XYZ" OrgHierarchyLevelName="Region"/>+
+</OrgHierarchyList>+
+</RadiantDocument>+
+</TempStringToRemoveNS_Var>+
We need the target XML file to have data exactly as below:
+<RadiantDocument Name="Org Hierarchy Import" CreationSource="CompanyName" CreationTimestamp="2011-02-28T02:48:32" Version="1.8">+
+<OrgHierarchyList>+
+<OrgHierarchy Name="ABC" LongName="NewLongName" ParentOrgHierarchyName="XYZ" OrgHierarchyLevelName="Region"/>+
+</OrgHierarchyList>+
+</RadiantDocument>+
Hence, it should not have any parent node or XML header or namespace.
Your suggestion would be really helpful.
Regards,
Achal -
Error with Archiving Faulty Source File in Sender FTP adapter
Hi All,
I have configured a Sender FTP adapter with Processing Mode as Archive.
I am able to read the files from FTP server and archive all the successfuly processed file in the PI aplication server directory XXX/success.
We need all the error files also to be archived on PI application server in directory XXXXX/Fail so I have checked the option Archive faulty Source Files and provided the application directory XXXXX/Fail .
I have unchecked the option Archive Files on FTP server.
But the problem is when FTP adapter is getting any error files it is not able to archive it to application directory XXXXX/Fail .
In RWB it is showing the error
Unable to archive faulty input file /data/abc.txt to /XXXX/fail/abc.txt
Cause: com.sap.aii.adapter.file.ftp.FTPEx: 550 rename: No such file or directory
This directory is existing and works fine when I give this directory name in Archive directory of processing mode.
Sender FTP adapter is trying to archive the file in FTP server which I dont want and giving us this error.
If I give any Directory which is present in FTP server my error files are getting archived on FTP server but not in the archived folder.
I have already unchecked the option Archive Files on FTP server.
Please help......
I am on PI 7.11
Regards
Henery HHi Henery,
Check the below thread, this should help you to fix the issue.
FTP adapter: exc. 550 : No such file or directory
Thanks, -
File Matching with FTP Adapter
Guys,
I have particular requirement where FTP Adapter needs to read set of files
FILENAME.PCL
FILENAME.I01
the file name would be matching but extensions are different.
the adapter needs to read the file match if they are SET of files ( based on file name) and move into target directory if not move into Error Directory .The Data needs some manipulation before it's written into target location so we are using ESB ( also for error notification) is it possible with FTP Adapter within ESB?
ThanksMay be difficult with ESB, may require BPEL. Can you give a specific example as that would make it easier to see what you mean.
Antony -
Processing a CSV file in batching by FTP Adapter gives translation error
Hi All,
I have a CSV with 2000 records.. want to process it in batch of 500.
When i dont use batching in FTP adapter.. everything goes fine.
But when i include batching in the adpater.. and try to process the same file. it gives:
<2009-09-09 12:09:15,997> <ERROR> <VDSTServices.collaxa.cube.translation> <NXSDTranslatorImpl::logError> translateFromNative Failed with exception = 50
<2009-09-09 12:09:15,997> <INFO> <VDSTServices.collaxa.cube.activation> <FTP Adapter::Inbound> Error while translating inbound file : VDST_CNP_EMR5110026_20090904_000000.csv
<2009-09-09 12:09:15,997> <INFO> <VDSTServices.collaxa.cube.activation> <FTP Adapter::Inbound>
ORABPEL-11100
Translation Failure.
[Line=27, Col=1] Translation from native failed. 50.
Check the error stack and fix the cause of the error. Contact oracle support if error is not fixable.
at oracle.tip.pc.services.translation.xlators.nxsd.NXSDTranslatorImpl.doTranslateFromNative(NXSDTranslatorImpl.java:754)
at oracle.tip.pc.services.translation.xlators.nxsd.NXSDTranslatorImpl.translateFromNative(NXSDTranslatorImpl.java:489)
at oracle.tip.adapter.file.inbound.ProcessWork.doTranslation(ProcessWork.java:748)
at oracle.tip.adapter.file.inbound.ProcessWork.processMessages(ProcessWork.java:336)
at oracle.tip.adapter.file.inbound.ProcessWork.run(ProcessWork.java:218)
at oracle.tip.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
at oracle.tip.adapter.fw.common.ThreadPool.run(ThreadPool.java:280)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 50
at oracle.tip.pc.services.translation.xlators.nxsd.ErrorList.addError(ErrorList.java:108)
at oracle.tip.pc.services.translation.xlators.nxsd.NXSDTranslatorImpl.terminateLoop(NXSDTranslatorImpl.java:1688)
at oracle.tip.pc.services.translation.xlators.nxsd.NXSDTranslatorImpl.parseNXSD(NXSDTranslatorImpl.java:1307)
at oracle.tip.pc.services.translation.xlators.nxsd.NXSDTranslatorImpl.parseNXSD(NXSDTranslatorImpl.java:1216)
at oracle.tip.pc.services.translation.xlators.nxsd.NXSDTranslatorImpl.parseNXSD(NXSDTranslatorImpl.java:1084)
at oracle.tip.pc.services.translation.xlators.nxsd.NXSDTranslatorImpl.doTranslateFromNative(NXSDTranslatorImpl.java:706)
... 7 more
I tried deleting the rows 24-28 from the CSV and process again.. again got the same error [Line=27, Col=1] .. so its not an issue with CSV.
Please suggest.
ThanksCan you publish or pass your csv and the native schema you are using. Please also mention your soa version. thx.
-
Transfer of all files in a directory tree using FTP adapter?
Hi,
I'm looking for a solution to transfer a whole directory tree, including the content, from one location to another using the FTP adapter.
Is there an easy way to accomplish this?
Any help would be appreciated.
Thanks
SigridHi Sigrid,
I'm just wondering on the need to do that using SOA. Is it a regular transfer or one time?
There's a way to move a single file from one FTP location to another on the same or different FTP server (link to the cases). But in order to move all the files in a directory, you'll have to loop this. The high level steps will be:
- List all the files recursively that are present in your directory using File List operation
- Implement the MOVE file operation (or COPY operation) of the FTP Adapter
- Invoke this MOVE operation in a while loop and pass the file names, as gathered from the File List operation, one by one to MOVE operation
You can also use single Java Embedding activity and call a Java class that does the File Transfer but depends on your requirements.
Let us know how you get along.
Regards,
Neeraj Sehgal
Maybe you are looking for
-
hello all does anybody has a good idea or solution to display a JTable in a JComboBoxPopup (instead of a list) and after selecting a row, it fills in a defined column of this row in the editor field of the combo box? thanx a lot greetings from switze
-
Barcode Font not working now...
Just upgraded from CF 7 to CF 9 and I'm having trouble with one of my reports (PDF file) generated with CF Report Builder. It's using the IDAutomationHC39M font to print a bar code on a badge. I've confirmed that the font is installed in Windows (200
-
Can't update Camera Raw 8.3
Just bought Elements 12 and it wouldn't import my RAW files from my Olympus OM-D E-M1 camera. I assumed that's a result of Camera Raw not being updated to the latest revision so I checked to see if there was an update available and sure enough, there
-
BUG in JDev 9033? Also see thread: BC4JContext in Servlets
When I was trying to enter the properties for the Action element in struts config file, I could not do so using the Struts Configuration Editor dialog box...and I think that was why the properties got skipped. Here is the problem (I am using JDevelop
-
How to recover photos from photo in Iphone 3GS after updating to the IOS 6.0.1?
How to recover photos from photo in Iphone 3GS after updating to the IOS 6.0.1?