FTP Adapter BPEL

Can anyone help with how to use a FTP adapter in BPEL with the help of a simple example. I need the implementation with a simple example.

You can find some samples on these links:
http://java.net/projects/oraclesoasuite11g/pages/FTPAdapters
http://niallcblogs.blogspot.com/2011/07/soa-suite-11g-ftp-adapter.html

Similar Messages

  • Get-order of FTP-adapter (bpel/esb)

    Hello,
    Is it possible to change or influence the order of getting files, i.e. get files by oldest creation date?
    Scenario:
    I'm using an FTP-adapter in a bpel process to get files. The interval is set to 1 minute. However, sometimes files are created within the 1 minute time-frame. The order of the files is very important in the scenario: the older file must be processed before the newer file by the bpel process. I've looked for any settings in the FTP adapter to influence the get-order, but without any success so far. Can anyone please help?
    Kind regards,
    Harm

    You can find some samples on these links:
    http://java.net/projects/oraclesoasuite11g/pages/FTPAdapters
    http://niallcblogs.blogspot.com/2011/07/soa-suite-11g-ftp-adapter.html

  • SSH reset exception via ftp adapter BPEL and ESB

    In our BPEL project and our ESB project using FTP adapters everything starts off good connection. files moving, E.T.C. However whenever it pleases it will throw an SSH reset exception. I checked with the admin's of the server's we are connecting to. And they say there should be no reason why Ex. Permissions, connection time your allowed, E.T.C. I observed what happens as these files get picked up and dropped off. (I set up a little test env at home) We have three files moving. So everytime it polls it has to reconnect Just wanted to throw that in there i mean its obvious but. Anywho is there a setting in BPEL.xml or some ESB file that has the TTL for the connection to a server or something or is anyone encountered an SSH reset exception

    Are you using Linux servers to run your SSHD? If so, this is a known problem not limited to the SOA Suite. It turns out that there are many issues with this even when you use e.g. Putty. Causes can range from network hardware to certain firewall implementations (masquerading issues). If there's a firewall in play, you might want to give it a try to see if the problem also occurs if you bypass it. IMHO you should try and verify if the connections keep alive 'outside' of the SOA Suite on the same host..
    HTH,
    Bas

  • 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

  • Getting filename in FTP Adapter in BPEL

    How to retrieve the filename read by the FTP adapter in ora-bpel?

    Just figured out how to do this.
    1. Create a variable of type 'InboundHeader_msg' defined in 'ftpAdapterInboundHeader.wsdl'.
    2. Reference this in the 'Adapters' tab of the FTP adapter receive activity.

  • FTP Adapter stops polling on updating descriptors in BPEL Console

    I have a bpel process activated by a file in a FTP dropzone. An FTP Adapter listens to this dropzone. I have set up a few preferences (Deployment descriptors) for this process. Once when I update any of these user defined preferences, ftp adapter stops polling the dropzone.
    Any idea why this happens?
    Workarounds?

    Hi Shishir,
    Bouncing the server working most of the times, which might not be possible all the time in case of production environments ;/
    Do you find any errors on the logs when the cube engine and activation loggers are set to DEBUG ?
    Could you please mail me your project to [email protected] ?
    Regards
    A

  • BPEL Process with multiple file types using one FTP adapter is not working

    i created a bpel process which will fetch the files from remote location using FTP adapter.
    Now the process works for only one format or file type like *.xls.
    How can i use more than one file format in one FTP adapter.
    OR
    is there any other way to do it.
    file type assignation is 5th step in FTP adapter configuration.
    i have tried *.xls,*.csv and *.xls;*.csv and *.xls:*.csv by seperating with comman, colon, space... still not working.
    i read the documentation *.* will not work.. for one file format it's working fine.
    looking forward for reply as soon as possible.

    Are you positive that it is not working? I'm not sure how you can use one FTP adapter for multiple file types unless the underlying data is exactly the same format or you are processing it as opaque data. Sometimes when a FTP adapter chokes on a file with a bad structure it doesn't create a BPEL instance, it simply moves the bad file to a separate folder.
    So I assume you are using opaque as the data type instead of using an XSD element?
    That said, I don't think you can put two separate file types in the filter. Is it possible for you to do something like: CommonFileName*.* or do you have similar files with other extensions?
    I know the above probably isn't of much help, but I had so many problems with the FTP adapter and its lack of features that I am writing my own. Unfortunately that is a large undertaking and there isn't any good documentation of JCA resource adapter / BPEL PM integration.

  • FTP adapter on BPEL

    I am using Oracle AS 10.1.3.1 on windows. My FTP server is also on Windows. But during invoke of outbound FTP adapter i am getting following error
    I am able to do FTP from AS machine to FTP server (Window) through command prompt and it is working fine.
    Error message
    <bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="code"><code>550</code>
    </part><part name="summary"><summary>file:/D:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_ProfileProcesTest_1.3_42d6d84ceee8de6430d37dfbfaa14936.tmp/FTP_To_OUT.wsdl Put_ptt::Put(Root-Element) - WSIF JCA Execute of operation 'Put' failed due to: Error sending file to FTP Server.
    Unable to send file to server.
    ; nested exception is:
    ORABPEL-11429
    Error sending file to FTP Server.
    Unable to send file to server.
    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 space.
    </summary>
    </part><part name="detail"><detail>550 /FTPFolders/CUST_081210184025.txt: The system cannot find the path specified. </detail>
    </part></bindingFault>
    Defination of FTP Adapter is
    <definitions
    name="FTP_To_OUT"
    targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/ftp/FTP_To_OUT/"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/ftp/FTP_To_OUT/"
    xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
    xmlns:imp1="http://TargetNamespace.com/Read"
    xmlns:hdr="http://xmlns.oracle.com/pcbpel/adapter/ftp/"
    <import namespace="http://xmlns.oracle.com/pcbpel/adapter/ftp/" location="ftpAdapterOutboundHeader.wsdl"/>
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" >
    <import namespace="http://TargetNamespace.com/Read" schemaLocation="CUST_2007330181610_1.xsd" />
    </schema>
    </types>
    <message name="Root-Element_msg">
    <part name="Root-Element" element="imp1:Root-Element"/>
    </message>
    <portType name="Put_ptt">
    <operation name="Put">
    <input message="tns:Root-Element_msg"/>
    </operation>
    </portType>
    <binding name="Put_binding" type="tns:Put_ptt">
    <jca:binding />
    <operation name="Put">
    <jca:operation
    FileType="binary"
    PhysicalDirectory="FTPFolders"
    InteractionSpec="oracle.tip.adapter.ftp.outbound.FTPInteractionSpec"
    FileNamingConvention="CUST_%yyMMddHHmmss%.txt"
    NumberMessages="1"
    OpaqueSchema="false" >
    </jca:operation>
    <input>
    <jca:header message="hdr:OutboundHeader_msg" part="outboundHeader"/>
    </input>
    </operation>
    </binding>
    <service name="FTP_To_OUT">
    <port name="Put_pt" binding="tns:Put_binding">
    <jca:address location="eis/Ftp/FtpAdapter" />
    </port>
    </service>
    <plt:partnerLinkType name="Put_plt" >
    <plt:role name="Put_role" >
    <plt:portType name="tns:Put_ptt" />
    </plt:role>
    </plt:partnerLinkType>
    </definitions>
    Defination of OC4j-ra.xml is
    <?xml version="1.0"?>
    <oc4j-connector-factories xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.oracle.com/technology/oracleas/schema/oc4j-connector-factories-10_0.xsd" schema-major-version="10" schema-minor-version="0" >
    <imported-shared-libraries>
    <import-shared-library name="oracle.bpel.common"/>
    <import-shared-library name="oracle.xml"/>
    </imported-shared-libraries>
    <connector-factory location="eis/Ftp/FtpAdapter" connector-name="Ftp Adapter">
    <config-property name="host" value="10.zzz.yy.xxx"/>
    <config-property name="port" value="21"/>
    <config-property name="username" value="xxx"/>
    <config-property name="password" value="yyy"/>
    <config-property name="keepConnections" value="true"/>
    <config-property name="serverType" value="win"/>
    <config-property name="serverLocaleLanguage" value=""/>
    <config-property name="serverLocaleCountry" value=""/>
    <config-property name="serverLocaleVariant" value=""/>
    <config-property name="serverEncoding" value=""/>
    <config-property name="useFtps" value="false"/>
    <config-property name="walletLocation" value="C:\wallet\ewallet.p12"/>
    <config-property name="walletPassword" value="welcome1"/>
    <config-property name="channelMask" value="both"/>
    <config-property name="securePort" value="990"/>
    <config-property name="keyStoreProviderName" value=""/>
    <config-property name="keystoreType" value=""/>
    <config-property name="keystoreAlgorithm" value=""/>
    <config-property name="enableCipherSuits" value=""/>
    <config-property name="proxyHost" value=""/>
    <config-property name="proxyPort" value=""/>
    <config-property name="proxyUsername" value=""/>
    <config-property name="proxyPassword" value=""/>
    <config-property name="proxyType" value=""/>
    <config-property name="proxyDefinitionFile" value=""/>
    <config-property name="useProxy" value="false"/>
    <config-property name="useSftp" value="false"/>
    <config-property name="authenticationType" value="password"/>
    <config-property name="preferredKeyExchangeAlgorithm" value="diffie-hellman-group1-sha1"/>
    <config-property name="preferredCompressionAlgorithm" value="none"/>
    <config-property name="preferredDataIntegrityAlgorithm" value="hmac-md5"/>
    <config-property name="preferredPKIAlgorithm" value="ssh-rsa"/>
    <config-property name="privateKeyFile" value=""/>
    <config-property name="preferredCipherSuite" value="blowfish-cbc"/>
    <config-property name="transportProvider" value="socket"/>
    <connection-pooling use="none">
    </connection-pooling>
    <security-config use="none">
    </security-config>
    </connector-factory>
    </oc4j-connector-factories
    Edited by: user6408601 on Dec 10, 2008 6:03 AM

    Probably the Windows FTP server chokes on the path "/FTPFolders/CUST_081210184025.txt" as it uses Unix separators. You may need to use "\FTPFolders\CUST_081210184025.txt". I can't see the properties in the XML you have given, but when you configure the FTP adapter in the application server console there should be one field for the separator and one for the root folder. Both should be "\" rather than "/" on Windows. The default is "/".
    Good luck!

  • BPEL process with DB adapter and FTP adapter

    Hi ,
    i need to read a table contents using DB Adpter after recieving the data i need to write a swich condition on column value of each record and dependin og the criteria i need to write the record in an appropriate file
    can any one help me out by giving any similar reference BPEL process
    regards,
    Anasuya Vemuri.

    Hi,
    Configure the DB Adapter as a service in your composite which does polling the table in the DB, there are many settings in polling, make your selection according to your business needs. Configure the FTP Adapter as a reference in the Composite. And use switch activity inside the BPEl if you want to check something like if else cases. And invoke the FTP Adapter and before that populate the invoke input variable values using assign activity copy operation. Make sure you create connection factories for both adapters and populate the important attributes for them in the SOA Admin Console.
    http://kr.forums.oracle.com/forums/thread.jspa?messageID=9784730
    Hope this helps....
    Thanks,
    N

  • BPEL process with FTP Adapter

    Hi,
    can we write static and dynamic data to file using FTP Adapter.
    for example:
    the file should be:
    the ABC file
    the total no of records:?
    Records:
    abc gskd dlfgpe
    asd fkgd sdfsd

    Hi,
    When you configure the FTP Adapter, you will be giving the location and also the name....
    But at run time, you can still replace them with the values you want....
    Go to the properties of invoke activity of FTP Adapter in BPEL....
    Find the properties, jca.ftp.FileName and jca.ftp.Directory; you can assign these properties from variables or expressions; it's all how want to do..you can design your flow in BPEL...
    And coming to the data contents; as yatan told, use the concat function in expression builder of copy operation in Assign activity and assign the same to the attribute of the FTP Adapter invoke input variable....
    Hope this helps...
    Thanks,
    N

  • 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • FTP Adapter fails first time when bpel process is invoked from concurrent

    Hi,
    We noticed that the invoke of the FTP adapter fails the first time when the bpel process is invoked from a concurrent program. The second time the concurrent is ran, it completes fine. However, when invoked from the console, it compeltes fine the first time itlsef.
    Any idea what could be worng. We are on SOA Suite 10.1.3.4
    Thanks
    -Prapoorna

    What you are doing with FTP adapter? Are you writing a file ? Any error details in logs when it is failing on first invocation ?

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

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

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

