Handling JDBC adapter errors in BPM

Hi,
I am using BPM to insert data in SQL server using a snychronous send.However i am not able to trap the adapter errors like server is down or could not insert because of key violation.
Hence i decided to use transport level ack. But i understand that error description is returned in fault messages. Can i use fault messages in BPM???
And also if that is not possible, I would like to know how can i configure alerts in JDBC adapter.
Thanks in advance.

Anand,
I dont think this is possible. Fault Messages should be sent by the Application System back to XI , the Database in our case. AFAIK< the database cannot send back such fault messages and the error message is trapped in the JDBC adapters log. Try using Adapter Engine Alerts and this will cause the Message to be passed to your ALert framework from the adapter.
Regards,
Bhavesh

Similar Messages

  • ADF: Gracefully handling JDBC connection errors?  Part II

    Hi gang
    I while back I posted a forum post to find a solution to "display a specific web page when the JDBC connection drops out on our ADF application, specifically the following error: oracle.jbo.DMLException: JBO-26061: Error while opening JDBC connection"
    ...you can see the original post here:
    Re: ADF: Gracefully handling JDBC connection errors?
    For the life of me I can't get this to work now. It appears I can't redirect to another page during the call to reportException. I've had a play with different methods of redirecting, as seen in the following code sample:
    public class ErrorHandlerImpl extends DCErrorHandlerImpl {
      public ErrorHandlerImpl() {
        super(true);
      @Override
      public void reportException(DCBindingContainer dCBindingContainer, Exception exception) {
    //    try {
          String message = exception.getMessage();
          if (message.indexOf("JBO-26061") >= 0) {
            // Method 1
            FacesContext fc = FacesContext.getCurrentInstance();
            UIViewRoot viewRoot =
            fc.getApplication().getViewHandler().createView(fc, "faces/errorPage.jspx");
            fc.setViewRoot(viewRoot);
            fc.renderResponse();
            // Method 2              
            // FacesContext fc = FacesContext.getCurrentInstance();
            // fc.getApplication().getNavigationHandler().handleNavigation(fc, null, "goError");
            // fc.responseComplete();
            // Method 3 - required IOExcepition handler
            // FacesContext.getCurrentInstance().getExternalContext().redirect("faces/errorPage.jspx");
          } else
              super.reportException(dCBindingContainer, exception);
    //    } catch (IOException e) {
    }... with no success.
    Has anyobody any other solutions or advice on getting this to work?
    Your help appreciated.
    Thanks & regads,
    CM.
    PS. JDev 11gR1 ADF BC + ADF Faces RC

    Hi Frank
    Yep, I' tried redirect, that was method 3 (you can see all 3 methods I've attempted, last 2 are commented out).
    With the declarative ADFc exception handler, problem is it's a catch all, not specifically for JBO-26061. Can you think of a way I can tailor fit it for JBO-26061 with a custom message "Database down"?
    In addition the exception handler is not consistently called. As example, if you're moving between pages rather than operating on 1 page, the standard af:messages error dialog is shown if the db connection has been dropped, rather than navigating to the exception handler page. As such it seems the DCErrorHandlerImpl.reportExceptions is the better chokepoint to work from.
    Cheers,
    CM.

  • Jdbc adapter error on confirmation message in message monitor (rwb)

    I have the scenario iDoc -> PI 7 - > jdbc (AS400 odbc driver).
    When I do INSERT statements, the data is stored in the Database and the RWB message monitoring shows status Successfull.
    However, for every insert, an other message shows up in the message monitoring with reversed Sender and Receiver (so it looks like a confirmation message is trying to find its way back to XI). This message first is is Status "Waiting", and after some time gets in Status "System Error".
    As I am not expecting any responses in my XI configuration (as I have no place to send them to), I want to stop these messages showing up in the Adapter Engine (as there will be many Error Status messages that are of no interest to me).
    How can I stop these messages, or what should I do in XI to process them (and dump them in my receiver determination). I have NO  BPM involved .

    Hi,
    For each open connection a entry is made j2ee stack.So when the it reaches to max and execption is thrown.
    In Jdbc adapter configuration -> advance mode -> Set -> Disconnect from the database after processing each message.
    Should solve the prob
    <b>Cheers,
    *RAJ*
    *REWARD POINTS IF FOUND USEFULL*</b>

  • DatabaseTransaction Handling--JDBC Adapter

    Hi,
    I am on XI 3,SP9. We are trying to delete all the records from the table first and then Insert Records into the table.
    I have definted seperate Statements for the Database Table Delete and INSERT in my XML Schema for the Receiver JDBC Adapter.
    The Problem: After Deleting if there is an Error in the INSERT the Adapter does NOT do a Rollback but it Auto-commits.
    Can someone tell me how do I stop this? I want to bundle both the Delete and Insert into 1 transaction. Any help would be appreciated.
    Here is the output XML from the adpater:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns:root xmlns:ns="urn:genentech:xi:fin_int_056:costcenters:sap_to_adaytum">
    - <StatementName1>
    <FI_OUT_COST_CENTER action="DELETE" />
    </StatementName1>
    + <StatementName2>
    - <FI_OUT_COST_CENTER action="INSERT">
    - <access>
    <COST_CENTER_ID>0001</COST_CENTER_ID>
    <COST_CENTER_NAME>Standard Hierarchy CO Area 0001</COST_CENTER_NAME>
    <PARENT_ID />
    <ELEMENT_LEVEL>0</ELEMENT_LEVEL>
    <TYPE>G</TYPE>
    <START_DATE>19970101</START_DATE>
    <CLIENT>200</CLIENT>
    </access>
    </FI_OUT_COST_CENTER>
    </StatementName2>
    - <StatementName2>
    + <FI_OUT_COST_CENTER action="INSERT">
    - <access>
    <COST_CENTER_ID>0001-1</COST_CENTER_ID>
    <COST_CENTER_NAME>Administration</COST_CENTER_NAME>
    <PARENT_ID>0001</PARENT_ID>
    <ELEMENT_LEVEL>1</ELEMENT_LEVEL>
    <TYPE>G</TYPE>
    <START_DATE>19970101</START_DATE>
    <CLIENT>200</CLIENT>
    </access>
    </FI_OUT_COST_CENTER>
    </StatementName2>
    - <StatementName2>
    - <FI_OUT_COST_CENTER action="INSERT">
    + <access>
    <COST_CENTER_ID>0001-1-1</COST_CENTER_ID>
    <COST_CENTER_NAME>Executive</COST_CENTER_NAME>
    <PARENT_ID>0001-1</PARENT_ID>
    <ELEMENT_LEVEL>2</ELEMENT_LEVEL>
    <TYPE>G</TYPE>
    <START_DATE>19970101</START_DATE>
    <CLIENT>200</CLIENT>
    </access>
    </FI_OUT_COST_CENTER>
    </StatementName2>
    + <StatementName2>
    - <FI_OUT_COST_CENTER action="INSERT">
    - <access>
    <COST_CENTER_ID>SAP-DUMMY</COST_CENTER_ID>
    <COST_CENTER_NAME>SAP dummy</COST_CENTER_NAME>
    <PARENT_ID>0001-1-1</PARENT_ID>
    <ELEMENT_LEVEL>3</ELEMENT_LEVEL>
    <TYPE>C</TYPE>
    <START_DATE>19970101</START_DATE>
    <CLIENT>200</CLIENT>
    </access>
    </FI_OUT_COST_CENTER>
    </StatementName2>
    Thanks
    Ashish

    Hi,
    I have XI 3.0 with SP10 Installed.
    We do not have the JDBC Transaction handling enabled.
    So how did it work for you? I do not have the Auto-Commit  checkbox enabled.
    Here is my sample xml:
    If there is any error in the INSERT, THE DELETE does NOT rollback. Please advice.
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns18:root xmlns:ns18="urn:genentech:xi:fin_int_010:wbs:sap_to_adaytumroot">
    - <statement1>
    - <db_fi_out_wbs action="DELETE">
      <table>FI_OUT_WBS</table>
      </db_fi_out_wbs>
      </statement1>
    - <statement2>
    - <db_fi_out_wbs action="UPDATE_INSERT">
      <table>FI_OUT_WBS</table>
    - <access>
      <OBJECT_TYPE>P</OBJECT_TYPE>
      <PROJECT_TYPE />
      <ELEMENT_ID>100</ELEMENT_ID>
      <ELEMENT_NAME>ASHISH SINGH</ELEMENT_NAME>
      <PARENT_ID />
      <SEARCH1 />
      <SEARCH2 />
      <KRON />
      <LABR />
      <CLIENT>200</CLIENT>
      <DATE_CREATED>28-Feb-2005</DATE_CREATED>
      </access>
    - <key>
      <OBJECT_TYPE>P</OBJECT_TYPE>
      <ELEMENT_ID>100</ELEMENT_ID>
      <CLIENT>200</CLIENT>
      </key>
      </db_fi_out_wbs>
      </statement2>
    - <statement2>
    - <db_fi_out_wbs action="UPDATE_INSERT">
      <table>FI_OUT_WBS</table>
    - <access>
      <OBJECT_TYPE>P</OBJECT_TYPE>
      <PROJECT_TYPE />
      <ELEMENT_ID>1000</ELEMENT_ID>
      <ELEMENT_NAME />
      <PARENT_ID />
      <SEARCH1 />
      <SEARCH2 />
      <KRON />
      <LABR />
      <CLIENT>200</CLIENT>
      <DATE_CREATED>28-Feb-2005</DATE_CREATED>
      </access>
    - <key>
      <OBJECT_TYPE>P</OBJECT_TYPE>
      <ELEMENT_ID>1000</ELEMENT_ID>
      <CLIENT>200</CLIENT>
      </key>
      </db_fi_out_wbs>
      </statement2>
    - <statement2>
    - <db_fi_out_wbs action="UPDATE_INSERT">
      <table>FI_OUT_WBS</table>
    - <access>
      <OBJECT_TYPE>P</OBJECT_TYPE>
      <PROJECT_TYPE />
      <ELEMENT_ID>10000</ELEMENT_ID>
      <ELEMENT_NAME>SY Test</ELEMENT_NAME>
      <PARENT_ID />
      <SEARCH1 />
      <SEARCH2 />
      <KRON />
      <LABR />
      <CLIENT>200</CLIENT>
      <DATE_CREATED>28-Feb-2005</DATE_CREATED>
      </access>
    - <key>
      <OBJECT_TYPE>P</OBJECT_TYPE>
      <ELEMENT_ID>10000</ELEMENT_ID>
      <CLIENT>200</CLIENT>
      </key>
      </db_fi_out_wbs>
      </statement2>
    - <statement2>
    - <db_fi_out_wbs action="UPDATE_INSERT">
      <table>FI_OUT_WBS</table>
    - <access>
      <OBJECT_TYPE>W</OBJECT_TYPE>
      <PROJECT_TYPE>01</PROJECT_TYPE>
      <ELEMENT_ID>10000</ELEMENT_ID>
      <ELEMENT_NAME>SY Test</ELEMENT_NAME>
      <PARENT_ID />
      <SEARCH1 />
      <SEARCH2 />
      <KRON />
      <LABR />
      <CLIENT>200</CLIENT>
      <DATE_CREATED>28-Feb-2005</DATE_CREATED>
      </access>
    - <key>
      <OBJECT_TYPE>W</OBJECT_TYPE>
      <ELEMENT_ID>10000</ELEMENT_ID>
      <CLIENT>200</CLIENT>
      </key>
      </db_fi_out_wbs>
      </statement2>
    - <statement2>
    - <db_fi_out_wbs action="UPDATE_INSERT">
      <table>FI_OUT_WBS</table>
    - <access>
      <OBJECT_TYPE>W</OBJECT_TYPE>
      <PROJECT_TYPE>01</PROJECT_TYPE>
      <ELEMENT_ID>10000.01</ELEMENT_ID>
      <ELEMENT_NAME>SY Test</ELEMENT_NAME>
      <PARENT_ID>10000</PARENT_ID>
      <SEARCH1>U Field 2</SEARCH1>
      <SEARCH2 />
      <KRON />
      <LABR />
      <CLIENT>200</CLIENT>
      <DATE_CREATED>28-Feb-2005</DATE_CREATED>
      </access>
    - <key>
      <OBJECT_TYPE>W</OBJECT_TYPE>
      <ELEMENT_ID>10000.01</ELEMENT_ID>
      <CLIENT>200</CLIENT>
      </key>
      </db_fi_out_wbs>
      </statement2>
    - <statement2>
    - <db_fi_out_wbs action="UPDATE_INSERT">
      <table>FI_OUT_WBS</table>
    - <access>
      <OBJECT_TYPE>W</OBJECT_TYPE>
      <PROJECT_TYPE>01</PROJECT_TYPE>
      <ELEMENT_ID>10000.01.0001</ELEMENT_ID>
      <ELEMENT_NAME>SY Test</ELEMENT_NAME>
      <PARENT_ID>10000.01</PARENT_ID>
      <SEARCH1>U Field 2</SEARCH1>
      <SEARCH2 />
      <KRON />
      <LABR />
      <CLIENT>200</CLIENT>
      <DATE_CREATED>28-Feb-2005</DATE_CREATED>
      </access>
    - <key>
      <OBJECT_TYPE>W</OBJECT_TYPE>
      <ELEMENT_ID>10000.01.0001</ELEMENT_ID>
      <CLIENT>200</CLIENT>
      </key>
      </db_fi_out_wbs>
      </statement2>
    - <statement2>
    - <db_fi_out_wbs action="UPDATE_INSERT">
      <table>FI_OUT_WBS</table>
    - <access>
      <OBJECT_TYPE>W</OBJECT_TYPE>
      <PROJECT_TYPE>01</PROJECT_TYPE>
      <ELEMENT_ID>10000.01.0001.0001</ELEMENT_ID>
      <ELEMENT_NAME>SY Test</ELEMENT_NAME>
      <PARENT_ID>10000.01.0001</PARENT_ID>
      <SEARCH1>U Field 2</SEARCH1>
      <SEARCH2 />
      <KRON />
      <LABR />
      <CLIENT>200</CLIENT>
      <DATE_CREATED>28-Feb-2005</DATE_CREATED>
      </access>
    - <key>
      <OBJECT_TYPE>W</OBJECT_TYPE>
      <ELEMENT_ID>10000.01.0001.0001</ELEMENT_ID>
      <CLIENT>200</CLIENT>
      </key>
      </db_fi_out_wbs>
      </statement2>
    - <statement2>
    - <db_fi_out_wbs action="UPDATE_INSERT">
      <table>FI_OUT_WBS</table>
    - <access>
      <OBJECT_TYPE>P</OBJECT_TYPE>
      <PROJECT_TYPE />
      <ELEMENT_ID>10001</ELEMENT_ID>
      <ELEMENT_NAME>2H7 Immunology</ELEMENT_NAME>
      <PARENT_ID />
      <SEARCH1 />
      <SEARCH2 />
      <KRON />
      <LABR />
      <CLIENT>200</CLIENT>
      <DATE_CREATED>28-Feb-2005</DATE_CREATED>
      </access>
    - <key>
      <OBJECT_TYPE>P</OBJECT_TYPE>
      <ELEMENT_ID>10001</ELEMENT_ID>
      <CLIENT>200</CLIENT>
      </key>
      </db_fi_out_wbs>
      </statement2>
    - <statement2>
    - <db_fi_out_wbs action="UPDATE_INSERT">
      <table>FI_OUT_WBS</table>
    - <access>
      <OBJECT_TYPE>P</OBJECT_TYPE>
      <PROJECT_TYPE />
      <ELEMENT_ID>10002</ELEMENT_ID>
      <ELEMENT_NAME>SY Test</ELEMENT_NAME>
      <PARENT_ID />
      <SEARCH1 />
      <SEARCH2 />
      <KRON />
      <LABR />
      <CLIENT>200</CLIENT>
      <DATE_CREATED>28-Feb-2005</DATE_CREATED>
      </access>

  • ADF: Gracefully handling JDBC connection errors?

    Hi gang
    We've a use case to display a specific web page when the JDBC connection drops out on our ADF application, specifically the following error:
    oracle.jbo.DMLException: JBO-26061: Error while opening JDBC connection.
    I've been researching solutions to this and came up with a near solution of placing the following entry in the application's web.xml file:
    <error-page>
      <exception-type>oracle.jbo.DMLException</exception-type>
      <location>/MyErrorPage.jsp</location>
    </error-page>This works okay but is a blunt mechanism as it captures all DMLExceptions which includes insert/update/delete failures, as well as the JDBC connection drop out.
    Has anybody come up with a better solution for handling JDBC connection drop outs?
    Thanks & regards,
    CM.
    PS. (JDev 11g build 5188, ADF BC + ADF Faces RC)

    Thanks John, that's the solution. For some reason I'd forgotten that DCErrorHandlerImpl exists in the controller layer, not the model layer, so it makes perfect sense to override it and do the redirect.
    Here's what I came up with:
    @Override
    public void reportException(DCBindingContainer dCBindingContainer,
                                Exception exception) {
        try {
            String message = exception.getMessage();
            if (message.indexOf("JBO-26061") >= 0) {
                FacesContext.getCurrentInstance().getExternalContext().redirect("faces/ErrorPageJDBCFailure.jspx");
            } else
                super.reportException(dCBindingContainer, exception);
        } catch (IOException e) {
    }The following OTN post shows some other methods to do the redirect: JSF forward Vs redirect
    Cheers!
    CM.

  • Error in JDBC Adapter-"Error establishing socket"

    Hi,
    I am getting an error in the seander JDBC adapter. PFB the error:
    Error during database connection to the database URL 'jdbc:microsoft:sqlserver://Server Name;DatabaseName=DB Name;SelectMethod=cursor' using the JDBC driver 'com.microsoft.jdbc.sqlserver.SQLServerDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:microsoft:sqlserver://Server Name;DatabaseName=DB Name;SelectMethod=cursor': SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.'
    Can any one hlep me to resolve the error.
    Thanks,
    RK

    Hi,
    Also check whether you have given database connection parameters in the following format:
    JDBC Driver:
    com.microsoft.jdbc.sqlserver.SQLServerDriver
    Connection:   jdbc:microsoft:sqlserver://<HOSTNAME>:1433;DatabaseName=<xxxx>;SelectMethod=cursor
    I think the deployment is done, because you have not got "SAPClassNotFoundException" error.(If the deployment is not done, the driver file cant be located so this will be thrown...)
    Thanks & Regards,
    Senthil.

  • JDBC adapter error

    I am working on proxy to jdbc scenario where iam seeing error log  in jdbc adapter of communication channel monitering  like below:
    Kindly do the needful?
    Could not execute statement for table/stored proc. "ACU_LVL_ADDR_SRC" (structure "Statement_ACU_LVL_ADDR_SRC") due to java.sql.SQLException: ORA-00001: unique constraint (FSSMGR.ACU_LVL_ADDR_SRC_PK) violated
    JDBC Message processing failed, due to Error processing request in sax parser: Error when executing statement for table/stored proc. 'ACU_LVL_ADDR_SRC' (structure 'Statement_ACU_LVL_ADDR_SRC'): java.sql.SQLException: ORA-00001: unique constraint (FSSMGR.ACU_LVL_ADDR_SRC_PK) violated
    MP: exception caught with cause com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'ACU_LVL_ADDR_SRC' (structure 'Statement_ACU_LVL_ADDR_SRC'): java.sql.SQLException: ORA-00001: unique constraint (FSSMGR.ACU_LVL_ADDR_SRC_PK) violated
    Adapter Framework caught exception: null
    Delivering the message to the application using connection JDBC_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'ACU_LVL_ADDR_SRC' (structure 'Statement_ACU_LVL_ADDR_SRC'): java.sql.SQLException: ORA-00001: unique constraint (FSSMGR.ACU_LVL_ADDR_SRC_PK) violated

    Use structure like as below .....
    <StatementName1>
    <dbTableName action=u201DUPDATEu201D | u201CUPDATE_INSERTu201D>
        <table>realDbTableName</table>
    <access>
    <col1>val1</col1>
    <col2>val2new</col2>
    </access>
    <key1>
    <col2>val2old</col2>
    <col4>val4</col4>
    </key1>
    <key2>
    <col2>val2old2</col2>
    </key2>
    </dbTableName>
      </StatementName1>

  • Passing JDBC adapter error message back to SOAP fault message

    I have a JDBC adapter that is returning an error in the response message:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Inbound Message
      -->
    - <SAP:Error SOAP:mustUnderstand="1" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'SAPINS' (structure 'StatementName1'): java.sql.SQLException: ORA-01843: not a valid month ORA-06512: at "SAP.SAPINS", line 129 ORA-06512: at line 1</SAP:AdditionalText>
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    I would like to pass the error message back to the fault section of a SOAP adapter.
    Is there an easy way to do this using fault messages, or is there some other way to do this?
    BR,
    Tony.

    HI,
    DId you install JDBC driver ?
    If not check this guide-https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10
    Thread-
    Legacy_XI_MySQL
    Regards,
    Moorthy

  • SENDER JDBC ADAPTER ERROR

    Hi all,
    We are having an extrange problem. We are trying to read some info from an oracle Database, but we have always this error :
    Error: SQLException during query 'SELECT * FROM XX': java.sql.SQLException: ORA-00942: table or view does not exist: SQLException: ORA-00942: table or view does not exist
    And WE have checked it, and the table is there. To understand what is happening we try with another table and it works, we have compare both an has the same features.
    Any Ideas?

    Hi,
    This is the format in which your Data polled from the DB wiill be created,
    <i><resultset>
    <row>
    <column-name1>column-value</ column-name1>
    <column-name2>column-value</ column-name2>
    <column-name3>column-value</ column-name3>
    </row>
    <row>
    <column-name1>column-value</ column-name1>
    <column-name2>column-value</ column-name2>
    <column-name3>column-value</ column-name3>
    </row>
    </resultset></i>
    Resultset is to be replaced by your DT / Message Type name.
    In the Sender JDBC adapter, give the Document Name as the Message Type name and the Document Namespace as the Namespace of your Message Type.
    Is this how you have created the source structure?
    Regards
    Bhavesh

  • Reciever JDBC Adapter error (Oracle)

    Hi,
    I am trying FILE-XI-JDBC Scenario to get data loaded in Oracle. I have configured the reciever adapter in Communication Channel but while sending the message i am getting the following error:
    <b>com.sap.aii.af.ra.ms.api.DeliveryException: JDBC Adapter configuration not initialized: null</b>
    Can anyone guide me what needs to be done here?
    Below are the settings that i am using:
    JDBC Adapter: jdbc:oracle:thin:@<ipaddress>:<port>
    Connection: oracle.jdbc.driver.OracleDriver
    Thanks,
    Rajneesh

    i am getting the following error:
    >>>>com.sap.aii.af.ra.ms.api.DeliveryException: JDBC Adapter configuration not initialized: null
    means connection to ORACLE DATABASE is not established.....check whethere oracle database is working or not...
    2) check DATABASE CONNECTION fields....
    jdbc driver and connection....
    JDBC receiver
    /people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30 - <u><i><b>File to JDBC</b></i></u>
    How to use SELECT statement in JDBC scenario's.
    Ref : https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1725 [original link is broken] [original link is broken] [original link is broken]
    stored procedures
    /people/siva.maranani/blog/2005/05/21/jdbc-stored-procedures by siva
    Best Regards,
    Srikanth     
    Reward the useful answers and you will get one point yourself
    /people/baris.buyuktanir2/blog/2007/04/04/point-for-points-reward-yourself  ---onepoint blog

  • JDBC Adapter Error - SAPClassNotFoundException: oracle.jdbc.driver.OracleDr

    Hi,
    I am trying to implement JDBC to File scenario.
    Trying to connect to Oracle Database. Oracle drivers are installed on XI server
    JDBC Adapter parameters:
    JDBC Driver  - oracle.jdbc.driver.OracleDriver
    Connection - jdbc:oracle:thin:@10.25.228.156:1521:databaseName=XE
    Error which I can see in Communication Channel Monitoring is:
    Error during database connection to the database URL 'jdbc:oracle:thin:@w4inpusyga6:1521:XE' using the JDBC driver 'oracle.jdbc.driver.OracleDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:oracle:thin:@w4inpusyga6:1521:XE': SAPClassNotFoundException: oracle.jdbc.driver.OracleDriver'
    All your inputs are welcome!
    Thanks
    Mugdha Kulkarni

    Hi
    we are integrating XI with IBM DB2 database.
    we have used 2 Jar files ( DB2jcc4.jar  & DB2jcc.jar ).
    but after deployment the jar file was deployed in different location, not in D:\usr\sap\XR3\DVEBMGS00\j2ee\cluster\server0\bin\ext\
    trying many times this deployment, we manually copy/paste
    our driver jar file to legitimate directory..
    Now the error has change as .UnsupportedClassVersionError: com/ibm/db2/jcc/DB2Driver (Unsupported major.minor version 50.0)
    Any one could through some light on it..
    Regards,
    Ashutosh
    Edited by: ashutosh rawat on Dec 5, 2009 4:48 AM

  • JDBC Adapter error (sender) from MS Access

    Hi.
    I have an error in a communication channel for an interface with MS Access Data Base.
    The log info error is:
    "#00144F46B52C00370000000000006B820034E8A65C6B9661#1232148827508#com.sap.aii.adapter.jdbc.JDBC2XI##com.sap.aii.adapter.jdbc.JDBC2XI.invoke()#J2EE_GUEST#19#####XI JDBC2XI[cc_s_jdbc_FuelBDDkt/BSC_Phoenix/]_2##0#0#Error#1#/Applications/ExchangeInfrastructure/AdapterFramework/Services/ADAPTER/ADMIN/JDBC#Plain###Stopped unexpectedly - reconfigure and activate to continue processing. Error: 'java.lang.NullPointerException' #
    If anybody has a tip to fix this problem, I appreciate your help.
    Regards,
    Fernando R.

    Hi,
    This is the format in which your Data polled from the DB wiill be created,
    <i><resultset>
    <row>
    <column-name1>column-value</ column-name1>
    <column-name2>column-value</ column-name2>
    <column-name3>column-value</ column-name3>
    </row>
    <row>
    <column-name1>column-value</ column-name1>
    <column-name2>column-value</ column-name2>
    <column-name3>column-value</ column-name3>
    </row>
    </resultset></i>
    Resultset is to be replaced by your DT / Message Type name.
    In the Sender JDBC adapter, give the Document Name as the Message Type name and the Document Namespace as the Namespace of your Message Type.
    Is this how you have created the source structure?
    Regards
    Bhavesh

  • JDBC Adapter, error behaviours

    Hi all,
    My scenario is FILE --> JDBC, everything is ok but, My query contain multiple insertion or update. If there is an error during the process (insertion or what ever) all stop.
    I do not want that behaviours, I would like my JDBC Adapter carring on the process even if there is some insertion failed !
    How can I do that ?
    Thanks

    Good, I didn't know that (i'm new in PI)
    So after that change all my mapping crashed down so I recreated it.
    Now, the message input has been changed by added those nodes :
    <Messes1>
        <message>
            <DT_xxxxxx>
    But in my file convertor its become the big mess. It cannot interpret the new message format
    My data type in imput is :
    <MT_2330003_TrainingCatalog_Request>
       <recordset>
          <training_catalog>
             <field1/>
             <field2/>
          </training_catalog>
       </recordset>
    </MT_2330003_TrainingCatalog_Request>
    Here is my configuration :
    Document Name : Messages
    Document NameSpace : http://sap.com/xi/XI/SplitAndMerge
    Document Offset :
    Recordset Name : massage1
    Recordset NameSpace :
    Recordset Structure: MT_2330003_TrainingCatalog_Request,recordset,training_catalog,*
    Recordset Name : massage1
    In properties :
    MT_2330003_TrainingCatalog_Request.recordset.training_catalog.fieldSeparator = ;
    MT_2330003_TrainingCatalog_Request.recordset.training_catalog.fieldNames = field1,field2,....
    MT_2330003_TrainingCatalog_Request.recordset.training_catalog.processFieldNames = fromConfiguration
    But the error is :
    Conversion initialization failed: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Format error in 'xml.recordset' argument: 'recordset' is not valid

  • JDBC Adapter - Error Handling

    Hi,
    I have a question with JDBC Sender Adapter. In my scenario, SAP XI will retrieve input data using JDBC Sender Adapter. Here is my question, What would happen if input data is wrong and cannot pass mapping in XI? Would XI send success record to target system?
    For example, If XI retrieves 50 records from JDBC sender adapter and 3 records are identified as error record in XI mapping, would XI send 47 records(success records) to target system or all 50 records will be marked as error and no data will be sent to target system?
    Regards,
    Pavin

    Hi,
    I'm using select query in Integration Directory to select input data from staging database. How would XI process input data? Would it see input data as one message or many messages according to no of records in staging database?
    p.s. Currently, I don't have an access to XI system. So, I need help from someone who has been through this scenario before. Thank you.
    Regards,
    Pavin

  • Handling web service error in BPM

    My scenario is get a message from a data base and call web service using that, if web service is available get the response from web service and send it back to data base, incase web service call is unavailable.
    When web service is unavilable Iam getting a fault message back and could not proceed. I have a seperate blco to do web service call, in that I have Synchronous send step in BPM, and selected default system error under Exception.
    My requirment is when SOAP fault occurs I need to send the data back to data base else proceed if web service call is sucessful.

    Looks like we can not handle fault messages in BPM.
    Before I close this thread. just wanted to give little more explanation reg. my scenario.
    Business scenario -  Pull the data from Data base using a Stroed Procedure(this marks the records once it is successful) and call web service using this data. If web service call is success, push the response received from web service to Data Base. If call to web service fails, still push the data which was pulled initially from database back to same location in database.
    Iam using BPM to get the message from Data Base using JDBC sender adapter, once I got the data  Asynchronously into BPM Iam using Synchronous send step to call web service, in the properties section, I have specified request message (abstract asynchronous, ) response message (abstract asynchronous) ,  Receive from - SendContext and selected default option which is ExWebserviceCall for SystemError.
    I have an exception branch for this synchronous send step, which is working good incase of system error.
    This is working good when I tried to testing using invalid URL for target system.  When web service itself is down , in this case  Iam getting SOAP Fault back with HTTP code 500.
    In SXMB_MONI, under error - it is showing as this error is related to application , which I think is application error.
    When this happens my process is not working.
    Edited by: Vamsi on Aug 26, 2010 4:31 PM

