Problem in FTP adapter ( Duplicate)

Hi all,
We have a composite that query the events from Oracle on demand CRM. Event contains key column which is used to fetch all related values.
Using FTP adapter, we are placing the file in SAP and also one copy using file adapter in our local server for our reference.
Problem :
SAP is receiving two files in their inbound folder at same time stamp for one transaction.
But in our local server, we are receiving one file only.
So we isolated the problem to FTP adapter.
When we analyzed the process and its audit trail, everything looks fine and FTP operation is called one time only.
We are clueless regarding this problem.
Also same interface works well in Production instance. We even tried deploying new composite that is freshly downloaded from Production.
We need this to fix this by Wednesday as UAT begins in Test environment and that needs this interface to work fine.
We have clustered environment and 2 SOA servers.
Please someone help us identifying the problem. Its very urgent
Thanks,
Sundar

Hi it may be the problem with the environment. Try adding the property <property name ="singleton">true</property name> in the composite.xml for the FTP adapter or at the server level.
Swami

Similar Messages

  • Problem with FTP Adapter in creating a new Folder

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

    any thoughts????

  • FTP Adapter duplicate processing of files in Active-Active cluster env

    Hi All,
    We have single active-active cluster environment and we have configured all the HA configurations for Inbound and Outbound operations (except outboundDatasourceLocal). But we faced a situation that the FTP Adapter processed a file twice. This happened when there was a fail-over in oracle database in where SOA-INFRA schema is created.
    Please let me know if anyone faced similar issue and what would be the resolution for this duplication issue.
    Thanks in Advance.

    Hi Vernetto,
    Thanks for your reply.
    I too had opened a ticket with oracle and they are looking into the issue.
    can you please let me know what are the inbound and outbound operation configurations you have specified in the 'outbound connection pools'. Also is there any other specific property you set in jca file?
    one more thing is, we have configured outboundLockTypeForWrite to 'oracle' as we are using the oracle database. but i couldnt see any data in FILEADAPTER_IN or in FILEADAPTER_MUTEX tables. you said you could see data in FILEADAPTER_IN table. so is there any specific property requires to be set which i am missing?
    please suggest.
    Thanks.

  • FTP adapter: exc. 550 : No such file or directory

    Hi Men,
    I'm working on 7.0 version.
    I am facing a problem with FTP adapter.
    In few words, I configured a CC FTP sender to get files from a remote server (in test mode).
    As I start this channel, CC monitor retrieves the following error message:
    "Could not process file '<getThisFile>.xml': com.sap.aii.adapter.file.ftp.FTPEx: 550 outbox: No such file or directory."
    where '<getThisFile>.xml' is filename and "outbox" is the directory.
    I presume that it recognizes the filename and the directory but the error message says "dir or file are wrongs".
    I tried the same action by command line with same user and password ftp. Result: I was able to get this file from dir "outbox".
    ...I should exclude a file permission problem.
    Here below, some Logs from "default.trc" file:
    #1.5#001125BDB332006E000000390006802E0004400DCACAD490#1196327887885#com.sap.aii.adapter.file.File2XI##com.sap.aii.adapter.file.File2XI.processFtpList()#J2EE_GUEST#0####ff6d7bd09e5b11dc9e34001125bdb332#XI File2XI[CC_FTP_SND_Order_new/BS_Arianna_DEV/]_57##0#0#Error#1
    #/Applications/ExchangeInfrastructure/AdapterFramework/Services/ADAPTER/ADMIN/File#Plain###Retrieving file 'orders.00089872.xml' failed unexpectedly with com.sap.aii.adapter.file.ftp.FTPEx: 550 outbox: No such file or directory.#
    where:
    CC_FTP_SND_Order_new is the CC sender;
    BS_Arianna_DEV related Business Service.
    'orders.00089872.xml' file to get.
    'outbox' dir path
    .... nothing else.
    Have you ever faced a similar problem? Any suggestion to fix it?
    Thanks in advance
    Alex

    Hi friends,
    FTP server is a Microsoft Windows XP [Version 5.1.2600]
    When I log in, I only change in a sub dir called outbox.
    If I put back slash before (for WinOS), the dir path is wrong (cd \outbox should mean that outbox is under root).
    Some FTP server logs:
    Nov 29 09:40:00 golem ftpd[25272]: USER 8023******
    Nov 29 09:40:00 golem ftpd[25272]: PASS password****
    Nov 29 09:40:00 golem ftpd[25272]: SYST
    Nov 29 09:40:00 golem ftpd[25272]: TYPE Image
    Nov 29 09:40:00 golem ftpd[25272]: CWD outbox
    Nov 29 09:40:00 golem ftpd[25272]: PASV
    Nov 29 09:40:00 golem ftpd[25272]: LIST orders*
    Nov 29 09:40:00 golem ftpd[25272]: CWD outbox
    Nov 29 09:40:00 golem ftpd[25272]: QUIT
    I suppose that XI works fine and FTP server receives two times the "cd outbox" command. II also suppose that this Windows FTP server  memorizes the subdir "outbox" each time I log in by FTP with user  "8023******"

  • Change in file permission in ftp adapter

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

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

  • 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/SSL Connection Problem for FTP Receiver Adapter

    Hello All,
    We are trying to establish an FTPS/SSL connection with one of our customers from our XI(Unix) system, and are receive following error:
    <b>iaik.security.ssl.SSLException: Server certificate rejected by ChainVerifier</b>
    Communication Channel Parameters:
    Connection Security: FTP (FTP Using SSL/TLS) for Control Connection or FTP (FTP Using SSL/TLS) for Control Connection and Data Connection
    Command Order: AUTH TLS, USER, PASS, PBSZ, PROT
    Checkbox - Use X.509 Certificate.... checked (Certificate was provided by third party (customer issued) and uploaded to service_ssl certificate store on J2EE server)
    Data Connection: Passive
    Port: 10021
    Keystore: service_ssl
    X.509 Certificate & Private Key: ssl-credentials
    Note: Initial handshaking occurs but connection is being dropped by the third party FTP Server when SSL certificate credentials are being validated. We also tried connecting to the third party FTPS server using standard FTPS client(FileZilla software), this connection gets established successfully with no certificate issues which means certificate and third party FTP Server is functioning correctly.
    We therefore are thinking that the problem lies with our XI system being unable to load the certificate information correctly at the point when FTPS session is being established.
    Your help and suggestions will be greatly appreciated.
    Thanks and Best Regards
    Prashant Rajani

    Hello All,
    Further in order to test connection set up and communication channel configuration we tried simulating the FTP connection locally by configuring FTP Server using FileZilla at a local machine and accessed it from Client's XI Server.
    This set up simulates the problem we encounter with our customer's FTP Server.
    If connection security parameter in communication channel for Sender FTP Adapter is set to <b>"FTPs( FTP Using SSL/TLS) with Control Connection" only</b>, file gets successfully created with data at the FTP server but as soon as we switch the connection security parameter to <b>"FTPs( FTP Using SSL/TLS) with Control and Data Connection"</b>, we receive error "Certificate rejected by Chain Verifier". The initial handshaking happens successfully and file gets created at the FTP Server but its empty, connection fails when attempt is made to write data into file and we end up with said error thereby closing the connection.
    This is what the FTP (FileZilla) sees when the XI system attempts to set-up a fully encrypted data  (FTPS) connection i.e., connection security parameter value as<b>"FTPs( FTP Using SSL/TLS) with Control and Data Connection"</b> :-
    - (not logged in) (10.18.106.34)> Connected, sending welcome message...
    - (not logged in) (10.18.106.34)> 220-FileZilla Server version 0.9.18 beta
    - (not logged in) (10.18.106.34)> 220-written by Tim Kosse ([email protected])
    - (not logged in) (10.18.106.34)> 220 Please visit http://sourceforge.net/projects/filezilla/
    - (not logged in) (10.18.106.34)> AUTH TLS
    - (not logged in) (10.18.106.34)> 234 Using authentication type TLS
    - (not logged in) (10.18.106.34)> SSL connection established
    - (not logged in) (10.18.106.34)> USER test
    - (not logged in) (10.18.106.34)> 331 Password required for test
    - (not logged in) (10.18.106.34)> PASS ***********
    - test (10.18.106.34)> 230 Logged on
    - test (10.18.106.34)> PBSZ 0
    - test (10.18.106.34)> 200 PBSZ=0
    - test (10.18.106.34)> PROT P
    - test (10.18.106.34)> 200 Protection level set to P
    - test (10.18.106.34)> SYST
    - test (10.18.106.34)> 215 UNIX emulated by FileZilla
    - test (10.18.106.34)> PWD
    - test (10.18.106.34)> 257 "/" is current directory.
    - test (10.18.106.34)> CWD /payment/
    - test (10.18.106.34)> <b>250 CWD successful. "/payment" is current directory.</b>- test (10.18.106.34)> TYPE I
    - test (10.18.106.34)> 200 Type set to I
    - test (10.18.106.34)> PASV
    - test (10.18.106.34)> <b>227 Entering Passive Mode (10,27,7,103,15,63)</b>- test (10.18.106.34)> STOR BHPDSB20060911-153840-834.txt
    - test (10.18.106.34)> <b>150 Connection accepted</b>
    - test (10.18.106.34)> <b>Data connection SSL warning: SSL3 alert read: fatal: bad certificate</b>
    - test (10.18.106.34)> <b>Data connection SSL warning: SSL_accept: failed in SSLv3 read client certificate A</b>- test (10.18.106.34)> <b>Data connection SSL warning: error:14094412:SSL routines:SSL3_READ_BYTES:sslv3 alert bad certificate</b>- test (10.18.106.34)> <b>Data connection SSL warning: error:140940E5:SSL routines:SSL3_READ_BYTES:ssl handshake failure</b>- test (10.18.106.34)> <b>426 Connection closed; transfer aborted.</b>- test (10.18.106.34)> QUIT
    - test (10.18.106.34)> 221 Goodbye
    - test (10.18.106.34)> SSL connection established
    Please suggest your valuable inputs if we are missing out something. Any helpful inputs in this regard is highly appreciated.
    Thanks and Best Regards
    Prashant

  • 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

  • Problem in CC with FTPS Adapter

    Hello everyone,
    I try to connect with a partner with FTPS Adapter, I load the certificate from server and have the next error:
    Error occurred while connecting to the FTP server "server:21": iaik.security.ssl.SSLException: Error decoding Certificate: java.security.cert.CertificateException: iaik.asn1.CodingException: ASN.1 creation error: iaik.asn1.CodingException: ASN.1 creation error: iaik.asn1.CodingException: ASN.1 creation error: iaik.asn1.CodingException: ASN.1 creation error: iaik.asn1.CodingException: ASN.1 creation error: iaik.asn1.CodingException: ASN.1 creation error: iaik.asn1.CodingException: Too long integer in ASN.1 type Enumerated, length=8
    I try too with a certificate created in XI in the Visual Administrator, but don't work, the error is the same.
    The channel is in Sender mode.
    Somebody help me please with this problem?
    Thanks and greetings,
    Hervey P.

    Hi Hervey,
    We are also facing the same problem while using FTPS in the receiver file adapter...
    Please could you help us how it was solved for you ....
    The error is the same as the one u faced...
    Delivery of the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: iaik.security.ssl.SSLException: Error decoding Certificate: java.security.cert.CertificateException: iaik.asn1.CodingException: ASN.1 creation error: iaik.asn1.CodingException: ASN.1 creation error: iaik.asn1.CodingException: Too long integer in ASN.1 type Enumerated, length=13.
    Thanks and Regards,
    Sridhar Reddy

  • Duplicate File issue using FTP adapter - BizTalk 2010

    Hi We encountered an Issue of picking Duplicate files in BizTalk 2010 from the FTP Location. Need your assistance on this.
    Mainframe sends multiple files a 0 KB file to FTP and BizTalk picks during a particular service window using FTP Adapter. 
    Receive Location has a pipeline component which decodes the MF file(EBCDICRow format). 
    Send Port transmits the file which is decoded in the Receive location. There is no mapping or orchestration involved. 
    When 2 files are placed in FTP Location. BizTalk Transmits the files successfully
    No suspended messages in BizTalk but we see below error in event log. we tried reproduce the issue but no luck. 
    Host Instance running FTP Location is Clustered  
     There was a failure executing the receive pipeline: "XXXX.XX.Pipelines.Receive_XXX_TransactionsMC_passthru, XXX.XX.Pipelines, Version=1.0.0.0, Culture=neutral, PublicKeyToken=c2d1f476d5c2f97d"
    Source: "EbcdicRowDeCode" Receive Port: "XXX.XX.MCSTransactionsMC" URI: "ftp://XXXXXXXX:21/'XXXX'/MCSDT.DEFKOP.R001.D*.T*" Reason: Unable to cast object of type 'Microsoft.BizTalk.Streaming.BasicStreamWrapper' to type 'XXX.BizTalk.Pipeline.Components.Streams.V3.VirtualStream
    MF Puts below Files at FTP Location
    PSNOX.MCSDT.DEFKOP.R001.D150406.T009000
    PSNOX.MCSDT.DEFKOP.R001.D150406.T002100
    BizTalk Picks ( at specified Service window) and Transmits as 
    PSNOX.MCSDT.DEFKOP.R001.D150406.T009000
    PSNOX.MCSDT.DEFKOP.R001.D150406.T009000
    PSNOX.MCSDT.DEFKOP.R001.D150406.T002100
    Regards
    -Sri

    Hi Sri,
    There could be two reason for such a behavior:
    1) Using Non-Clustered Hosts: It is always recommended to use the clustered host for FTP adapter. Because FTP don't allow
    any locking mechanism on the files so in case of non-clustered with multiple host instances you might receive same file multiple times through different host instances.
    2) If the original document is still being written to the FTP server by the host application, the FTP adapter cannot
    delete the document and will retrieve another copy of the document at the next polling interval that is configured for the receive location. This behavior causes document duplication to occur. 
    Workaround could be:
    Configure the host application to write to a temporary folder on the same hard disk as the public FTP folder and to periodically move the contents of the temporary folder
    to the FTP folder. The temporary folder should be on the same hard disk as the public FTP folder to make sure that the move operation is atomic. An atomic operation is an operation that is functionally indivisible. If you write data to the public FTP folder
    by using the BizTalk Server FTP adapter, you can do this by specifying a Temporary Folder property in the FTP Transport Properties dialog box when you configure a send port. If you specify a Temporary Folder property, make sure that this folder is on the same
    physical disk as the public FTP folder.
    Configure the FTP receive location to operate within a service window when the host application is not writing data to the FTP server. You can specify the service window
    when you configure the receive location properties.
    Refer: Known Issues with the FTP
    Adapter
    Rachit
    Please mark as answer or vote as helpful if my reply does

  • Problem with d3l-ftp-adapter

    Hi,
    I've setup an ftp-adapter in d3l mode where the eventname and Objectname in iStudio match with the declaration in the d3l-file.
    But somehow I get an error: java.lang.RuntimeException: unknown attribute `ContractmutatiesNavfin' in `contracten null
    at oracle.oai.agent.adapter.technology.D3LMessageData.get
    What can be wrong?
    d3l definition:
    <?xml version="1.0" encoding="US-ASCII"?>
    <!DOCTYPE message SYSTEM "d31.dtd">
    <message type="Contractmutaties" name="ContractmutatiesNavfin" object="contracten" header="filename" value="NAV-CON-MUT%">
    <imparray id="ContractmutatiesArray">
    <typeref type="ContractmutatiesType"/>
    </imparray>
    <struct id="ContractmutatiesType">
    <field name="Bedrijfsnummer"><termstring endchar=";"/></field>
    <field name="Mutatienummer"><termstring endchar=";"/></field>
    <field name="Totaal"><termstring endchar=";"/></field>
    <field name="Aantalregels"><termstring endchar="\r\n"/></field>
    </struct>
    <struct id="Contractmutaties">
    <field name="line"><typeref type="ContractmutatiesArray"/></field>
    </struct>
    </message>
    adapter logging:
    Wed Sep 06 14:30:56 CEST 2006: Service started successfully.
    Wed Sep 06 14:31:21 CEST 2006: Transport logs:
    File: NAV-CON-MUT-1regel.csv - dir: oaitmp
    Wed Sep 06 14:31:21 CEST 2006: Successfully matched value NAV-CON-MUT-1regel.csv of header filename against pattern NAV-CON-MUT% belonging to D3L ContractmutatiesNavfin.xml
    Wed Sep 06 14:31:21 CEST 2006: Bridge { agent=oracle.oai.agent.client.AgentImpl@e14d81 application=NAVFIN_FTP partition=null active=true #d3ls=2 } encountered the following problem while receiving a message from external application
    java.lang.RuntimeException: unknown attribute `ContractmutatiesNavfin' in `contracten null
    at oracle.oai.agent.adapter.technology.D3LMessageData.get(D3LMessageData.java:125)
    at oracle.oai.agent.client.AgentImpl.fillInAOFromMessageData(AgentImpl.java:429)
    at oracle.oai.agent.client.AgentImpl.initMessageFromEventMap(AgentImpl.java:416)
    at oracle.oai.agent.client.AgentImpl.createMessageObject(AgentImpl.java:193)
    at oracle.oai.agent.adapter.technology.TechBridge.run(TechBridge.java:706)
    at java.lang.Thread.run(Thread.java:534)
    Wed Sep 06 14:31:21 CEST 2006: Transport logs:
    [IPT_RecProcessingError] Error encountered while processing message received on Wed Sep 06 14:31:18 CEST 2006.
    Wed Sep 06 14:31:21 CEST 2006: Transport logs:
    [IPT_RecMessageMoved] Failed message moved to exception location file://localhost/u1/app/oracle/product/appl1012/integration/interconnect/adapters/ftpNAVFIN/ftpfiles/inbound_errors.
    Wed Sep 06 14:31:21 CEST 2006: Transport logs:
    [IPT_RecPurgeMessage] Purged processed message.

    Hi,
    Did you fill in the field Object Name in the Define Application View page in the Publish Wizard of your Application in iStudio?
    There you have to fill in the name of the Business Object to which the event is corresponding. This makes it possible for the adapter to find the Common View.
    Regards,
    Aard Jan

  • FTP Adapter Problem

    Hi,
    I am using the FTP adapter to transfer a file from a remote machine and am getting this exception.
    java.lang.NoClassDefFoundError: oracle/security/pki/OraclePKIProvider
    at oracle.tip.adapter.ftp.FTP.connect(FTP.java:438)
    at oracle.tip.adapter.ftp.FTPClient.establishFtpSession(FTPClient.java:169)
    at oracle.tip.adapter.ftp.FTPAgent.login(FTPAgent.java:597)
    at oracle.tip.adapter.ftp.FTPAgent.getFileList(FTPAgent.java:269)
    at oracle.tip.adapter.file.inbound.FileSource.getFileList(FileSource.java:199)
    at oracle.tip.adapter.file.inbound.PollWork.pollFiles(PollWork.java:210)
    at oracle.tip.adapter.file.inbound.PollWork.run(PollWork.java:116)
    at oracle.tip.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
    at oracle.tip.adapter.fw.common.ThreadPool.run(ThreadPool.java:267)
    at java.lang.Thread.run(Thread.java:534)
    Any ideas?
    Thanks
    -G

    Clemens,
    It's very nice to know that guys like you are here to help people like me. I develope the same BPEL Project on a stand alone windows installation (BPEL Server 10.1.2.0.2) a Works perfectly.
    I'm sure know the problem resides on the BPEL Server or the OAS. Besides updating the BPEL Server version what order suggestions do you have in mind????
    What do you think about OAS R3??? Is it trusted to upgrade to R3 now????
    Thank very much for your time.
    Cordially,
    Jose
    Mensaje editado por:
    user489282

  • FTP adapter problems

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

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

  • BPEL FTP Adapter problems

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

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

  • FTP Adapter config problem (again :/ )

    Hello all.
    I know that this topic was discussed few times before but i still cant setup my FTP adapter.
    My OS is Win XP. I downloaded free ftp server (XLight FTP Server) and setup my oc4j-ra.xml in following way:
         <connector-factory location="eis/Ftp/FtpAdapter" connector-name="Ftp Adapter">
         <config-property name="host" value="10.172.201.57"/>
         <config-property name="port" value="210"/>
         <config-property name="username" value="szeryf"/>
         <config-property name="password" value="szeryf"/>
         </connector-factory>
    where shown ip address is my computer address. I also created user szeryf/szeryf at my local FTP server and tried to connect to that server using some ftp client - with success. Then i created some simple BPEL process to upload file to FTP server. Each time i try i get fault that connection to server failed.
    Maybe someone experienced such a thing and could help me with that problem?
    Regards,
    Chris

    Are you sure your ftp server is on port 210? It seems odd.
    And is there a reason you are editing oc4j-ra.xml directly? Why not make a partner link and get that working first?

Maybe you are looking for

  • SWF created in CS4 Flash does not play from web server

    I published a Flash movie in CS4, which includes the following ActionScript 3.0 code to allow people to click the movie to open a new web page; but it will not play from the web server...however, it plays just fine from my local hard drive in Firefox

  • Macbook not auto connecting to N wifi

    macbook pro (3,1) running 10.5.8 Airport Extreme- SSID turned off im having trouble getting this mac to automatically connect to the airport and the airport is only running on N i have other macbooks (15" and 17") that will automatically to this same

  • Crystal Reports Server XI meta data

    Hi all, How can I extract the meta data of my Crystal Reports Server? For eg, how do I find out how many objects I have, their schedules, and the email address that I send the reports to? Can it be done via the CMC or I need to query the CMS database

  • Interoperability Promblem that Challenge Your attention.

    I develop a web service using JAX-RPC, the method return value is a Class.--TestRes. the interface definition is: public interface TestIF extends Remote public TestRes test(String a, String b, String c)throws RemoteException; A client programmed by A

  • Screen is not coming on iphone 4 after upgrading  to 6.1.3

    Hi. i tried to upgrade the ph.in the morning time ,i went on setting and click upgrade till that phone is not displaying anything just the Apple sign. its almost nor 10 hours.what should i do even its not shutting down. thank you