BPEL FTP Adapter Active Mode

Does BPEL FTP Adapter supports active ftp mode (instead of passive). Apparently the ftp site for one of the Interfaces uses FTP Adapter and that ftp server it is using supports ONLY active ftp sessions, NOT passive.
Want are configuration to made to changed to support active mode
oc4j-ra.xml for ACTIVE ftp and not passive

Thanks Everybody for the prompt response .
1) What error does one get when trying to connect to FTP Sever which only support active mode
No Error , but no file transfer happens. SR and Bug Request for the same is already in place .
QUESTION
========
Does BPEL FTP Adapter supports active ftp mode (instead of passive).
ANSWER
======
No, FTP Adapter only supports passive mode. For that purpose there is an Enhancement Request
already, the Bug 6866124 - NEED SUPPORT FOR PASSIVE FTP ADAPTER AND CUSTOM FTP
COMMANDS :
1. The FTP Server needs to be active for the Adapter to work. So, both FTP Server and the FTP adapter must be active for it to work.
Also you only support PASSIVE mode in our FTP JCA adapter. ACTIVE mode is currently
considered bad practice and a security vulnerability.
But, we would require both ACTIVE and PASSIVE modes.
2. Custom commands are not supported. But, we need the samples for custom FTP Commands and support for it.
for example: quote site fixrecfm 90...

