Issue with List Files option in FTP Adapter-

Hi All,
I am getting the following error when I am using the list files option inside FTP adapter. The soa Version I am using is 11.1.1.5
Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'FileListing' failed due to: Error in listing files in the remote directory. Error in listing files in the remote directory. Unable to list file in remote directory. Please make sure that the ftp server settings are correct. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution.
I have configured FTP adapter successfully by giving the following details,
useSftp –
username –
password -
host -
port –
authenticationType –
preferredCipherSuite -
and it is working perfectly for getfiles option and it is reading files successfully, but it is throwing error when I am using list files option. I tried this option for listing the files that are in remote directory. Any Help would be appreciated.
Complete fault
<messages>
<input>
<Invoke1_FileListing_InputVariable>
<part name="Empty">
<empty/>
</part>
</Invoke1_FileListing_InputVariable>
</input>
<fault>
<bpelFault>
<faultType>0</faultType>
<bindingFault>
<part name="summary">
<summary>Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'FileListing' failed due to: Error in listing files in the remote directory. Error in listing files in the remote directory. Unable to list file in remote directory. Please make sure that the ftp server settings are correct. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. </summary>
</part>
<part name="detail">
<detail>No such file</detail>
</part>
<part name="code">
<code>null</code>
</part>
</bindingFault>
</bpelFault>
</fault>
<faultType>
<message>0</message>
</faultType>
</messages>
May 9, 2013 4:32:00
Edited by: BK574 on May 9, 2013 2:47 PM

Is this a bug in SOA suite?
Following are the properties inside JCA file
<adapter-config name="List" adapter="FTP Adapter" wsdlLocation="List.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
<connection-factory location="eis/ftp/FTPService" UIincludeWildcard="*.*"/>
<endpoint-interaction portType="FileListing_ptt" operation="FileListing">
<interaction-spec className="oracle.tip.adapter.ftp.outbound.FTPListInteractionSpec">
<property name="PhysicalDirectory" value="*.*"/>
<property name="Recursive" value="true"/>
<property name="IncludeFiles" value="*.*"/>
</interaction-spec>
</endpoint-interaction>
</adapter-config>
Edited by: BK574 on May 10, 2013 6:30 AM
Edited by: BK574 on May 10, 2013 6:31 AM

