JDBC Channel ERROR

Hi,
We sended data from DB using PI JDBC Sender Adapter. Some times we
found error ocuured in RWB when the data rows is large.
Here is the Audit log for the error message. It tell me
that "java.io.IOException: Error writing to server".
The data about 15461 row(s) and each row has about 200 colums, the
query result size is about 12M.
Can someone get me some help? Some parameters should be changed ?
Best Regards,
Terry
Audit Log for Message: 59e0f073-6206-48b2-109a-922e33b71e36
Time Stamp Type Description
2012-01-10 09:34:31 Information Channel JDBC_SEND_EB_CO_PA: Executed
Query successfully, start executing update.
2012-01-10 09:34:32 Information Channel JDBC_SEND_EB_CO_PA: Updated
15461 row(s) successfully.
2012-01-10 09:34:32 Information Send query result, size 108737266
characters.
2012-01-10 09:34:44 Information MP: entering1
2012-01-10 09:34:44 Information MP: processing local module
localejbs/CallSapAdapter
2012-01-10 09:34:44 Information The application tries to send an XI
message asynchronously using connection
JDBC_http://sap.com/xi/XI/System.
2012-01-10 09:34:44 Information Trying to put the message into the send
queue.
2012-01-10 09:35:29 Information Message successfully put into the
queue.
2012-01-10 09:35:29 Information The application sent the message
asynchronously using connection JDBC_http://sap.com/xi/XI/System.
Returning to application.
2012-01-10 09:35:29 Information MP: leaving
2012-01-10 09:35:29 Information The message was successfully retrieved
from the send queue.
2012-01-10 09:35:44 Information The message status was set to DLNG.
2012-01-10 09:35:44 Error Transmitting the message to endpoint
http://sapxiprd:9000/sap/xi/engine?type=entry using connection
JDBC_http://sap.com/xi/XI/System failed, due to:
com.sap.engine.interfaces.messaging.api.exception.MessagingException:
Error transmitting the message over HTTP. Reason: java.io.IOException:
Error writing to server.
2012-01-10 09:35:44 Information The message status was set to WAIT.
2012-01-10 09:35:44 Information The asynchronous message was
successfully scheduled to be delivered at Tue Jan 10 09:40:44 CST 2012.
2012-01-10 09:40:44 Information The message status was set to TBDL.
2012-01-10 09:40:46 Information Retrying to send message. Retry: 1
2012-01-10 09:40:46 Information The message was successfully retrieved
from the send queue.
2012-01-10 09:40:46 Information The message status was set to DLNG.
2012-01-10 09:40:47 Error Transmitting the message to endpoint
http://sapxiprd:9000/sap/xi/engine?type=entry using connection
JDBC_http://sap.com/xi/XI/System failed, due to:
com.sap.engine.interfaces.messaging.api.exception.MessagingException:
Error transmitting the message over HTTP. Reason: java.io.IOException:
Error writing to server.
2012-01-10 09:40:47 Information The message status was set to WAIT.
2012-01-10 09:40:47 Information The asynchronous message was
successfully scheduled to be delivered at Tue Jan 10 09:45:47 CST 2012.
2012-01-10 09:45:47 Information The message status was set to TBDL.
2012-01-10 09:45:48 Information Retrying to send message. Retry: 2
2012-01-10 09:45:48 Information The message was successfully retrieved
from the send queue.
2012-01-10 09:45:48 Information The message status was set to DLNG.
2012-01-10 09:45:49 Error Transmitting the message to endpoint
http://sapxiprd:9000/sap/xi/engine?type=entry using connection
JDBC_http://sap.com/xi/XI/System failed, due to:
com.sap.engine.interfaces.messaging.api.exception.MessagingException:
Error transmitting the message over HTTP. Reason: java.io.IOException:
Error writing to server.
2012-01-10 09:45:49 Information The message status was set to WAIT.
2012-01-10 09:45:49 Information The asynchronous message was
successfully scheduled to be delivered at Tue Jan 10 09:50:49 CST 2012.
2012-01-10 09:50:49 Information The message status was set to TBDL.
2012-01-10 09:50:50 Information Retrying to send message. Retry: 3
2012-01-10 09:50:50 Information The message was successfully retrieved
from the send queue.
2012-01-10 09:50:50 Information The message status was set to DLNG.
2012-01-10 09:50:51 Error Transmitting the message to endpoint
http://sapxiprd:9000/sap/xi/engine?type=entry using connection
JDBC_http://sap.com/xi/XI/System failed, due to:
com.sap.engine.interfaces.messaging.api.exception.MessagingException:
Error transmitting the message over HTTP. Reason: java.io.IOException:
Error writing to server.
2012-01-10 09:50:51 Error The message status was set to NDLV.