Similar Messages

  • BPEL FTP Adapter name space

    Hi Friends,
    I have a bpel process which sends xml data over ftp. The name space in FTPed data looks as below:
    "<?xml version = "1.0" encoding = "UTF-8" ?>
    _+<Metadata xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://aiv-external.s3.org.com/UnboxMetadata.xsd" xmlns:tns="http://www.org.com/UnboxMetadata/v1" xmlns="http://www.org.com/UnboxMetadata/v1">+_
    <tns:Movie><tns:PartnerName>ABC</tns:PartnerName><tns:UniqueID>1263456</tns:UniqueID>
    </tns:Movie>"
    However receive of ftpied data expect following (Please note change in sehmalocation:
    " <?xml version = "1.0" encoding = "UTF-8" ?>
    _+<Metadata xsi:schemaLocation="http://www.amazon.com/UnboxMetadata/v1 http://aiv-external.s3.amazonaws.com/UnboxMetadata.xsd"+_
    _+xmlns="http://www.amazon.com/UnboxMetadata/v1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">+_
    <Movie><PartnerName>ABC</PartnerName><UniqueID>1263456</UniqueID>
    </Movie>"
    Is i t possible to control/change schema location and get file in expected form?
    Thanks,
    Sachin.
    Edited by: user10051771 on May 1, 2013 2:31 PM

    Thanks Everybody for the prompt response .
    1) What error does one get when trying to connect to FTP Sever which only support active mode
    No Error , but no file transfer happens. SR and Bug Request for the same is already in place .
    QUESTION
    ========
    Does BPEL FTP Adapter supports active ftp mode (instead of passive).
    ANSWER
    ======
    No, FTP Adapter only supports passive mode. For that purpose there is an Enhancement Request
    already, the Bug 6866124 - NEED SUPPORT FOR PASSIVE FTP ADAPTER AND CUSTOM FTP
    COMMANDS :
    1. The FTP Server needs to be active for the Adapter to work. So, both FTP Server and the FTP adapter must be active for it to work.
    Also you only support PASSIVE mode in our FTP JCA adapter. ACTIVE mode is currently
    considered bad practice and a security vulnerability.
    But, we would require both ACTIVE and PASSIVE modes.
    2. Custom commands are not supported. But, we need the samples for custom FTP Commands and support for it.
    for example: quote site fixrecfm 90...

  • TimestampOffset in FTP Adapter activation agent properties

    Hi all,
    I am having an issue using the "timestampOffset" FTP Adapter activation agent property on an SOA Suite 10.1.3.4/MLR#9 (Linux) system.
    I have a BPEL process that is being launched via the FTP Adapter when a particular file appears on a remote SFTP server. I am polling for this file every 5 mins, and don't want to retrieve it unless it is at least 15 minutes old. The SFTP server from which I am retrieving this file is configured with a different timezone than the SOA Suite server on which the BPEL process is running; the SOA Suite server has a timezone of MST (GMT-7) and the SFTP server has a timezone of GMT. Here is the relevant section from the WSDL for this PartnerLink:
    <jca:operation
    FileType="binary"
    LogicalDirectory="TriggerDirectory"
    ActivationSpec="oracle.tip.adapter.ftp.inbound.FTPActivationSpec"
    DeleteFile="true"
    IncludeFiles="external_ids_trigger\.txt"
    PollingFrequency="300"
    MinimumAge="900"
    ModificationTimeFormatOld="43,54,MMM dd yyyy"
    FileModificationTime="DirListing"
    ModificationTimeFormat="43,54,MMM dd HH:mm"
    OpaqueSchema="true" >
    </jca:operation>
    I attempted to compensate for this by adding the "timestampOffset" property to the activation agent in bpel.xml (also included in the jdev_files.zip attachment); this is detailed in the document "Oracle Application Server Adapters for Files, FTP, Databases, and Enterprise Messaging User’s Guide 10g Release 3 (10.1.3.1.0) B28994-01". Here is the activationAgents section from the bpel.xml file:
    <activationAgents>
    <activationAgent className="oracle.tip.adapter.fw.agent.jca.JCAActivationAgent" partnerLink="PollForTriggerFile">
    <property name="TriggerDirectory" type="LogicalDirectory">/uazsa/uazsaprd/integration/output</property>
    <property name="portType">Get_ptt</property>
    <property name="timestampOffset">25200000</property>
    </activationAgent>
    </activationAgents>
    When deploying this BPEL project to the server, it shows the "timestampOffset" property for the JCA adapter in the log, as follows:
    <2010-01-17 11:23:39,619> <INFO> <default.collaxa.cube.activation> <AdapterFramework::Inbound> JCAActivationAgent::initiateInboundJcaEndpoint - Creating and initializing inbound JCA endpoint for:
    process='bpel://localhost/default/External_System_ID_Sync~1.0/'
    domain='default'
    WSDL location='PollForTriggerFile.wsdl'
    portType='Get_ptt'
    operation='Get'
    activation properties={TriggerDirectory=/uazsa/uazsaprd/integration/output, timestampOffset=25200000, portType=Get_ptt}
    However, this setting appears to have no effect, as when the adapter polls for the file, it finds it, but does not process it. I have turned up logging on default.collaxa.cube.activation to DEBUG, and I see the following when it polls for the file:
    <2010-01-17 12:18:40,342> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Opening sftp channel
    <2010-01-17 12:18:40,342> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Opening an SFTPChannel
    <2010-01-17 12:18:40,357> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Opened sftp channel
    <2010-01-17 12:18:40,357> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Getting list of files in directory: /uazsa/uazsaprd/integration/output
    <2010-01-17 12:18:40,386> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Obtaining attributes for file: /uazsa/uazsaprd/integration/output/emplids_nouaid.txt
    <2010-01-17 12:18:40,386> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Obtaining attributes for file: /uazsa/uazsaprd/integration/output/external_ids_trigger.txt
    <2010-01-17 12:18:40,386> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Timestamp from fileInfo=[1263770351000]
    <2010-01-17 12:18:40,386> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Current System Time : 02010.January.17 12:18:40:386
    <2010-01-17 12:18:40,386> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> File Modification Time : 02010.January.17 16:19:11:00
    <2010-01-17 12:18:40,386> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> The file : /uazsa/uazsaprd/integration/output/external_ids_trigger.txt is being ignored as its minimum age period is still valid for -> 15330614 milliseconds.
    <2010-01-17 12:18:40,386> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Obtained a list files
    <2010-01-17 12:18:40,386> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Closing sftp channel
    <2010-01-17 12:18:40,386> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Closing SFTP Channel oracle.tip.adapter.ftp.SshImpl.SFTPChannelImpl@f1c9c6
    <2010-01-17 12:18:40,387> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Closed sftp channel
    What needs to be done to have the timestampOffset property in bpel.xml honored by the activation agent? Any help is greatly appreciated! I have opened up an SR with Oracle on this as well, but sometimes the forums prove to be a quicker path to problem resolution. :)
    Thanks,
    --Gary                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Thanks for the reply, Anirudh.
    Can you elaborate? The last part of section A.3.3. in the URL you posted is exactly what I did...I specified the "timestampOffset" property to the activation agent properties in bpel.xml. I specified the offset as the time difference (in milliseconds): 7 hrs = 7*60*60*1000 = 25200000. The value they provide in that example is puzzling: 2592000000 would be an offset of 720 hours! Maybe I'm misunderstanding something about this property?
    Thanks,
    --Gary
    Edited by: user2088227 on Jan 17, 2010 8:25 PM

  • BPEL FTP Adapter - tutorial/sample?

    Hi,
    Is there a sample or tutorial available for the BPEL FTP Adapter for v10.1.2.0? Please let me know.
    Thanks
    N

    Yes, there's an end-to-end tutorial that ships with 10.1.2 and can be found in samples\tutorials\129.FTPAdapter.
    HTH,
    Navneet

  • IndexOutOfBoundsException with BPEL FTP adapter

    I am running SOA Suite 10.1.3.4 on WebLogic Server 9.2, and have deployed a simple test BPEL process that is using the FTP adapter to poll for files on a remote SFTP server, retrieve the opaque payload, then copy it to a destination file on another SFTP server. For small files this works fine. For larger files (e.g., a 3.5MB file with ~25000 fixed-length records) I get the following in my OracleSOAServer.log file:
    ===========================================
    java.lang.IndexOutOfBoundsException
         at java.io.ObjectInputStream.read(ObjectInputStream.java:822)
         at oracle.xml.comp.CXMLStream.ensureReadCapacity(CXMLStream.java:1673)
         at oracle.xml.comp.CXMLStream.readChars(CXMLStream.java:1324)
         at oracle.xml.comp.CXMLStream.readUTF(CXMLStream.java:870)
         at oracle.xml.parser.v2.XMLText.readExternal(XMLText.java:905)
         at oracle.xml.parser.v2.XMLNode.readChildNodes(XMLNode.java:2853)
         at oracle.xml.parser.v2.XMLNode.readChildNodes(XMLNode.java:2843)
         at oracle.xml.parser.v2.XMLDocument.readExternal(XMLDocument.java:3394)
         at com.collaxa.cube.xml.dom.SDOMHelper.loadCompressedNormalDom(SDOMHelper.java:345)
         at com.collaxa.cube.xml.dom.SDOMHelper.load(SDOMHelper.java:135)
         at com.collaxa.cube.xml.dom.DOMUtil.loadDocument(DOMUtil.java:2580)
         at com.collaxa.cube.engine.delivery.DeliveryHelper.loadParts(DeliveryHelper.java:933)
         at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:526)
         at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:342)
         at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean_yt19iq_ELOImpl.handleInvoke(CubeDeliveryBean_yt19iq_ELOImpl.java:931)
         at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:141)
         at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTask.java:58)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    <2009-03-06 00:12:12,931> <ERROR> <default.collaxa.cube> <BaseCubeSessionBean::logError> Error while invoking bean "cube delivery": Exception not handled by the Collaxa Cube system.
    An unhandled exception has been thrown in the Collaxa Cube system. The exception reported is: "ORABPEL-09222
    Cannot deserialize DOM element.
    Failed to deserialize the DOM element from binary format, the document id c4ee9a6854f6381d:-649649f8:11fda9c39f2:-7fcb. The exception reported is
         at com.collaxa.cube.xml.dom.SDOMHelper.loadCompressedNormalDom(SDOMHelper.java:355)
         at com.collaxa.cube.xml.dom.SDOMHelper.load(SDOMHelper.java:135)
         at com.collaxa.cube.xml.dom.DOMUtil.loadDocument(DOMUtil.java:2580)
         at com.collaxa.cube.engine.delivery.DeliveryHelper.loadParts(DeliveryHelper.java:933)
         at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:526)
         at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:342)
         at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean_yt19iq_ELOImpl.handleInvoke(CubeDeliveryBean_yt19iq_ELOImpl.java:931)
         at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:141)
         at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTask.java:58)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    Exception: ORABPEL-09222
    Cannot deserialize DOM element.
    Failed to deserialize the DOM element from binary format, the document id c4ee9a6854f6381d:-649649f8:11fda9c39f2:-7fcb. The exception reported is
    Handled As: com.collaxa.cube.CubeException
    ORABPEL-00000
    ===========================================
    This happens immediately after the polling FTP adapter picks up the file. The IndexOutOfBoundsException is particularly troubling...is this error solely a function of memory (no OutOfMemory exception is being thrown), or is some other factor at work here? Any insights are appreciated.
    Thanks,
    --Gary                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hi Anirudh,
    Thanks for the response. To clarify: my BPEL process starts with a Receive activity (with "createInstance" set to "yes"), which is receiving from an FTP Adapter PartnerLink. This PartnerLink is polling for a file on an SFTP server. When this file is present, and is relatively small, the whole BPEL process completes successfully. When it is of a larger size, I get the error described in my original post. The cause of the indexOutOfBoundsException is what I'm trying to determine. Here is the source for my BPEL process:
    ===================================
    <?xml version = "1.0" encoding = "UTF-8" ?>
    <!--
    Oracle JDeveloper BPEL Designer
    Created: Tue Mar 03 17:01:11 GMT-07:00 2009
    Author: Gary
    Purpose: Empty BPEL Process
    -->
    <process name="KFS_CNV_OpaqueFileRouting"
    targetNamespace="http://xmlns.oracle.com/KFS_CNV_BPEL_OpaqueFileRouting"
    xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    queryLanguage="http://www.w3.org/TR/1999/REC-xpath-19991116"
    expressionLanguage="http://www.w3.org/TR/1999/REC-xpath-19991116"
    abstractProcess="no" enableInstanceCompensation="no"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:ns7="http://xmlns.oracle.com/pcbpel/adapter/ftp/ReceiveInputFile/"
    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:ns5="http://xmlns.oracle.com/pcbpel/adapter/file/"
    xmlns:client="http://xmlns.oracle.com/KFS_CNV_BPEL_FileRouting"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:ns3="http://xmlns.oracle.com/pcbpel/adapter/ftp/"
    xmlns:ns2="http://xmlns.oracle.com/pcbpel/adapter/opaque/"
    xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:ns8="http://xmlns.oracle.com/pcbpel/adapter/ftp/WriteOutputFile/">
    <!--
    PARTNERLINKS
    List of services participating in this BPEL process
    -->
    <!--
    VARIABLES
    List of messages and XML documents used within this BPEL process
    -->
    <partnerLinks>
    <partnerLink myRole="GetFile_role" name="ReceiveInputFile"
    partnerLinkType="ns7:GetFile_plt"/>
    <partnerLink name="WriteOutputFile" partnerRole="PutFile_role"
    partnerLinkType="ns8:PutFile_plt"/>
    </partnerLinks>
    <variables>
    <variable name="ReceiveFileContents_GetFile_InputVariable"
    messageType="ns7:GetFile_msg"/>
    <variable name="FtpHeaderData" messageType="ns3:InboundHeader_msg"/>
    <variable name="DestFileHeader" messageType="ns3:OutboundHeader_msg"/>
    <variable name="OutboundFileContents" messageType="ns8:PutFile_msg"/>
    </variables>
    <!--
    ORCHESTRATION LOGIC
    Set of activities coordinating the flow of messages across the
    services integrated within this business process
    -->
    <sequence name="main">
    <receive name="ReceiveFileContents" partnerLink="ReceiveInputFile"
    portType="ns7:GetFile_ptt" operation="GetFile"
    variable="ReceiveFileContents_GetFile_InputVariable"
    createInstance="yes" bpelx:headerVariable="FtpHeaderData"/>
    <assign name="AssignDestFileHeader">
    <copy>
    <from variable="FtpHeaderData" part="inboundHeader"
    query="/ns3:InboundFTPHeaderType/ns3:fileName"/>
    <to variable="DestFileHeader" part="outboundHeader"
    query="/ns3:OutboundFTPHeaderType/ns3:fileName"/>
    </copy>
    </assign>
    <assign name="AssignDestFileContents">
    <copy>
    <from variable="ReceiveFileContents_GetFile_InputVariable" part="opaque"
    query="/ns2:opaqueElement"/>
    <to variable="OutboundFileContents" part="opaque"
    query="/ns2:opaqueElement"/>
    </copy>
    </assign>
    <invoke name="PushFileContents" partnerLink="WriteOutputFile"
    portType="ns8:PutFile_ptt" operation="PutFile"
    inputVariable="OutboundFileContents"/>
    </sequence>
    </process>
    ===================================
    Thanks,
    --Gary                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • BPEL FTP adapter

    Hi everyone!
    Is there anyone who can tell me where I can find some information about the usage of the FTP adapter included in BPEL PM 10.1.2.
    Thanks!

    Hi!
    By the using of the beta FTP guide I have solved my doubts about the configuration of the adapters for getting and putting files on different FTP server.
    But during the execution of the process I have noticed a strange thing in the BPEL server console. It seems to be a “great” delay between the activation of the process after the deploying and the effective transferring of files from server1 to server2. I mean, for example, that if I deploy the process at 9,07AM the first transfer begin at 9,28AM, about twenty minutes after and so on for the other istances.
    The situation is that:
    The polling frequency is fixed to 60 seconds;
    The Minimum file age is fixed to 0 seconds;
    The files on server1 have a minimum age of about 2 minutes (and have an extension of type .txt);
    The instances are initiated automatically because I have checked the “create instance” box in the invoke component configuration parameters.
    Initially I think that the delay was due to the difference between my pc-time and the server1-time but modifying my pc-time I have obtained only a little improvement.
    Could it be due to any activation or scheduling parameter in some BPEL file or it is probably a synchronization problem between my pc and server1?
    I bag your pardon if the message is so long but I hope to have success in explaining the problem!
    Thanks,
    Busno.

  • 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,
    Matias

    No. 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

  • BPEL FTP Adapter problems

    Hi!
    I have two problem using the FTP Adapter in a BPEL process.
    The first can be described as follow: I have a BPEL process that incapsulates the FTP Adapter and it is deployed correctly on the BPEL default domain. It's working fine in a normal context with no error. Now I want to simulate a "read FTP Server" crash; so I put the FTP Server from which I'm reading off-line. When the GET module of the FTP Adapter tries to poll the server, it generates a Null Pointer Exception and on the server command window I can read, after a while, that the process state will be set to OFF. But when I enter in the console I always see the state ON! But the interesting question is: is there an automatic way to recovery the process and to restart it? I see that in the domain parameter there are two values: rcvAgentDelay (7200) and rcvThreshold (600). I tried to set them to some other values, for example (120) and (10), but the process still remains "blocked" and no new polling seems to happen.
    The second problem is about the creation and the deploying on a new domain. I create a new domain called "bulk" and I tried to deploy my process on it but I can't do it due to the generation of many exception! Can I deploy a process with a FTP Adapter component inside on a domain different from the default one? And if the response is positive, like I think, can you summarize the most important steps of it and if I must configure some specific domain parameters?
    Thanks a lot,
    Busnelli.

    OK, firstly I want to thank both of you, Rakesh and Maneesh.
    Here are the details requested:
    Operation System = Windows XP Pro SP2
    BPEL Process Manager = 10.1.2
    BPEL Server version = 2.2 (build 1361)
    JDeveloper version = 10.1.2 (build 1811)
    BPEL Designer version = 10.1.2 (build 050322)
    Usually after any modification I'm used to restarting the BPEL server.
    Today I have downloaded the "Oracle JDeveloper 10g (10.1.3) - Developer Preview" (I think to be the Post Beta 3) and as soon as possible I will try to use it.
    Thanks to both!

  • BPEL FTP Adapter Issue

    I am trying to run the tutorials/129.FTPAdapter example.
    1) placed my FTP configuration in Oracle_Home\integration\orabpel\system\appserver\oc4j\j2ee\home\a
    pplication-deployments\default\FtpAdapter\oc4j-ra.xml file.
    2) created the input, output folder is my ftp
    3) deployed the FTPDebatching process.
    The process started polling the FTP- input directory immediately after deployment.
    But when I place the container.txt file in the input folder then its not reading the contents of that file and no exception message is thrown
    But when I manually initiate the process by giving some input then its writing the input in to a file in FTP- output directory.
    But it should pick up the file from input directory when it is place over there.
    polling frequency is 1 minute.
    Am I missing some configuration ????????

    Did you define in your first activity to create an instance? If you stated in your first activity in your bpel process he needs to create an instance, he will instantiate your process when a file is picked up by the polling mechanism.

  • BPEL FTP Adapter Error : Error ModificationTimeFormat

    Hi ,
    I have a requiremnt to copy a file from FTP server and put that file into my Local Machine .
    For that I have created a BPEL Process .
    One Partner Link ( FTP ) - There is a option to "delete the file " . I dont want this option , Because I want to copy the file from FTP server to Local Machine not to move the file .
    If I check this " Delete the File " option , instance is sucessfully created and files get moved from FTP server to Local Machine .
    My Question is : I want to "copy" the file from FTP Server to Local Machine , so I deselected the option " Delete the file " . After that I set Time Modification and Format .
    But When I deploy this BPEL process I am getting the follwing error .
    [u]<2007-01-22 11:24:21,164> <DEBUG> <default.collaxa.cube.ws> <FileAdapter::Outbound> PollWork is calling onFatalError for exception Failed to get file modification time.
    Could not get file modification time for file :/MySharedFolders/Testpdf_folder\P
    LSQL Fundamentals - II.pdf. Verify that the values for the "ModificationTimeFor
    mat" activation parameter are correct.Ensure the time format pattern and filenam
    e begin index and end index are specified according to the specific FTP server.
    Check the error stack and fix the cause of the error. Contact oracle support if
    error is not fixable.
    Please help me out how to get rid of this problem .
    Thanks
    Prashant

    Hi ,
    I have a requiremnt to copy a file from FTP server and put that file into my Local Machine .
    For that I have created a BPEL Process .
    One Partner Link ( FTP ) - There is a option to "delete the file " . I dont want this option , Because I want to copy the file from FTP server to Local Machine not to move the file .
    If I check this " Delete the File " option , instance is sucessfully created and files get moved from FTP server to Local Machine .
    My Question is : I want to "copy" the file from FTP Server to Local Machine , so I deselected the option " Delete the file " . After that I set Time Modification and Format .
    But When I deploy this BPEL process I am getting the follwing error .
    [u]<2007-01-22 11:24:21,164> <DEBUG> <default.collaxa.cube.ws> <FileAdapter::Outbound> PollWork is calling onFatalError for exception Failed to get file modification time.
    Could not get file modification time for file :/MySharedFolders/Testpdf_folder\P
    LSQL Fundamentals - II.pdf. Verify that the values for the "ModificationTimeFor
    mat" activation parameter are correct.Ensure the time format pattern and filenam
    e begin index and end index are specified according to the specific FTP server.
    Check the error stack and fix the cause of the error. Contact oracle support if
    error is not fixable.
    Please help me out how to get rid of this problem .
    Thanks
    Prashant

  • File size restriction on FTP Adapter (GET)

    A customer has deployed a BPEL process that we had created that uses the FTP Adapter to download (GET) files. The customer is reporting that when they try to download a large file (about 800 MB in size), the process does not seem to kick in for more than one hour. At this point I don't know how good or bad the network speed is and how long a FTP download will take for a file of that size. But before looking into that, wanted to know if there is any restriction on how big a file can be for it to be downloaded by the BPEL FTP Adapter. If not, is there some way to find out what is wrong with the downloading or to know to progress of the FTP GET?
    The user guide talks about increasing the value of transaction-config timeout in server.xml for the File Adapter. Is this applicable for FTP Adapter also and will it work if I increase this?
    Thanks in advance for your attention.
    Jay

    Thanks for the pointer. The processes are deployed on a 10.1.3.5 instance.
    Of the info I found in that article, only the following seemed applicable:
    53.2.1 Setting Audit Levels from Oracle Enterprise Manager for Large Payload Processing
    I can ask the customer to turn off auditing if it is on. But I am skeptical that this will resolve this issue.
    The following seem to be applicable only to 11g version and I am not sure if they have any corresponding options in 10.1.3.5 (please let me know if I am mistaken):
    1. 53.2.4 Using Adapter Support for Streaming Large Payloads
    2. 53.2.6 Processing Large Documents in Oracle B2B
    Section 53.3.1 Opaque Schema for Processing Large Payloads says the following:
    There is a limitation when you use an opaque schema for processing large payloads. The entire data for the opaque translator is converted to a single Base64-encoded string. An opaque schema is generally used for smaller data. For large data, use the attachments feature instead of the opaque translator.
    Based on your experience, has the FTP Adapter ever been used to download files of 800MB or larger size on a 10.1.3.5 instance? I would like to know if there is any insurmountable system limitation with this approach or is it just a question of proper configuration or is this a bug that the FTP adapter product team can look at. I assume the attachment feature is not available in 10.1.3.5.
    The remaining sections don't seem applicable to the the customer scenario.
    Can you please explain what ODI is?
    Appreciating your input,
    Jay

  • FTP Adapter Unable to change directory 'inputDir'

    Hi all. I'm trying to put the file into BPEL Process, transform and put it to the output directory like in tutorial 129.FTPAdapter FTPDebatching. But I've got this message:
    <bindingFault xmlns="http://schemas.oracle.com/bpel/extension">
    <part name="code">
    <code>550</code>
    </part>
    <part name="summary">
    <summary>file:/C:/OraHome_1/integration/orabpel/domains/default/tmp/.bpel_FTPDebatch0ing_1.0.jar/FTPDebatchingOutput.wsdl
    [ Put_File_ptt::Put_File(po) ] - WSIF JCA Execute of operation 'Put_File' failed due to: Error changing directory in the host.
    Change working directory to /outputDir in the server failed. ;
    nested exception is: ORABPEL-11431 Error changing directory in the host.
    Change working directory to /outputDir in the server failed.
    Check the error stack and fix the cause of the error.
    Contact oracle support if error is not fixable.</summary>
    </part>
    <part name="detail">
    <detail>550 /outputDir: The system cannot find the file specified.</detail>
    </part>
    </bindingFault>
    What am i must to do?

    Hi Varun,
    Review of the ftp protocol specification
    http://www.w3.org/Protocols/rfc959/
    http://www.w3.org/Protocols/rfc959/5_Declarative.html
    shows that LIST command
    LIST
    125, 150
    226, 250
    425, 426, 451
    450
    500, 501, 502, 421, 530
    does not have 550 code among the codes which are supposed to be returned by ftp server in response
    to ls command. So, it looks like the ftp server running on AIX platofrm violates the ftp protocol specification.
    As a result bpel ftp adapter returns an error and the process goes off-line.
    Solution:
    Apply patch 4508850.
    If for any reason the official patch does not work, then apply the patch manually using the following steps:
    1. Stop OC4J_BPEL
    2. Create the following directories:
    $O_H\integration\orabpel\system\classes\oracle\tip\adapter\file\inbound
    $O_H\integration\orabpel\system\classes\oracle\tip\adapter\ftp\inbound
    3. Copy the following files
    FileSource.class, PollWork.class, FTPSource.class
    from the patch to
    $O_H\integration\orabpel\system\classes\oracle\tip\adapter\file\inbound\FileSource.class
    $O_H\integration\orabpel\system\classes\oracle\tip\adapter\file\inbound\PollWork.class
    $O_H\integration\orabpel\system\classes\oracle\tip\adapter\ftp\inbound\FTPSource.class
    4. Restart OC4J_BPEL
    Cheers,
    Anirudh Pucha

  • Does Interconnect FTP Adapter support SFTP/SSH?

    Does Interconnect FTP Adapter support SFTP/SSH?
    Thanks!
    -mb

    No it doesn't!
    Actually, FTP adapter in BPEL support secure FTP (FTPS, FTP over SSL), but only on Solaris platform if believe documentation.
    You can try to connect BPEL FTP adapter to InterConnect using new JCA adapter (in IC 10.1.2.0.2), but I'm not sure wether BPEL FTP adapter is JCA-compatable or not (since it is not in Oracle AS adapters package but inside BPEL)...

  • Q: ftp adapter local storage

    My dba is asking how much space he should allocate on what file system for intermediate storage used by the BPEL ftp adapter. Does the ftp adapter uses local disk storage to temporarily stage inbound or outbound files for processing? If so, where?
    BTW: Our host OS is Solaris.
    Thanks,
    -Scott K.

    Can anyone let me know how to enforce the XSD validation in the adapter. As of now only the structure of the message is being checked.

  • How To Active/Passive Mode for FTP Adapter?

    Hi there,
    For one of our adapters we need to communicate with a FTP server which only accepts FTP connections in active mode. It seems that Xi uses by default the FTP passive mode.
    The question is; is it possible to switch to the active mode? and How to do that?
    Any feedback is appreciated.
    Rob.

    Hi Robert,
    Did you get through this problem?
    Looks like we are also facing a similar issue and want to find out if it is possible to switch to active mode?
    Regards,
    Prasad

