FTP adapter: put operation on root folder is failing

Hi All,
I am trying to put files on SFTP server through FTP adapter.
If i select PhysicalDirectory as something like '/output' - put operation is working.
But if i use PhysicalDirectory as '/' - put operation is not working. I am getting error saying "/" is invalid directory. Can you please help me? Thanks!
I can put the files over the "/" using sftp client, so looks like i have required permissions.
Thanks,
Kathar

Check whether the ftp user is defined with '/' folder or different. I think that particular user's home folder is defined as /output.
Thanks,
Vijay

Similar Messages

  • Can Scheduler be used in ORACLE SOA to trigger FTP Adapter read operation

    I need to create an ESB project where scheduler should trigger the File/FTP Adapter read operation.
    Where can I provide the time settings viz. (xx HR: yy MM: zz SS everyday)?
    Is it possible in Oracle SOA?
    Please provide any tutorial where scheduler has been used to invoke the File/FTP Adapter rather than invoking it real time (gets triggered the moment files are placed).
    Thanks

    You should the quartz timer within the SOA Suite to obtain this functionality.
    understanding configuration of Quartz and BPEL
    Marc
    http://orasoa.blogspot.com

  • File adapter PUT operation with header row.

    i have schema generated in the below format.
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
                xmlns:tns="http://TargetNamespace.com/InboundService"
                targetNamespace="http://TargetNamespace.com/InboundService"
                elementFormDefault="qualified"
                attributeFormDefault="unqualified"
                nxsd:version="NXSD"
                nxsd:stream="chars"
                nxsd:encoding="US-ASCII"
                nxsd:hasHeader="true"
                nxsd:headerLines="1"
                nxsd:headerLinesTerminatedBy="${eol}"
    >
      <xsd:element name="Root-Element">
        <xsd:complexType>
          <xsd:sequence>
            <xsd:element name="Record" minOccurs="1" maxOccurs="unbounded">
              <xsd:complexType>
                <xsd:sequence>
                  <xsd:element name="typdoc" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="~" />
                  <xsd:element name="datdoc" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="~" />
                  <xsd:element name="nomdoc" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="~" />
    but the above schema do not write the header line in the FTP file.
    Each of the element name should work as header row.
    Below is the JCA configuration of the FTP
    <adapter-config name="Payment_Details_FTP" adapter="FTP Adapter" wsdlLocation="Payment_Details_FTP.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
      <connection-factory location="outbound/ftp/test1"/>
      <endpoint-interaction portType="Put_ptt" operation="Put">
        <interaction-spec className="oracle.tip.adapter.ftp.outbound.FTPInteractionSpec">
          <property name="PhysicalDirectory" value="Test"/>
          <property name="FileType" value="ascii"/>
          <property name="Append" value="false"/>
          <property name="FileNamingConvention" value="1C_Extract.out%yyMMddHHmmss%"/>
        </interaction-spec>
      </endpoint-interaction>
    </adapter-config>
    Please let me know if i'm missing some configuration here.
    Regards
    sujan

    Remove "header" related attributes from the "schema" tag.
    ===================================
    nxsd:hasHeader="true"
                nxsd:headerLines="1"
                nxsd:headerLinesTerminatedBy="${eol}"
    ===================================
    And then, define another element like "Record" to read the header data.
    http://docs.oracle.com/cd/E15523_01/integration.1111/e10231/nfb.htm#CHDBECJI

  • Ftp Adapter Inbound operation not working

    Hi All,
    I'm running on SOA 11g on a Oracle Linux machine.
    FtpAdapter is configured and works well for outbound operations (my test composite can put a file on a ftp location).
    For inbound operation something is not working, my composite, a simple ftp adapter + bpel process, never start (no instances) .
    I'm able to get the file using an ftp client (tested from the soa server machine too).
    I just increased the server log and I can see the ftp communication but an exception is raised in socket operation after *FTP Adapter Project2 FTP Command: LIST, reply:[[*
    *125 Data connection already open; Transfer starting.;*
    This is the log:
    [2011-09-17T12:57:07.780+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common.listener] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.listener.DBLocker] [APP: soa-infra] [SRC_METHOD: enqueueLockedMessages] Spining ...........Sleeping for 2000 milliseconds oracle.tip.mediator.dispatch.db.DeferredDBLocker
    [2011-09-17T12:57:07.905+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: <anonymous>] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 FTPManagedConnectionFactory::getPasswordCredential using mcf for credentials
    [2011-09-17T12:57:07.906+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: <anonymous>] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Constructed new Managed Connection
    [2011-09-17T12:57:07.907+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: <anonymous>] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Adding Event Listener
    [2011-09-17T12:57:07.908+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: <anonymous>] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Constructed new CCI Connection
    [2011-09-17T12:57:07.909+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Host name is '10.17.29.80'.
    [2011-09-17T12:57:07.911+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Control socket SO_TIMEOUT is [15000]
    [2011-09-17T12:57:07.911+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Reading reply from 10.17.29.80
    [2011-09-17T12:57:07.911+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 FTP::getReply2()
    [2011-09-17T12:57:07.912+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 FTP::getMappedCommand() with command =[USER]
    [2011-09-17T12:57:07.912+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Got tuple =>MappedCommand==> command[USER], arguments=[ftpadmin]
    [2011-09-17T12:57:07.912+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Sending cmd[USER ftpadmin]
    [2011-09-17T12:57:07.912+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Host 10.17.29.80 FTP command: USER ftpadmin
    [2011-09-17T12:57:07.912+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 FTP::getReply()
    [2011-09-17T12:57:07.913+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 FTP Command: USER, reply:[[
    331 Password required for ftpadmin.
    [2011-09-17T12:57:07.913+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 FTP::getMappedCommand() with command =[PASS]
    [2011-09-17T12:57:07.913+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Got tuple =>MappedCommand==> command[PASS], arguments will not be displayed
    [2011-09-17T12:57:07.913+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Sending cmd[PASS]
    [2011-09-17T12:57:07.913+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Host 10.17.29.80 FTP command: PASS
    [2011-09-17T12:57:07.914+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 FTP::getReply()
    [2011-09-17T12:57:07.915+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 FTP Command: PASS, reply:[[
    230 User logged in.
    [2011-09-17T12:57:07.915+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 FTP::getMappedCommand() with command =[PASV]
    [2011-09-17T12:57:07.915+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Got tuple =>MappedCommand==> command[PASV], arguments=[null]
    [2011-09-17T12:57:07.915+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Sending cmd[PASV]
    [2011-09-17T12:57:07.916+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Host 10.17.29.80 FTP command: PASV
    [2011-09-17T12:57:07.916+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 FTP::getReply()
    [2011-09-17T12:57:07.916+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 FTP Command: PASV, reply:[[
    227 Entering Passive Mode (10,17,29,80,200,109).
    [2011-09-17T12:57:07.917+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Passive: ip = 10.17.29.80, port = 51309
    [2011-09-17T12:57:07.917+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Connecting to 10.17.29.80:51309
    [2011-09-17T12:57:07.918+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 FTP::getMappedCommand() with command =[LIST]
    [2011-09-17T12:57:07.918+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Got tuple =>MappedCommand==> command[LIST], arguments=[input]
    [2011-09-17T12:57:07.918+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Sending cmd[LIST /input]
    [2011-09-17T12:57:07.918+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Host 10.17.29.80 FTP command: LIST /input
    [2011-09-17T12:57:07.918+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 FTP::getReply()
    [2011-09-17T12:57:07.919+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 FTP Command: LIST, reply:[[
    125 Data connection already open; Transfer starting.
    [2011-09-17T12:57:07.922+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 UnixFtpListParser::doConfig endpointProperties=[ {SingleThreadModel=true, Recursive=false, PollingFrequency=30, bpel.process.revision.id=Project2, bpel.process.guid=default/Project2!1.0*soa_64b06fdd-9667-4739-8835-5a585f55abb8:getMyFile, UseHeaders=false, IncludeFiles=.*\..*, wsdl.service.name=getMyFile, DeleteFile=true, MinimumAge=0, PhysicalDirectory=/input, wsdl.service.port.jcaAddress.adapterInstanceJndi=eis/Ftp/CustomAdapter, FileType=ascii, instance=0}], [false]
    [2011-09-17T12:57:08.303+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common.listener] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1b5b1ef] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.listener.DBLocker] [APP: soa-infra] [SRC_METHOD: run] Locker running
    [2011-09-17T12:57:08.304+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common.listener] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1b5b1ef] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.listener.DBLocker] [APP: soa-infra] [SRC_METHOD: lockMessages] Trying to obtain locks
    [2011-09-17T12:57:08.304+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1b5b1ef] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: beginTransaction] Transaction begins
    [2011-09-17T12:57:08.304+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1b5b1ef] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: getTransactionStatus] TransactionManager status
    [2011-09-17T12:57:08.304+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1b5b1ef] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: getTransactionStatus] Getting Transaction status
    [2011-09-17T12:57:08.305+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1b5b1ef] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: beginTransaction] TransactionManager begin
    [2011-09-17T12:57:08.305+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1b5b1ef] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: getTransactionStatus] TransactionManager status
    [2011-09-17T12:57:08.305+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1b5b1ef] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: getTransactionStatus] Getting Transaction status
    [2011-09-17T12:57:08.307+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common.error] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1b5b1ef] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.error.ErrorDBLocker] [APP: soa-infra] [SRC_METHOD: lock] Updated rows :0
    [2011-09-17T12:57:08.308+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common.listener] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1b5b1ef] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.listener.DBLocker] [APP: soa-infra] [SRC_METHOD: lockMessages] Obtained locks
    [2011-09-17T12:57:08.308+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1b5b1ef] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: commitTransaction] Commiting Transaction
    [2011-09-17T12:57:08.308+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1b5b1ef] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: getTransactionStatus] TransactionManager status
    [2011-09-17T12:57:08.308+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1b5b1ef] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: getTransactionStatus] Getting Transaction status
    [2011-09-17T12:57:08.308+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1b5b1ef] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: commitTransaction] TransactionManager commit
    [2011-09-17T12:57:08.310+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common.error] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1b5b1ef] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.error.ErrorDBLocker] [APP: soa-infra] [SRC_METHOD: getLockedMessages] Error instance list size :0
    [2011-09-17T12:57:08.311+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common.listener] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1b5b1ef] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.listener.DBLocker] [APP: soa-infra] [SRC_METHOD: enqueueLockedMessages] Spining ...........Sleeping for 5000 milliseconds oracle.tip.mediator.common.error.ErrorDBLocker
    [2011-09-17T12:57:09.829+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common.listener] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.listener.DBLocker] [APP: soa-infra] [SRC_METHOD: run] Locker running
    [2011-09-17T12:57:09.829+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common.listener] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.listener.DBLocker] [APP: soa-infra] [SRC_METHOD: lockMessages] Trying to obtain locks
    [2011-09-17T12:57:09.830+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: beginTransaction] Transaction begins
    [2011-09-17T12:57:09.830+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: getTransactionStatus] TransactionManager status
    [2011-09-17T12:57:09.830+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: getTransactionStatus] Getting Transaction status
    [2011-09-17T12:57:09.830+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: beginTransaction] TransactionManager begin
    [2011-09-17T12:57:09.830+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: getTransactionStatus] TransactionManager status
    [2011-09-17T12:57:09.830+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: getTransactionStatus] Getting Transaction status
    [2011-09-17T12:57:09.830+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.dispatch.db] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.dispatch.db.DeferredDBLocker] [APP: soa-infra] [SRC_METHOD: lock] Obtaining locks for max rows 200
    [2011-09-17T12:57:09.830+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.dispatch.db] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.dispatch.db.DeferredDBLocker] [APP: soa-infra] [SRC_METHOD: lock] Counter reset as end of cycle
    [2011-09-17T12:57:09.831+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common.listener] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.listener.DBLocker] [APP: soa-infra] [SRC_METHOD: lockMessages] Obtained locks
    [2011-09-17T12:57:09.831+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: commitTransaction] Commiting Transaction
    [2011-09-17T12:57:09.831+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: getTransactionStatus] TransactionManager status
    [2011-09-17T12:57:09.831+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: getTransactionStatus] Getting Transaction status
    [2011-09-17T12:57:09.831+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: commitTransaction] TransactionManager commit
    [2011-09-17T12:57:09.833+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common.listener] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.listener.DBLocker] [APP: soa-infra] [SRC_METHOD: enqueueLockedMessages] Spining ...........Sleeping for 2000 milliseconds oracle.tip.mediator.dispatch.db.DeferredDBLocker
    [2011-09-17T12:57:09.969+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Timed out in [2046] msecs
    [2011-09-17T12:57:09.970+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Exception caught while reading control socket
    [2011-09-17T12:57:09.970+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 [[
    java.net.SocketTimeoutException: Read timed out
         at java.net.SocketInputStream.socketRead0(Native Method)
         at java.net.SocketInputStream.read(SocketInputStream.java:129)
         at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
         at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
         at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
         at java.io.InputStreamReader.read(InputStreamReader.java:167)
         at java.io.BufferedReader.fill(BufferedReader.java:136)
         at java.io.BufferedReader.readLine(BufferedReader.java:299)
         at java.io.BufferedReader.readLine(BufferedReader.java:362)
         at oracle.tip.adapter.ftp.FTPClient$BufferedTimedReader.readLine(FTPClient.java:2385)
         at oracle.tip.adapter.ftp.FTPClient.populateListResults(FTPClient.java:2562)
         at oracle.tip.adapter.ftp.FTPClient._listFilesUsingKey(FTPClient.java:2513)
         at oracle.tip.adapter.ftp.FTPClient.listFiles(FTPClient.java:753)
         at oracle.tip.adapter.ftp.FTPAgent.getFileList(FTPAgent.java:505)
         at oracle.tip.adapter.file.inbound.FileSource.getFileList(FileSource.java:260)
         at oracle.tip.adapter.file.inbound.PollWork.processFilesInSameThread(PollWork.java:844)
         at oracle.tip.adapter.file.inbound.PollWork.run(PollWork.java:335)
         at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
         at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
         at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    Someone can point me to the right way to solve this issue?

    I have posted one solution in this forum..Please check whether this can help you...
    Re: FTP adapter not picking files

  • Problem with FTP Adapter in creating a new Folder

    Hi all,
    I have a requirement in which a BPEL process shud create a folder named as sysdate dynamically and write a
    CSV file into that.(ex: PO/2010-03-09/PO_1.csv).I created a header variable for Oubound FTP adapter and
    passing the file directory as concat('PO/',xp20:current-date(),'/') to outbound header directory variable.Problem is FTP
    adapter is not creating the sysdate folder its says:1.check u have privileges 2.file name is too long....Blah....Blah.
    But i have all the privileges for that user.If i manually create the sysdate folder the FTP adapter is placing the CSV
    file.The same works fine with file adapter...but i need to use FTP since the FTP server can change in future.Seems to
    be a problem with FTP adapter....can some one help.
    Iam using SOA 10.1.3.4
    Regards,
    Edited by: 0racler on Mar 9, 2010 4:46 AM
    Edited by: 0racler on Mar 9, 2010 5:49 AM

    any thoughts????

  • Ftp Adapter put to VMS

    I'm using the FtpAdapter to send ascii files to a VMS machine from an Oracle BPEL process. The files are written to the remote VMS machine, but they contain no line terminators.
    Can anyone help? Is there some configuration I need to setup for VMS?
    btw. If I ftp the files to an intermediate UNIX machine then manually ftp to the VMS machine (all in ascii mode), the files are ok.
    Thanks.

    We used binary mode to send files to VMS host. Our files has hex values of 0d0a(ascii 10 13 or CRLF) as line terminators. Also, there is no support for VMS exclusively and by default we have our ftp adapter set to work as for unix systems.
    Try transfering file to vms and without opening the file can you transter and open the file locally? Check if it has line terminators.
    +DP                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Problem with FTP put operation..??

    hi frendz,
    i'm facing some problem with FTP put operation. The Get operation(reading a file) is working fine. i'm using Apache FTP server.FTP User is having all read/write permissions. When i putthe file using FTP command prompt then its working fine. But using BPEL/FTP adapter put operation is not working.
    Main thing is its not giving any error but When i check the directory then i dont fine any file ther. In fact BPEL process is detecting directory where i'm going to write the file. But after completing the BPEL process i dont get any file.
    i am using opaque fomat. n just passing some data into input string which i'm assigning to <invoke>'s variable.
    Thanks a lot
    -Mishit

    Error itself indicates the potential issues -
    Please ensure
    1. Specified remote output Dir has write permission
    2. Output filename has not exceeded the max chararters allowed by the OS and
    3. Remote File System has enough spaceRegards,
    Anuj

  • Change in file permission in ftp adapter

    Hi All,
    I am facing a problem in ftp adapter. I have a text file with 777 permissions when i am moving the file with ftp adapter(FTPMove operation to another folder file permissions are getting changed to 644. But if i move the file using command prompt permissions are same. The server is unix machine.
    Can anyone plz tell me that how the files can be moved with same permissions using ftp adapter. i m using jdeveloper11.1.1.4.0. and soa11g.
    Thanks in advance,
    Sourbh

    Actually i use File Zilla client for file move and my question is that Is there a way that ftp adapter dont change file permissions while moving a file from one directory to another directory.

  • Put file on root of wsdl

    Hi ,
    i build Webservice and i get the URL http://pwdf6445.wgf.sas....
    what i want is  put file into the same www root ( that i get by wsdl - http://pwdf6445.wgf.sas ) how can i do that?
    Regards

    Hi,
    >I'd suggest ftp - just set up ftp connection to the www root folder and put the file there
    download any ftp server and install it on the same machine
    as your WWW server
    then create access from it to your www root folder
    then with XI you can use FTP adapter to put any file into that location
    that's all I guess
    Regards,
    Michal Krawczyk

  • Error Occured while Invoking FTP adapter

    Hi all, i am trying a simple FTP, a one way BPEL process and an invoke activity with FTP(partnerlink) put operation. I just assigned the inputelement to the opaque element of the partnerlink input variable.
    When i try to deploy the process i see the fallowing error in faults. The jndi is configured correctly and tested
    <bpelFault><faultType>0</faultType><remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Put' failed due to: Error in establishing connection to FTP Server. Error in establishing connection to FTP Server. Unable to establish connection to server. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. </summary></part><part name="detail"><detail>Connection refused</detail></part><part name="code"><code>null</code></part></remoteFault></bpelFault>
    Please help me out guys..
    Thanks in advance

    I gave the right host name and password.
    and here is the error when i tried to see the flow of the Process
    Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Put' failed due to: Connection closed error.
    Connection closed error.
    Connection closed for Host: *******.**.****.com
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
    </summary>
    </part>
    -<part name="detail">
    <detail>
    Connection closed error.
    Connection closed error.
    Connection closed for Host: *******.**.****.com
    Please make sure that the ftp server is up.
    and my ftp server is up too,
    Thanks ....

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

    Ok im trying to use an FTP adapter to grab a file from my unix server and bring to my local computer. I setup the correct connection to my unix server in the oc4j file i simply put an ftp adapter out on my workspace and i define that first adapter as the GET sound correct so far? Then while doing the put side of this operation i specified another FTP adapter (i want to bring it back to my local machine for testing) Does this sound correct or would i want a file adapter? In the end im going to want from server to server. <-------- in this case would i want ftp to ftp? Or should i be ok with ftp to ftp at all times.
    Then while making the put adapter why does it ask for the file naming convention to PUT lol i want to put the same file name that i pick up obviously i mean can you change the name before it PUT's?

    You're right.
    the ftp adapter put needs a filename to write/ftp the file.
    http://docs.huihoo.com/oracle/docs/B14099_19/integrate.1012/b25307/adptr_file.htm#CIAHJAEB
    you could the headervariables of the ftp get, to get the filesnames of the just picked up files and transform these to the ftp put

  • Reading .jpeg files in FILE or FTP adapter

    Hii
    I have to send .jpeg files at regular intervals using BPEL.
    I read about Base64 data type. I tried to create File Adapter and FTP adapter. I specified the folder location and *.jpeg as file pattern. I have made schema to opaque.
    But neither File or FTP adatper are picking up the file from specified directory. As per my plan, once I will get Opaque schema in BPEL, I will use Base64 encoding to get the data as string and to pass it to the endpoints.
    Any idea what I need to do in order to read .jpeg files.
    Any help is highly appreciated.

    Thanks for the help. Actually, I am following the similar process as given in "Tutorial 11 : File DB Integrations – Handling of opaque data types".
    I'm using SOA Suite 10.1.3.3; the .jpeg file is being picked up by the File Adapter, but failing to create BPEL instance with the following log details :
    +"<2009-03-06 17:02:13,053> <ERROR> <default.collaxa.cube> <BaseCubeSessionBean::logError> Error while invoking bean "cube delivery": [com.collaxa.cube.engine.delivery.CorrelationResolutionException: Correlation definition not registered.+
    +The correlation set definition for operation "ReadJPEGOp", process "SyncBase64BPELProcess", has not been registered with the process domain.+
    +Please try to redeploy your process to the process domain.+
    +]+
    +ORABPEL-03802+
    +Correlation definition not registered.+
    +The correlation set definition for operation "ReadJPEGOp", process "SyncBase64BPELProcess", has not been registered with the process domain.+
    +Please try to redeploy your process to the process domain."+
    I have deployed the process multiple times on two different SOA Suite Server 10133, but getting the similar logs. The file is being picked up but not generating BPEL instance.
    Any idea ???

  • How to reply from a ESB scenario with FTP adapter

    Hello all,
    Is it possible to create a reply message when a FTP Put adapter is failing?
    The background scenario is following:
    We have an ESB routing service, that is called from a BPEL process, and invokes a FTP adapter (put). Hence, the adapter is a one-way adapter. However, when for some reason the files are not delivered to the ftp server, the adapter fails, and no fault or reply messages are created to send back to the BPEL process. As a consequence, the BPEL process continuous successfully while it should raise a failure.
    So, how can we alter the scenario, so that failures in the ftp adapters are propagated to the BPEL process? For instance, by creating a reply message in the ESB service?
    Any help is appreciated.
    Kind regards,
    Harm

    Hi Harm,
    When the FTP adapter fails in ESB, is that specific instance in the ESB console then marked as faulted?
    If so you might be able to look on the JMS error topic ( error hospital ) and report this back to BPEL?

  • Outbound FTP adapter directory dynamic path

    Hi,
    I tried creating FTP adapter with logical directory names.
    When I create inbound FTP adapter (get activity) and provide logical directory path, it creates activation agent and on deployment it works fine. However when I try to create FTP adapter for outbound FTP adapter (put activity) and provide logical directory path, it could not create activation agent for the same….When I add activation agent manually, I am able to compile the service locally on J Developer, but could not deploy the service into SOA Instance.
    Please update me, if anybody has made outbound FTP adapter directory dynamic path.
    Best Regards,
    Dhaval Khamar

    Dipal's note is correct for setting the output directroy dynamically, but I just want to clarify the steps you are taking.
    You say that you create the activation agent manually for the put FTP adatper. This is not required, the activation agent is used to poll locations to invoke a process. The put activity is invoked from the BPEL process and not required.
    If you are using logical directorys you partner link should look like this in the bpel.xml
    <partnerLinkBinding name="writeFile">
    <property name="wsdlLocation">writeFile.wsdl</property>
    <property name="OutboundDir">/app01/oracle/outbound</property>
    <property name="retryInterval">60</property>
    </partnerLinkBinding>
    The nasty thing about BPEL is that if you edit this manually and you make chnages BPEL will over write this. To avoid this create a property in the partner link. Right-Click the partner link select property tab, enter the logical directory name, e.g. OutboundDir and provide a value.
    If you want to chnage this location dynamically during runtime follow Dipal's note.
    cheers
    James

Maybe you are looking for