Error on sender CC file adapter FTP

Hi
i have the scenario FILE-WS-FILE (synchronous) where im having problems in my sender CC, at the channel monitor servlet is showing the next errors while trying to get the message on the XML file.
MP: unexpected exception caught com.sap.aii.af.service.cpa.impl.exception.CPAObjectKeyException: Value of key must not be null: ObjectId
Error: java.lang.NullPointerException: while trying to invoke the method com.sap.engine.interfaces.messaging.api.Message.getMessageId() of an object loaded from local variable 'message1'
if anyone could help me, i appreciate.
Regards.

Check this ones,
Adapter Module error
http://xml.apache.org/xalan-j/apidocs/org/apache/xml/serializer/utils/MsgKey.html 
http://help.sap.com/javadocs/pi/SP3/xpi/com/sap/engine/interfaces/messaging/api/MessageKey.html
Regards!

Similar Messages

  • Using wildcards (*) in sender file adapter - FTP type

    Hi guys!
    Dooes it work using wildcards in sender file adapter (FTP type(!) (filesystem obviously work))? I tried it and it failed. it works only for exact name..
    I read some articles about FTP and the result is, that ftp work always only with 1 file, so I'm wondering, if this is possible.
    Thanks for info!
    Olian

    Thanks for all replies..
    I know of course, that * can be used, I use it in many scenarios too. But on a FileSystem. It is not working if the sender type is FTP.
    *, ., *.dat, ...  nothing like that works..  Just exact file name.
    I am able to pick up file, if I specify it's exact name, so there should be no problem with permissions..
    Please, I'd appreciate one reply with comfirmation: yes, we are using asterisk (*) , we access source files via FTP and they are processed.
    Is there anybody with this experience, that it works?
    Thank you!
    Olian

  • Sender File Adapter - FTP

    XI is picking up While File is being written in the Specified Directory. XI uses File adapter ( FTP transport Protocal ) . If file being written is very large ( It may take couple of minutes ) XI picks it up in parts for every 1 minute ( It was configured like that ) and try to send over Which is not correct. Is there any workaround to this issue. In PI 7.0, for NFS file system,  SAP included modification check but it doesn't work for ftp file adpater. Basically XI should wait to pickup file until the file written completely in the Source System.
    Anyone have any Idea how to overcome this issue ?

    Hi,
    You could use the Advanced mode checkbox in the file adapter, to specify the time the adapter has to wait, before it checks if the file has been modified.
    In case, the file has been modified, after the adapter read the file, the data in the adapter cache is discarded and the updated/modified file is taken from the source path specified.
    This would work, only if you have not specified "recordsets per message" during content conversion.
    Regards,
    Smitha.

  • Anonymous login in sender,reciever file adapter

    hi all xi's
    i dont know what is the need of anonymous login option in sender,reciever file adapter and the other thing is if i use check anonymous login there is no option for
    specifing username,pwd,ftp server ip.
    early anser will be appreciated.
    bye.
    regards.
    seeta ram.

    Hi,
    when you configure your FTP server you can opt for anonymous login.
    It means anyone can log on to this server just by using the IP address.
    No user creation.. so ..No need for user id or pwd. i mean no authentication.
    FTP connection parameters.. i.e. server n port will always be there if you are going for FTP.
    It wont ask for these if you select NFS.
    Being Anonymous only removes the user id n pswd option.
    Anonymous login is "Never suggested"..Pretty insecure..
    Dont forget to award SDN points Seeta.
    Regards
    Pushkar
    Message was edited by:
            pushkar anand

  • How to send a file from FTP to external server

    My requirement is to send a file from FTP to D3(External) server.
    Now I am able to store the file in Appln server.
    I want to send the file created by the program thru FTP to D3 server.
    I know the username,Password,HostID,RFC destination details.
    How to send the file from FTP to D3.
    If u have any program,Plz send it...
    I dont want the function modules name...I want the example code ....
    Thanks in advance.

    Hi Sumi,
    You could do it so that you create a .bat or .cmd script to your server which does your ftp transfer.
    To do this you must use sm69 to create a external operating system command which you can call from FM SXPG_COMMAND_EXECUTE. To SXPG_COMMAND_EXECUTE you the file you need to transfer as a parameter.
    What happens is that your abap program passes the file to windows batch script (.bat .cmd) which will then do the transfer for you.
    Here's a sample of ftp-script for windows:
    echo open IP_ADDRESS_TO_YOUR_SERVER > c:zftp_transfer.ftp
    echo USERNAME>> c:zftp_transfer.ftp
    echo PASSWORD>> c:zftp_transfer.ftp
    echo put YOUR_FILE>> c:zftp_transfer.ftp
    echo quit>> c:zftp_transfer.ftp
    ftp -s:c:zftp_transfer.ftp
    also take a look here for more details:
    http://support.microsoft.com/?kbid=96269
    Ok, this might be a bit trivial but if your server is unix/aix etc.. Instead of using batch script you must do a shell script.
    Regards,
    Ville

  • Translation Error not happening in File Adapter Inbound

    I have been working on a requirement where the file adapter picks up the file and gives to the BPEL for processing the data.
    So, in order to do Error Handling for file adapter, i have been reading the Oracle documentation for technology adapters. In that, some of the
    points which i felt valuable for my error handling when using file adapter are the uniqueMessageSeparator property, fault-policies for rejected messages,
    and one of the action for rejected messages could be writing the payload to a file or invoking any other webservice. .
    In my composite, i have configured the file adapter as a service for reading files, and i defined the xsd using the native format builder....If i put some data like 'aaaa' in the attribute of type integer , the .csv file is being picked up and its being passed to the BPEL without any error ? I believe there should be a translation error...right...
    But i am not getting the error, please tell me if anything is wrong in my xsd....
    Here is my xsd....
    <?xml version="1.0" encoding="UTF-8" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
    xmlns:tns="http://TargetNamespace.com/InboundService"
    targetNamespace="http://TargetNamespace.com/InboundService"
    elementFormDefault="qualified"
    attributeFormDefault="unqualified"
    nxsd:version="NXSD"
    nxsd:stream="chars"
    nxsd:encoding="US-ASCII"
    nxsd:hasHeader="true"
    nxsd:headerLines="1"
    nxsd:headerLinesTerminatedBy="${eol}"
    <xsd:element name="names">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="name" minOccurs="1" maxOccurs="unbounded">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="FirstName" type="xsd:string" nxsd:style="" />
    <xsd:element name="LastName" type="xsd:string" nxsd:style="" />
    <xsd:element name="Number" type="xsd:integer" nxsd:style="" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    In another composite, my file adapter is picking up the .xml file and if i put any wrong data over there, that is working fine, i am getting the trasnlation error, but only here in the case of csv file, i am not getting the error. Experts, please help me in this regard...I am using SOA 11G
    Thanks,
    Naresh

    pls help....

  • SENDER FILE ADAPTER (FTP) ERROR

    Hi,
    Iam getting the following error in sender file adapter:
    Could not process due to error: com.sap.aii.adapter.file.ftp.FTPEx: 550 *** ERROR *** NO BATCHES FOR TRANSMISSION
    Could anyone help me in this.
    Thanks &Regards,
    Kiran

    Hi Kiran,
    This problem is not related to PI but rather related to FTP server settings.
    Try changing the name of the file in your adapter settings to a string without any dots and ".
    Try this and let me know if its successful.
    Regards,
    Divya

  • Sender File Adapter - FTP Connection Error 530

    Need help!!!
    I am getting the following error in XI when I try to connect to an ftp server.
    "An error occured while connecting to server xxx.xx.x.xx:xx. The FTP server returned the following error message:'com.sap.aii.adapter.file.FTPEx: 530 Can't open passive connection---(4013)'. For details, contact FTP server vendor"
    When I try the FTP connection on the OS level I am able to log in, but through XI I am unable to.
    Has anyone seen this error before?

    I have seen Error Code 530 earlier, it is typically related to login related issues.
    Check if the user mentioned in the Comm Channel has the correct password and read as well as write rights on the Server.
    The most likely problem is with the User Credentials or Authorizations

  • Sender File Adapter (FTP Protocol)

    Hi Every Body,
    I have a problem in using Sender File Adapter of (FTP Protocol Type)
    I have given all required settings to get connected to the FTP Server.
    When i give ( Source Directory and Exact File Name ex : MDMERP.xml)
    File gets picked up.
    But When i give (Source Directory and Exact File Name ex : *.xml)
    it gives below exception
    Error occurred while connecting to the FTP server "mdmerp6:21": java.net.ConnectException: Connection refused: connect
    Strange any guess !! :(((
    Regards
    Srinivas

    Hi,
    If that is connection error then it should have not allowed to pick up when i have given the specifif file name ,
    .xml is too not working
    my problem all starts if i use other than file name declarartion it throws error
    of below kind
    Error occurred while connecting to the FTP server "mdxxxp6:21": java.net.ConnectException: Connection refused: connect
    Can i use " Advanced Selection of Source File" and make it run\
    With regards
    Srini

  • File Adapter - FTP Error

    Hi,
    I have a Sender File Adapter using FTP which polls a server every 60 seconds looking for a file. Intermittently the adapter will connect and pick up the waiting file. However, more often than not it gives an error:
    An error occurred while connecting to the FTP server 'xx.xx.xx.xxx:21'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 426 Unexpected reply codeConnection closed; transfer aborted.'. For details, contact your FTP server vendor.
    The connect mode is Permanently and the transfer mode is Binary.
    Any ideas ?
    PaulC.

    Monica,
    Can you explain the difference between ACTIVE and PASSIVE and why changing to ACTIVE may get rid of this issue ? Have looked at the help.sap.com and it doesn't give too much detail on these settings.
    Thanks
    PaulC.

  • Failover solution for Sender File Adapter (FTP)

    Hi guys,
    I have a scenario FTP->Idoc. Is it possible within PI to create a functionality, that if a connection to one FTP fails, it will switch to another FTP?
    Thank you,
    Peter

    Hi,
    You may maintain two seperate Sender adapters with seperate FTP server and fix the polling interval to sequence the calling of file.
    But if the file is available on both the FTP servers then there will be two calls always.
    So you need to maintain the file in any one of the FTP server.
    But this is just the manipulation, not the precise solution. You may go for BPM also
    In communication channel there is no such feasibility. Probably you may need to go for customized adapter modules.
    Thanks
    swarup
    Edited by: Swarup Sawant on Sep 2, 2008 11:42 AM

  • File Adapter FTP Error : 501

    Hi All,
    I am getting following error in the communication channel for File Adapter.
    'com.sap.aii.adapter.file.ftp.FTPEx: 501 IP Address for data destination doesn't match client's.'
    Communication channel details are as follows -
    FTP protocol is used with Port 21.
    Data connection - Active
    File type : Binary.
    The same interface is working fine in Development, Quality and Pre-Prod environments.
    This issue is coming only for Production FTP server.
    From the error text, it appears as a network issue.
    Please to let me know if anyone has came across such issue earlier, and what the the possible reasons - solutions to resolve this.
    Thanks a lot.
    Regards,
    Minal

    >
    Minal Vaidya wrote:
    > Hi All,
    >
    > I am getting following error in the communication channel for File Adapter.
    >
    > 'com.sap.aii.adapter.file.ftp.FTPEx: 501 IP Address for data destination doesn't match client's.'
    >
    > Communication channel details are as follows -
    > FTP protocol is used with Port 21.
    > Data connection - Active
    > File type : Binary.
    >
    > The same interface is working fine in Development, Quality and Pre-Prod environments.
    > This issue is coming only for Production FTP server.
    >
    > From the error text, it appears as a network issue.
    > Please to let me know if anyone has came across such issue earlier, and what the the possible reasons - solutions to resolve this.
    >
    > Thanks a lot.
    >
    > Regards,
    > Minal
    this seems to be something to do with your firewall... you can have your network team involved so that the can work a solution.
    a good read: http://lists.opensuse.org/opensuse-security/1999-11/msg00099.html

  • File Adapter: FTP issue

    Hello,
    There is a problem with the file adapter of the XI30 SP14:
    It is set to get a file from a server X using a FTP protocol.
    INT_001_V01_COM_CTDCLNT600_FILE_SENDER
    Sender Adapter v2300 for Party '', Service 'CTDCLNT600':
    Configured at 2006-01-16 15:13:52 EST
    History:
    - 2006-01-16 15:23:54 EST: Polling interval started. Length: 60.000 s
    - 2006-01-16 15:23:54 EST: Processing finished successfully
    - 2006-01-16 15:23:52 EST: Processing started
    - 2006-01-16 15:22:54 EST: Polling interval started. Length: 60.000 s
    - 2006-01-16 15:22:54 EST: Processing finished successfully
    It seems everything is working fine, but the in the SXMB_MONI transaction, no message appears.
    I have accessed the FTP manually and I have downloaded the file, so the connectivity issue is descarted.
    Any suggestion.
    Jesus Barba Lobaton

    Hello all,
    The current configuration of the Sender file adapter is:
    Transfer protocol: FTP
    Message protocol: File Content Conversion
    Adapter Engine: Integration Server
    Source Directory: /out
    File: D_P.DAT
    In FTP: the file D_P.DAT is placed under /out directory
    Server: Server Internal IP
    Port: 21
    Connection security: None
    User: userX
    Pass: FTPuserX
    Quality of Service: Exactly once
    Poll Intervals: 60
    Processing mode: Delete
    File Type: Binary
    How can I verify a log of the processing process? as the SXMB_MONI transaction does not show anything.
    The most frustrating of all, is no error message appears. I have verified the XI, APPS and default trace logs with log viewer but there is nothing.
    I have also checked this thread but none of the solution provide solved the issue
    Pbm in File adapter..Post Sp14
    OS: Windows 2003
    Any idea?
    Jesus

  • FTPEx: 501 Syntax errors in parameter in File Adapter

    Hi All,
      I have a scenario idoc to file when I try sending file through the FTP connection I got the below error
    An error occurred while connecting to the FTP server 'ftp-gw.dx.dxxxx.com:21'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 501 Syntax errors in parameter.     usage: %[recipient id]%[APRF]       where either [recipient] or [APRF] can be omitted.            (to change your current default SEND relationship).            %% (places you in your 'HOME' TR).   &['s'|'single'] ('get' command gets single file).   &['m'|'multiple'] ('get' command gets multiple files). '. For details, contact your FTP server vendor.
    I have gone through the forum below which is also unanswered
    FTPEx: 501 Syntax errors in parameter - Any Ideas...
    Note: Luis Melgar and Satish Reddy please let me know if this problem is solved and also please share with me if any discussion you have in offline
    Regards,
    Senthil.

    Hi Anand,
    Not sure whether I need to used the variable substituion but the user as specified to send file as
    PUSHING FILES TO FTP Server
    put localfilename %localfilename%CITISECUFLATNA%CITIGPASSIN%%B
    currently I specified in comm. channel as
    File Access parameters
    Target Directory %xi_output.txt%CITISECUFLATNA%CITIGPASSIN%%B
    Unchecked the checkbox Create Target Directory
    File Name Scheme xi_output.txt
    Please let me know if any more details required.
    Regards,
    Dhill

  • Getting Error while running a file adapter.

    Hi all,
    I am doing a small application where I need to read an image from a shared path and send the base64code of that image in response. For that I am using File Adapter and Read
    operation. I have just hard coded the image name didnt give any wild card or expressions. I generated a service which is a proxy using the jca of that File Adapter. I added a stage
    replacing the response body with the opaque element of the request body. When I run the proxy I am getting something like *"The invocation resulted in an error: "* in response
    and in the stack trace I am getting *"Failed to set the value of context variable "body". Value must be an instance of {http://schemas.xmlsoap.org/soap/envelope/}Body."* as the fault
    reason I am unable to detect where exactly I am going wrong. Kindly help me in resolving this.
    Thanks,
    Phanindra.

    Not sure why you want to replace. Since the response of the proxy would remain to hold the request body by default.
    If you have stored the opaque element in a variable ($var_opaque), then you can do the following.
    XPath : .
    In variable : body
    Expression : $var_opaque
    Check - "Replace node content"

Maybe you are looking for

  • Can't open Adobe Reader XI

    I am unable to open Adobe Reader XI on my new PC with Windows 8. Everytime I open a file, it just hangs and says (Not Responding) and I am forced to close the file. I have even uninstalled and reinstalled the program, but the problem persists. When I

  • Color Looks Different in Aperture Viewer Compared to Full Screen

    The color in my photos looks different depending on how I view them. In Aperture's Viewer and in Photoshop Elements 6, it looks what I consider to be normal. In Aperture's Full Screen view, and in other applications such as Preview and Safari, the co

  • Oracle ODC error :Error Initializing for Scan for ISIS

    Hi , I have installed ODC on my local , I have uninstalled and reinstalled ODC on my local machine. When I open the Oracle Document Capture it was popuing up the following error 1. Error Initializing for Scan for ISIS The following error occured load

  • Is there a fast way of doing the initial TM backup?

    Does anyone know if the first TM backup to Time Capsule can be done by some faster method than wireless ? USB or Ethernet ? Thanks - Michael

  • Netctl bridge with static ip

    Hey, At the moment, I have a static IP ethernet connection with netctl that works fine (i.e. I can access the internet). Now, I'm trying to set up a software access point as described here: https://wiki.archlinux.org/index.php/So - cess_Point Hostapd