FTP Adapter Location - sending alerts

Hi,
we have a FTP adapter to receive files from FTP.
 but i have a requirement like, if the file is not received in the specific time frame , then biztalk orchestration should send an error alert. 
Is there any possibility to do it in Biztalk adapter / orchestration?
Please help me.
Vinoth

Hi,
You can leverage ESB Exception Notification service ,if you are using ESB Portal for Exception handling .
Just what you need to do is to useEpression shape and throw exception shape along with delay shape .
Define a variable of type System.exception and use it in thow exception shape.
For refenerce you can use
http://stephenomo.blogspot.ca/2011/10/force-exception-with-throw-exception.html
Configure Email subscription at your Portal for specific Application .
Another way is to use SMTP message along with delay shape in Orchestration or Using Failed message rounting which will be subscribed by another Child Orchestration responsible for sending messages .
Thanks
Abhishek

Similar Messages

  • Configuration FTP Adapter XML - Sender

    Hello:
    I need to configure dynamically the IP, directory and file name of the FTP through a Sender file/FTP adapter; in other words, I need to set those parameters in the XML message. The IP address, directory and file name of the FTP are obtained in the first message and match with another, which is sent to the adapter (communication channel) to get the data of a file.
    I would appreciate your help.
    Thanks a lot!

    Hi Julio,
    Configuring dynamically the parameters for FTP sender adapter is not possible, due to two reasons,
    1. FTP sender is a pull adapter, so you cannot set parameter (in runtime) and fetch the data.
    2. FTP sender is a async adapter
    Try to have a soap sender with AXIS framework (thought i have never tried, but this looks promising).
    Regards
    Suraj

  • FTP adapter should send file as binary attachment

    Hello,
    we user XI 3.0 and want to implement the following scenario:
    - FTP adapter has to read binary files (*.tif and *.xls)
    - Receiver adapter is an ABAP proxy
    We want to get the file content as attachment to the message or as binary string in the payload. Is it possible? I Think the FTP adapter can only handle the file content over as complete message payload and not as an attachment. File content conversion is not possible because we read non textual files. Do any adpater modules exist that could swap the payload to attachment? In my point of view the PayloadSwapBean can only handle the other way.
    Any suggestions?
    Thanks in Advance,
    Daniel

    Hello,
    with the file adapter in NFS mode it is easy to attach one file as payload and further files as attachment.
    But as I stated above we use the FTP mode (and we have no NFS server!). The binary file is read by the adapter and assigned to the message as main payload. The proxy inbound handling is not able to parse the payload because it will see it as application/xml.
    I'm looking for one of the following solutions:
    1) swap the content of the main payload to an attachment. This can be processed at the proxy
    2) perhaps it is possible to change the mime type of the main payload to reflect the xls or tif content with the MessageTransformBean. But what has to be done at the proxy inbound side?
    Best regards,
    Daniel

  • FTP Adapter - file.sender.customizer_class

    Hey,
    Anyone has a working example on how to implement this class?
    I have one class, and apparently, in its simplest form it could be something like this:
    package slf.nask.FileSender;
    import java.util.Date;
    import oracle.oai.agent.adapter.sdk.Agent;
    import oracle.oai.agent.adapter.sdk.AttributeObject;
    import oracle.oai.agent.adapter.sdk.MessageObject;
    import oracle.oai.agent.adapter.technology.FileSenderCustomizer;
    import oracle.oai.agent.adapter.transport.TransportMessage;
    public class SLFNaskFileSenderCustomizer implements FileSenderCustomizer {
         public static void main(String[] args) {
              System.out.println("Interconnect renaming facility!");
         public String generateFileName(Agent agent, String rule, String app,
                   String partitition, Date time, MessageObject mobj,
                   AttributeObject aobj) {
              return "MyFilename.xml";
         public void customizeTransportMessage(Agent agent,
                   TransportMessage transportMessage, MessageObject mobj,
                   AttributeObject aobj) {
    But I keep running into an error when running the adapter. If i comment out this class, it works fine, but once this class is in, it keep getting a parseLong error.
    Log entry:
    TransportProperties.TransportProperties():ota.d3ls=agresso_customer.xml;file.sender.type=ascii;file.receiver.max_msgs_retrieved=30;file.receiver.exception_dir=file://localhost/R:\nask\errors;file.sender.customizer_class=SLFNaskFileSenderCustomizer;ota.type=D3L;file.sender.file_name_rule=NA%TIME%_3.c15;ota.send.endpoint=file://localhost/R:\nask\AgressoFTP\TEST;file.receiver.polling_interval=60000;
    java.lang.NumberFormatException: 1240438527
    4
         at java.lang.Long.parseLong(Long.java:319)
         at java.lang.Long.parseLong(Long.java:363)
         at oracle.oai.agent.common.logger.ErrorLogObserver.readNextLogObject(ErrorLogObserver.java:361)
         at oracle.oai.agent.common.logger.ErrorLogObserver.run(ErrorLogObserver.java:137)
         at java.lang.Thread.run(Thread.java:484)

    Looks like the fault here, was the package. Leave it empty and it should be fine!

  • 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

  • FTP Adapter Operation Get

    hello all
    I have a BPEL process in which I implement an FTP read the files on a server every time they are updated or loaded for the first time but I can not get it. Looking at the log I found what's next:
    <2009-06-02 16:39:29,229> <INFO> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Managed Connection Created
    <2009-06-02 16:39:29,229> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Adding Event Listener
    <2009-06-02 16:39:29,229> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Creating Connection
    <2009-06-02 16:39:29,229> <INFO> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Connection Created
    <2009-06-02 16:39:29,229> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Connection manager allocated connection :oracle.tip.adapter.ftp.FTPConnection@d313d6
    <2009-06-02 16:39:29,229> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Host name is 'MyHostFTP'.
    <2009-06-02 16:39:29,229> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Reading reply from MyHostFTP
    <2009-06-02 16:39:29,229> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Host MyHostFTP FTP command: USER MyUserFTP
    <2009-06-02 16:39:29,229> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> FTP Command: USER, reply:
    331 Password required for MyUserFTP.
    <2009-06-02 16:39:29,229> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Host MyHostFTP FTP command: PASS
    <2009-06-02 16:39:29,229> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> FTP Command: PASS, reply:
    230 User MyUserFTP logged in.
    <2009-06-02 16:39:29,229> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Host MyHostFTP FTP command: PASV
    <2009-06-02 16:39:29,244> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> FTP Command: PASV, reply:
    227 Entering Passive Mode (192,168,0,150,5,25).
    <2009-06-02 16:39:29,244> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Passive: ip = 168.168.168.168, port = 1305
    <2009-06-02 16:39:29,244> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Connecting to MyHostFTP:1305
    <2009-06-02 16:39:29,244> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Host MyHostFTP FTP command: NLST C:\ftpFiles
    <2009-06-02 16:39:29,244> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> FTP Command: NLST, reply:
    125 Data connection already open; Transfer starting.
    <2009-06-02 16:39:29,244> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Control socket being read by [JCA-work-instance:FTP Adapter-11]
    <2009-06-02 16:39:29,354> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Control socket read failed by [JCA-work-instance:FTP Adapter-11] DATA=[TIMEDOUT] in [110 msecs]
    <2009-06-02 16:39:29,354> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Sending event: 1 with: oracle.tip.adapter.ftp.FTPConnection@d313d6
    <2009-06-02 16:39:29,354> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> FTPManagedConnection::destroy called, closing physical socket
    <2009-06-02 16:39:29,354> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Clearing Event Listeners
    without obtaining the contents of files. This is my wsdl
    <definitions
    name="FTP_Polling"
    targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/ftp/FTP_Polling/"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/ftp/FTP_Polling/"
    xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
    xmlns:pc="http://xmlns.oracle.com/pcbpel/"
    xmlns:imp1="http://TargetNamespace.com/FTP_Cobranza"
    xmlns:hdr="http://xmlns.oracle.com/pcbpel/adapter/ftp/"
    >
    <import namespace="http://xmlns.oracle.com/pcbpel/adapter/ftp/" location="ftpAdapterInboundHeader.wsdl"/>
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" >
    <import namespace="http://TargetNamespace.com/FTP_Cobranza" schemaLocation="CAJEROS.xsd" />
    </schema>
    </types>
    <message name="Pagos_msg">
    <part name="Pagos" element="imp1:Pagos"/>
    </message>
    <portType name="Get_ptt">
    <operation name="Get">
    <input message="tns:Pagos_msg"/>
    </operation>
    </portType>
    <binding name="Get_binding" type="tns:Get_ptt">
    <pc:inbound_binding />
    <operation name="Get">
    <jca:operation
    FileType="ascii"
    LogicalDirectory="FtpFiles"
    ActivationSpec="oracle.tip.adapter.ftp.inbound.FTPActivationSpec"
    DeleteFile="true"
    IncludeFiles=".*\.txt"
    ExcludeFiles=".*corte.*\.txt"
    PollingFrequency="120"
    MinimumAge="60"
    OpaqueSchema="false" >
    </jca:operation>
    <input>
    <jca:header message="hdr:InboundHeader_msg" part="inboundHeader"/>
    </input>
    </operation>
    </binding>
    <service name="FTP_Polling">
    <port name="Get_pt" binding="tns:Get_binding">
    <jca:address location="eis/Ftp/FtpAdapter" UIincludeWildcard="*.txt" UIexcludeWildcard="*corte*.txt" />
    </port>
    </service>
    <plt:partnerLinkType name="Get_plt" >
    <plt:role name="Get_role" >
    <plt:portType name="tns:Get_ptt" />
    </plt:role>
    </plt:partnerLinkType>
    </definitions>
    and I also changed the bpel.xml
    <activationAgent className="oracle.tip.adapter.fw.agent.jca.JCAActivationAgent" partnerLink="FTP_Polling">
    <property name="portType">Get_ptt</property>
    <property name="FtpFiles">C:\ftpFiles</property>
    </activationAgent>
    I hope someone can help me with my problem.
    Greetings
    Edited by: user10655677 on 2/06/2009 05:13 PM

    Hello
    The problem: I was sending the wrong direction where should look the files in the FTP. The correct way to send is as follows:
    My FTPService.wsdl
    <binding name="Get_OpenBatch_binding" type="tns:Get_OpenBatch_ptt">
    <pc:inbound_binding/>
    <operation name="Get_OpenBatch">
    <jca:operation FileType="ascii"
    PhysicalDirectory="Cashier"
    ActivationSpec="oracle.tip.adapter.ftp.inbound.FTPActivationSpec"
    ExcludeFiles=".*corte.*\.txt"
    DeleteFile="true"
    PollingFrequency="60"
    MinimumAge="0"
    FileModificationTime="FileSystem"
    ModificationTimeFormat="4,18,yyyyMMddHHmmSS"
    OpaqueSchema="false"/>
    <input>
    <jca:header message="hdr:InboundHeader_msg" part="inboundHeader"/>
    </input>
    </operation>
    </binding>
    <service name="FTPOpenBatch_RegCob">
    <port name="Get_OpenBatch_pt" binding="tns:Get_OpenBatch_binding">
    <jca:address location="eis/Ftp/FtpAdapter" UIexcludeWildcard="*corte*.txt"/>
    </port>
    </service>
    <plt:partnerLinkType name="Get_OpenBatch_plt">
    <plt:role name="Get_OpenBatch_role">
    <plt:portType name="tns:Get_OpenBatch_ptt"/>
    </plt:role>
    </plt:partnerLinkType>
    </definitions>
    look does not remove the attributes FileModificationTime and ModificationTimeFormat, as recommended in many blogs
    and my bpel.xml
    <activationAgents>
    <activationAgent className="oracle.tip.adapter.fw.agent.jca.JCAActivationAgent" partnerLink="FTPOpenBatch_RegCob">
    <property name="portType">Get_OpenBatch_ptt</property>
    <property name="Cashier">Cashier</property>
    </activationAgent>
    </activationAgents>
    here I specify the logic directory where are the files.
    If you like you can check where the post was given to the problem follow:
         FTP Adapter Error time out: FTP Adapter Error time out
    I hope this work.
    Greetings

  • FTP Adapter Error

    Hi all,
    I have written a FTP adapter to read files from a remote FTP server.
    I have done all the settings as per the Oracle tutorial on FTP adapter.
    But I am getting errors while reading the files.
    Following is the part of the error trace in the log file:
    <FTP Adapter::Inbound> Translation failed as translator returned invalid lineNumber,columnNumber=null,null. Debatching checkpoint functionality will not work. Please raise a support request.
    <2006-12-13 12:07:47,795> <INFO> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Failed to translate file : {/ABC204\NShipment.txt}
    <2006-12-13 12:07:47,810> <INFO> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Sending message to Adapter Framework for rejection to user-configured rejection handlers : {
    file=/ABC204\NShipment.txt, Exception=ORABPEL-11211
    DOM Parsing Exception in translator.
    DOM parsing exception in inbound XSD translator while parsing InputStream.
    Check the error stack and fix the cause of the error. Contact oracle support if error is not fixable.
    <2006-12-13 12:07:47,810> <WARN> <default.collaxa.cube.activation> <AdapterFramework::Inbound> [Get_ptt::Get(ShipmentTransaction)] - onReject: The resource adapter 'FTP Adapter' requested handling of a malformed inbound message. However, the following bpel.xml activation property has not been defined: 'rejectedMessageHandlers'. Please define it and redeploy the business process. Will use the default Rejection Directory file://D:\OraBPELPM_1\integration\orabpel\domains\default\archive\jca\Feeder204_12062006\rejectedMessages for now.
    <2006-12-13 12:07:47,810> <WARN> <default.collaxa.cube.activation> <AdapterFramework::Inbound> [Get_ptt::Get(ShipmentTransaction)] - onReject: Sending invalid inbound message to Exception Handler:
    Also, we can read xml files using FTP adapter as well, right?
    Any inputs are highly appreciated.
    Thanks,
    Pram

    Hi all,
    I have written a FTP adapter to read files from a remote FTP server.
    I have done all the settings as per the Oracle tutorial on FTP adapter.
    But I am getting errors while reading the files.
    Following is the part of the error trace in the log file:
    <FTP Adapter::Inbound> Translation failed as translator returned invalid lineNumber,columnNumber=null,null. Debatching checkpoint functionality will not work. Please raise a support request.
    <2006-12-13 12:07:47,795> <INFO> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Failed to translate file : {/ABC204\NShipment.txt}
    <2006-12-13 12:07:47,810> <INFO> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Sending message to Adapter Framework for rejection to user-configured rejection handlers : {
    file=/ABC204\NShipment.txt, Exception=ORABPEL-11211
    DOM Parsing Exception in translator.
    DOM parsing exception in inbound XSD translator while parsing InputStream.
    Check the error stack and fix the cause of the error. Contact oracle support if error is not fixable.
    <2006-12-13 12:07:47,810> <WARN> <default.collaxa.cube.activation> <AdapterFramework::Inbound> [Get_ptt::Get(ShipmentTransaction)] - onReject: The resource adapter 'FTP Adapter' requested handling of a malformed inbound message. However, the following bpel.xml activation property has not been defined: 'rejectedMessageHandlers'. Please define it and redeploy the business process. Will use the default Rejection Directory file://D:\OraBPELPM_1\integration\orabpel\domains\default\archive\jca\Feeder204_12062006\rejectedMessages for now.
    <2006-12-13 12:07:47,810> <WARN> <default.collaxa.cube.activation> <AdapterFramework::Inbound> [Get_ptt::Get(ShipmentTransaction)] - onReject: Sending invalid inbound message to Exception Handler:
    Also, we can read xml files using FTP adapter as well, right?
    Any inputs are highly appreciated.
    Thanks,
    Pram

  • How to configure FTP Adapter for multiple endpoints?

    Scenario: I have multiple ftp endpoints (5-15) and depending on some business logic, I have to send data to the right destination. With default ftp adapter configuration, I have to add a n adapter connection factory reachable via JNDI for each destination. But I want to read the different endpoints dynamically from e.g. a database and configure my ftp adapter at runtime. That's because the endpoints do change quite often.
    Interconnect had such a feature: FTP Sender: The FTP adapter supports sending to multiple FTP endpoints. This feature provides flexibility for sending messages to different remote FTP servers.
    Any ideas on that for SOA Suite?
    Thanks,
    Torsten

    For more documentation please send a mail to [email protected]

  • FTP Adapter Error time out

    Hi
    I have read that a polling files from an FTP server windows but I had some problems because the polling ejecutarce to mark the following error log
    <2009-06-01 20:44:52,822> <INFO> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Managed Connection Created
    <2009-06-01 20:44:52,822> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Adding Event Listener
    <2009-06-01 20:44:52,822> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Creating Connection
    <2009-06-01 20:44:52,822> <INFO> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Connection Created
    <2009-06-01 20:44:52,822> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Connection manager allocated connection :oracle.tip.adapter.ftp.FTPConnection@1e2d982
    <2009-06-01 20:44:52,822> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Host name is 'MyHost'.
    <2009-06-01 20:44:52,822> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Reading reply from MyHost
    <2009-06-01 20:44:52,822> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Host MyHost FTP command: USER cajero
    <2009-06-01 20:44:52,822> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> FTP Command: USER, reply:
    331 Password required for cajero.
    <2009-06-01 20:44:52,822> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Host MyHostFTP command: PASS
    <2009-06-01 20:44:52,822> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> FTP Command: PASS, reply:
    230 User cajerologged in.
    <2009-06-01 20:44:52,822> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Host MyHost FTP command: PASV
    <2009-06-01 20:44:52,822> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> FTP Command: PASV, reply:
    227 Entering Passive Mode (192,168,0,150,15,190).
    <2009-06-01 20:44:52,822> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Passive: ip = 192.192.0.192, port = 4030
    <2009-06-01 20:44:52,822> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Connecting to MyHost:4030
    <2009-06-01 20:44:52,838> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Host MyHost FTP command: NLST C:\pub\cashier
    <2009-06-01 20:44:52,838> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> FTP Command: NLST, reply:
    125 Data connection already open; Transfer starting.
    <2009-06-01 20:44:52,838> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Control socket being read by [JCA-work-instance:FTP Adapter-4]
    <2009-06-01 20:44:52,931> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Control socket read failed by [JCA-work-instance:FTP Adapter-4] DATA=[TIMEDOUT] in [93 msecs]
    <2009-06-01 20:44:52,931> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Sending event: 1 with: oracle.tip.adapter.ftp.FTPConnection@1e2d982
    <2009-06-01 20:44:52,931> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> FTPManagedConnection::destroy called, closing physical socket
    <2009-06-01 20:44:52,931> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Clearing Event Listeners
    <2009-06-01 20:44:53,088> <DEBUG> <default.collaxa.cube.activation> <AdapterFramework::Inbound> afterDelivery() is invoked
    <2009-06-01 20:44:53,088> <DEBUG> <default.collaxa.cube.activation> <AdapterFramework::Inbound> Committing JTA transaction com.evermind.server.ApplicationServerTransactionManager@1961a07
    I have already changed the timeout of transactions in the following files:
    SOA_HOME\j2ee\oc4j_soa\config\transaction-manager.xml
    greater thanorion-ejb-jar.xml
    SOA_HOME\j2ee\oc4j_soa\application-deployments\orabpel\ejb_ob_engine\orion-ejb-jar.xml
    less than transaction-manager.xml
    SOA_HOME\bpel\domains\domain_name\config\domain.xml
    less than orion-ejb-jar.xml
    but the error continues. I need your help pls be grateful
    Greetings

    JDT
    In making the execution of an interface that executes the method SynchRead and review the log. I realized that the same brand message timeout single interface that works well.
    <2009-06-02 13:37:50,177> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> ResourceAdapterMetaData Connection Created
    <2009-06-02 13:37:50,177> <INFO> <default.collaxa.cube.ws> <AdapterFramework::Outbound> file:/F:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_BPEL_REGISTRO_COB_1.0_e24ce5bd36c213c5eba6a75bc9f44618.tmp/FTPArchivosICOMS.wsdl [ SynchRead_ptt::SynchRead(Empty,Pagos) ] - Using JCA Connection Pool - max size = <unbounded>
    <2009-06-02 13:37:50,193> <INFO> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Managed Connection Created
    <2009-06-02 13:37:50,193> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Adding Event Listener
    <2009-06-02 13:37:50,193> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Creating Connection
    <2009-06-02 13:37:50,193> <INFO> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Connection Created
    <2009-06-02 13:37:50,193> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Connection manager allocated connection :oracle.tip.adapter.ftp.FTPConnection@1f8aab0
    <2009-06-02 13:37:50,193> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Creating FTPInteraction
    <2009-06-02 13:37:50,224> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Creating an FTPSender
    <2009-06-02 13:37:50,224> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> FTP Sender created
    <2009-06-02 13:37:50,224> <INFO> <default.collaxa.cube.activation> <FTP Adapter::Inbound> FTPInteraction Created
    <2009-06-02 13:37:50,224> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> FTP outbound adapter interaction invoked : oracle.tip.adapter.ftp.outbound.FTPReadInteractionSpec@13a6c6f
    <2009-06-02 13:37:50,224> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> FileInteraction::PROPS ====>{}
    <2009-06-02 13:37:50,224> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Considering header for filename, output filename from header: PGLINEAS1-090508133556.txt
    <2009-06-02 13:37:50,224> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Considering header for directoryName, directoryName from header: Cashier
    <2009-06-02 13:37:50,224> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> FTP Agent Determined
    <2009-06-02 13:37:50,224> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> FTPSource::Local Temp Directory is F:\product\10.1.3.1\OracleAS_1\j2ee\home\fileftp\temp_ftp\localhost_default_BPEL_REGISTRO_COB~1.0_\outbound
    <2009-06-02 13:37:50,224> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> FTP Host: myHost
    <2009-06-02 13:37:50,224> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> FTP Post: 21
    <2009-06-02 13:37:50,224> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> FTP Username: myuser
    <2009-06-02 13:37:50,224> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> FTP Keep Connections: true
    <2009-06-02 13:37:50,224> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> FTP outbound adapter read file interaction invoked.
    <2009-06-02 13:37:50,224> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Outbound File Adapter received request to read file with parameters: { Directory=Cashier, FileName=PGLINEAS1-090508133556.txt, DeleteFile=false}, headers=[_directory=[Cashier], _filename=[PGLINEAS1-090508133556.txt], _props=[{}]]
    <2009-06-02 13:37:50,240> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Creating Temp File mDGwM+l2LhBE8Qq9VFaD1Q== Local Path: F:\product\10.1.3.1\OracleAS_1\j2ee\home\fileftp\temp_ftp\localhost_default_BPEL_REGISTRO_COB~1.0_\outbound Remote Dir: Cashier
    <2009-06-02 13:37:50,240> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Calling getContentsAsStream() on FTPAgent: myHost: type = FTP, host = myHost:21, username = myuser
    directory = null, mode = STREAM, fileType = ASCII, maxRetries = 0 Localfile: PGLINEAS1-090508133556.txt Path: F:\product\10.1.3.1\OracleAS_1\j2ee\home\fileftp\temp_ftp\localhost_default_BPEL_REGISTRO_COB~1.0_\outbound\mDGwM+l2LhBE8Qq9VFaD1Q== Remote Dir: Cashier
    <2009-06-02 13:37:50,240> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Host name is 'myHost'.
    <2009-06-02 13:37:50,240> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Reading reply from myHost
    <2009-06-02 13:37:50,255> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Host myHost FTP command: USER myuser
    <2009-06-02 13:37:50,255> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> FTP Command: USER, reply:
    331 Password required for myuser.
    <2009-06-02 13:37:50,255> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Host myHost FTP command: PASS
    <2009-06-02 13:37:50,255> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> FTP Command: PASS, reply:
    230 User myuser logged in.
    <2009-06-02 13:37:50,255> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> FTPAgent::absoluteFilePath called with[Cashier], file=[PGLINEAS1-090508133556.txt]
    <2009-06-02 13:37:50,255> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Host myHost FTP command: PASV
    <2009-06-02 13:37:50,255> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> FTP Command: PASV, reply:
    227 Entering Passive Mode (192,168,0,150,4,46).
    <2009-06-02 13:37:50,255> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Passive: ip = 192.192.0.192, port = 1070
    <2009-06-02 13:37:50,255> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Connecting to myHost:1070
    <2009-06-02 13:37:50,255> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Host myHost FTP command: TYPE I
    <2009-06-02 13:37:50,255> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> FTP Command: TYPE, reply:
    200 Type set to I.
    <2009-06-02 13:37:50,271> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Host myHost FTP command: RETR Cashier\PGLINEAS1-090508133556.txt
    <2009-06-02 13:37:50,271> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> FTP Command: RETR, reply:
    125 Data connection already open; Transfer starting.
    <2009-06-02 13:37:50,287> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Control socket being read by [AJPRequestHandler-HTTPThreadGroup-64]
    <2009-06-02 13:37:50,380> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Control socket read failed by [AJPRequestHandler-HTTPThreadGroup-64] DATA=[TIMEDOUT] in [93 msecs]
    <2009-06-02 13:37:50,380> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Returning local file: mDGwM+l2LhBE8Qq9VFaD1Q== Path: F:\product\10.1.3.1\OracleAS_1\j2ee\home\fileftp\temp_ftp\localhost_default_BPEL_REGISTRO_COB~1.0_\outbound\mDGwM+l2LhBE8Qq9VFaD1Q==
    <2009-06-02 13:37:50,427> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Created translator : oracle.tip.pc.services.translation.xlators.nxsd.NXSDTranslatorImpl@112ff56
    <2009-06-02 13:37:50,459> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Completed translation for : Cashier\PGLINEAS1-090508133556.txt
    Thank you...
    Edited by: user10655677 on Jun 2, 2009 9:57 AM

  • Unable to read PDF files created by FTP Adapter

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

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

  • Sender FTP Adapter - Archive faulty files not working

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

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

  • FTP Adapter (Sender)

    Hi Experts,
    The usual scenario and setting for an FTP adapter (sender) to trigger an event if there are no files being picked up? If it's possible, how will I do it?
    Cheers,
    R-jay

    Hi Neetesh,
    I have my existing configuration the adapter finds a file, it will just delete the file since the target system is the one creating a log (let say) every 1min. My configuration is set to every 2mins to check the folder and if there's a file, the adapter just delete the file. Then if the adapter doesn't find any of the file, then it will create a target output to another directory informing that no files are found. I only create 1 log file and just append the new log (overwrite the file) 
    Sample (output): message.log
    Server A: Critical. No file has been found
    Server B: Critical. No file has been found
    Server C: Critical. No file has been found
    Someone will be looking onto this file and they will be creating like an automated alert.
    Note: I'm not using the Alert Framework of SAP PI since it will only trigger on application level of PI. This will like monitor an external application Server.
    Cheers,
    R-jay

  • Sending Email When FTP Adapter Errors Out

    Hello everyone,
    I am developing a very simple interface to grab a file from a directory and ftp it to a partner's server. Now I want to be able to check if an error occurs when I send the file so I can send a notification e-mail to the administrator and move the file to an Error-Archive directory.
    Some of the errors that could happen are:
    1. Partner server is down
    2. FTP Username or password is wrong
    3. FTP account does not have permissions to write to the Partner server
    4. ...etc
    I have defined an Integration process and for the block where I ftp my file, I defined an exception which I catch in an exception branch. In the Exception branch, I have then defined steps to send notification emails and move the file to an error-archive directory. But unfortunately all the steps of the Integration Process seems to pass, although the FTP Adapter throughs an error.
    I'm not sure how can I get the FTP adapter errors to be passed back to my integration process. I already searched in the service market place for OSS notes and also searched the SDN but I can't find any helpful information.
    There is one OSS note, 821267, that mentions the use of System Acknowledgements. I'm not sure if this will help me and I don't know how to set it up.
    Does anyone have any ideas on how to handle this particular scenario? Did anyone implement System Acknowledgements with the File/FTP adapter?
    Any help is greatly appreciated

    Hi,
    To do the alert configuration as suggested, please go through the information below.
    From SP 14 on PMI-free alerting was introduced. That means before SP 14 one has to configure and activate the End-to-End Monitoring, and to schedule the report SXMSALERT_PROCESS_DATA_GET in order to extract the alerts from the PMI data. For SP 14 and higher, that's not longer necessary.
    If no alerts are being delivered, please check if "Suppress multiple alerts of this rule" is checked for your rule.
    For SP 14 and higher you could also have a look at the report sxmsalert_logreader. This report shows some information about alerts being created or not.
    You'll find more information about trouble shooting the alerting in SAP Note 913858.
    Also just check if this batch program (RSALERTPROC) is running or not.
    The links below on Alert Management (ALM) will be of good help to you:
    http://help.sap.com/saphelp_nw04/helpdata/en/3f/567ddea69d3d4c93a6aedabd08899e/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/3f/81023cfa699508e10000000a11402f/frameset.htm
    Meanwhile look at these forum threads also:
    Alerts not getting triggered from Adapter Framework
    Alert  Configs...
    Also, In ALRTCATDEF, go to SETTINGS--> CONFIGURATION. By default, the option selected is INTERNAL PROCESSING. Select the option SMTP FORWARDING AS XML and give the email id. This will enable you to send an email alert whenever an error occurs in XI.
    I hope I have answered your queries. If u want help with anything else please do reply back.
    Regards,
    abhy
    PS: AWARD POINTS FOR HELPFUL ANSWERS.

  • Strange Problem in File Archiving - Sender FTP Adapter

    Hi,
    The scenario is file to IDOc. XI has to read the input file from client FTP server and archive it to XI local file server.
    File is archived properly without FCC (for xml files). But with FCC, the sender FTP adapter is archiving empty files (0 kb files) not the original file with data.
    I've checked SXMB_MONI, even there I can see the file data and the IDoc is getting posted with proper data. But, the archived file is empty. Not sure about the problem.
    Please suggest. Thanks in advance.
    Regards,
    Joe.

    Hi,
    I've already tried archiving the file to the FTP server itself, it's working fine (even with FCC). But, when I try to archive it to the XI server (read from FTP and archive at XI server), it's writing empty file to the XI archive directory. I'm using PI 7.0 SP 14. My sender FTP adapter dtls follow
    Data Connection: Passive
    Timeout Secs: 500
    Connect Mode: Permanently
    Transfer Mode: text and binary tried both
    File type: text and binary tried both..
    Looking out for a solution.
    Thanks,
    Joe.
    Edited by: Joe on Jun 19, 2008 8:07 AM
    Edited by: Joe on Jun 19, 2008 8:08 AM

  • Error with Archiving Faulty Source File in Sender FTP adapter

    Hi All,
    I have configured a Sender FTP adapter with Processing Mode as Archive.
    I am able to read the files from FTP server and archive all the successfuly processed file in the PI aplication server directory XXX/success.
    We need all the error files also to be archived on PI application server in directory XXXXX/Fail so I have checked the option Archive faulty Source Files and provided the application directory  XXXXX/Fail .
    I have unchecked the option Archive Files on FTP server.
    But the problem is when FTP adapter is getting any error files it is not able to archive it to application directory  XXXXX/Fail .
    In RWB it is showing the error
    Unable to archive faulty input file /data/abc.txt to /XXXX/fail/abc.txt
    Cause: com.sap.aii.adapter.file.ftp.FTPEx: 550 rename: No such file or directory
    This directory is existing and works fine when I give this directory name in Archive directory of processing mode.
    Sender FTP adapter is trying to archive the file in FTP server which I dont want and giving us this error.
    If I give any Directory which is present in FTP server my error files are getting archived on FTP server but not in the archived folder.
    I have already unchecked the option Archive Files on FTP server.
    Please help......
    I am on PI 7.11
    Regards
    Henery H

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

Maybe you are looking for