Error on file adapter (GENERAL_ERROR on XI_J2EE_ADAPTER_XI_HANDLER )

Hi Experts,
I have just configured a sender file adapter  with content conversion in a PI 7.0. I will try to explain the problem:
1. I put the text file on the selected folder, to be taken.
2. The file is taken from the folder and archived in the archive folder.
Until here everything works fine, but from here:
- I can't watch the message in the sxmb_moni
- I can watch the message in the message monitoring in the Runtime Workbench. Here I can even see the XML well formed(the text file have been processed correctly)
The error log:
Message Data
Attribute Value
Engine Adapter Engine
{Status System Error
Repeatable Yes
Cancelable Yes
Error Category XI_J2EE_ADAPTER_XI_HANDLER
Error Code GENERAL_ERROR
Does anybody know where will be the error?
Regards
Gonzalo

Hi,
   please check the following links related to your error category.
File (xml)>>xi>>IDoc
Problem in JDBC Reciver Channel
Problem in Webservice -> XI -JDBC
regards
mahesh.

Similar Messages

  • Error-Receiver File Adapter using Variable substitution when file is empty

    XI Experts,
    We are on PI 7.0, SP14.
    We are using variable subtitution to get the filename from source message. This works fine as long as we have data in the payload for filename element. But we have a scenario where we don't have to create file when certain condition does not exists in source message so in the message payload filename element will not exists in such condition and file will be empty and we should not create file.
    Parameter in the communication channel for Handling empty message is "Ignore".
    Does anyone knows how to handle this scneario. We don't want to default any file name in the message mapping if source file name element does not exists.
    We are following getting error in the Adapter engine.
    MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: The following variable was not found in the message payload: file: com.sap.aii.adapter.file.configuration.DynamicConfigurationException: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: The following variable was not found in the message payload: file
    Thanks
    MP

    You can implement this by writing the module to throw an exception or whatever method you want to execute.
    If you don't want to receive an error message then module is suitable for you.
    Gaurav Jain

  • Receiving "Invalid char in text." error from file adapter

    I'm testing a file adapter and am receiving the following error:
    Invalid char in text.
    The invalid character seems to be the ascii Record Separator character, Hex 1E, HTML 

    Is it possible for me to modify the file adapter schema to handle this character?

    The HTML description should have been this (minus space characters)
    & # x a ;

  • Getting error in File adapter while using ChunkSize

    Hi,
    I am trying to move a large file using the ChunkSize property of the file adapter as shown below. However I am getting the error during the run time in the SOA server.
    Code used:
    <adapter-config name="SyncReadFile" adapter="File Adapter" wsdlLocation="SyncReadFile.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
      <connection-factory location="eis/FileAdapter"/>
      <endpoint-interaction portType="SynchRead_ptt" operation="SynchRead">
        <interaction-spec className="oracle.tip.adapter.file.outbound.FileIoInteractionSpec">
          <property name="DeleteFile" value="true"/>
          <property name="PhysicalDirectory" value="C:\JDeveloper\mywork\JCAPs\ChunkFileRead\Input"/>
          <property name="FileName" value="overwriteme.txt"/>
          <property name="ChunkSize" value="55"/>
        </interaction-spec>
      </endpoint-interaction>
    </adapter-config>
    Error:
    Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'SynchRead' failed due to: Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "Could not instantiate InteractionSpec oracle.tip.adapter.file.outbound.FileIoInteractionSpec due to: Cannot set JCA WSDL Property. Error while setting JCA WSDL Property. Property setChunkSize is not defined for oracle.tip.adapter.file.outbound.FileIoInteractionSpec Please verify the spelling of the property. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution.
    Please suggest a resolution to this. I am using Jdeveloper 11.1.1.7.0

    Thank Daniel for the reply.
    But what is the impact user messaging service has here.  Can it happen that my oracle.tip.adapter.file.outbound.FileIoInteractionSpec is corrupted?
    Thanks
    Santanu

  • Error with file adapter

    HI ALL,
           Our Secnario is Bapi to File.Hear in the Target side we have two target folders.For that I am internally place my file in the PI and pick up the file from PI and posted to end directories.For that Hear i am using 2 flows form BAPI to FILE.But problem is when i am monitoring the Receiver comm channel at target PI system its shows some error like    Unable to clone File Adapter receiver channel for parallel processing and files are not posted in the target system
    please provide the better solution for this issue
    Thanks & Regards,
    Satya

    Hi,
    I am internally place my file in the PI and pick up the file from PI and posted to end directories
        Elaborate that process.
    How to split the target directories. In this scenario is BPM? or Any rule implemented in Receiver determination.
    Regards
    Vijaykumar

  • Error in File Adapter

    I am getting an error in the Sender File adapter as "Configured source directory does not exist". Any idea?
    FYI..
    @source structure path is
    IP address\Orders
    @File Name is orders12122006.xml
    @Transport protocal is File System and MP is File,processing mode is delete.
    @I can't see any messages in SXMB_MONI and Message monitoring
    @I got the above error message in File comm channel of Adapter monitoring.
    @I tried the source structure as D:\Orders, \Orders, D:/Orders but no luck
    @I am in the LAN and able to map the XI server to my PC.I can read and write to the specified folder of the server
    @My System OS and server OS are both running on Windows.
    Thanks in advance
    Raju

    HI sridhar,
    for making your system as FTP Location:
    Follow weblog: /people/shabarish.vijayakumar/blog/2006/08/01/along-came-a-file-adapter-mr-ftp-and-rest-of-the-gang
    Then you can use ipaddress of your system.
    Put your file in C:\ftproot folder. and give source path as '/'.
    It should work.
    =>If you want to use NFS only, Give ipadress of XI Sytem and place file at particular location D:\ORDERS.
    Cheers,
    Vijay Raheja

  • Error in File Adapter: no alert generated

    Hi folks,
    I have a problem with monitoring our file adapters.
    In one scenario we occasionally get the following error:
    Fehler bei der Konvertierung des Dateiinhalts in XML an Position 0: java.lang.Exception: ERROR converting document line no. 2 according to structure 'eTSFlatDetailStructure':java.lang.Exception: ERROR in configuration / structure 'eTSFlatDetailStructure.': More elements in file csv structure than field names specified!
    So I have build an alert category with me as recipient and an alert rule in Runtime Workbench with the following attributes:
    - Rule active
    - Alert-category as I have created above
    - Bound to Message: no
    - Error occures in Adapter Engine -> File Adapter
    I have tested the Category... it works... but the rule does not fire any alert.
    Has anyone an idea how to solve this problem?
    Thanks
    Greetings
    Habib Sarbas

    Hi,
    the report generates following output:
    20090507072803,7018210          0  07.05.2009    09:28:03      0AFE24F09F47460132CAD06697A18964
    *Error records received from AF on host rd-srxt0_RXT_00 (sysid: RXT client:  ). Try to send Alert...
    20090507072803,7045260          0  07.05.2009    09:28:03      0AFE24F09F47460132CAD06697A18964
    *Find rule for (From:vkeTSFlatBPM:vkeTSFlatBPM_var01_eTSSender:mi_eTSFlat_var01_out_asyn:urn:rsd-de:xi:ZRSD_XI_01:vkeTSBPM To::::)
    20090507072803,7063530          0  07.05.2009    09:28:03      0AFE24F09F47460132CAD06697A18964
    *No matching rule found
    I also tried to specify the conditions with service, interface and namespace, but this is only possible if i switch bound to message to yes...
    but the error occurs in file adapter... there is no message generated...

  • Minoccurance not satisfied error in file adapter, in complex native builder

    hi ,
    i need to read a file of format
    header
    data
    tailer
    for example
    PurordPurItmPurDes
    PO101Z1003refrigrator
    PO102z1004washingmachine
    PO103Z1003refrigrator
    PO104z1005sterio
    Purdate25/12/2012
    while creating complex format using file adapter. i am getting following error
    min occurance not satisfied.. main problem is if i kept unbounded for the data records, its showing me the while reading last record. if i specify data records with some defined value in maxoccurance . i can generated nxsd. otherwise i was popped up with min occurs not satisfied for the last record
    Edited by: 947453 on Jul 23, 2012 1:25 AM

    Hi,
    Not sure where you when/where you getting that message but I can tell you that the wizard can help you to a certain point, for more complex translations do the best you can with the wizard and then go to edit the XSD source.
    This document has plenty of samples...
    http://docs.oracle.com/cd/E23943_01/integration.1111/e10231/nfb.htm#CIAHICFD
    Cheers,
    Vlad
    Give points - it is good etiquette to reward an answerer points (5 - helpful; 10 - correct) for their post if they answer your question
    https://forums.oracle.com/forums/ann.jspa?annID=330

  • System error in File Adapter

    hi experts,
    I have a File to File (FTP) scenario.
    The message caught the system error in the Adapter engine with out any error message.
    the last message noted in the adapter engine is
      Success File adapter receiver: processing started; QoS required: ExactlyOnce
    Please suggest to resolve the error.
    Thanks in advance,
    MK

    Raj,
    As i mentioned above,
                                      the last message noted in the (audit log)adapter engine is
    Success File adapter receiver: processing started; QoS required: ExactlyOnce
    Agasthuri Doss,
                               There are no error messages.
                   It shows the message: Processing started
                                                     Polling interval started. Length: 60.0 seconds
                                                      Processing finished successfully
            And the file is deleted from the source directory.
    Edited by: mk.xi on Feb 25, 2008 1:51 PM

  • Error in File Adapter Monitoring

    Hi,
    I have created a Sender Communication Channel to pick the file:
    The following error message is being displayed in Adapter Monitoring:
    Sender Adapter v2622 for Party '', Service 'BS_TRD_PILOT_YOGS':
    Configured at 2006-12-19 05:52:17 UTC
    History:
    - 2006-12-19 05:56:01 UTC: Retry interval started. Length: 60.000 s
    - 2006-12-19 05:56:01 UTC: Error: Conversion of complete file content of 'OB10_input.xml' to XML format failed around position 0: Exception: ERROR consistency check in recordset structure validation (line no. 14: missing structure(s) before type 'E1EDK14'
    - 2006-12-19 05:56:00 UTC: Processing started
    - 2006-12-19 05:55:01 UTC: Error: Conversion of complete file content of 'OB10_input.xml' to XML format failed around position 0: Exception: ERROR consistency check in recordset structure validation (line no. 14: missing structure(s) before type 'E1EDK14'
    - 2006-12-19 05:55:00 UTC: Processing started
    Please anybody do the needful.
    Thanks,
    Yogi.

    Hi Yogi,
    Just go thru your source structure once again.Such type of errors usally come when your source structure is not proper adn also when the parameters for comm'n channel are not mentioned properly.
    Usually the Content Conversion Parameters(recordset structure and recordset sequence fileds).
    regards
    Madhu

  • Xml file error in file adapter

    Hi Experts.
    In my sceanrio i am Using File dapter. this adapter pick the Xml file.
    here my client provieded sample Xml file (this Xml file don't have the  Url and Xml version).
    I am getting mapping error. nothing is wrong with mapping.
    Client proveded.
    - <MESSAGE>
      <TABLENAME>ZMPSXMSGDET</TABLENAME>
      <ACTION>I</ACTION>
    - <RECORD>
      <XMTYPE>ID</XMTYPE>
      <XMID>2</XMID>
      <ACCOUNTNUMBER />
      <CONSUMERNAME />
      <POSTCODE />
      <ACTIONDATE />
      <ACTIONTYPE />
      <USERID />
      <SENDINGPARTYTYPE />
      <DELIVERYMETHOD />
      <INTENDRECIPIENT />
      <SUBMITDATE />
      <BILLINGOPTION />
      <CONTENTFORMAT>XML</CONTENTFORMAT>
      <NEWSUPPLIERID />
      <COMPRESSED>Y</COMPRESSED>
      <NEXTINVOICEDATE />
      <UPDATEDON />
      <UPDATEDBY>SonicMQ</UPDATEDBY>
      <RAWMSG_LEN>33366</RAWMSG_LEN>
      <DATA>UEsDBBQACAAIAC6kKDoAAAAAAAAAAAAAAAArAAAAS</DATA>
      </RECORD>
      </MESSAGE>
    I am getteting blow error message: in SXMB_MONI
    *<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>*
    *- <!--  Request Message Mapping*
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
      <SAP:P1>com/sap/xi/tf/_MM_ZMPSXMSGDET_</SAP:P1>
      <SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException</SAP:P2>
      <SAP:P3>Fatal Error: com.sap.engine.lib.xml.parser.Parser~</SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_MM_ZMPSXMSGDET_: Fatal Error: com.sap.engine.lib.xml.parser.Parser~</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Edited by: srinivasreddy p on Jun 12, 2009 10:28 AM

    Hi,
    I am getting following error in recvier proxy.
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Inbound Proxy
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIProxy</SAP:Category>
      <SAP:Code area="ABAP">PARSE_APPLICATION_DATA</SAP:Code>
      <SAP:P1>Request Message</SAP:P1>
      <SAP:P2>CX_ST_MATCH_ELEMENT</SAP:P2>
      <SAP:P3>/1SAI/TXS17E9317D0B8ACCD31C62</SAP:P3>
      <SAP:P4>XML Bytepos.: 12 XML Path: MESSAGE(1) Error Text: System expected the element 'MT_ZMPSXMSGDET_RECV'</SAP:P4>
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error during XML => ABAP conversion (Request Message; error ID: CX_ST_MATCH_ELEMENT; (/1SAI/TXS17E9317D0B8ACCD31C62 XML Bytepos.: 12 XML Path: MESSAGE(1) Error Text: System expected the element 'MT_ZMPSXMSGDET_RECV')) System expected the element 'MT_ZMPSXMSGDET_RECV'</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>

  • Error in File adapter Module.-- the whole lookup name is localejbs/localjbs

    Hi All,
    Iam just trying to do File to IDoc scenario using Seeburger Modules.File is picked and when it enters into modules , it is showing the below error.
    Success Channel CC_SND: Send binary file  "/sapint/testout/Input_Test". Size 2568 with QoS EO
    Error Attempt to process file failed with com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Path to object does not exist at localjbs, the whole lookup name is localejbs/localjbs/SeeClassifier.
    The Steps which i followed in Module are as follows.
    ModuleName                                       ModuleKey
    localjbs/SeeClassifier                             classifier
    localejbs/CallBicXIRaBean                      bic
    localejbs/Seeburger/MessageSplitter       splitter
    ModuleKey    ParamterName       ParameterValue
    bic  mappingName             AUTO
    bic  destSourceMsg           MainDocument
    bic  destTargetMsg            MainDocument
    bic  split                            true
    bic  classifierAttID              classifierAtt  
    classifier       destSourceMsg       MainDocument
    classifier       attID                       classifierAtt
    classifier       showInAuditLog       true
    If anyone has idea what might be wrong?? kinldy share the same.
    Its urgent for me.
    ThankYou
    Seema.

    Hi,
    I think you have done a typo error. is it not
    localejbs/SeeClassifier classifier*
    To find the correct JNDI lookup name, log in to Visual Administrator of the J2EE Engine and in server node look for the JNDI Registry Service.Spot your desired bean and fetch the whole JNDI name form there.
    Regards,
    Sudharshan N A

  • Receiver file adapter error for special char.

    I am using MTB in my receiver file adapter. I am getting a special character from source system at end of the string. How to resolve this type of error u2013 please advice.
    This error is not coming for every message.
    Error message:
    Column value xxxx   too long - must stop, probably configuration error in file adapter
    Thanks
    Vick

    Hi,
    Itu2019s basically IDOC to file scenario.
    This error is coming for name field.
    What I am thinking at this stage to do changes in MTB by define parameters like (NameA.enclosureConversion)

  • Error in reciever file adapter , where i am getting file name dynamically

    hi all,
    error in reciever file adapter , where i am getting file name dynamically, please help me in this isssue , i am trying for a long time
    MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'ns0:MT_eINVOICE_RECV' found in document', probably configuration error in file adapter (XML parser error)': java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'ns0:MT_eINVOICE_RECV' found in document', probably configuration error in file adapter (XML parser error)'

    i am getting new error
    MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Channel has not been correctly initialized and cannot process messages
    this is my strcuture
    and i have changed my structure
    <HEADER>
    <ADDRESS1/>
    <ADDRESS2/>
    <ADDRESS3/>
    <ADDRESS4/>
    </HEADER>
    <HEADER_GST>
    <TAX1/>
    <TAX2/>
    <TAX3/>
    </HEADER_GST>
    <LINE>
    <QTY/>
    <UOM/>
    <UNIT_AMT/>
    <CHARGE_TO_DT/>
    </LINE>
    <FILENAME>
         <FILENAME/>
    </FILENAME>
    i have given the recordset structure as
    HEADER,HEADER_GST,LINE,FILE

  • 0 byte txt file using receiver File Adapter

    HI,
    My scenario is Flat File to Fixed Length File.
    Mapping : Based on the condition Reciever node need to generated , In some cases it wont generate any node ( No data )
    Receiver Communication channel :  I used FCC for Fixed length Format.
    Problem : When i am generatingf the receiver file with some data it executes. But when i am generating the file with no data , it fails in the receiver comminication channel.
    Could not process due to error: java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'ns0:Message1' found in document', probably configuration error in file adapter (XML parser error)'
    I need the receiver file to generate with 0 bytes when there is empty data.
    can any one help on this.
    Thanks

    Hi,
    >>Problem : When i am generatingf the receiver file with some data it executes. But when i am generating the file with no data , it fails in the receiver comminication channel.
    What happens in this case is, when you send a blank file to PI it processes but once it went to Receiver Adapter, it looks out for some fields because of the FCC settings. So it throws an error/exception because some fields are expected and it is not coming. Because of that you getting below exception.
    Secondly, Once you send data with few values or fields it will process in Receiver file adapter FCC and if there is some error it throws error. this is why you getting exception in moni, and other places.
    Regards
    Aashish Sinha

Maybe you are looking for