JDBC Receiver Channel Connection Reset:

Dear Team,
I am facing Problem in JDBC Synchronous Receiver Channel.
when ever the JDBC Channel (Synchronous Receiver) is executing i am getting JDBC Conenction reset error in the Channel monitoring.
Why this problem is coming and how to rectify the problem?
In production also we are facing same kind of issue. Please help us find a work around for this Problem.
I have checked the link
[Re: JDBC Channel : Connection reset;
but the link which Siv Marani has mentioned in the above forum doesn't exist any more i guess.
Please Advice.
Regards,
Senthilprakash.
Edited by: senthilprakash selvaraj on Jan 28, 2009 4:34 AM

Hi,
Check below links.
/people/siva.maranani/blog/2005/05/21/jdbc-stored-procedures
https://www.sdn.sap.com/sdn/collaboration.sdn?contenttype=url&content=https%3A//forums.sdn.sap.com/thread.jspa%3FforumID%3D44%26threadID%3D38124
U need to add the parameter SelectMethod=cursor in your connection parameter,
jdbc:microsoft:sqlserver://<hostname>:1433;DatabaseName=<dbname>;SelectMethod=cursor
Regards,
phani

Similar Messages

  • JDBC Receiver Channel connection error

    Hi Experts,
    We are facing connection issue between PI and database .Error we are facing is as below :
    "Error when attempting to get processing resources: com.sap.aii.af.lib.util.concurrent.ResourcePoolException: Unable to create new pooled resource: DriverManagerException: Cannot establish connection with the registered driver. com.microsoft.jdbc.sqlserver.SQLServerDriver returns: com.microsoft.jdbc.sqlserver.SQLServerDriver. : SAPClassNotFoundException: com.microsoft.jdbc.sqlserver.SQLServerDriver "
    I have asked basis team to check the firewall settings and they have tried to telnet the database and result was successful.
    We have restarted the PI Java stack as well but no luck at all.
    I have gone through many blogs and suggestion regarding firewall but didn't find any thing useful.
    If anyone have any other checks on this issue,  will be very much appreciated.
    Regards,
    Amit Bora

    Hi Amit,
    Similar issue is resolved by fixing the class path in config tool. Please check the class path.
    regards,
    Harish

  • JDBC Receiver channel

    Hi,
    I have a receiver channel of JDBC type. The database configured in this channel is installed on a different net from XI. Is this a problem? I have seen an error connection of this type:
    Error during database connection to the database URL 'jdbc:odbc:thin:@<IP-Address>:<Port>:DB_PROVA using the JDBC driver 'oracle.jdbc.driver.OracleDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:odbc:thin:@<IP-Address>:<Port>:DB_PROVA': SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified'
    I can't say the real <IP-Address>:<Port>:DB_PROVA string, but it's not important to solve my problem.
    Thanks!

    Hi,
    my JDBC receiver channel give me this error in Runtime Workbench:
    Error during database connection to the database URL 'jdbc:oracle:thin:@<IP_ADDRESS>:<PORT>:<SID>' using the JDBC driver 'oracle.jdbc.driver.OracleDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:oracle:thin:@<IP_ADDRESS>:<PORT>:<SID>': SQLException: Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor The Connection descriptor used by the client was: <IP_ADDRESS>:<PORT>:<SID>'
    I have replaced the real IP address, port and sid of my database in this post because they are reserved. I want to know what this message means and what can I do to solve the problem.
    Thanks!

  • JDBC receiver channel problem

    Hi.. 
      I am doing File to JDBC scenario, for that i am using MicrosoftSqlServer.
    Driver----com.microsoft.jdbc.sqlserver.SQLServerDriver
    Connection------jdbc:microsoft:sqlserver://172.18.133.91:1433;DatabaseName=LMS
    While executing, in the JDBC receiver channel it is showing the below error.
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error when attempting to get processing resources: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: DriverManagerException: Cannot establish connection to URL 'jdbc:microsoft:sqlserver://172.18.133.91:1433;DatabaseName=LMS': ClassNotFoundException: com.microsoft.jdbc.sqlserver.SQLServerDriver
    Could please tell where will be the problem.
    Thanks in advance,
    Leela

    Hi ,
    Driver shoud be :
    com.microsoft.sqlserver.jdbc.SQLSeverDriver
    Connection:
    jdbd:microsoft:sqlserver://<ip address>:port;databaseName=TNS
    try with above config..make sure that they are case sensitive.
    Regards,
    Sreenivas.

  • "Error establishing socket" error on JDBC Receiver Channel.

    Dear All,
    Scenario: Soap to JDBC.
    I m getting error on JDBC Receiver Channel. messages are processed succesfully on ABAP Stack and receiver channel is on below error:
    ERROR : Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error when attempting to get processing resources: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: DriverManagerException: Cannot establish connection to URL 'jdbc:microsoft:sqlserver://156.5.202.194:3312;DatabaseName=ODW': SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.
    Note: i already tested another interface with this same IP and it was fine with different port.
    jdbc:microsoft:sqlserver://IP:PORT;DatabaseName=Name
    Regards,
    Manikandan

    and it was fine with different port
    socket exception is (always) related to port....did you check with the network team about this new Port?

  • Testing JDBC receiver channel

    Hi,
    I am new to XI and I am trying configure JDBC-Receiver channel for testing purpose.
    As documents says native Sql message protocal will be used for testing purpose I have selected that.Note I have given all connection parameters properly.
    In my SQL syntax parameters i have given one query
    'INSERT INTO Test  (name,age,loc) VALUES (‘Prabhakar’, ‘30’, ‘HYD’) '
    and activated the channel.
    Will it directly insert into database with the values in the specified table ?
    or do i need to do any thing else ?
    If it is wrong way,please tell me how to check my receiver channel is working fine or not without going to souruce to target scenario ?

    Hi,
    >>>>Will it directly insert into database with the values in the specified table ?
    no, it won't you need to start it with a message
    have a look at jdbc weblogs in the XI FAQ page documents section
    (link below)
    also have a look at this page:
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
    for jdbc document formats (messages which you can send to the jdbc adapter) to update the database
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • -708 Data receive failed [Connection reset].

    We have a problem with this error in DB.
    -708 Data receive failed [Connection reset]
    We use
    MAXDB version: 7.6.00.37
    JDBC driver version 7.6.00
    After first error occurrence, is error repeating and DB server must be restarted to continue. I read some info about this error on internet, but it didn't help us. We doing nothing with statistics. In this case we execute only simple SELECT prepared statement.
    Here is part of our log file with first error:
    15.07.2008 13:45:28.114
    Caused by: com.sap.dbtech.jdbc.exceptions.ConnectionException: [-708] Data receive failed [Connection reset].
         at com.sap.dbtech.jdbc.ConnectionSapDB.execute(Unknown Source)
         at com.sap.dbtech.jdbc.CallableStatementSapDB.sendCommand(Unknown Source)
         at com.sap.dbtech.jdbc.StatementSapDB.sendSQL(Unknown Source)
         at com.sap.dbtech.jdbc.CallableStatementSapDB.doParse(Unknown Source)
         at com.sap.dbtech.jdbc.CallableStatementSapDB.constructor(Unknown Source)
         at com.sap.dbtech.jdbc.CallableStatementSapDB.<init>(Unknown Source)
         at com.sap.dbtech.jdbc.ConnectionSapDB.prepareStatement(Unknown Source)
         at sk.nbs.database.Transaction.getPreparedStatement(Transaction.java:185)
         ... 30 more
    Here is part of knldiag file from this time
    2008-07-10 14:41:41      0xD3C     20019 Pager    First DataCacheSegment:62
    2008-07-10 14:41:41      0xD3C     20018 Pager    Start TaskId: 6
    2008-07-10 14:41:41      0xD3C     20019 Pager    First DataCacheSegment:63
    2008-07-10 14:41:42      0xD3C        31 SrvTasks Permanently reserved 66 servertasks for 'Backup / Restore'.
    2008-07-10 14:41:42      0xD3C        31 SrvTasks Permanently reserved 2 servertasks for 'Backup / Restore'.
    2008-07-10 14:41:42      0xD3C        31 SrvTasks Permanently reserved 1 servertasks for 'Savepoint'.
    2008-07-10 14:41:42      0x7AC         3 RunTime  State changed from STARTING to ADMIN
    2008-07-10 14:41:42      0x7AC     19601 DBSTATE  SERVERDB is ready
    ============================================ begin of write cycle ==================
    2008-07-15 13:45:27     0x13B8     19651 CONNECT  Connection released, T493
    2008-07-15 13:45:27     0x13B8     19677 CONNECT  Client has released connection, T412
    2008-07-15 13:45:27     0x13B8     19651 CONNECT  Connection released, T412
    2008-07-15 13:45:27     0x13B8     19677 CONNECT  Client has released connection, T379
    2008-07-15 13:45:27     0x13B8     19651 CONNECT  Connection released, T379
    2008-07-15 13:45:27     0x13B8     19677 CONNECT  Client has released connection, T476
    2008-07-15 13:45:27     0x13B8     19651 CONNECT  Connection released, T476
    2008-07-15 13:45:27      0xCF4     19677 CONNECT  Client has released connection, T291
    2008-07-15 13:45:27      0xCF4     19651 CONNECT  Connection released, T291
    2008-07-15 13:45:27      0xCF4     19677 CONNECT  Client has released connection, T200
    2008-07-15 13:45:27      0xCF4     19651 CONNECT  Connection released, T200
    2008-07-15 13:45:27      0xCF4     19677 CONNECT  Client has released connection, T229
    2008-07-15 13:45:27      0xCF4     19651 CONNECT  Connection released, T229
    2008-07-15 13:45:27      0xCF4     19677 CONNECT  Client has released connection, T179
    2008-07-15 13:45:27      0xCF4     19651 CONNECT  Connection released, T179
    2008-07-15 13:45:27      0xCF4     19677 CONNECT  Client has released connection, T295
    2008-07-15 13:45:27      0xCF4     19651 CONNECT  Connection released, T295
    2008-07-15 13:45:28     0x13B8     19633 CONNECT  Connect req. (T413, Node:'sipseu-nbslsc1', PID:0)
    2008-07-15 13:45:28     0x13B8     19633 CONNECT  Connect req. (T479, Node:'sipseu-nbslsc1', PID:0)
    2008-07-15 13:45:28     0x13B8     19651 CONNECT  Connection released, T413
    2008-07-15 13:45:28     0x13B8     19651 CONNECT  Connection released, T479
    2008-07-15 13:45:28     0x13B8     19633 CONNECT  Connect req. (T500, Node:'sipseu-nbslsc1', PID:0)
    2008-07-15 13:45:28     0x13B8     19633 CONNECT  Connect req. (T345, Node:'sipseu-nbslsc1', PID:0)
    2008-07-15 13:45:28     0x13B8     19651 CONNECT  Connection released, T500
    2008-07-15 13:45:28     0x13B8     19633 CONNECT  Connect req. (T494, Node:'sipseu-nbslsc1', PID:0)
    2008-07-15 13:45:28     0x13B8     19651 CONNECT  Connection released, T345
    2008-07-15 13:45:28     0x13B8     19633 CONNECT  Connect req. (T502, Node:'sipseu-nbslsc1', PID:0)
    2008-07-15 13:45:28     0x13B8     19651 CONNECT  Connection released, T494
    2008-07-15 13:45:28     0x13B8     19633 CONNECT  Connect req. (T532, Node:'sipseu-nbslsc1', PID:0)
    2008-07-15 13:45:28     0x13B8     19651 CONNECT  Connection released, T502
    2008-07-15 13:45:28     0x13B8     19633 CONNECT  Connect req. (T329, Node:'sipseu-nbslsc1', PID:0)
    2008-07-15 13:45:28     0x13B8     19651 CONNECT  Connection released, T532
    2008-07-15 13:45:28      0xCF4     19651 CONNECT  Connection released, T308
    2008-07-15 13:45:28     0x13B8     19651 CONNECT  Connection released, T329
    2008-07-15 13:45:28      0xCF4     19633 CONNECT  Connect req. (T204, Node:'sipseu-nbslsc1', PID:0)
    2008-07-15 13:45:28     0x13B8     19633 CONNECT  Connect req. (T373, Node:'sipseu-nbslsc1', PID:0)
    2008-07-15 13:45:28     0x13B8     19633 CONNECT  Connect req. (T381, Node:'sipseu-nbslsc1', PID:0)
    2008-07-15 13:45:28     0x13B8     19651 CONNECT  Connection released, T373
    2008-07-15 13:45:28     0x13B8     19651 CONNECT  Connection released, T381
    2008-07-15 13:45:28     0x13B8     19633 CONNECT  Connect req. (T438, Node:'sipseu-nbslsc1', PID:0)
    2008-07-15 13:45:28     0x13B8     19651 CONNECT  Connection released, T438
    2008-07-15 13:45:28     0x13B8     19633 CONNECT  Connect req. (T474, Node:'sipseu-nbslsc1', PID:0)
    2008-07-15 13:45:28     0x13B8     19651 CONNECT  Connection released, T474
    2008-07-15 13:45:28     0x13B8     19633 CONNECT  Connect req. (T482, Node:'sipseu-nbslsc1', PID:0)
    2008-07-15 13:45:28      0xCF4     19651 CONNECT  Connection released, T204
    2008-07-15 13:45:28     0x13B8     19651 CONNECT  Connection released, T482
    2008-07-15 13:45:28      0xCF4     19633 CONNECT  Connect req. (T156, Node:'sipseu-nbslsc1', PID:0)
    2008-07-15 13:45:28     0x13B8     19633 CONNECT  Connect req. (T486, Node:'sipseu-nbslsc1', PID:0)
    2008-07-15 13:45:28     0x13B8     19633 CONNECT  Connect req. (T504, Node:'sipseu-nbslsc1', PID:0)
    2008-07-15 13:45:28     0x13B8     19651 CONNECT  Connection released, T486
    2008-07-15 13:45:28     0x13B8     19633 CONNECT  Connect req. (T461, Node:'sipseu-nbslsc1', PID:0)
    2008-07-15 13:45:28     0x13B8     19651 CONNECT  Connection released, T504
    2008-07-15 13:45:28     0x13B8     19651 CONNECT  Connection released, T461
    2008-07-15 13:45:28     0x13B8     19633 CONNECT  Connect req. (T356, Node:'sipseu-nbslsc1', PID:0)
    2008-07-15 13:45:28     0x13B8     19651 CONNECT  Connection released, T356
    2008-07-15 13:45:28     0x13B8     19633 CONNECT  Connect req. (T516, Node:'sipseu-nbslsc1', PID:0)
    2008-07-15 13:45:28     0x13B8     19651 CONNECT  Connection released, T516
    2008-07-15 13:45:28     0x13B8     19633 CONNECT  Connect req. (T462, Node:'sipseu-nbslsc1', PID:0)
    2008-07-15 13:45:28     0x13B8     19633 CONNECT  Connect req. (T420, Node:'sipseu-nbslsc1', PID:0)
    2008-07-15 13:45:29      0xCF4     19633 CONNECT  Connect req. (T253, Node:'sipseu-nbslsc1', PID:0)
    2008-07-15 13:45:29      0xCF4     19651 CONNECT  Connection released, T253
    2008-07-15 13:45:29      0xCF4     19633 CONNECT  Connect req. (T220, Node:'sipseu-nbslsc1', PID:0)
    2008-07-15 13:45:29     0x13B8     19633 CONNECT  Connect req. (T432, Node:'sipseu-nbslsc1', PID:0)
    2008-07-15 13:45:29      0xCF4     19633 CONNECT  Connect req. (T244, Node:'sipseu-nbslsc1', PID:0)
    2008-07-15 13:45:29     0x13B8     19651 CONNECT  Connection released, T432
    2008-07-15 13:45:29     0x13B8     19633 CONNECT  Connect req. (T441, Node:'sipseu-nbslsc1', PID:0)
    2008-07-15 13:45:29      0xCF4     19651 CONNECT  Connection released, T244
    2008-07-15 13:45:29     0x13B8     19651 CONNECT  Connection released, T462
    2008-07-15 13:45:29     0x13B8     19651 CONNECT  Connection released, T420
    2008-07-15 13:45:29     0x13B8     19633 CONNECT  Connect req. (T442, Node:'sipseu-nbslsc1', PID:0)
    2008-07-15 13:45:29     0x13B8     19651 CONNECT  Connection released, T442
    2008-07-15 13:45:29     0x13B8     19633 CONNECT  Connect req. (T561, Node:'sipseu-nbslsc1', PID:0)
    2008-07-15 13:45:29     0x13B8     19651 CONNECT  Connection released, T561
    Can you help me with this error?

    Hi Juraj,
    this looks like a network issue.
    Anyhow - you should also consider to install the current patch 7.6.03 available  here from SDN Downloadarea.
    regards,
    Lars

  • Using TEST mode in sender file channel to trigger jdbc receiver channel

    Hi
    In order to call a jdbc receiver channel every 15 minutes I intended to use a file sender channel as a trigger where I set the Processing Mode to TEST. However, I would like to make multiple simultaneous different calls to the jdbc receiver channel, so I have multiple files in the folder, where the file sender channel is listening. Quality of Service in the file sender channel is set to Best Effort as the call is syncroneous.
    However, because the messages in the folder are not deleted, only the first message is being processed no matter whether I choose Processing Sequence "By Date" or "By Name".
    I would like to avoid having to create 15 folders containing one message each, so is there another way of doing it?
    By the way, I redirect the response from the jdbc receiver channel to a different folder, but I think this is irrelevant in this case.
    I use PI 7.11
    /Mikael

    Thanks for your answer, but I would like to avoid using Availability planning.
    Right now I am thinking about using "Advanced selection for source file" and then just specify 14 different folders here each containing one trigger message, but it seems that only the oldest message (if I choose Processing Sequence = Date) or the first message alfabetically (if I choose Processing Sequence = Name) is being processed across the many folders which I think is very weird!

  • JDBC Receiver channel is not showing any payloads

    Hello Experts,
    My interface is ABAP PROXY to JDBC i am facing a strange issue in ECC moni payload is succesful in PI moni also Payload is black colour flag but my Receiver JDBC channel is not showing any thing but it is in green colour (it is not showing neither succes nor error messages logs are empty).Sender chaneels are working only problem with receiver JDBC channels
    In DEV and PROD it it is working in QUAL it is showing this problem.I take the restart of QUAL server still it is behaving like that
    Please throw some light on the issue any help is higlhly apprecaited.
    Regards
    Praveen

    Hi,
    first check in pipe line step call technical routing , mapping execution generated JDBC receiver message pay load or not.
    if it is not generated then check mapping , if is is generated then restart the channel and check what communication channel name you given in receiver agreement.
    monitor the same channel, if all JDBC receiver channels have same behavior then restart the JDBC adapter service in NWA.
    rEGARDS,
    rAJ

  • Escape character for apostrophe ' in JDBC receiver channel

    Hi all,
    We have Proxy to JDBC scenario in our project. This interface is working fine with unicode data but when there is an apostrophe( ' ) coming in any of the field values ( ex: DOWTHERM 'J' MODEL19QAGB1G ) , the message is failing in receiver JDBC channel.
    can anyone please tell us how to handle single quote in JDBC receiver channel.
    I have read in SAP help documentation that apostrophe is a reserved character in SQL syntax and is therefore replaced by an escape character if it occurs within value strings. There is a option to JDBC receiver communication channel under "SQL SYNTAX PARAMETER"  to specify the escape character for apostrophe.
    Can any please tell us which value needs to be maintained in the channel to avoid this error.
    Regards
    Jagruthi

    Hi Prateek,
    Thanks a lot for you inputs.
    This issue is solved now. We have replaced single quote with two single quotes and then did the hasQuote mapping as described in the blog.
    /people/prateek.srivastava3/blog/2009/04/02/unicode-handling-for-ms-sql-server
    No value needs to be maintained in channel(SQL SYNTAX PARAMETER ).
    But just want to understand  the difference between replacing the ' with '' in mapping and using SQL SYNTAX PARAMETER option in communication channel.
    Both should ideally result in same  output. But it didnu2019t work when we tried with two single quotes in SQL SYNTAX PARAMETER (Escape Symbol for Apostrophe) in communication channel without doing anything in mapping.
    Regards
    Jagruthi

  • Start JDBC Receiver channel twice per day

    Hello,
    I need to get some piece of data from Oracle database twice per day. For example at 12:00am and 12:00pm. Standard JDBC Receiver channel has no needed settings. It has only "poll interval" without exact time.
    I can set up "poll interval" to 12 hours, but this can't guarantee that JDBC receiver channel will works only twice per day. For example after XI system restart JDBC adapter loses time counter. It means that JDBC adapter can starts more than 2 times per day.
    I have only one idea at this moment.
    I can create ABAP program which can be planned as ABAP job at needed time and with needed period.
    This program should send some dummy message to Integration Engine. Integration Engine should start some Integration Process which can read data from Oracle database via JDBC channel.
    What else opportunities are?
    Thanks.
    Best regards,
    Eugeny

    Message deleted
    Message was edited by: Shabarish Vijayakumar

  • JDBC Receiver Channel Error

    Hi All,
    Very Urgent!!!
    My scenario is RFC to JDBC async . Earlier scenarion is working fine but not its showing error,
    "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 when attempting to get processing resources: com.sap.aii.af.lib.util.concurrent.ResourcePoolException: The resource pool has already been destroyed."
    For that already restart JAVA stack once and change some configuration in receiver channel like, timeout parameter in advence tab and check that "Disconnect from Database after processing each message"
    But same error occurs when I try to resend the data again.
    Please suggest!!
    Thanks,
    Arthita

    Hi All,
    Now showing something else.
    Not showing previous error but status is showing "Message processing started" but after that not processed.
    Please see the SS.
    Please suggest something.
    Thanks,
    Arthita

  • Error on JDBC Receiver Channel

    Hi,
    I configured a Receiver JDBC Channel to read data from XI own DB. We are using MS SQL Server 2005.
    During the test, I'm running to the following issue. Any ideas on what could be causing this error:
    Log for CC monitor:
    2010-07-20 13:53:20 Success The message was successfully retrieved from the receive queue.
    2010-07-20 13:53:20 Success Receiver JDBC adapter: processing started; QoS required: ExactlyOnce
    2010-07-20 13:53:20 Success JDBC adapter receiver channel RPI_LOOKUP_JDBC: processing started; party  , service RPI_DB
    2010-07-20 13:53:20 Success Delivering to channel: RPI_LOOKUP_JDBC
    2010-07-20 13:53:20 Success MP: Processing local module localejbs/CallSapAdapter
    2010-07-20 13:53:20 Success MP: Entering module processor
    2010-07-20 13:53:20 Success select sem_datetime, sem_user, sem_host, sem_flag from "/RPI/T_USER" where sem_user=dom1\user1
    2010-07-20 13:53:20 Error JDBC message processing failed; reason Error processing request in sax parser: Error when executing statement for table/stored proc. 'query' (structure 'stmt'): com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name '/RPI/T_USER'.
    2010-07-20 13:53:20 Error Unable to execute statement for table or stored procedure. 'query' (Structure 'stmt') due to com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name '/RPI/T_USER'.
    2010-07-20 13:53:20 Error MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'query' (structure 'stmt'): com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name '/RPI/T_USER'.
    2010-07-20 13:53:20 Error Exception caught by adapter framework: null
    2010-07-20 13:53:20 Error Delivery of the message to the application using connection JDBC_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'query' (structure 'stmt'): com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name '/RPI/T_USER'..
    2010-07-20 13:53:20 Error The message status set to NDLV.
    Here is the payload:
    <root>
    <stmt>
      <query action="SQL_QUERY">
       <access>
        select sem_datetime, sem_user, sem_host, sem_flag from "/RPI/T_USER" where sem_user='dom1\user1'
       </access>
      </query>
    </stmt>
    </root>
    Connection Settings:
    JDBC Driver: com.microsoft.sqlserver.jdbc.SQLServerDriver
    Connection: jdbc:sqlserver://hostname.domain.net;databaseName=XI1;
    I did check on the DB and am able to see the table /RPI/T_USER, with 0 records.
    Thanks in advance,
    Sumant.

    <root>
    <stmt>
      <query action="SQL_QUERY">
       <access>
        select sem_datetime, sem_user, sem_host, sem_flag from "/RPI/T_USER" where sem_user='dom1\user1'
       </access>
      </query>
    </stmt>
    </root>
    Not sure if select, from, where will work in lowercase. Instead of query (node under stmt) should you not mention the table_name?
    <root>
    <stmt>
      </RPI/T_USER action="SQL_QUERY">
       <access>
        SELECT sem_datetime, sem_user, sem_host, sem_flag FROM /RPI/T_USER WHERE sem_user='dom1\user1'
       </access>
      <//RPI/T_USER>
    </stmt>
    </root>
    I did check on the DB and am able to see the table /RPI/T_USER, with 0 records.
    How will the SELECT work then, if the table is with 0 records?
    Regards,
    Abhishek.

  • JDBC Receiver Channels stuck !!!!

    Hello,
    We are facing a very strange situation..
    From our SAP/R3 system we are sending data to 3 databases (3 dif. Countries). And the three of them have different verison of Oracle.
    9.2.0.6 , 9.2.0.8 and 10.2.0.4.
    The problem happens only with channels that are sending to 9.2.0.8 and not all the time.. The problem started after one month from Go Live and now it happens almost one time every week with exception previous week that happend twice the same day!!
    In all channels we have set the following advanced parameters
    taskTimeout                    :120
    driver:oracle.net.CONNECT_TIMEOUT  : 120000
    driver:oracle.jdbc.ReadTimeout     : 120000

    >
    Sarvesh Singh wrote:
    > Basically you go through these two threads to find a permanent solution for this issue..
    >
    > Re: "To be delivered" status in RWB -- Any solution?
    >
    > Messages stucked with status "To be Delivered" and "Delivering"
    Hi Sarvesh,
    I went through those threads..  most of what they are saying we have implemented them...
    .maxReceivers has been set up to 3 with deafaultMaxConsumersPerQueue 10...
    MaxThreadCount has been set up to 500 and in Thread manager  InitialThreadCount has been setup to 80, MinThreadCount to 80 and MaxThreadCount to 120..
    Before setting the above all the Receiver Channels was stuck!!
    What we haven't set is
    1) poolWaitingTime which I did it know and I will wait to see what will happen.
    2) sqlquerytimeout which to be honest I didn't quite understood what is for.. and
    3) messaging.connections which are
    Send.maxConsumers=5
    Recv.maxConsumers=5
    Call.maxConsumers=10
    Rqst.maxConsumers=10
    In one post from the threads you give says that they should be 10,10,20,20
    For now I am waiting to see the next dayu2019s how the system will behave with the poolWaitingTime that I have setup.
    thanks for your answers, and I will let you know.
    BR,
    John B.

  • JDBC 4.J - Connection reset

    Hi,
    I have problem with JDBC(4.1) cennection to MS SQL 2012. I have java application which is running in loop and contacting sql server. Java program works for few minutes(max 4hours) and then going to down with error message:
    com.microsoft.sqlserver.jdbc.SQLServerException: Connection reset
            at com.microsoft.sqlserver.jdbc.SQLServerConnection.terminate(SQLServerC
    onnection.java:1668)
            at com.microsoft.sqlserver.jdbc.SQLServerConnection.terminate(SQLServerC
    onnection.java:1655)
            at com.microsoft.sqlserver.jdbc.TDSChannel.read(IOBuffer.java:1789)
            at com.microsoft.sqlserver.jdbc.TDSReader.readPacket(IOBuffer.java:4881)
            at com.microsoft.sqlserver.jdbc.TDSReader.nextPacket(IOBuffer.java:4791)
            at com.microsoft.sqlserver.jdbc.TDSReader.ensurePayload(IOBuffer.java:47
    67)
            at com.microsoft.sqlserver.jdbc.TDSReader.readUnsignedByte(IOBuffer.java
    :4970)
            at com.microsoft.sqlserver.jdbc.SQLServerResultSet.initializeNullCompres
    sedColumns(SQLServerResultSet.java:711)
            at com.microsoft.sqlserver.jdbc.SQLServerResultSet.discardCurrentRow(SQL
    ServerResultSet.java:1709)
            at com.microsoft.sqlserver.jdbc.SQLServerResultSet.fetchBufferNext(SQLSe
    rverResultSet.java:1774)
            at com.microsoft.sqlserver.jdbc.SQLServerResultSet.next(SQLServerResultS
    et.java:1034)
            at javaapplication1.JavaApplication1.main(JavaApplication1.java:79)
    Anybody idea?
    Thanks
    Tom

    Hi Eric,
    thank you for the answer. I tried JDBC 4.0, 4.1 and our supplier works with JTDS. Both have the same result with connection reset exception. If I put query with few records(tens of record), it is work fine. But If I put query on table with 1000 - 1 000 000
    recods, the loop is gooing to Exception (connection reset), sometimes it work few minutes sometimes it works for few hours.
    Tom
    code here:
    public class JavaApplication1 {
        public static void main(String[] args) {
            String url = "jdbc:sqlserver://X.X.X.X\\ITSQL:1433;databaseName=Alvao;autoReconnect=true";
            Statement stmt = null;
            ResultSet result = null;
            String driver = "com.microsoft.sqlserver.jdbc.SQLServerDriver";
            String databaseUserName = "USER";
            String databasePassword = "PSWD";
            try {
               while(true){
                String col1, col2, col3;
                Class.forName(driver);
                conn = DriverManager.getConnection(url, databaseUserName, databasePassword);
                long startTime = System.currentTimeMillis();
                stmt = conn.createStatement();
                result = null;
                result = stmt.executeQuery("SELECT SYSDATETIME()");
                result.next();
                String serverTime = result.getString(1);
                System.out.println(serverTime);
                result = stmt.executeQuery("SELECT Convert(nvarchar(20), PK_USER_ID) +'_'+ Convert(nvarchar(20), PersonalId) +'_'+ Convert(nvarchar(20), Employment) as ret  FROM [Alvao].[nova_idm_export].[Person]
    where PersonalId = '710804'");
                result.next();
                String result1 = result.getString(1);
                System.out.println(result1);
                result = stmt.executeQuery("SELECT count(*) celkem FROM [Alvao].[nova_idm_import].[tImportPerson]");
                result.next();
                String result2 = result.getString(1);
                System.out.println(result2);
                stmt.setQueryTimeout(30000);
    // This table returns > 1 000 000 records. If I skip this query, the lopp newer crashes
                result = stmt.executeQuery("SELECT * FROM [Alvao].[dbo].[tblLog]");
                result.setFetchSize(10000);
                int counter = 0;
                while(result.next()){
                 counter++;
                String result3 = Integer.toString(counter);
                System.out.println(result3);
                conn.close();
                long estimatedTime = System.currentTimeMillis() - startTime;
                System.out.println(estimatedTime);
                System.out.println("---------------");
                BufferedWriter bw = new BufferedWriter(new FileWriter("soubor.txt", true));
                bw.write(serverTime+" "+result1+" "+result2+" "+estimatedTime);
                bw.newLine();
                bw.flush();
    Thread.sleep(2000);
            } catch (Exception e) {
                e.printStackTrace();
                try{
                BufferedWriter bw = new BufferedWriter(new FileWriter("souborChyb.txt", true));
                bw.write(e.getMessage());
                bw.newLine();
                bw.flush();
                }catch(IOException ex){

Maybe you are looking for

  • Query should fetch single value

    Hi, I have created a Key figure with exception aggregate as Last value with reference char as order. I have data like Ord date KY KY2 01   ...    22   221 01  ...     22   223 02  ...     23   234 I want to get in the query KY= 22 for Ord=01 but i am

  • Can anybody explain what does this error tell me?

    C:\Program Files\Xinox Software\JCreator LE\MyProjects\Intbag\Primes.java:18: cannot resolve symbol symbol : method size () location: class int[]           for(int i=3; Primes.size()<=100;i++){                                                         

  • Add option to new layer setting to narrative photo.

    What the problem is, when i want add new layer image. The view selecting gallery shown local image. Can i setting to narrative photo browser when i want add layer? Its just difficult to add layer coz "the local" arrange by old date images first. Than

  • WAD Drilldown with ArcView

    Dear Experts, I am trying to create a web report that shows a map and allows the users to drill down on that map. I have static-geo characteristics in my query. (country,  region) I can show a map of europe with the right data on it, but there is no

  • TF Partner for VT01N

    Hi All, I need to create a TF partner and Shipment for transaction VT01N.  Can anyone help me out if the relevant exit and sample coding. Points rewarded for sure Thanks