Acknowledgment messages from file 2 jdbc adapter (DB2)

Hi everybody
in a File 2 JDBC scenario I need to set up a technical Ack, at integration server level. In order to achieve this I configured  the integration engine with category "RUNTIME" in the following way:
Parameter: ACK_SYSTEM_FAILURE value "1" as appears from Help on line documentation.
But I didn't reach any result.
Do you know how is possible to set up <b>SystemErrorAckRequested=</b>"   "  to "true" in  <b>SAP:ReliableMessaging</b> of the SOAP header,in an inbound message,  even though the sender is a file adapter  ?
Thanks a lot in advance for any suggestions
Gianluigi Brenna

Hi Arnab,
       Pls find the solution in the following How to guides....
       [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a04cd6f9-9eb0-2a10-07b8-a0fc6e88f4d4]
       [https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/file%252bto%252bjdbc%252bstep%252bby%252bstep]
Regards,
RajeshKumar.D

Similar Messages

  • File to JDBC Adapter

    Hi All
    I am trying to configure File to JDBC Adapter to insert data in the database .I am having problem with message mapping.I  get the error with the statement field in mapping .Please can anyone let me know what mapping changes need to be done
    My Mapping is as follow
    SOURCE                                                          TARGET
    MT_INFO_DATA----
    >MT_JDBC_REC
    Header----
    > Statement
                                                               TABLENAME
    Update_insert----
    >Action
      T_EMPLOYEE(TABLE NAME)----
    > TABLE
                                                                   ACCESS
    EMP_NO----
    >EMP_NO
    COMP_ID----
    >COMP_ID
    BRANCH----
    >BRANCH
    Error: TransformException error in xml processor class: Error processing request in sax parser: Error when executing statement for table/stored proc. 'T_EMPLOYEE' (structure 'STATEMENT'): java.sql.SQLException: FATAL ERROR document format: structure 'STATEMENT', no key element found
    Please can anyone let me know what is to be mapped with the field STATEMENT.
    Thanks
    Amit

    Hi Bhavesh
    I did as suggested but still i am getting the following error
    Error: TransformException error in xml processor class: Error processing request in sax parser: Error when executing statement for table/stored proc. 'T_EMPLOYEE' (structure 'STATEMENT'): java.sql.SQLException: ORA-01861: literal does not match format string
    - 2007-05-24 06:21:17 IST: Processing started
    - 2007-05-24 06:07:48 IST: Error: TransformException error in xml processor class: Error processing request in sax parser: Error when executing statement for table/stored proc. 'T_EMPLOYEE' (structure 'STATEMENT'): java.sql.SQLException: FATAL ERROR document format: structure 'STATEMENT', no key element found
    - 2007-05-24 06:07:48 IST: Processing started
    - 2007-05-24 06:05:48 IST: Error: TransformException error in xml processor class: Error processing request in sax parser: Error when executing statement for table/stored proc. 'T_EMPLOYEE' (structure 'STATEMENT'): java.sql.SQLException: FATAL ERROR document format: structure 'STATEMENT', no key element found

  • Synchronus file to jdbc Adapter configuration.

    Hi ,
    I want to configure for Synchronus File to Jdbc Adapter.
    Can anyone tell me how to do it.
    hemant

    Hi,
    In this case you would definitely need one file sender and one jdbc receiver adapter.
    Create data taype and message type for file sender ,then create message interface for this message type.
    Then create datatype for receiver i.e. jdbc.
    For jdbc receiver there is one standard format as below:
    <root>
      <StatementName1>
    <dbTableName action=”UPDATE” | “UPDATE_INSERT”>
        <table>realDbTableName</table>
    <access>
    <col1>val1</col1>
    <col2>val2new</col2>
    </access>
    <key1>
    <col2>val2old</col2>
    <col4>val4</col4>
    </key1>
    </dbTableName>
    </StatementName1>
    Then create message type and message interface for this message type.This interface will be inbound and synchronous.
    Map your file message to jdbc receiver message.
    Then map interfaces.
    In ID create configuration scenario,assign file sending and jdbc receiver business system to this scenario.
    Then create file sender and jdbc receiver communication channel.Create receiver determination,sender agreement and receiver agreement.
    But if you want file synchronous scenario then,you need to use BPM for this.
    Thanks.

  • Error while retrieving data from sql using jdbc adapter

    hi all,
    i m working on one scenario where i m sending data using HTTP and receiver is jdbc adapter which is retrieving me data from sql server.
    i have checked the structure both for req and res.
    i m getting this error
    <SAP:Error>
    <SAP:Category>Application</SAP:Category>
    <SAP:Code>MAPPING.EXCEPTION_DURING_EXECUTE</SAP:Code>
    <SAP:P1>com/sap/xi/tf/_INF57285_DB_HR_RES_</SAP:P1>
    <SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException</SAP:P2>
    <SAP:P3>RuntimeException in Message-Mapping transformatio~</SAP:P3>
    <SAP:Stack>During the application mapping com/sap/xi/tf/_INF57285_DB_HR_RES_ a com.sap.aii.utilxi.misc.api.BaseRuntimeException was thrown: RuntimeException in Message-Mapping transformatio~</SAP:Stack>
    </SAP:Error>
    can somebody help me with this.
    Thanks & Regards
    Aruna

    thnks bhavesh i think i made it that way
    JDBC REQ  
      <ns:INF57285_DB_Request xmlns:ns="http://www.infosys.com/xi/training/hyd/57285">
      <Employee>
        <EmpDetails action="SELECT">
          <table>EmpDetails</table>
          <access>
            <Name />
            <EmpId />
            <Band />
            <Salary />
          </access>
          <Key>
            <EmpId>57285</EmpId>
          </Key>
        </EmpDetails>
      </Employee>
    </ns:INF57285_DB_Request>                        
      JDBC RES
    <ns:INF57285_DB_Request_response xmlns:ns="http://www.infosys.com/xi/training/hyd/57285">
      <Employee_response>
        <row>
          <Name>aruna</Name>
          <EmpId>57285</EmpId>
          <Band>A</Band>
          <Salary>4675776</Salary>
        </row>
      </Employee_response>
    </ns:INF57285_DB_Request_response>
    my hr req is which i mapped with DB req
    <ns:INF57285_HR_Req xmlns:ns="http://www.infosys.com/xi/training/hyd/57285">
      <REQUEST>
        <EmpNo>57285</EmpNo>
      </REQUEST>
    </ns:INF57285_HR_Req>
    my hr res is which i mapped with DB res
    <ns:INF57285_HR_Res xmlns:ns="http://www.infosys.com/xi/training/hyd/57285">
      <response>
        <row>
          <Name>aruna</Name>
          <Empld>57285</Empld>
          <Salary>4675776</Salary>
        </row>
      </response>
    </ns:INF57285_HR_Res>
    and interestingly i am not getting any error in sxmb_moni
    it's not showing any error
    plz suggest me something wht to do ....
    thnks & regards
    Aruna

  • Mail on successful processing of message in File-XI-JDBC scenario

    Dear All,
    I am working on File-XI-JDBC scenario. I want a mail to be triggered if the message is successfully processed at JDBC receiver side.
    Kindly guide me on how this can be acheived?
    reg,
    NJ

    Use a BPM.
    In the send step that is used to send the message to JDBC, request a Tech Ack.
    If positive Ack is returned trigger the email in a separate step.
    Check Michal's blog on BPM Acknowledgements that explains this in details.
    Regards
    Bhavesh

  • Processing messages from MQ by JMS adapter

    Hi,
    I have a JMS adapter which reads messages from MQ and invokes a real time service.
    I am facing a problem.
    Suppose after processing my 3rd message fails , i get the error
    com.acta.adapter.sdk.RecoverableOperationAdapterException: JMS GET OPERATION ERROR : TIMEOUT.UNABLE TO RECEIVE RESPONSE FROM THE INVOKED DATA SERVICES SERVICE.ADAPTER OPERATION TO CONTINUE.
    Now ideally the error messages should go into an error queue and the remaining messages should be processed.
    But the remaining messages are also not getting processed.All subsequent  messages after erroneous message also get into error q.
    I have set continue after error property(In operations configuration) to True.
    I am using Get operation for JMS adapter.
    Any idea what could solve this issue?

    Hi Manoj,
    I have a very similar if not identical issue,
    Error while running realtime jobs that read from JMS tables via JMS MQ adapter:
    15/11/12 09:10:08  JMS GET OPERATION ERROR : TIMEOUT.UNABLE TO RECEIVE RESPONSE FROM THE INVOKED DATA SERVICES SERVICE.ADAPTER OPERA
    TION TO CONTINUE.
    15/11/12 09:10:15  Communication Error. See real time job log for details.
    Dump available:
    https://sapmats.wdf.sap.corp/download/download.cgi?id=5C0KZAHA3RSXBJW3ABLMUUT2P5UUKWO2TM3EJDM5W2HGDZUDID
    Version of DS:14.0.3.273
    Any comments?
    Thansk and kind Regards,
    Kenneth

  • File to JDBC adapter , beginner in doubt

    Hi,
    i created a scenario JDBC as receiver and File as sender. Data should be inserted in mysql Databank.
    Msg Interface is defined as
    regards
    Hüsniye

    Hi,
    SQL  table insertion example:
    Below the sample .xsd of datatype that runs suceesfully  via the JDBC adapter.
    You must import this .xsd and study.
    In this datatype Vendor01  is tablename
    action is an attribute
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://borcelik.com/tbit40/ms_sql" targetNamespace="http://borcelik.com/tbit40/ms_sql">
         <xsd:complexType name="VendorMaster_insert_DT">
              <xsd:annotation>
                   <xsd:appinfo source="http://sap.com/xi/TextID">
                   fa3c1bd0ad8111d996a0001185be9a9f
                   </xsd:appinfo>
              </xsd:annotation>
              <xsd:sequence>
                   <xsd:element name="Insert1">
                        <xsd:annotation>
                             <xsd:appinfo source="http://sap.com/xi/TextID">
                             6f642270a5b411d999c1f82f0a0407da
                             </xsd:appinfo>
                        </xsd:annotation>
                        <xsd:complexType>
                             <xsd:sequence>
                                  <xsd:element name="Vendor01">
                                       <xsd:annotation>
                                            <xsd:appinfo source="http://sap.com/xi/TextID">
                                            6f642271a5b411d98e60f82f0a0407da
                                            </xsd:appinfo>
                                       </xsd:annotation>
                                       <xsd:complexType>
                                            <xsd:sequence>
                                                 <xsd:element name="access" maxOccurs="unbounded">
                                                      <xsd:annotation>
                                                           <xsd:appinfo source="http://sap.com/xi/TextID">
                                                           6f642273a5b411d9b62df82f0a0407da
                                                           </xsd:appinfo>
                                                      </xsd:annotation>
                                                      <xsd:complexType>
                                                           <xsd:sequence>
                                                                <xsd:element name="VendorNumber" type="xsd:string" minOccurs="0">
                                                                     <xsd:annotation>
                                                                          <xsd:appinfo source="http://sap.com/xi/TextID">
                                                                          6f642274a5b411d9ba32f82f0a0407da
                                                                          </xsd:appinfo>
                                                                     </xsd:annotation>
                                                                </xsd:element>
                                                                <xsd:element name="LastName" type="xsd:string" minOccurs="0">
                                                                     <xsd:annotation>
                                                                          <xsd:appinfo source="http://sap.com/xi/TextID">
                                                                          6f642275a5b411d9c92cf82f0a0407da
                                                                          </xsd:appinfo>
                                                                     </xsd:annotation>
                                                                </xsd:element>
                                                                <xsd:element name="SearchTerm" type="xsd:string" minOccurs="0">
                                                                     <xsd:annotation>
                                                                          <xsd:appinfo source="http://sap.com/xi/TextID">
                                                                          6f642276a5b411d9ca6bf82f0a0407da
                                                                          </xsd:appinfo>
                                                                     </xsd:annotation>
                                                                </xsd:element>
                                                                <xsd:element name="Currency" type="xsd:string" minOccurs="0">
                                                                     <xsd:annotation>
                                                                          <xsd:appinfo source="http://sap.com/xi/TextID">
                                                                          6f642277a5b411d9889cf82f0a0407da
                                                                          </xsd:appinfo>
                                                                     </xsd:annotation>
                                                                </xsd:element>
                                                           </xsd:sequence>
                                                      </xsd:complexType>
                                                 </xsd:element>
                                                 <xsd:element name="key1">
                                                      <xsd:annotation>
                                                           <xsd:appinfo source="http://sap.com/xi/TextID">
                                                           e20d53b0a5b811d98519f82f0a0407da
                                                           </xsd:appinfo>
                                                      </xsd:annotation>
                                                      <xsd:complexType>
                                                           <xsd:sequence>
                                                                <xsd:element name="VendorNumber" type="xsd:string">
                                                                     <xsd:annotation>
                                                                          <xsd:appinfo source="http://sap.com/xi/TextID">
                                                                          716d5130a5ba11d9b907f82f0a0407da
                                                                          </xsd:appinfo>
                                                                     </xsd:annotation>
                                                                </xsd:element>
                                                           </xsd:sequence>
                                                      </xsd:complexType>
                                                 </xsd:element>
                                            </xsd:sequence>
                                            <xsd:attribute name="action" type="xsd:string">
                                                 <xsd:annotation>
                                                      <xsd:appinfo source="http://sap.com/xi/TextID">
                                                      094ca410aa7a11d9ae7ccc950a0407da
                                                      </xsd:appinfo>
                                                 </xsd:annotation>
                                            </xsd:attribute>
                                       </xsd:complexType>
                                  </xsd:element>
                             </xsd:sequence>
                        </xsd:complexType>
                   </xsd:element>
              </xsd:sequence>
         </xsd:complexType>
    </xsd:schema>

  • Retrieving email messages from file instead of POP3, PHP, etc.

    I am reluctant to have an account password sitting in my code. Instead, I've taken the maildat file that sendmail uses to store mail for my account and mirrored it in a file that my application can read.
    I'd already written all the mail processing I wanted using the JavaMail API. Instead of accessing this file through a server feeding it to me through POP3, I now want to create Messages from the mail file directly.
    How do I do this? I can't find any JavaMail object constructors that take a file as source.
    Thanks,
    rocketscienceguy

    javax.mail.internet.MimeMessage
    public MimeMessage(Session session, java.io.InputStream is)
         throws MessagingException
    Constructs a MimeMessage by reading and parsing the data from the specified MIME InputStream. The InputStream will be left positioned at the end of the data for the message. Note that the input stream parse is done within this constructor itself.

  • "Please Acknowledge" message from menu

    Dear All
    Can u tell me anyone how to suppress the message "Please Acknowledge" from a form, when calling a report?
    for ur knid information my report run successfully using menu item.
    Arif

    hi
    try something like this.
    create on-message trigger.
    begin
    if
      abs ( message_code ) = 40400
    then
      clear_message;
      bell;
      message ( message_text, no_acknowledge );
    else
      message ( message_text );
    end if;
    end;please check out the following link.
    Link
    sarah

  • Not able to get the message from Queue using MQ adapter

    HI
    Using Mq adapter am able to put the message in a queue and am able to get the message if i select the schema type as opaque, but am not able to get the message if i specify any schema type and am getting timed out exception.
    Kindly help to proceed with this issue.

    Hi,
    Am also facing the same issue.
    I would be thankful if anyone can provide the solution

  • Unable to dequeue messages from queue by AQ Adapter

    Hi All,
    I am using XE database and I have created the datasource and JNDI for it in Weblogic Console. I am giving this databse connection in AQ Adapter. While deploying the composite, it is creating below error in EM console. Not sure where is the problem. Could someone please suggest what to do in this case.
    AdapterFrameworkImpl::endpointActivation - Endpoint Activation Error.
    The Resource Adapter AQ Adapter was unable to activate the endpoint oracle.tip.adapter.aq.inbound.AQDequeueActivationSpec:{SchemaValidation=false, QueueName=ETH_QUEUE, DatabaseSchema=HR} due to the following reason: javax.resource.spi.IllegalStateException: [Connector:199176]Unable to execute allocateConnection(...) on ConnectionManager. A stale Connection Factory or Connection Handle may be used. The connection pool associated with it has already been destroyed. Try to re-lookup Connection Factory eis/AQTest from JNDI and get a new Connection Handle.
    Please correct the reported issue and redeploy the BPEL process.
    at oracle.integration.platform.blocks.adapter.fw.impl.AdapterFrameworkImpl.endpointActivation(AdapterFrameworkImpl.java:513)
    at oracle.integration.platform.blocks.adapter.fw.jca.lifecycle.JCAEndpointActivation.performEndpointActivation(JCAEndpointActivation.java:637)
    at oracle.integration.platform.blocks.adapter.fw.jca.lifecycle.JCAEndpointActivation.activateInboundJcaEndpoint(JCAEndpointActivation.java:620)
    at oracle.integration.platform.blocks.adapter.fw.jca.lifecycle.JCAEndpointActivation.performActivation(JCAEndpointActivation.java:383)
    at oracle.integration.platform.blocks.adapter.fw.metadata.AdapterServiceRevisionRegistry$AdapterServiceRevision.endpointActivation(AdapterServiceRevisionRegistry.java:583)
    ... 50 more
    Caused by: javax.resource.spi.IllegalStateException: [Connector:199176]Unable to execute allocateConnection(...) on ConnectionManager. A stale Connection Factory or Connection Handle may be used. The connection pool associated with it has already been destroyed. Try to re-lookup Connection Factory eis/AQTest from JNDI and get a new Connection Handle.
    at weblogic.connector.outbound.ConnectionManagerImpl.checkIfPoolIsValid(ConnectionManagerImpl.java:442)
    at weblogic.connector.outbound.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:109)
    at oracle.tip.adapter.aq.v2.jca.AQConnectionFactory.getConnection(AQConnectionFactory.java:83)
    at oracle.tip.adapter.aq.v2.database.DBDequeueAgentFactory.createDBDequeueAgent(DBDequeueAgentFactory.java:43)
    at oracle.tip.adapter.aq.v2.AQEndpoint.activate(AQEndpoint.java:55)
    at oracle.tip.adapter.aq.v2.jca.AQResourceAdapter.endpointActivation(AQResourceAdapter.java:62)
    at oracle.integration.platform.blocks.adapter.fw.impl.AdapterFrameworkImpl.endpointActivation(AdapterFrameworkImpl.java:494)
    ... 54 more
    Thanks,
    Dhiraj Mishra

    A stale Connection Factory or Connection Handle may be used in SOA 11g
    Regards,
    Anuj

  • MQ Series - Error while reading messages from MQ in Sender adapter if EOIO

    Dear all,
    we've configured a scenario with a sending JMS-adapter (MQSeries). With configured Quality-Of-Service = EO everything works fine. If we switch to Quality-Of-Service = EOIO we get the following error message:
    com.sap.aii.adapter.jms.api.channel.filter.MessageFilterException: Could not assign next free EOIO sequence number for SC: OUTBOUND_TEST_MQ_SERIES_QUEUE_4__. Reason: Problem inserting b315acf4-61f3-42dc-3642-85450666fe91(OUTBOUND) into the database: java.lang.NullPointerException: DeliveryException: Could not assign next free EOIO sequence number for SC: OUTBOUND_TEST_MQ_SERIES_QUEUE_4__. Reason: Problem inserting b315acf4-61f3-42dc-3642-85450666fe91(OUTBOUND) into the database: java.lang.NullPointerException at com.sap.aii.adapter.jms.core.channel.filter.SendToModuleProcessorFilter.filter(SendToModuleProcessorFilter.java:105)
    Any ideas?
    Kind regards, Stefan

    We have the same issue, how did you solve yours?
    For us it works fine with EO but EOIO fails with the same error message...
    Kr,
    Frederik-Jan.

  • Configuring file and JDBC adapter using MAX DB

    Dear Experts..!!!
    The problem description is i need to store a text file in Database(MaxDB).....
    in receiver communication channel there is database connection in that i want to know what entrys to be done..... and plz do let me know is there any other things to be done to achieve the output.

    Hi Vinod,
           I also do not have idea about MaxDB, but you can refer these links. It will help you out in getting some more information about MaxDB and XI:
    <a href="/people/joerg.hoffmeister/blog/2006/12/07/maxdbsdn:///people/joerg.hoffmeister/blog/2006/12/07/maxdbsdn
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/maxdb">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/maxdb</a>
    Go through the home page of MaxDB on SDN, it has plenty of information to help you.
    Regards,
    Subhasha ranjan

  • Picking fragments of a message from MQ using MQ adapter

    Hi,
    We are using Oracle SOA suite 10.1.3.4.
    Is it possible to pick up message in a MQ in parts.
    For example we have a message in MQ which has 10 invoice details is it possible to pick up each invoice details one by one or we have to pick up the complete
    message at a time?
    Any pointers in this regard is highly appreciated.
    With Regards,
    Harshwardhan

    This is general feature available in MQ (and JMS specifications). You have Message Segmentation+ that is generally used for such scenarios.
    Message Segment - If a message is very large, then it can be divided into multiple small messages, called segments. Each segment has a group ID and an offset. All segments of a message have the same group ID. The last segment of the message is marked with a flag.
    Message Group - A message group consists of a set of related messages with the same group ID. Each message in a message group has a message sequence number. The last message in a message group is marked with a flag.As long as the producer of the messages does the segmentation, the client will be able to get the message appropriately.
    Please refer to the below documentation for more information @ http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10231/adptr_mq.htm#BABIBEFB
    Hope this helps.
    Thanks,
    Patrick

  • Acknowledgements IDOC - XI - File

    Hi all,
    I'm facing the following problem...
    There was a scenario IDOC - XI - FILE (lets say from system A to MDM) that was working properly for a while but when we implemented a new IDOC to file from a new system to MDM then the already existing interfaces from A to MDM stopped, all of them were stocked into queues.
    In SXMB_MONI all the messages were marked as successfully processed but they weren't delivered, the comm. channel is active and there are not errors but the Queues show this one:
    " CO_TXT_ROUTING_BACK_ERROR "
    So we have gone thru all the threads related with this error and we have updated the IDXNOALE table to see if this will solve the further message processing but the thing is, why XI did not deliver the processed messages if they were marked with the success status? How can you retrieve/reprocess all those messages stocked into queues?
    Why DEV and QAS were Ok but then PRD started failling? We never updated those tables... but now in PRD we have to.. I don't understand why...
    This topic is very confusing for me and for all of us that are facing this problem, so if someone has a very good answer, please  post it...
    Thanks for your help...
    -- Jerry

    HI Jerry
    Refer these links
    http://help.sap.com/saphelp_nw04/helpdata/en/42/c8f66bc7a56bb0e10000000a1553f6/frameset.htm
    Check this document on handling IDOC acknowledgements. This might give you some pointers.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
    <b>for this error
    CO_TXT_ROUTING_BACK_ERROR</b>
    If you want to suppress acknowledgements please check this thread:
    JDBC Adapter / Acknowledgements
    Check out SAP Note 832965
    This could help u,
    JDBC Adapter / Acknowledgements
    Thanks !!!

Maybe you are looking for