Maybe you are looking for

  • Need help figuring out what's wrong with my code!

    I am having a few problems with my code and can't see what I've done wrong. Here are my issues: #1. My program is not displaying the answers to my calculations in the table. #2. The program is supposed to pause after 24 lines and ask the user to hit

  • Thunderbolt to gigabit ethernet adapter

    Recently bought the adapter and doesn't connect. It doesn't even show on the Network Screen .All i get is wifi ,USB interface, and Bluetooth. No thunderbolt. This is the 2nd thunderbolt am trying to use and no luck. 1st one didn't work either . i hav

  • BADI_CRM_BP_UIU_DEFAULTS with method GET_DEFAULT_VALUES

    Hi, I am trying to use the BADI_CRM_BP_UIU_DEFAULTS to default the Country field on an account. I found sample code to update fields within the view AccountDetails.htm of the BP_HEAD component which is read when the screen first loads, but the countr

  • JMX version 1.0 & 1.2 conflict.

    I have a JMX client program running in JDK1.5 and the JMX server in 1.4 JDK and weblogic8.1. When I am trying to connect it is throwing the exception : Exception caught: java.lang.NullPointerException at weblogic.rjvm.BasicOutboundRequest.sendReceive

  • Concept of using scope in JSP !!

    Hi All, I have some confusions about Scope field used in JSP. 1. Can anyone please tell me what is the significance of using scope in jsp?