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

Similar Messages

  • 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

  • Sender JDBC Adapter : Fetch records from multiple tables

    Hi Friends,
    I am using sender JDBC adapter to select few records from DB2 database table.
    This scenario is working fine.
    Now my requirement is to fetch records from 3 tables. These table are independent to each other. There is no primary key or foreign key.
    Please let me know how to write the sql in sender JDBC adapter to fetch records from these 3 tables.
    Thanks,
    Sandeep Maurya

    hi sandeep...
    if the tables are completely independent and do not share any primary / foreign key relation ship...
    why dont u think towards creating a seperate interface for each of them..
    or if u still want to select from multiple table at once..the best way would be to write a stored procedure on the sender side which do all the fetching n processing and pass the final resultset to PI
    or u can think towards fetching the data from 1 table and then in UDF do lookup from other tables..which again is tricky and performace intensive

  • 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>

  • 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

  • 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>

  • JDBC ADAPTER ERROR IN SAP XI

    Hi,  
    I am working in the following scenery: FILE->XI->JDBC. 
    I already accomplished all of the configurations in Integration Repository, Integration Directory and System Landscape. When it went to turn the scenery described above appears the following screen enclosed. We are using the database Oracle.  
    Error
    Receiver Adapter v1718 for Party 'DATACENTER', Service 'CCD':
    Configured at 10:38:06 2005-08-02
    Initialization error: Loading jdbc driver 'oracle.jdbc.driver.OracleDriver' failed: java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
    Found in negative cache
    Loader Info -
    ClassLoader name: [service:com.sap.aii.adapter.jdbc.svc]
    Parent loader name: [Frame ClassLoader]
    References:
    service:com.sap.aii.af.cpa.svc
    service:com.sap.aii.af.ms.svc
    service:com.sap.aii.af.svc
    service:com.sap.aii.adapter.xi.svc
    library:com.sap.aii.af.lib
    library:com.sap.aii.messaging.runtime
    library:com.sap.xi.util.misc
    common:service:iiop;service:naming;service:p4;service:ts
    common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:com.sap.security.core.ume.service;service:connector;service:dbpool;service:keystore;service:security;service:userstore
    library:ejb20
    library:sapxmltoolkit
    library:com.sap.util.monitor.jarm
    library:com.sap.guid
    library:com.sap.tc.Logging
    library:jms
    Resources:
    /usr/sap/XID/DVEBMGS14/j2ee/cluster/server0/bin/services/com.sap.aii.adapter.jdbc.svc/aii_adapter_jdbc_svc.jar
    Loading model: {parent,local,references}
    Available JDBC drivers:
    No deployed JDBC Drivers found
    This drive already default in database Oracle or should we download the drive and to install in the servant of the XI? 
    Does some note exist to be applied? 
    Which are the necessary steps to do the deployed of the drive? 
    Which are the steps to solve this problem?

    Hi Sergio,
    U have to deploy the drivers for whatever DB u want to connect to.
    U have to do the following :
    1.Add all jars(drivers like msbase.jar,mssqlserver.jar,msutil.jar for MS SQL or classes12.zip for Oracle etc) to the archive aii_af_jmsproviderlib.sda, modify the provider.xml file and WinZip the .sda file again.
    a)Copy the file: aii_af_jmsproviderlib.sda from the path ..\usr\sap\SID\DVEBMGS00\SDM\root\origin\sap.com\com.sap.aii.af.jmsproviderlib\SAP AG\3.0.20040112154003.0000. to any other drive on the server.
    b)Unzip it. After Unzipping the archive there are 2 folders created under the provided directory
    \META-INF
    \server
    c) Edit the file provider.xml
    Add the vendor specific jar file names to the provider.xml file in between the tags <jars> …</jars> and Save it.
    For you it will be
    <jars>
    <jar-name>msbase.jar</jar-name>
    <jar-name>mssqlserver.jar</jar-name>
    <jar-name>msutil.jar</jar-name>
    <jar-name>classes12.zip</jar-name>
    </jars>
    d)Copy the specific driver files to the same dirctory where u have unzipped the .sda
    e)Now ZIP the following files/folders from the drive/dirctory.
    • Vendor driver files
    • META-INF folder
    • Server folder
    The name of the zip file should be the same i.e aii_af_jmsproviderlib.sda
    2.Deploy the archive aii_af_jmsproviderlib.sda on to the J2ee Engine using SDM tool.
    U can also download the pdf of "How to Install and Configure External Drivers for JDBC and JMS Adapters " from the Popular Documents from th XI Homepage.
    This will solve ur problem.
    Regards
    Sunita

  • JDBC adapter as sender

    I have staging table where this table is populated with Legacy data for the sales orders. Every day , there are huge number of orders will be generated approx:30000. From the staging table,I am planning to use JDBC sender adapter to send the data to XI and from XI to SAP with ORDERS idoc.
    Can any one tell me how will be the perfomance of message transfrmation with these huge volume of data?

    Hi,
    >>>>>Can any one tell me how will be the perfomance of message transfrmation with these huge volume of data?
    it's best and most reliable if you test it yourself
    there are many tools like Loadrunner (Mercury)
    that will help you with stress tests for your interface
    and this way you'll know for sure:)
    Regards,
    michal

  • 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

  • Using JDBC Adapter posting data from Oracle database to Falt file????

    Hi All,
      By using JDBC adapter, for now I have to connect to Oracle Database and then get the employee information from the Employee Table and post it to the flat file, can you please help me out the complete procedure...
    Thanks in advance
    Andy

    Hi Andy,
    have a look at the help for configuring a JDBC Sender adapter: http://help.sap.com/saphelp_nw04/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/content.htm
    It mentions all the settings you'll need to make e.g. the connection URL as posted above.
    And it also lists how an XML file looks like that contains the query results according to the SQL Select statement in the adapter.
    <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>
    So you have to create a datatype, message type and message interface to match this structure (of course you'll need to substitute column-name1 etc. with the column names in your select statement).
    Now if you want to create a flat file from that, you have to create an XML representation of that flat file and use the content conversion in the receiver file adapter as defined here: http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
    Regards
    Christine

  • 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.

  • 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

  • File Adapter Error Handling from Batch job

    Dear all,
    I'd like to handle error information by batch job process.
    However I can't find out the error flag from the file adapter.
    My XI setting is below.
    1.FIle to File conversinn by using File adapter
    2.Async setting
    3.Not use BPM
    Anyway,we only want to judge the status for XI process from Batch process like MS-DOS batch.
    Kindly please tell me the detail explanation.
    Regards,
    Masayuki.

    Hi Masayuki,
    Please take a look at these..
    http://help.sap.com/saphelp_nw2004s/helpdata/en/fa/09714d543b11d1898e0000e8322d00/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/fa/0971c2543b11d1898e0000e8322d00/frameset.htm
    cheers,
    Prashanth

  • In reciever jdbc adapter config sending data to multiple tables

    Hi Masters,
          Can u help me with examples step by step procedure of sending data to multiple tables in reciever jdbc adapter .. configuration....
    thanks in advance,
    jp.

    Hi,
    My understanding is you are  trying to use one scenario for ex a file to jdbc and want to post data into multiple tables.
    If you are using Message Prortocol XML SQL format then once you define the data type for one structure then juz right click on the statement name and select Duplicate. This will create another statement in the same data type change the table name and the parameters in the duplicates strucutre.
    <b>Document Formats for the Receiver JDBC Adapter</b>
    http://help.sap.com/saphelp_nw70/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
    All the other configurations are same simple file to jdbc scenario.
    Cheers,
    *RAJ*

  • 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

Maybe you are looking for

  • Combining word processing and page layout templates

    Does anyone know how to (or if it's possible at all) merge or combine a Pages 09 document set up on the "Pages Layout" template with one set up on "Word Processing" template properly? Can these two templates "talk to each other"? I'm trying to combin

  • IDVD windows don't display

    This is really bothering me now. I started using iDVD last week to create a DVD menu for my 23 minute iMovie project. Today, I attempted to open the project file and it doesn't load. iDVD menu loads up and I can edit drop zones, burn the disc, etc, b

  • HT3964 blue screen

    my macbook pro just locked on a blue screen and even when i restart it wont load. help me please

  • How to Import a Timecard in CSV format in OTL

    OTL Guru's. I'm new to OTL, could you please guide me how to import a timecard from a CSV file using the existing APIs. Thanks, Himanshu

  • Do you have to activate each Apple TV FOR WatchESPN, HBOgo & Disney

    I have three (3) Apple TV's in my house and want to activate them for ESPN, HBO, Disney and DisneyXD.  Will I have to activate each unit or once one is activated are all three activated?? Please let me know? Thanks Jason