Similar Messages

  • PDFOpenOptions issue with open(file, options)

    Hi guys,
    I have a script to open JPGs and now I need to adapt it to open PDFs.
    I'm getting a "wrong type of enumerated value" error exactly because of the way I'm working the PDFOpenOptions (line "open(fileList[i], pdfOpenOptions);").
    I found quite a few scripts that define pdf open options just like I did, but in all of them the root path was hard coded (I need it dynamic).
    So, where am I going wrong? Too much time on it, can't see errors anymore... (mac, cs4)
    #target photoshop
    app.preferences.rulerUnits = Units.PIXELS;
    app.displayDialogs = DialogModes.NO;
    app.backgroundColor.rgb.red = 255;
    app.backgroundColor.rgb.green = 255;
    app.backgroundColor.rgb.blue = 255;
    var pdfOpenOptions = new PDFOpenOptions();
    pdfOpenOptions.antiAlias = true;
    pdfOpenOptions.mode = DocumentMode.RGB;
    pdfOpenOptions.bitsPerChannel = BitsPerChannelType.EIGHT;
    pdfOpenOptions.resolution = 72;
    pdfOpenOptions.supressWarnings = true;
    pdfOpenOptions.cropPage = CropToType.TRIMBOX;
    var fileList = File.openDialog("Select files to batch",true);
    if (fileList != null) {
         for (var i in fileList) {
              if (fileList[i] instanceof File && fileList[i].hidden == false) {
                   open(fileList[i], pdfOpenOptions);
    alert("Done");
    else {
         alert("No files selected");
    Thanks in advance!

    Cool!
    I had to figure some other things out like extracting the path from openDialog
    which I didn't find anywhere else.
    So it's finely time to share a decent and commented script (with the invaluable
    help of Muppet Mark, thanks man!):
    //This script is set to open pdf files,
    //make 256x256px JPG duplicates,
    //create a folder named zJPGs relative to the doc's path
    //and save the files there
    //Gustavo Soares,
    //with the great help of Muppet Mark and many others
    #target photoshop
    //set units to pixels
    app.preferences.rulerUnits = Units.PIXELS;
    //avoid displaying dialog boxes
    app.displayDialogs = DialogModes.NO;
    //set background color to white
    app.backgroundColor.rgb.red = 255;
    app.backgroundColor.rgb.green = 255;
    app.backgroundColor.rgb.blue = 255;
    //define the pdf options for opening the document
    var pdfOpenOptions = new PDFOpenOptions();
    pdfOpenOptions.antiAlias = true;
    pdfOpenOptions.mode = OpenDocumentMode.RGB;
    pdfOpenOptions.bitsPerChannel = BitsPerChannelType.EIGHT;
    pdfOpenOptions.resolution = 72;
    pdfOpenOptions.supressWarnings = true;
    pdfOpenOptions.cropPage = CropToType.TRIMBOX;
    //pdfOpenOptions.page = 1
    //Select files to batch ('true' is for aloowing multiple seleciont)
    var fileList = File.openDialog("Select files to batch", true);
    //Returns the dynamic path from the openDialog –
    //there's certainly a better way for doing this
    var fullPath = fileList[0];
    var fullPathTemp = fullPath.fsName;
    var sliceIndex = fullPathTemp.lastIndexOf ("/");
    var docPath = fullPathTemp.slice(0, sliceIndex); //'0' means the beginning of the string
    //Read the functions below to understand the loop
    if (fileList != null) {
         for (var i in fileList) {
              if (fileList[i] instanceof File && fileList[i].hidden == false) {
                   open(fileList[i], pdfOpenOptions);
                   jpg256();
                   app.activeDocument.close(SaveOptions.DONOTSAVECHANGES);
    alert("Done");
    else {
         alert("No files selected");
    //Functions start here
    function jpg256() {     
         //make a 256 x 256px image of the original document
         var myDoc = app.activeDocument
         var docName = myDoc.name;
         //can use this for opening files with extension
         //var docNameChange = docName.slice(0, -4);
         var myNewDocName = docName + ".jpg";
         var myNewDoc = myDoc.duplicate(myNewDocName, true);
         var width = myNewDoc.width;
         var height = myNewDoc.height;
         //resize
         if (height >= width) {
              myNewDoc.resizeImage (null, 256, 72, ResampleMethod.BICUBICSHARPER);
              // 'null' resizes proportionally
              myNewDoc.resizeCanvas (256, 256, AnchorPosition.MIDDLECENTER);
         else {
              myNewDoc.resizeImage (256, null, 72, ResampleMethod.BICUBICSHARPER);
              // 'null' resizes proportionally
              myNewDoc.resizeCanvas (256, 256, AnchorPosition.MIDDLECENTER);
         //save the file in a folder named 256x256
         //check if it exists, if it doesn't then create
         var jpegOptions = new JPEGSaveOptions();
         jpegOptions.quality = 7;
         var folder256 = docPath + "/zJPGs";
         if (Folder(folder256).exists) {
              save256();
         else {
              var fldr = new Folder(folder256);
              fldr.create();
              save256();
         function save256() {
              myNewDoc.saveAs(new File(folder256), jpegOptions);
              myNewDoc.close(SaveOptions.DONOTSAVECHANGES);

  • A serious issue with excel file read in ODI

    hi gurus,
    Issue with excel file read is that we can read only one file by setting the path from ODBC Data Source Administrator-->System DNS -->Select Work book
    what i want to read the dynamic path(Every time I cant go back and set the Work book to select the excel file..
    So i came up with a solution to write a Vbscript that convert the excel to csv my problem got solved for dynamic paths the script is as follow:
    Set objArgs = WScript.Arguments
    For I = 0 to objArgs.Count - 1
    FullName = objArgs(I)
    FileName = Left(objArgs(I), InstrRev(objArgs(I), ".") )
    Set objExcel = CreateObject("Excel.application")
    set objExcelBook = objExcel.Workbooks.Open(FullName)
    objExcel.application.visible=false
    objExcel.application.displayalerts=false
    objExcelBook.SaveAs FileName & "csv",23
    objExcel.Application.Quit
    objExcel.Quit
    Set objExcel = Nothing
    set objExcelBook = Nothing
    Next
    Now this script convert the xls file to csv with comma seprated values
    e.g in excel sheet if data is ABC XYZ PQR
    csv will come with ABC,XYZ,PQR
    here the delimiter is , i want the delimiter as pipe | who's ascii code is 124
    but if i change 23 with 124 its not working i getting the error cannot save as...
    can anyone tell me that what should be the correct code for pipe
    so that the output is ABC|XYZ|PQR
    AS WE CAN USE THE SCRIPTS IN TOOLS
    Edited by: 789141 on Sep 14, 2010 11:33 PM

    I dont have the answer for your question but i have different approach in handling multiple Excel File.
    Step 1. Copy a sample source Excel File and Call it Final.xls .
    Step 2. Map this Final.xls to DSN and in Topology call this Final.xls
    Step 3. Do the Reversing and Map and test the Interface . Once its done.
    Step 4. Create a Package and using a http://odiexperts.com/?p=1426 get the list of all the Excel File
    Step 5 . Using this http://odiexperts.com/?p=273 create a Loop to Read the Excel File name
    Step 6 . Copy using OdiFileCopy to Final.xls and run your interface .
    Step 7. Increment the Loop and copy your next File for Final and run the interface
    Step 8 . Finally you will be able to read all the Excel File .
    Step 9 . Delete the source file [ Optional ]
    Hope this helps.

  • Issue with Sender File FCC

    Hi Experts,
    I have an issue with Sender File FCC Adapter. The file being picked is of type TXT and it is tab seperated. The first line contains the field names and from next line onwards we have values for those fields.
    The field names and field values are tab seperated. Even inserting a single letter in some field value manually disrupts the whole setup & alignment of the TXT file and the Sender File CC is unable to pick up the file from the shared folder. If the first file is errorenous and after that a correct TXT file is posted, it fails to pick up the correct file as it is trying to pick the errorenous file first.
    The Error thrown is :
    "Conversion of file content to XML failed at position 0: java.lang.Exception: ERROR converting document line no. 2 according to structure 'ABCD':java.lang.Exception: ERROR in configuration / structure 'ABCD.': More elements in file csv structure than field names specified!"
    I have two questions:
    1. Is there a way to handle such a scenario? For e.g., the errornous TXT file gets picked but throws error in PI.
    2. Is there an alternative that the sender FCC channel picks up the correct files and filter out the errorneous ones ? ?
    Thanks,
    Arkesh

    Hi Arkesh,
    I think you are passing more number of fields than expected. Please check paramters defined and send the data accordingly.
    In the processing parameters tab of sender file adapter, you have an option called Archive faulty source files, below to that you would have option to enter the " Directory for Archiving files with Errors".
    I hope this helps you....
    Thanks,

  • Archive File Name in FTP adapter

    Hi,
    While archiving a file using an FTP adapter, I want to archvie it with a name which is going to be generated dynamically. However i don't see any placeholder where i can mention the file name for achving. Can anyone please suggest.
    Thanks,
    Phani

    Hi Phani,
    did you figure out a solution?
    Anders

  • Issue with attachment file name

    Hi All,
    This is about an issue with attachment file name:
    we have a scenario wherein we have payload with attachments ...(attachments can be any doc ,pdf) , problem is main document is comming with messageid.sap.com and thats normal but attachments are comming with file names for example something.pdf or something.doc or something.txt ...this is failing in adapter as it expects same name as u have in main document...anybody have any idea to get through this issue...
    Regards
    kiran

    we have a scenario wherein we have payload with attachments ...(attachments can be any doc ,pdf) , problem is main document is comming with messageid.sap.com and thats normal but attachments are comming with file names for example something.pdf or something.doc or something.txt ...this is failing in adapter as it expects same name as u have in main document...anybody have any idea to get through this issue...
    - <SAP:Payload xlink:href="cid:payload-4CED452F17C601BDE10080000A492050---sap.com">
      <SAP:Name>1 .Header1.txt</SAP:Name>
    Error we are getting is
    Cannot cast 'Header' to boolean] in class com.sap.aii.mappingtool.flib7.NodeFunctions method createIf[Header, com.sap.aii.mappingtool.tf7.rt.Context---27a73bfa]
    So we have to change the File name Header1.txt to something which we can cast to creatif....(we cannot tell the sendr to change the file name as its is set already)
    Thanks for interste and assisting
    Regards
    Kiran

  • Issue with corrupted file when dragging to timeline

    Has anyone ever had an issue with a files audio becoming corrupted when moving the file from the editing window to the timeline.  I am also seeing the my camtasia mp4 becomes blurry on the timeline but plays fine in the editing screen.
    I had not problem with camtasia Mp4s previously and today I have had so many issues with premier pro

    Hi,
    Even i faced this issue before...the problem with file adapter is the attribute nxsd:quotedBy takes &quot; as default even if u dont mention it takes the same and now after the quotes it immediately expects | wch is not there in the data and it throws the error...now the fix for the problem is put some symbol for nxsd:quotedBy wch u never expect in the data some thing like less than or greater than symbol ....some thing like below
    <element name="FieldTwo" type="string" nxsd:style="terminated"
    nxsd:terminatedBy="|" nxsd:quotedBy="<"/>

  • Unable to read PDF files created by FTP Adapter

    Hi,
    I am unable to read pdf files generated by FTP Adapter with its default settings.
    Can anybody guide me how to proceed with it. I guess I need to change something in encoding mechanism in FTP Adapter Outbound Connection Pool, but not sure what has to be.
    Thanks,
    Richa

    Hi all,
    I have got its solution. I was unable to read .pdf files because FTP adapter  was sending the files just by changing the extension from .txt /.xml to .pdf that is the reason that it was not readable.
    We had to write an java code to convert .xml file to .pdf file and then paas it to FTP ADapter.
    Thanks

  • Issue with list saving data after sites upgrade from sharepoint 2010 to sharepoint 2013

    Issue with list saving data after sites upgrade from sharepoint 2010 to sharepoint 2013 
    Newform.aspx of list:-
    Custom List is not saving data sometimes in the new form after 15 minutes and only blank entry record got created without saving data, even though some columns are mandatory fields?

    Hello dcakumar,
    Sounds like a strang issue. If you can reproduce this can you see some errors in the ULS logs?
    - Dennis | Netherlands | Blog |
    Twitter

  • Hi.  I am having issues with copying files to my shared WB 2TB HDD connected to my airport extreme.  Comes up with error 50.  I am using a Macbook Pro to copy from so not sure what I am doing wrong.  Can someone help? thanks Rory

    Hi.  I am having issues with copying files to my shared WB 2TB HDD connected to my airport extreme.  Comes up with error 50.  I am using a Macbook Pro to copy from so not sure what I am doing wrong.  Can someone help? thanks Rory

    These links might provide some information that may be of help.
    http://support.apple.com/kb/TA20831
    https://discussions.apple.com/message/2035035?messageID=2035035
    I've encountered this error myself upon occasion.  If I remember correctly, it was a permissions/ownership issue with the some of the files I was copying.

  • I am having issues with Sidebar files not appearing from within InDesign CS5.5. They show up fine from other Adobe applications. Using OS10.6.8.

    I am having issues with Sidebar files not appearing from within InDesign CS5.5. They show up fine from other Adobe applications. Using OS10.6.8.

    I would first of all trash the preference file for InDesign, make sure the application is closed then find the prefs in
    /Users/USER NAME/Library/Preferences/Adobe InDesign and just throw the entire folder away, it will generate a new one after you launch InDesign again.
    Now launch InDesign and see if the problems are resolved.
    If not I would repair your permissions on your hard drive wih disk utility, and if that fails then di-install InDesign and re-install that single application.
    Let me know if any of these suggestions work for you
    I will be checking my email although you might have to wait for a response as I will be taking a microlight flight over the Victoria Falls tomorrow. Yay can hardly wait.

  • I get a dialogue box asking "What should Firefox do with this file" Options open with or save file. My wife selected save file and now it only opens note pad and displays the text of the file to be saved. OK in windows Internet Explorer.

    I get a dialogue box asking "What should Firefox do with this file" Options open with or save file. My wife selected save file and now it only opens note pad and displays the text of the file to be saved. OK in windows Internet Explorer.

    P.S. Site is http://www.coldwatercreek.com

  • Issues with RAW files from my 7D

    I have Aperture 1.5.6 on my computer and the software updater says that is the current version. I shoot with a 20D and a 7D. I upload my raw files to Aperture and edit them from there and then process for a jpeg. However, every time I upload a raw file from my 7D I get the following message when I click on it to edit it: Unsupported Image format.
    Any words of advice, other than just buy Aperture 3??

    I have Aperture 2.X and had zero issues with RAW files from a 7D, so I think the problem is you are on 1.X. Converting to DNG first was a good suggestion if you don't want to purchase 3.X. Yet another reason to hate proprietary raw image file formats.......

  • Sharpening issues with RAW files

    Hi,
    I have downloaded lightroom 5 as a one month trial and have been playing with the program. I am not an experienced user and are wondering if I am doing something wrong, have wrong settings applied or if it is the known sharpening bug that messes with my photos. I know that sharpening and noise reduction includes a bug that does not let you export pictures 1/3 of original size with sharpening/noise intact. However, in my case, this also happens with RAW files. I do not crop or change size/resolution to any of the photos, but the sharpening is still not working. Photos look great in develop mode, but when I click on library mode to export them, all sharpening disappears!
    Is this the same bug previously reportered "only for pictures 1/3 of original size", or do I have some strange settings applied?
    I was loving lightroom 5 up until I noticed this, and now I am reluctant to buy the product...
    I'd be greatful if anyone has any input on this!
    Thanks in advance

    I have Aperture 2.X and had zero issues with RAW files from a 7D, so I think the problem is you are on 1.X. Converting to DNG first was a good suggestion if you don't want to purchase 3.X. Yet another reason to hate proprietary raw image file formats.......

  • 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 H

    Hi Henery,
    Check the below thread, this should help you to fix the issue.
    FTP adapter: exc. 550 : No such file or directory
    Thanks,

Maybe you are looking for

  • When I try to play flash games it uses the wrong gpu

    When I try to play flash games it uses my integrated Intel gpu not my dedicated Nvidia one. Other games use the correct gpu, however. Is there any way that I could possibly force flash to use the correct gpu? I can't change it through the Nvidia sett

  • PS CS5.1 Crash after opening: Mac 10.7.1 Intel i7 MBPro

    Okay,  I'm really needing help.  MacBook pro i7 with 8GB ram.  I need help fixing CS5.1 from consistent crashing after opening.    I have not been able to use PS at all.  Its really a hinderance to using any Adobe product without access to PS.    I h

  • Get values of table in tableview

    Hello, I have a tableview - which has a table and out of all the columns only 2 are user input - one is an amount field and other is a currency key. I dont have multiselct option in the tableview. I want to read the table in DO_HANDLE_EVENT which has

  • WRT54GX4 has problem. Please read! Can solved? Not Tested from linksys?

    Recently just bought WRT54GX4. I discovered that this wireless router from linksys did not cover the range that i want. Previously i own WRT54Gv5 which still is better can connect to internet until when i was in my garden. However, this router when i

  • System Update: Es wurden keine erforderlichen Pakete für das System gefunden

    Guten Tag, ich habe einen Laptop B5400 erworben. Das vorinstallierte System Update funktioniert nicht.Beim Abrufen von Updates bricht es mit folgender Fehlermeldung ab: "Es wurden keine erforderlichen Pakete für das System gefunden" Das System Update