Maybe you are looking for

  • In iTunes, my printing is white and the background is black, How do I change it back to white printing on a black background.

    In my iTunes store, the printing is white and the background is black and I have forgotten how to change it back to black printing on a white background? I know that it is a simple answer, but right now I cannot think of it. Also, what is the "other"

  • Error message when trying to Sync with itunes

    Hi I seem to get error messages when I try to sync with itunes. I have the iphone 3G. Also all my music and videos seem to have carried across, all except one, it's very odd. Latest error message reads: "itunes could not connect with the itunes store

  • E-Mail Apps for Mac

    I am trying to determine which e-mail platforms work in Mac OS 10.9.1 other than Yahoo and G-Mail.  I wanted to open an Outlook e-mail account for e-mails that I want to be able to track by read receipts and delivery reports but it appears that Outlo

  • NEED YOUR FEEDBACK: How do you work?

    On my "Dive into BC4J" weblog, I posted a question that I'm interested in getting email feedback to feed into our planning for 9.0.5 Production. http://radio.weblogs.com/0118231/2003/07/23.html#a119 We're trying to solicit as many end-user opinions a

  • Disable a Form Javascript in Acro 7 Professional

    Hi all, I have a form with some alerts that appear when you open the form (with messages like: "you need to have the latest adobe reader" and things like that). I have a server arquitecture in which I open the pdf with an Acro 7 professional, of cour