FTP adapter is working different

Hi all,
I have moved all the PI interfaces from XI 3.0 SP14 in Windows to PI7.0 SP14 in AIX 5.3.
We have found a different behaviour in FTP adapter as when it is writting a filein the target legacy, it is adding a special character at the end of each line -the carriage return is now a square-. In XI in Windows we did not have anything at the end of theline. This is happening when we are transfereing the data as Text -we are not sure if we have the same behaviour with Binary-.
We are not sure if it is related to the application upgrade or to the OS. Can anyone help us with us and let us know how can we delete this character?
Thanks a lot
Diana

Hi,
Transfer the file in binary, i think you shouldnt be getting this error if you transfer file in binary format.
Thanks,
Vijay Kuma T.

Similar Messages

  • SOA FTP Adapter stops working abruptly

    Hi All,
    I have a ftp service which provides XML file streams real-time on a remote machine. I connect to this FTP server using the SOA FTP adapter and process files by polling based on timestamp every 3 seconds.
    The issues I face are
    1) The ftp adapter stop working abruptly. Has anybody faced this issue, if yes how can this be resolved?
    2) The XML files comes to FTP location at the rate 2 files per second. Ideally I want to procss this files real-time using FTP adapter. But the backlog build is causing issues. How do I fix it?
    3) If there is any downtime in production how should the SOA FTP application be activated after restart.
    Also, what are the other FTP adapter configuration required to optimize the SOA FTP application to meet my business purpose.

    I am using SOA 11g Fusion Middleware. The error I am getting in the logs are as follows:
    [2010-10-14T15:51:49.116+11:00] [WLS_SOA] [NOTIFICATION] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@152f8c60] [userId: <anonymous>] [ecid: 0000Iid4Vx39xWD_n91FiZ1ChcgY00001u,0] [APP: soa-infra] [composite_name: ProcessData] [component_name: Mediator] [component_instance_id: 89E3E8C0D74E11DF8F0C9FB8AC26F197] [dcid: 46e7c258a0e5cad6:-5a895c67:12ba90f4a18:-8000-000000000000197a] FTP Adapter FetchAvlFiles Could not publish file {20101014T022558ZGA0002.xml} as endpoint has been de-activated.
    [2010-10-14T15:51:49.116+11:00] [WLS_SOA] [NOTIFICATION] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@152f8c60] [userId: <anonymous>] [ecid: 0000Iid4Vx39xWD_n91FiZ1ChcgY00001u,0] [APP: soa-infra] [composite_name: ProcessData] [component_name: Mediator] [component_instance_id: 89E3E8C0D74E11DF8F0C9FB8AC26F197] [dcid: 46e7c258a0e5cad6:-5a895c67:12ba90f4a18:-8000-000000000000197a] FTP Adapter FetchAvlFiles [[
    BINDING.JCA-11079
    The endpoint has been released.
    The endpoint has been released.
    The endpoint has been released, the message will not be published.
    This is a non-fatal error. No fix is required.
    at oracle.tip.adapter.file.inbound.Publisher.checkForDeactivation(Publisher.java:627)
    at oracle.tip.adapter.file.inbound.Publisher.publishMessage(Publisher.java:327)
    at oracle.tip.adapter.file.inbound.InboundTranslatorDelegate.xlate(InboundTranslatorDelegate.java:476)
    at oracle.tip.adapter.file.inbound.InboundTranslatorDelegate.doXlate(InboundTranslatorDelegate.java:118)
    at oracle.tip.adapter.file.inbound.ProcessorDelegate.doXlate(ProcessorDelegate.java:377)
    at oracle.tip.adapter.file.inbound.ProcessorDelegate.process(ProcessorDelegate.java:175)
    at oracle.tip.adapter.file.inbound.ProcessWork.run(ProcessWork.java:349)
    at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:105)
    at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
    at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    Edited by: user5108636 on 13/10/2010 23:28

  • Sender FTP Adapter not working with certain name

    Hello,
    We're facing the next problem within XI.
    We configured a sender FTP adapter within the central adapter engine. This adapter is configured correctly however for some reason it is not picking up any file from the FTP server.
    Changing status to inactive-> active again all kinds of modes and configs we tested.
    However when copying this non-working adapter to a new one with a different name (Configuration is exactly the same!!!!!) and use this one in the sender agreement it worked immediately.
    Somebody else faced similar problems and managed to solve it because for this error we don't want to adjust our naming conventions....
    Thanks,
    Emile

    Hi Emile,
    This could happen when AE cache is not getting updated.
    Goto SXI_CACHE.
    Click "Goto" -> AE Cache and check if you get a green symbol with a message saying " Cache contents are up-to-date".
    Regards,
    Anish

  • FTP adapter doesnt work after restart

    Hi,
    We have a FTP adapter that stops working if the server is restarted. After investigation, we found the below error in log files.
    XSD Resolution problem.
    XSD Resolution problem.
    Unable to load Translation schemas from  for http://TargetNamespace.com/MYDATA_FILE due to: Unable to lookup schema for 'http://TargetNamespace.com/MYDATA_FILE'
    Please make sure all used XML schemas are imported/included correctly.
    Is there anybody who knows about this problem and share the solution or workaround?
    Thanks

    The solution is either change the order of deployment or copy the FileAdapter.rar file in $ORACLE_HOME/lib location and restart the server as mentioned here.
    http://soa-bpel-esb.blogspot.com/2011/04/javalangnoclassdeffounderror.html

  • AQ/FTP adapter not working

    I am a newbie to oracle interconnect 9i and learning it from the oracle documentation.
    I successfully created DB to DB publish/subscribe example and worked on cross referencing as well. Now I am working on AQ and FTP examples. I have following doubts
    1. I created the aqapp application for AQ example given in oracle interconnect 9i documentation. My adapter service started successfully.
    When I execute the procedure given in the example, to enqueue the xml_raw_q1 queue then the procedure completes successfully but the adapter reacts nothing. I am not sure whether my message is enqueued or not and if it does then why my adapter don’t pick up the message.
    2. Regarding FTP, I tried to develop an example for it but was not able to do so. In oracle documentation for FTP adapters, there is no demo example given in oracle documentation as was given for DB adapters. So if someone can provide the same or similar then it will be quite helpful to me to understand FTP adapters as well.

    Hi Emile,
    This could happen when AE cache is not getting updated.
    Goto SXI_CACHE.
    Click "Goto" -> AE Cache and check if you get a green symbol with a message saying " Cache contents are up-to-date".
    Regards,
    Anish

  • FTP Adapter - Not Working

    Hi All
    I created the BPEL process to FTP csv file from FTP Server with FTP Get Adapter with file type "ASCII" mode. Even i mentioned the directory name for incoming files as "/u12/usrvis/noble" and provided "Input.csv" file name in Incoming files with name pattern and made poll frequency to 1 sec.
    The path mentioned for directory name here is physical path and it is existing as it is in the server also.
    But when i run the process, it is not ftp ing the Input.csv file from FTP server to my local machine.
    Please help me out.
    Thanks
    Suneel -

    Hi Emile,
    This could happen when AE cache is not getting updated.
    Goto SXI_CACHE.
    Click "Goto" -> AE Cache and check if you get a green symbol with a message saying " Cache contents are up-to-date".
    Regards,
    Anish

  • FTP adapter problems

    Hi all,
    I'm having some problems with the FTP adapter.
    About two months ago I did an ESB project which reads from an FTP and writes the files in a local directory.
    I noticed that I had to change this parameter oracle.tip.adapter.file.numProcessorThreads=1 in the integration\esb\config\pc.properties.esb en integration\esb\config\ pc.properties file, for the FTP adapter to work all right. And it has been working for a long time.
    The issue is, that now, I deploy this same ESB project to the same server and is not working. No files are being copied to my local directory. Furthermore, there are no instances in the ESB Control either.
    I haven't changed anything so I don't understand why this is happening.
    I set the log trace to FINEST and I found this trace for a lot of files in the log:
    JCA: Poller enqueuing file for processing :/200704110041_r01g0020.gif
    JCA: Ignoring File : 200704110041_r01g0020.gif as it is already enqued for processing.
    So, there are no errors showing in the log but the adapter is not working.
    Any tips about this? It is very important because we have to put this project in the production machine....
    Thanks for your help.
    Message was edited by:
    Zaloa

    Hi Mark,
    Thank you for your response, I have post the service request already. So far, I haven't got any answers and I have been trying to deploy this same project in different servers.
    I get different results everytime without changing anything. In the test environment I just get the first error I post in this thread. In my local server I get a fatal error that I have already reported in this forum with the subject "FatalError FTP Adapter", and I write it here again.
    JCA: Completed inbound translation for : 200704021141_r01g1120.gif
    JCA: Did not publish file {200704021141_r01g1120.gif} as endpoint has been de-activated.
    JCA: Processer thread calling onFatalError with exception Error al publicar el mensaje.
    Se ha producido un error al publicar el mensaje del archivo /200704021141_r01g1120.gif (Error publishing the file message....)
    Compruebe la pila de errores y corrija la causa del error. Póngase en contacto con los Servicios de Soporte Oracle si no se puede
    corregir el error. (Check error stack and fix the error. Contact Oracle Support Services if the error can not be fixed)
    JCA inbound adapter service listener for "SUBIRA.INM.ConsultaFTP_RS.Get" with endpoint ID "[Get_ptt::Get(opaque)]" has been requested
    to shutdown by Resource Adapter due to fatal error. Reason : ORABPEL-11004
    Error al publicar el mensaje. (Error publishing the message)
    Se ha producido un error al publicar el mensaje del archivo /200704021141_r01g1120.gif (An error has occurred publishing the file....)
    Compruebe la pila de errores y corrija la causa del error. Póngase en contacto con los Servicios de Soporte Oracle si no se puede
    corregir el error. (Check error stack and fix the error. Contact Oracle Support Services if the error can not be fixed)
    Any ideas? Thanks in advance,
    Zaloa

  • Ftp Adapter in ESB Control

    Where do I need to configure the JNDI-location of my ftp-adapter when working with an esb control?
    If I deploy my esb process now i'm getting a WSIFException because he can't find the configuration settings for the ftp adapter.

    When I try to use the same functionality, the ftp adapter, in bpel I'm facing the same behaviour. There is something wrong with the configuration of the oc4j-ra.xml file?
    The errostack:
    file:/C:/product/SoaSuite/10.1.3.1/OracleAS/bpel/domains/default/tmp/.bpel_BPELProcess1_1.0_c64929dfd2dacf95db3c9da081c1797d.tmp/put.wsdl [ Put_ptt::Put(DVD) ] - WSIF JCA Execute of operation 'Put' failed due to: Adapter Framework unable to create outbound JCA connection.
    file:/C:/product/SoaSuite/10.1.3.1/OracleAS/bpel/domains/default/tmp/.bpel_BPELProcess1_1.0_c64929dfd2dacf95db3c9da081c1797d.tmp/put.wsdl [ Put_ptt::Put(DVD) ] - : The Adapter Framework was unable to establish an outbound JCA connection due to the following issue: ORABPEL-12510
    Unable to locate the JCA Resource Adapter via WSDL port element jca:address.
    The Adapter Framework is unable to startup the Resource Adapter specified in the WSDL jca:address element: location='eis/Ftp/FtpAdapter'.
    The reason for this is most likely that either
    1) the Resource Adapters RAR file has not been deployed successfully to the OC4J Application server or
    2) the 'location' attribute in $J2EE_HOME/application-deployments/default/deployed-adapter-name/oc4j-ra.xml has not been set to eis/Ftp/FtpAdapter. In the last case you might have to add a new 'connector-factory' entry (connection) to oc4j-ra.xml.
    Please correct this and then restart the BPEL/OC4J Application Server

  • ESB FTP adapter tutorials

    I seen Oracle has many tutorials and this i like :) However im trying to setup a FTP adapter version of ESB and cant seem to find any tutorials on this specfically. If anyone could help me or maybe explain how i could edit a file adapter tutorial in which they have so that and FTP adapter could work that would be great

    Sorry I haven't tried it with ESB, but I do have a blog about "advanced use of FTP adapter" in BPEL: http://darwin-it.blogspot.com/2008/03/configuration-of-ftp-synchronous-get.html.
    I do think though that it should not be a very big problem to translate this to ESB, since it is actually the same adapter.
    Regards,
    Martien

  • FTP adapter --- Not picking up files

    Hi,
    I have set up an FTP adapter in archive mode to read files from FTP server and process it while archiving a copy of it. I have set up Poll interval at 40 secs and retry interval also set up. It works great the first time . Processes the file and archives it. But when the same files comes in again in the FTP server, I see the foll. message in the adapter monitor "Error: Stopped due to error: com.sap.aii.adapter.file.ftp.FTPEx: inputdat.txt: No such file or directory: No such file or directory."..The file exists in the FTP server but its not processed..I am not sure what I am missing...
    -Teresa

    Hi Michal,
      I have timestamp set up for archive directory..So every run will create an archive file with timestamp..But the input filename remains the same..Archive functionality would remove the file inthe FTP server..So when the file comes again into the FTP server, the FTP adapter doesn't trigger automatically. Everytime I had to activate the IB for FTP adapter to trigger the process. I know this is not how XI-FTP adapter should work..Our scenario is we would receive weekly files into the FTP adpater with the same name. We need to archive each weekly file and also send it for further processing..I can't be activating the process manually ....I know something is going wrong but can't figure it out...:(..Any help is appreciated...:)
    -Teresa

  • FTP Adapter error: SLDAccess

    Hello everyone!
    When XI picks up an XML using the FTP adapter (sender), I get this error message:
    <b><i>Error: com.sap.aii.af.ra.ms.api.ConfigException: Some of the IS access information is not available. SLDAcess property may be set to true, but SLD is not available.</i></b>
    in the Comm. Channel monitoring. No message is processed in the Integration Engine.
    Would anyone know what could be causing this error?

    Hi,
    Check if your FTP adapter is working.
    Also check connection between XI and FTPSERVER.
    Regards,
    AKshay Jamgaonkar.
    Reward points if find useful.

  • Sender FTP Adapter - Archive faulty files not working

    Hello,
    We are on SAP PI 7.11 SP 06
    We have a scenario where we are reading CSV files from a FTP location.
    File Sender Adapter is polling the FTP location for CSV files, if there
    is any error during FCC we need to move the faulty file under a
    particular directory on FTP server.
    Archive faulty files tick is click under the communication channel and
    also the required directory is specified, but the functionality is not
    working.
    If there is a faulty file it is just adding a rejected prefix to the
    file and keeping the file in the polling directory. It is not moving
    the file in the rejected directory specified in the communication
    channel.
    Thanks & Regards,
    Rahul Nawale

    Are you trying to archive the file on the same FTP server or a different FTP server? Archiving the faulty file on the FTP server might not have expected results. And if you are trying to archive the file on a separate FTP server, it wouldn't probably be achieved using the simple file adapter functionalities.
    The best way would be to archive the faulty files to an NFS location on your PI server (this will certainly work, even if it's FTP mode) and then use a separate script or PI interface (file tunneling) to move these files from PI server File System to FTP archive location.
    Regards,
    Suddhasatta

  • FTP Adapter setting filename at runtime not working

    Hi,
    I am facing an issue SOA 11.1.1.5 with FTP Adapter setting the filename at runtime. I have a process that reads a file from local server and puts it over to a remote FTP Server.
    I want to use the same filename that is picked up locally and placed on the ftp location. Below is the snippet of FTP Invoke and the filename is read from a variable which is set before the invoke
    <invoke name="Invoke_PutFile"
    inputVariable="Invoke_PutFile_PutFile_InputVariable"
    partnerLink="PutFile" portType="ns2:PutFile_ptt"
    operation="PutFile" bpelx:invokeAsDetail="no">
    <bpelx:inputProperty name="jca.file.TargetFileName" variable="targetFileName"/>
    </invoke>
    Here is the FTP jca file snippet
    <endpoint-interaction portType="PutFile_ptt" operation="PutFile">
    <interaction-spec className="oracle.tip.adapter.ftp.outbound.FTPInteractionSpec">
    <property name="LogicalDirectory" value="FtpDir"/>
    <property name="FileType" value="ascii"/>
    <property name="Append" value="false"/>
    <property name="TargetFileName" value="setAtRunTime"/>
    <property name="NumberMessages" value="1"/>
    </interaction-spec>
    </endpoint-interaction>
    But when I test I am getting an error, it's complaining Cannot set JCA WSDL Property. Error while setting JCA WSDL Property. Property setTargetFileName is not defined for oracle.tip.adapter.ftp.outbound.FTPInteractionSpec Please verify the spelling of the property. ".
      Fault Details : com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.oracle.com/bpel/extension}bindingFault} messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage} parts: {{ summary=Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'PutFile' failed due to: Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "Could not instantiate InteractionSpec oracle.tip.adapter.ftp.outbound.FTPInteractionSpec due to: Cannot set JCA WSDL Property.
    Error while setting JCA WSDL Property. Property setTargetFileName is not defined for oracle.tip.adapter.ftp.outbound.FTPInteractionSpec Please verify the spelling of the property. ".
    The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. ".
    The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. ,detail=Cannot set JCA WSDL Property.
    Error while setting JCA WSDL Property. Property setTargetFileName is not defined for oracle.tip.adapter.ftp.outbound.FTPInteractionSpec Please verify the spelling of the property. ,code=null}
      If I use *<property name="FileNamingConvention" value="%yyMMddHHmmssSS%_%SEQ%.txt"/>* inside the jca file it works but I want to use the filename at runtime and be the same name as it's picked up.
    Any idea what I am doing wrong.
    Thanks

    .bpel file
    <?xml version = "1.0" encoding = "UTF-8" ?>
    <!--
      Oracle JDeveloper BPEL Designer
      Created: Mon Jun 03 10:33:49 CDT 2013
      Author: 
      Type: BPEL 1.1 Process
      Purpose: Empty BPEL Process
    -->
    <process name="SharedServiceFtpFileMove"
                   targetNamespace="http://xmlns.oracle.com/SOALocal/SharedServiceFtpFileMove/SharedServiceFtpFileMove"
                   xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
                   xmlns:client="http://xmlns.oracle.com/SOALocal/SharedServiceFtpFileMove/SharedServiceFtpFileMove"
                   xmlns:ora="http://schemas.oracle.com/xpath/extension"
                   xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
             xmlns:ns1="http://xmlns.oracle.com/pcbpel/adapter/file/SOALocal/SharedServiceFtpFileMove/FilePoller"
             xmlns:ns2="http://xmlns.oracle.com/pcbpel/adapter/ftp/SOALocal/SharedServiceFtpFileMove/PutFile"
             xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
             xmlns:xsd="http://www.w3.org/2001/XMLSchema"
             xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
             xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
             xmlns:oraext="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
             xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
             xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
             xmlns:bpm="http://xmlns.oracle.com/bpmn20/extensions"
             xmlns:xdk="http://schemas.oracle.com/bpel/extension/xpath/function/xdk"
             xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
             xmlns:ns5="http://xmlns.oracle.com/SharedServiceEmailNotification/xsd/V1"
             xmlns:ns4="http://xmlns.oracle.com/pcbpel/adapter/opaque/"
             xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap">
      <!--
         ORCHESTRATION LOGIC                                              
         Set of activities coordinating the flow of messages across the   
         services integrated within this business process                 
      -->
      <partnerLinks>
        <partnerLink name="FilePoller" partnerLinkType="ns1:ReadFile_plt"
                     myRole="ReadFile_role"/>
        <partnerLink name="PutFile" partnerLinkType="ns2:PutFile_plt"
                     partnerRole="PutFile_role"/>
      </partnerLinks>
      <variables>
        <variable name="Receive_ReadFile_InputVariable"
                  messageType="ns1:ReadFile_msg"/>
        <variable name="sourceFileName" type="xsd:string"/>
        <variable name="targetFileName" type="xsd:string"/>
        <variable name="Invoke_PutFile_PutFile_InputVariable"
                  messageType="ns2:PutFile_msg"/>
        <variable name="FtpJndi" type="xsd:string"/>
      </variables>
      <faultHandlers>
        <catchAll>
          <sequence name="Sequence1">
            <terminate/>
          </sequence>
        </catchAll>
      </faultHandlers>
      <sequence name="main">
        <receive name="Receive" createInstance="yes"
                 variable="Receive_ReadFile_InputVariable"
                 partnerLink="FilePoller" portType="ns1:ReadFile_ptt"
                 operation="ReadFile">
          <bpelx:property name="jca.file.FileName" variable="sourceFileName"/>
        </receive>
        <assign name="Assign_Data">
          <copy>
            <from variable="sourceFileName"/>
            <to variable="targetFileName"/>
          </copy>
          <copy>
            <from expression="'eis/Ftp/FtpAdapter'"/>
            <to variable="FtpJndi"/>
          </copy>
        </assign>
        <assign name="Assign_Invoke">
          <copy>
            <from variable="Receive_ReadFile_InputVariable" part="opaque"/>
            <to variable="Invoke_PutFile_PutFile_InputVariable" part="opaque"/>
          </copy>
        </assign>
        <invoke name="Invoke_PutFile"
                inputVariable="Invoke_PutFile_PutFile_InputVariable"
                partnerLink="PutFile" portType="ns2:PutFile_ptt"
                operation="PutFile" bpelx:invokeAsDetail="no">
          <bpelx:inputProperty name="jca.ftp.TargetFileName" variable="targetFileName"/>
          <bpelx:inputProperty name="jca.jndi" variable="FtpJndi"/>
        </invoke>
      </sequence>
    </process>File Adapter Poller jca
    <adapter-config name="FilePoller" adapter="File Adapter" wsdlLocation="FilePoller.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
      <connection-factory location="eis/FileAdapter" UIincludeWildcard="*-*.txt"/>
      <endpoint-activation portType="ReadFile_ptt" operation="ReadFile">
        <activation-spec className="oracle.tip.adapter.file.inbound.FileActivationSpec">
          <property name="DeleteFile" value="true"/>
          <property name="LogicalArchiveDirectory" value="FtpLocalArchive"/>
          <property name="MinimumAge" value="0"/>
          <property name="Recursive" value="true"/>
          <property name="PollingFrequency" value="15"/>
          <property name="LogicalDirectory" value="FtpLocalFiles"/>
          <property name="IncludeFiles" value=".*-.*\.txt"/>
          <property name="UseHeaders" value="false"/>
        </activation-spec>
      </endpoint-activation>
    </adapter-config>Ftp Adapter put jca
    <adapter-config name="PutFile" adapter="FTP Adapter" wsdlLocation="PutFile.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
      <connection-factory location="eis/Ftp/FtpAdapter"/>
      <endpoint-interaction portType="PutFile_ptt" operation="PutFile">
        <interaction-spec className="oracle.tip.adapter.ftp.outbound.FTPInteractionSpec">
          <property name="LogicalDirectory" value="FtpDir"/>
          <property name="FileType" value="ascii"/>
          <property name="Append" value="false"/>
          <property name="TargetFileName" value="setAtRunTime"/>
          <property name="NumberMessages" value="1"/>
        </interaction-spec>
      </endpoint-interaction>
    </adapter-config>Thanks

  • FTP Adapter in SOA10.1.3.4.0 MLR4 doesn't work and no errors either

    Hi All:
    First my env summary:
    I have install SOA10.1.3.4.0 (with MLR4) on my laptop (Windows XP). Also I have install Filezilla Server on same laptop.
    In Fillezilla, I have configured a ftp location to "F:\MyFTPServer" directory. F drive is a local drive on my laptop. Also I have created a user called "soa" with password "soa" to be able to access this FTP server.
    Under F:\MyFTPServer directory, I have 3 sub folders:
    In -- to get file
    Out -- to drop the file
    Archive -- to archive the file after get and drop
    I have successfully accessed this ftp server from other computer using either MS-DOS FTP command or FTP software (e.g. WinSCP) as user "soa". I am able to drop file to "In" dirrectory and get file from "Out" directory.
    Above confirms my FTP server is ready to be used.
    Next, in SOA 10.1.3.4.0 AS console, I have create a new Connection Factory called "*eis/Ftp/myFtpServer*" (there is a seeded one called eis/Ftp/FtpAdapter and I didn't touch/configure it).
    the following is the settings for eis/Ftp/myFtpServer
    host: my laptop computer name
    port: 21
    ftpAbsolutePathBegin: /
    ftpPathSeparator: /
    listParserKey: WIN
    username: soa
    password: soa
    serverType: win
    for the rest settings, I leave as default.
    Then, I create a simple BPEL process with following components:
    One FTP Adapter called "MyFTP" with following parameters:
    <jca:operation
    FileType="ascii"
    PhysicalDirectory="In"
    ActivationSpec="oracle.tip.adapter.ftp.inbound.FTPActivationSpec"
    PhysicalArchiveDirectory="Archive"
    DeleteFile="true"
    IncludeFiles=".*\.csv"
    PollingFrequency="60"
    MinimumAge="60"
    FileModificationTime="FileSystem"
    ModificationTimeFormat="4,18,yyyyMMddHHmmSS"
    OpaqueSchema="false"
    </jca:operation>
    <service name="MyFTP">
    <port name="GetFile_pt" binding="tns:GetFile_binding">
    <jca:address location="*eis/Ftp/myFtpServer*" UIincludeWildcard="*.csv" />
    </port>
    </service>
    I create one Receive activity to get file from "MyFTP" FTP Adapter.
    Using above setting, my intention is to poll any file (*.csv) from F:\MyFTPServer\In directory and receive it into my receive activity.
    I deployed my project to SOA application server and stop/restart my SOA application once.
    Now, the real stuff begins:
    I dropped 2 simple, very small (size < 1KB) files called sample.csv and sample2.csv to F:\MyFTPServer\In diretory.
    In my domain.log file, I can see my BPEL process is starting polling every 1 minute without any error:
    <2010-09-16 15:29:25,015> <INFO> <default.collaxa.cube.activation> <File Adapter::Inbound> Managed Connection Created
    <2010-09-16 15:29:25,015> <INFO> <default.collaxa.cube.activation> <File Adapter::Inbound> Connection Created
    <2010-09-16 15:30:25,016> <INFO> <default.collaxa.cube.activation> <File Adapter::Inbound> Managed Connection Created
    <2010-09-16 15:30:25,016> <INFO> <default.collaxa.cube.activation> <File Adapter::Inbound> Connection Created
    Meanwhile, I am observing Filezilla server log and it clearly said every one minute (the timestamp match to bpel domain.log 100%), user "soa" login to this FTP server and list both files (sample.csv and sample2.csv) in "In" directory. Then it quits.
    However, I don't see any BPEL instance is created (In my BPEL project, I have cheched "Create Instance" when create my receive activity). And both files are still there in "In" folder. Per my configuration of "MyFTP" FTP adapter, the file should be deleted after it is polled successfully (*DeleteFile*="true")
    (000132)9/16/2010 15:29:25 PM - (not logged in) (10.1.90.187)> Connected, sending welcome message...
    (000132)9/16/2010 15:29:25 PM - (not logged in) (10.1.90.187)> 220-FileZilla Server version 0.9.36 beta
    (000132)9/16/2010 15:29:25 PM - (not logged in) (10.1.90.187)> 220-written by Tim Kosse ([email protected])
    (000132)9/16/2010 15:29:25 PM - (not logged in) (10.1.90.187)> 220 Please visit http://sourceforge.net/projects/filezilla/
    (000132)9/16/2010 15:29:25 PM - (not logged in) (10.1.90.187)> USER soa
    (000132)9/16/2010 15:29:25 PM - (not logged in) (10.1.90.187)> 331 Password required for soa
    (000132)9/16/2010 15:29:25 PM - (not logged in) (10.1.90.187)> PASS ***
    (000132)9/16/2010 15:29:25 PM - soa (10.1.90.187)> 230 Logged on
    (000132)9/16/2010 15:29:25 PM - soa (10.1.90.187)> PWD
    (000132)9/16/2010 15:29:25 PM - soa (10.1.90.187)> 257 "/" is current directory.
    (000132)9/16/2010 15:29:25 PM - soa (10.1.90.187)> PASV
    (000132)9/16/2010 15:29:25 PM - soa (10.1.90.187)> 227 Entering Passive Mode (10,1,90,187,13,110)
    (000132)9/16/2010 15:29:25 PM - soa (10.1.90.187)> NLST /In
    (000132)9/16/2010 15:29:25 PM - soa (10.1.90.187)> 150 Connection accepted
    (000132)9/16/2010 15:29:25 PM - soa (10.1.90.187)> 226 Transfer OK
    (000133)9/16/2010 15:29:25 PM - (not logged in) (10.1.90.187)> Connected, sending welcome message...
    (000133)9/16/2010 15:29:25 PM - (not logged in) (10.1.90.187)> 220-FileZilla Server version 0.9.36 beta
    (000133)9/16/2010 15:29:25 PM - (not logged in) (10.1.90.187)> 220-written by Tim Kosse ([email protected])
    (000133)9/16/2010 15:29:25 PM - (not logged in) (10.1.90.187)> 220 Please visit http://sourceforge.net/projects/filezilla/
    (000133)9/16/2010 15:29:25 PM - (not logged in) (10.1.90.187)> USER soa
    (000133)9/16/2010 15:29:25 PM - (not logged in) (10.1.90.187)> 331 Password required for soa
    (000133)9/16/2010 15:29:25 PM - (not logged in) (10.1.90.187)> PASS ***
    (000133)9/16/2010 15:29:25 PM - soa (10.1.90.187)> 230 Logged on
    (000133)9/16/2010 15:29:25 PM - soa (10.1.90.187)> MDTM /In/sample.csv
    (000133)9/16/2010 15:29:25 PM - soa (10.1.90.187)> 213 20100916184802
    (000133)9/16/2010 15:29:25 PM - soa (10.1.90.187)> QUIT
    (000133)9/16/2010 15:29:25 PM - soa (10.1.90.187)> 221 Goodbye
    (000133)9/16/2010 15:29:25 PM - soa (10.1.90.187)> disconnected.
    (000134)9/16/2010 15:29:25 PM - (not logged in) (10.1.90.187)> Connected, sending welcome message...
    (000134)9/16/2010 15:29:25 PM - (not logged in) (10.1.90.187)> 220-FileZilla Server version 0.9.36 beta
    (000134)9/16/2010 15:29:25 PM - (not logged in) (10.1.90.187)> 220-written by Tim Kosse ([email protected])
    (000134)9/16/2010 15:29:25 PM - (not logged in) (10.1.90.187)> 220 Please visit http://sourceforge.net/projects/filezilla/
    (000134)9/16/2010 15:29:25 PM - (not logged in) (10.1.90.187)> USER soa
    (000134)9/16/2010 15:29:25 PM - (not logged in) (10.1.90.187)> 331 Password required for soa
    (000134)9/16/2010 15:29:25 PM - (not logged in) (10.1.90.187)> PASS ***
    (000134)9/16/2010 15:29:25 PM - soa (10.1.90.187)> 230 Logged on
    (000134)9/16/2010 15:29:25 PM - soa (10.1.90.187)> MDTM /In/sample2.csv
    (000134)9/16/2010 15:29:25 PM - soa (10.1.90.187)> 213 20100916184802
    (000134)9/16/2010 15:29:25 PM - soa (10.1.90.187)> QUIT
    (000134)9/16/2010 15:29:25 PM - soa (10.1.90.187)> 221 Goodbye
    (000134)9/16/2010 15:29:25 PM - soa (10.1.90.187)> disconnected.
    (000132)9/16/2010 15:29:25 PM - soa (10.1.90.187)> disconnected.
    (000135)9/16/2010 15:30:25 PM - (not logged in) (10.1.90.187)> Connected, sending welcome message...
    (000135)9/16/2010 15:30:25 PM - (not logged in) (10.1.90.187)> 220-FileZilla Server version 0.9.36 beta
    (000135)9/16/2010 15:30:25 PM - (not logged in) (10.1.90.187)> 220-written by Tim Kosse ([email protected])
    (000135)9/16/2010 15:30:25 PM - (not logged in) (10.1.90.187)> 220 Please visit http://sourceforge.net/projects/filezilla/
    (000135)9/16/2010 15:30:25 PM - (not logged in) (10.1.90.187)> USER soa
    (000135)9/16/2010 15:30:25 PM - (not logged in) (10.1.90.187)> 331 Password required for soa
    (000135)9/16/2010 15:30:25 PM - (not logged in) (10.1.90.187)> PASS ***
    (000135)9/16/2010 15:30:25 PM - soa (10.1.90.187)> 230 Logged on
    (000135)9/16/2010 15:30:25 PM - soa (10.1.90.187)> PWD
    (000135)9/16/2010 15:30:25 PM - soa (10.1.90.187)> 257 "/" is current directory.
    (000135)9/16/2010 15:30:25 PM - soa (10.1.90.187)> PASV
    (000135)9/16/2010 15:30:25 PM - soa (10.1.90.187)> 227 Entering Passive Mode (10,1,90,187,13,130)
    (000135)9/16/2010 15:30:25 PM - soa (10.1.90.187)> NLST /In
    (000135)9/16/2010 15:30:25 PM - soa (10.1.90.187)> 150 Connection accepted
    (000135)9/16/2010 15:30:25 PM - soa (10.1.90.187)> 226 Transfer OK
    (000136)9/16/2010 15:30:25 PM - (not logged in) (10.1.90.187)> Connected, sending welcome message...
    (000136)9/16/2010 15:30:25 PM - (not logged in) (10.1.90.187)> 220-FileZilla Server version 0.9.36 beta
    (000136)9/16/2010 15:30:25 PM - (not logged in) (10.1.90.187)> 220-written by Tim Kosse ([email protected])
    (000136)9/16/2010 15:30:25 PM - (not logged in) (10.1.90.187)> 220 Please visit http://sourceforge.net/projects/filezilla/
    (000136)9/16/2010 15:30:25 PM - (not logged in) (10.1.90.187)> USER soa
    (000136)9/16/2010 15:30:25 PM - (not logged in) (10.1.90.187)> 331 Password required for soa
    (000136)9/16/2010 15:30:25 PM - (not logged in) (10.1.90.187)> PASS ***
    (000136)9/16/2010 15:30:25 PM - soa (10.1.90.187)> 230 Logged on
    (000136)9/16/2010 15:30:25 PM - soa (10.1.90.187)> MDTM /In/sample.csv
    (000136)9/16/2010 15:30:25 PM - soa (10.1.90.187)> 213 20100916184802
    (000136)9/16/2010 15:30:25 PM - soa (10.1.90.187)> QUIT
    (000136)9/16/2010 15:30:25 PM - soa (10.1.90.187)> 221 Goodbye
    (000136)9/16/2010 15:30:25 PM - soa (10.1.90.187)> disconnected.
    (000137)9/16/2010 15:30:25 PM - (not logged in) (10.1.90.187)> Connected, sending welcome message...
    (000137)9/16/2010 15:30:25 PM - (not logged in) (10.1.90.187)> 220-FileZilla Server version 0.9.36 beta
    (000137)9/16/2010 15:30:25 PM - (not logged in) (10.1.90.187)> 220-written by Tim Kosse ([email protected])
    (000137)9/16/2010 15:30:25 PM - (not logged in) (10.1.90.187)> 220 Please visit http://sourceforge.net/projects/filezilla/
    (000137)9/16/2010 15:30:25 PM - (not logged in) (10.1.90.187)> USER soa
    (000137)9/16/2010 15:30:25 PM - (not logged in) (10.1.90.187)> 331 Password required for soa
    (000137)9/16/2010 15:30:25 PM - (not logged in) (10.1.90.187)> PASS ***
    (000137)9/16/2010 15:30:25 PM - soa (10.1.90.187)> 230 Logged on
    (000137)9/16/2010 15:30:25 PM - soa (10.1.90.187)> MDTM /In/sample2.csv
    (000137)9/16/2010 15:30:25 PM - soa (10.1.90.187)> 213 20100916184802
    (000137)9/16/2010 15:30:25 PM - soa (10.1.90.187)> QUIT
    (000137)9/16/2010 15:30:25 PM - soa (10.1.90.187)> 221 Goodbye
    (000137)9/16/2010 15:30:25 PM - soa (10.1.90.187)> disconnected.
    (000135)9/16/2010 15:30:25 PM - soa (10.1.90.187)> disconnected.
    I am bit of confused. In my case, there is no any error anywhere; however, FTP Adapter in my bpel project doesn't poll file either. It does login to FTP server every one minute; did a list command; then quit.
    You may suggest I change the following 2 settings in my bpel project:
    FileModificationTime="FileSystem"
    ModificationTimeFormat="4,18,yyyyMMddHHmmSS"
    however, I think they are set correctly, because it match to MDTM command result in my Filezilla server log (see above and below). The modificaiton time format starts at position 4 and ends with position 18 with correct mask
    (000137)9/16/2010 15:30:25 PM - soa (10.1.90.187)> MDTM /In/sample2.csv
    (000137)9/16/2010 15:30:25 PM - soa (10.1.90.187)> 213 *20100916184802*
    Can anyone offer me some help? I am desperately want make this work so that I can show this example to others here.
    Thanks in advance!
    Kevin
    Edited by: user3026501 on Sep 16, 2010 1:44 PM
    Edited by: user3026501 on Sep 16, 2010 1:47 PM

    After I delete following 2 lines, I got some error in domain.log
    FileModificationTime="FileSystem"
    ModificationTimeFormat="4,18,yyyyMMddHHmmSS"
    Error in domain.log
    <2010-09-29 11:01:56,358> <INFO> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Managed Connection Created^M
    <2010-09-29 11:01:56,358> <INFO> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Connection Created^M
    <2010-09-29 11:01:56,405> <ERROR> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Error in creating FTPTimeMask^M
    <2010-09-29 11:01:56,452> <ERROR> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Could not get file modification time for : test1.csv^M
    <2010-09-29 11:01:56,452> <INFO> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Poller raising Alert for exception : ORABPEL-11430
    Error in listing files in the remote directory.
    Unable to list file in remote directory.
    Check the error stack and fix the cause of the error. Contact oracle support if error is not fixable.
    ^M
    Here is my latest jca:operation definition:
    <jca:operation
    FileType="ascii"
    PhysicalDirectory="In"
    ActivationSpec="oracle.tip.adapter.ftp.inbound.FTPActivationSpec"
    PhysicalArchiveDirectory="Archive"
    UseRemoteArchive="true"
    DeleteFile="true"
    IncludeFiles=".*\.csv"
    PollingFrequency="60"
    MinimumAge="120"
    OpaqueSchema="false" >
    </jca:operation>
    Any more suggestion?
    Thanks!
    Kevin

  • How does TimeOut(Sec) works/ behave in FTP Adapter?

    Hi ,
    How does TimeOut(Sec) works/ behave in FTP Adapter?
    Lets Say : If I mention 300 Secs in this . How Should it behave ??
    if a file processing in adapter is taking more then 300 sec , will it also be  terminated ??? what error response i will get in such case.
    Regards
    Prabhat Sharma.

    Hi,
    if there's a network error the channel may hang (for a very long time)
    if you specify 300 secs after that time the channel will reset the connection and you can start pooling again
    for more details:
    Note 849089 - XI 3.0 / PI 7.0 File Adapter: FTP Timeout Handling
    Regards,
    Michal Krawczyk

Maybe you are looking for

  • Sort Address Book search dialog box by last name, first name

    When I am entering an email, and I click on the To: field to bring up the Address Book dialog box, by default the names are ordered according to the Name field in First Name, Last name format. Is there any way to have this column display the names in

  • SAP BW timeout

    I am running a Crystal report against a BW query, via the Business Objects Enterprise XI scheduler, which is returning a successful completion message even if the query times out on the BW server. Any thoughts as to why it should return a "successful

  • Help on adding plugin filters to photoshop cs2

    I use Windows XP, 1 gig ram, more than enough space on hard drive. I just installed photoshop CS2. I also use PSPX and have plugins EyeCandy, FlamingPear filters, and all of the KPT filters in the plugin options on PSPX. Question is, to use them in p

  • Flash Files to Dreamweaver

    Hey All- I did my basic background templater in flash, and i want to bring it into dreamweaver to finish my site. But when i hit the Flash icon in DW, and insert the file, it doesnt read right. I get a little grey box with the F in it, and a black bo

  • Starting WebLogic. Admin (Mac and WLS v12c)

    Hi all, I'm new to WebLogic (using it for a class), and we are supposed to use the WebLogic.admin utility-but I don't know how to get it to start! I need to know how to start it and issue commands, etc. Here is a c+p from an email I sent to someone a