Maybe you are looking for

  • Trivial debugging :o|

    Hello folks! I am writing a piece of code that takes a .wav file, encoded with 16 bits/sample, and has to perform a "thersholding" operation in these samples. That is, that groups of samples that don't have enough mean energy, shall not be included i

  • PO Approval fundamentals help needed

    Hi friends I have some very basic query regarding Purchase order cancellation and approval process in Oracle 11i (11.5.10.2). pls consider the followings *1)* is it possible for a PO where its Approval Status = In Process while its closure status = C

  • Help with itunes "whats on this ipad" not showing up - help

    Hi!  When I plug in my ipad or ipod to my computer and open itunes, itunes recognizes them, BUT the "what's on this ipad/ipod" doesn't show up so I cannot manage my music...thoughts?  Everything is updated, my cords are good?  Help!

  • Publish Settings Error "Air FLAir1_5 is not defined"

    Hi all, I have been trying to test a simple Air app out using my Windows version of Flash CS4 10.0.2 and Air 1.5.3 Each time I tried to check the Air publish settings I received the following error: The following JavaScript error(s) occurred: At line

  • Impossible to Save Brush Library in Illustrator CS5

    I want to save my Brush Library. I try to save in (Mac OS) Library/Application Support/Adobe/Adobe Illustrator CS5/Brush. In the Adobe Folder there is no Adobe Illustrator CS5 listing. And it isn't listed in Adobe Creative Suite 5.5 either. What do y