Hi,
Have a look at a similar thread java.io.IOException during large file processing on PI 7.1. It says about a file adapter error, but the reason seems similar - exceeding the maximum size of a HTTP request allowed in PI configuration. Try checking the value of parameter icm/HTTP/max_request_size_KB and make sure it is greater then the size of your message (in XML size).
Hope this helps,
Grzegorz

Similar Messages

  • Receiver JDBC Channel Error : Incorrect syntax near 'OR'

    hi,
    we are facing the below error at the receiver communication channel:
    Error while parsing or executing XML-SQL document: Error processing request in sax parser: Error when executing statement for table/stored proc. 'table' (structure 'statement'): com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near 'OR'.
    When we again reprocess the message,it shows the exact error at the channel.
    Any ideas why the first error shows up?

    Hi, Anu
    The most probable it's that your target XML it's not correct because it haven't a correct format.
    Please, check your target XML and see
    http://help.sap.com/saphelp_nwpi711/helpdata/en/48/465581929734d9e10000000a42189d/frameset.htm
    Regards,
    Carme

  • JDBC to JDBC Scenario - Communications Channel Error

    I am following the published JDBC to JDBC Scenario:
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/step-by-step+guides
    I am a 3rd Party Vendor, and I'm using NX7: SAP Exchange Infrastructure. My goal is to have a JDBC Sender that sends MS Access data from my PC to NX7, and have a JDBC Receiver that receives MS Access data, and map the data from one database to the other via XI per the scenario, with both databases on my PC.
    I set up the NX7 SAP XI per the scenario, but I'm getting an error on the NX7 Communications Channel:
    Error during database connection to the database URL 'jdbc:odbc:Driver={Microsoft Access Driver(.mdb)};DBQ=//204.245.44.232/C:/Documents and Settings/All Users/Documents/XI_FILES/SENDER/STUDENT_Database.mdb' using the JDBC driver 'sun.jdbc.odbc.JdbcOdbcDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:odbc:Driver={Microsoft Access Driver(.mdb)};DBQ=//204.245.44.232/C:/Documents and Settings/All Users/Documents/XI_FILES/SENDER/STUDENT_Database.mdb': SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified'
    The data source is in
    C:/Documents and Settings/All Users/Documents/XI_FILES/SENDER/STUDENT_Database.mdb on my PC and it is a shared folder. My PC IP 204.245.44.232 is a public IP address. It should be using the JDBC-ODBC bridge driver in the JDK.
    Why am I getting the error?
    Thanks,
    Ed Culnane

    Hi
    Connection Parameters are of given below check
    Transport Protocol: JDBC 2.0
    Message Protocol: XML SQL Format
    Adapter Engine: Integration Server
    JDBC Driver: jdbc.odbc.JdbcOdbcDriver
    Connection: jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=//xiserver/xitemp/db/TestDB.mdb
    5) In my case there is no userid and password required, but if you have userid and password, then the parameter for Connection becomes,
    jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=//xiserver/xitemp/db/TestDB.mdb;Uid=yourid;Pwd=yourpwd;
    Well ms access file should be in the XI Server path or it should be able to accessed by the XI
    Try this above option of keeping u r file in the XI Server path instead of the local
    rgd
    srini

  • JDBC Communication channel error

    Hi All,
    I am facing a problem with JDBC channel.
    We have depolyed the New JDBC driver called SQLSERVER2005 and also in JDBC channel i have changed to the server name and port, because we have new server details now.
    But still channel is getting into error 
    Following are my observations:-
    1)      I can see in the error log of these channels its still continuing to poll in SQL Server 2000 version (though it is updated to SQL 2005).
    2)      When i see in the CC monitoring it is giving the login error
    Let me know if anything should be changed in this direction.
    Please dont give me any links, kindly suggest me your solutions.
    Regards
    Sai Ganesh

    Hi Ganesh,
    Specify the connection parameters as given below
    Jdbc Driver : com.microsoft.sqlserver.jdbc.SQLServerDriver
    Connection: jdbc:sqlserver://ip address of databasehost:1433;databaseName=name of your database
    Regards
    Leela

  • Error in receiver JDBC channel

    Hi,
    I have a receiver JDBC scenario, which must execute a stored procedure.
    Output message seems correct:
    <ns0:MT_SQL xmlns:ns0="http://www.xxxx">
    <STATEMENT1>
       <DIRECC ACTION="EXECUTE">
           <TABLE>biz_mag_clientes_direcciones</TABLE>
           <idcliente type="VARCHAR">0001000692</idcliente>
           <idtipodir type="VARCHAR">1</idtipodir>
           <iddireccion type="VARCHAR">0210054466</iddireccion>
           <idtipovia type="INTEGER">1</idtipovia>
           <idciclovida type="VARCHAR" />
           <idmaestro type="VARCHAR" />
           <idtiporeplicacion type="VARCHAR" />
           <cp type="VARCHAR">08188</cp>
           <callenum type="VARCHAR">UR CAN SALA XIC APDO. CORREOS 507,</callenum>
           <telefono type="VARCHAR">9999999</telefono>
           <observacion type="VARCHAR" />
           <grupocnae type="VARCHAR">55</grupocnae>
           <subgrupocnae type="VARCHAR">5541</subgrupocnae>
      </DIRECC>
    </STATEMENT1>
    </ns0:MT_SQL>
    But there is an error in receiver CC:
    Unable to execute statement for table or stored procedure. 'biz_mag_clientes_direcciones'  due to java.lang.NumberFormatException: For input string: "1 "
    I think this problem it's due to idtipovia field (INTEGER type), but i don't know how to solve it.
    Any input, please ? Thanks
    Carme.

    Yuki, if i defined this field as CHAR, cc returned this error:
    JDBC message processing failed; reason Error processing request in sax parser: Error when executing statement for table/stored proc. 'biz_mag_clientes_direcciones' ): com.microsoft.sqlserver.jdbc.SQLServerException: Error converting data type nvarchar to int.
    Because this field is INTEGER type in target stored procedure .
    Ravi, This field is defined as  xsd:integer in data type.
    Thanks,
    Carme.

  • Regarding the JDBC Communication Channel error

    Hi all,
    We installed one non-central adapter engine for our xi server. But when configuring jdbc channels with this non-central adapter engine, the jdbc channel not picking data from tables, instead it is always showing message "Processing Started". All the channels configured with central adapter engine are working fine. Basis person is working on this problem for 10 days, he didn't find any solution. Pls help us.
    Note:-when we start the channel configured with non-central adapte engine, the channel is automatically getting lock in visual admin. Even though we will release the lock manually, after starting once again it is getting locked again.
    thanks,
    madhusudhan.

    hi,
    Is your decentral adapter engine working fine for other communication channels.There might be some problem in your decentral adapter engine installation.
    You can refer to my blog on this.
    Basic Steps In Decentralized Adapter Engine
    regards,
    ujjwal kumar

  • Getting end-of-file on communication channel error on this query

    Hi guys,
    I'm getting the end-of-file on communcation channel error when running the following query in SQL PLUS, If run it in a stored procedure called through code of JDBC, it gave "no more data to read from socket" error. Any idea what went wrong? kind of frustrated now. We are using the Oralce 9.0.1.4.0, which suppose to fix some sdo_uion and sdo_buffer bugs. Thanks a lot!!
    select SDO_GEOM.SDO_BUFFER((SELECT SDO_AGGR_UNION(MDSYS.SDOAGGRTYPE(GEOLOC, 0.011119487)) FROM GEOTEL_SOURCE where MSA='5000' and COMPANY_NAME ='AMERICAN FIBER SYSTEMS'),1.0,5,'unit=MILE arc_tolerance=0.05') from GEOTEL_SOURCE a where a.MI_PRINX = 1;

    Hi Daniel,
    Just tried the 9.2.0.2 patch, seems to work better now. At least I don't get the end-of-file on communication channel error. But how about the speed thing? I isolated the problem, and find out that sdo_aggr_union is taking too long to finish( 1 Hour!!! for 2300 lines with the same city. Any clue to optimize it, I tried some hint like /*+ordered*/ No_Merge and something like that, does not improve though. Thanks!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • JDBC Receiver error

    Hi All,
    I have a scenario where XI has to pick the file from ftp and update the stagging databse through JDBC.
    XI is picking the file, but not getting failed while sending the data to JDBC.
    Unable to execute statement for table or stored procedure. 'MSDYNAMICSEMPLINFO' (Structure 'STATEMENT') due to com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name 'MSDYNAMICSEMPLINFO'.
    JDBC message processing failed; reason Error processing request in sax parser: Error when executing statement for table/stored proc. 'MSDYNAMICSEMPLINFO' (structure 'STATEMENT'): com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name 'MSDYNAMICSEMPLINFO'
    Exception caught by adapter framework: null
    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. 'MSDYNAMICSEMPLINFO' (structure 'STATEMENT'): com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name 'MSDYNAMICSEMPLINFO'
    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. 'MSDYNAMICSEMPLINFO' (structure 'STATEMENT'): com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name 'MSDYNAMICSEMPLINFO'
    But the client say that the table is created at their end.
    Please help
    Edited by: Lavanya Ravi on May 17, 2011 8:01 AM

    HI Lavanya,
    1) StatementName should be 0..Unbounded and need to be mapped with the source which is repeating which is Record.
    2) No need to mapp TableName node.
    3) Action will be attribute and needs to be mapped to constant with eiter Insert,Update and UPDATE_INSERT as well.
    4) Table will be mapped to the constant and needs to provide the table name in the database.
    5) No need to map with access as you have mapped the Record to Statement Name. When ever multiple records exists from source the statement will be excuted for each and every record.
    Try to use this mapping and update the status.
    Finally if you see the payload in the receiver JDBC channel your structure will be like below. If your payload in the receiver JDBC showing the structure like below then your problem will be solved.
    <MessageType Name>
      <StatementName>
    <dbTableName action=u201DINSERTu201D | u201CINSERTu201D>
        <table>MSDYNAMICSEMPLINFO</table>
    <access>
    <col1>val1</col1>
    <col2>val2new</col2>
    </access>
    Thanks,
    Raju

  • Problem in the receiver JDBC channel

    hi,
    I am facing some problem with the receiver JDBC channel which is trying to insert some data in ORACLE DB.  My sample input XML file is,
    <root>
    <statement>
    <table>EBILL_CUST_STATE_AGE_HDR2</table>
    <CUST_CODE>BA001</CUST_CODE>
    <CUST_ADDR>Rental Customer Name 1+Name 2street01+TEL: 0331694100
                           FAX:0331694103</CUST_ADDR>
    <CRD_LMT>1000000.00</CRD_LMT>
    <BG_AMT>1000000.00</BG_AMT>
    </statement>
    </root>
    Error stack is,
    Exception caught when executing statement for table/stored proc. 'EBILL_CUST_STATE_AGE_HDR2' (structure 'Statement_CUST_STATE_AGE_HDR2'):
    java.sql.SQLException: ORA-00917: missing comma
    Please help me in solving the issue ASAP.
    Thanks,
    Soorya

    Hi,
    It works like this
    <ROOT>
    <STATEMENT>
    <TABLENAME ACTION="INSERT">
    <TABLE>EBILL_CUST_STATE_AGE_HDR2</TABLE>
    <ACCESS>
    <CUST_CODE>BA001</CUST_CODE>
    <CUST_ADDR>Rental Customer Name 1+Name 2street01+TEL: 0331694100
    FAX:0331694103</CUST_ADDR>
    <CRD_LMT>1000000.00</CRD_LMT>
    <BG_AMT>1000000.00</BG_AMT>
    </ACCESS>
    </TABLENAME>
    </STATEMENT>
    </ROOT>
    Please refer the link.
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/ae/d03341771b4c0de10000000a1550b0/frameset.htm
    Abid Mazhar

  • Errrror in sender JDBC channel  in rwb

    hi forum,
    in a JDBC to XI scenario,
    the sender JDBC channel, in rwb, shows error:
    Status: RED
    Short Log: Adapter has not provided any information for this channel
    Error information:  Exception: Channel with status unknown or Not Registered
    pls help, its in production system

    RAJ,
    these channels were always active an working fine,
    let me explain the problem in detail,
    we have three cluster nodes for XI system,
    so, in rwb, communiation channel monitoring, we can see the status of a channel corresponding to the 3 nodes seperately,
    here i can see that, for 2 nodes the channel is GREEN and working, but for one of the node, it gave the already mention error

  • JDBC Adapter - Error - java.lang.NullPointerException

    HI
    I am working on a JDBC to IDOC Scenario in PI 7.1 version, and configured the JDBC channel, However when I activated I do see the following error on the LOG on NWA
    Message: Stopped unexpectedly - reconfigure and activate to continue processing. Error: java.lang.NullPointerException 
    Date: 2010-03-04
    Time: 10:14:50:113
    Category: /Applications/ExchangeInfrastructure/AdapterFramework/Services/ADAPTER/ADMIN/JDBC
    Location: com.sap.aii.adapter.jdbc.JDBC2XI.invoke()
    Application: 
    Thread: XI JDBC2XI[JDBCSender/MCM_XBOX_BS_DEV/*]_2153
    Data Source: j2ee\cluster\server1\log\applications_01.log
    Correlator ID: 17089510001881001
    Argument Objects: 
    Arguments: 
    DSR Component: nent20_CWX_1708951
    DSR Transaction: 3fb11ea7266c11df9a91001e0bc80f6a
    DSR User: 
    Message Code: 
    Session: 11604
    Transaction: 
    User: J2EE_GUEST
    Host: nent29
    System: CXW
    Instance: DVEBMGS00
    Node: server1
    Can anyone give idea how to resolve this issue
    Thanks
    PR
    Edited by: PR on Mar 4, 2010 1:23 PM
    Edited by: PR on Mar 4, 2010 1:23 PM
    Edited by: PR on Mar 4, 2010 1:23 PM

    Error: java.lang.NullPointerException
    this error usually comes when you have used the wrong connection parameters in the adapter.
    confirm the parameters once again

  • Channel Error

    Hi,
    Channel is giving below error.
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'WRM.WRM_STOCK' (structure 'statement'): java.sql.SQLException: ORA-06550: line 1, column 7: PLS-00201: identifier 'WRM.WRM_STOCK' must be declared ORA-06550: line 1, column 7: PL/SQL: Statement ignored
    what could be the reason.

    Hi,
    maybe this thread could help:
    JDBC Channel : Connection reset
    Regards
    Patrick

  • JDBC channle error.....

    Hi Gurus,
      I m gettin an error in JDBC channels which is like below....
    Error during database connection to the database URL 'jdbc:oracle:thin:@**:**:**' using the JDBC driver 'oracle.jdbc.driver.OracleDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:oracle:thin:@**:**:**' ' SAPClassNotFoundException: oracle.jdbc.driver.OracleDriver'
    My scenario is JDBC to RFC.... I think the JDBC drivers is not installed properly in our PI system..thts why its causing this problem....waiting for your inputs....if pos pls provide installation guide for PI 7.0...
    Regds,
    Pinangshuk.

    Hi,
    Indeed the class files were not correctly installed.
    Check this forum thread : Re: SAP XI Adapter JDBC "Error during database connection to the database"
    >>installation guide for PI 7.0...
    https://websmp109.sap-ag.de/instguides -> SAP Netweraver7.0-> Installation
    But i will suggest you to go through the thread and do as it is suggested there
    Regards
    Suraj

  • End of TNS data Channel error

    I am running oracle 8i v 8.0.3.0.6 on Netware. When trying to connect to an existing TNS Name(which works with all other item) using the JDBC thin client I receive the 'End of TNS data Channel' error.
    Can anyone give me some direction as to what I can do.
    Thanks;
    John
    [email protected]

    If you are using the oracle thin driver, make sure you get the latest driver
    from oracle.
    Firewall could be an issue here, so try to make sure you set the
    TestConnsOnReserve to true in the connection pool props.
    hth
    sree
    "sarathy" <[email protected]> wrote in message
    news:3c30473f$[email protected]..
    Hi,
    We are using the Weblogic application server for our web-based applications.
    We defined a connection pool in it, which creates 2 connections to an Oracle
    database i.e initial capacity 2 and maximum capacity 4. But every one in a
    while when requesting data, I get the following error : SQLException : End
    of TNS data channel.I am not able to understand weather this is a networking
    problem or database problem.If anyone has any idea please help,b'coz it is
    very urgent.

  • NFS Commnication channel errors for deleting and placing

    Hi All,
    I was trying File to file scenario.
    I am picking the file from App server(AL11) using NFS Adapter and the processing Mode is Delete
    In comm channel monitor it showing an error as
    Sender channel error:
    Error: File '/staging/INTERFACE/SAP/ca/kar370.txt' - deleting after processing failed
    Same way while placing the file
    Receiver channel error:
    Error: Message processing failed: FileNotFoundException: /staging/INTERFACE/SAP/ca/test120110906-122051-980.txt (Permission denied)
    Whether i dont have the permission to delete and place the file from and to the App server(AL11)?
    What is the procedure in order to make it possible.
    Thanks
    Sai

    Hi All,
    Thanks to every one.
    The problem is solved ,
    Basis Guy has given the permissions, and i am able to place and delete the files .
    Thanks
    Sai

Maybe you are looking for