Jdbc sender channel memory size issue

Hi Experts,
We are facing the below error in connect to jdbc sender channel from XI . Could anyone of you suggest me the right action to be taken in this regard.
Database-level error reported by JDBC driver while executing statement 'select * from*********where posted = '0''. The JDBC driver returned the following error message: 'com.microsoft.sqlserver.jdbc.SQLServerException: The system is out of memory. Use server side cursors for large result sets:Java heap space. Result set size:614,143,127. JVM total memory size:1,031,798,784.'. For details, contact your database server vendor.
Appreciate your quick help.
Thanks & Regards,
Ranganath.

Regulate the number of records returned by Select statement for permanent fix.
Few more things....
a)If you want to select only some fields, then dont use Select * from table.  Rather specify select a,b,c from tablename
b) specify some flag in the table so that read some records each time and in the update statement update the flag for those records already read. So that you will not reread the same records in the next message.
Hope you understand.
c) Increasing java heap size is temporary fix.

Similar Messages

  • JDBC sender channel running but not picking up the data from sp

    Hi,
    One of the jdbc sender channels in production is running at its schedule time but it is not picking up the data from the sql side, we have checked with the sp side and they are saying that sp is running fine. No changes have been done in its configuration. Last message coming in RWB  is Retry interval started but that is of 1 day and its already been 3 days. I tried by starting and stopping the channel but of no use. The channel was re activated but that also didn't help.
    Please help, what can be the reason for the same.
    thanks.

    Hi,
    The JDBCadapter ( The respective channel) is definitely locked in PI . Ideally for each polling interval a lock is being created and once the processing is over , the lock should be released/deleted automatically to allow further polling interval. If the lock is not released by the system automatically,further polling will not happen as expected. ( This may affect all sender JDBC adapters as well. I would recommend to do a check in all sender JDBC communication channels)
    You can see/delete the locks in Visual admin.
    Go to Server>Services->Locking adapter and click refresh
    The entries for JDBC adapter ( with name $XIDBAD.JDBC2XI) should be deleted by selecting those particilar entries and click delete selected locks.
    If you have more than one node, then same should be done in all server nodes.
    The temprory solution would be creating/copy the existing channel in ID with same properties and assign it into particular sender agreement.
    But, the lock may be created again which potentailly stops all your database interfaces. Hence i would suggest to use Disconnect From Database After processing of Each messages in Advanced tab in the sender JDBC adapter.
    Hope this solves your issue.
    PS: The same bahaviour would expected for all file adapter as well

  • JDBC Sender Channel polling before polling interval is complete

    Hi all,
    On our Production Server, we have found that a few JDBC Sender Channels are polling multiple times within one polling interval.
    Eg: Suppose for one channel, the polling interval is 7200 secs. It polls once and the polling interval starts. But it polls again 1 or 2 times more maybe just 5 secs later before its next scheduled poll in 7200 secs.
    Unfortunately, our scenarios are such that when there are multiple polls within a short span of time, there are data anomolies, causing inconsistancies on Receiver side DB. Hence this is a serious uissue.
    Please Help. FYI, all the affected channels run on the same schedule. I am not sure if that can be causing this abnormality.

    H Varun
    I have not come across this behavior earlier. But if you are polling same data base using multiple channel at same time data inconsistency can be there. We always prefer to poll the same data base tables with different timings. Setting up poll timings always consider peak loads. Try to change the polls and see if the same behavior exists.
    For performance and JDBC issues
    Check https://service.sap.com/sap/support/notes/831162
    Specially Q 14
    Thanks
    Gaurav

  • JDBC Sender channel not processing the messages

    Hello,
        From yesterday onwards JDBC Sender channel not processing the messages. In CC monitoring it is showing in Green Led and status is functioning. Cahnnel is polling for messages to DB server as per polling interval. But it is not processing the msg's. Under Processing detials for cluster node it is showing only "Processing Started" for each polling interval.
    I have done the check in DB server by executing the query in the channel, whether there are any records are exisitng or not. There are 1000+ records.
    Previously the parameter "Disconnect from DB after processing each message" was not set. I have set the parameter and activated in Productiion. Still the messages are not processing by channel
    What was the problem? How to rectify with this.
    Cheers
    Veera

    Check in the Visual Admin >Cluster> "LOCKING ADAPTER"
    we get a option of Display Locks .Check for an entry with
    NAME : $XIDBAD.JDBC2XI
    reset the locks and restart the CC ,now it works fine.
    Note 1083488 - XI FTP/JDBC sender channel stop polling indefinitely(04/04S)

  • JDBC Sender Channel problem. Pls help

    Hi,
    In JDBC Sender Channel in Connectiion String I am giving value
    jdbc:oracle:thin:@cscappnoi022.asiapac.globalcsc.net:1527:IS1
    where cscappnoi022.asiapac.globalcsc.net---is where Oracle server is installed
    1527 --- is my Port
    IS1 is my system SID  --- Pls let me what value should come here and how to find.
    I am getting error
    "Error during database connection to the database URL 'jdbc:oracle:thin:@cscappnoi022.asiapac.globalcsc.net:1527:IS1' using the JDBC driver 'oracle.jdbc.driver.OracleDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:oracle:thin:@cscappnoi022.asiapac.globalcsc.net:1527:IS1': SQLException: Io exception: The Network Adapter could not establish the connection'"
    Regards

    hi,
    Your connection should be :
    jdbc:oracle:thin:hutting/[email protected]:1521:pnt
    jdbc driver should be:
    oracle.jdbc.driver.OracleDriver
    Regards
    joel.
    I only hope that your other jdbc scenarios are working fine , this is just to rule out the possibility of driver related errors.

  • Processing of large number of records using JDBC Sender Channel

    Hi experts,
    We have a JDBC-File scenario where in the tables contain about 500K records on an average.
    I used multimapping to generate a flat file for every 10K. The problem is ..when I start the JDBC Sender CC, the memory goes up and the J2EE engine restarts. In the Sender CC, I gave the Disconnect from the database option too. The query is SELECT * from TABLE and the Update statement is <TEST>. Please help me out how to solve this.
    Regards.

    Hi
    Use the below query,
    // Oracle
    SELECT Statement :      select colname from tblname where rownum<=1000 ;
    // MSSQL
    select top 1000 colname from tblname
    Regards
    Ramg

  • Only JDBC-sender channel

    Hi Experts,
    the scenario is as following:
    i have a database, i want to delete some entries with 2 where conditions ...
    why do i have to create a huge scenario with 2 async messages jdbc sender for polling and receiver for deleting...
    with the sender i can use the update statement .. why cant i use him standalone .. like every 60 seconds delete the entries..
    thanks for your help

    Hi,
    > why isnt it possible to activate only the sender .. ?
    I would say the aim of PI is to transfer messages from system A to system B.
    In your scenario you only have system A and you don't want to transfer any message.
    So maybe PI is the wrong tool for your requirement.
    But if you still want to use it perhaps this blog helps a little bit:
    How to send any data (even binary) through XI, without using the Integration Repository
    Regards
    Patrick

  • JDBC sender channel issue

    Hi experts,
    the settings are done in sender JDBC channel is done as:
    Poll Interval: 1800 secs
    Availability Time: Daily: At 5:00:00 AM for 30 Minutes
    according to logic, the channel start polling at 5:00:00 and stop at 5:30:00. After that It will not poll data.
    But It is also polling data after that time Interval.
    Please advise what is the wrong configuration done here.
    thanks in advance.

    Hi shekhar,
    I have updated the control data as "Automatically"
    but the channel  status now is as " Channel stopped".
    so will it be active at only "Availibilty time" defined.
    Please advise.
    thanks in advance.

  • JDBC Sender Adapter error locking issue

    Hi ,
    Getting error:
    Database-level error reported by JDBC driver while executing statement 'UPDATE OrdersTo_SAP SET Read_By_PI_Fl ='P' WHERE Read_By_PI_Fl is null'. The JDBC driver returned the following error message: 'com.microsoft.sqlserver.jdbc.SQLServerException: Transaction (Process ID 117) was deadlocked on lock | communication buffer resources with another process and has been chosen as the deadlock victim. Rerun the transaction.'. For details, contact your database server vendor
    I have increased the time out period also changed the isolation level to serializable  but no result. Channel is getting the error very frequently.
    Can any one please look into the error.
    Thanks,
    Swapnashree

    Hi Swapnashree - Are there multiple sources which will update this table? or just PI?
    How many server nodes you have?
    However when i search in Microsoft forums, i found the below. Please share it with your DBA to investigate further..
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/194f18b0-03b2-4e8f-8c67-5c92373c3efd/transaction-process-id-135-was-deadlocked-on-lock-resources-with-another-process-and-has-been?forum=sqlintegrationservices
    http://technet.microsoft.com/en-us/library/aa213030(v=sql.80).aspx
    Transaction (Process ID 51) was deadlocked on lock resources with another process and has been chosen as the deadlock vi…

  • Increase memory size issue

    HI forum members ,
    I'm newby in solaris10 , and I had to increase the RAM from 512 to 1024 (because of oracle), but when I put the new memory card, the pc (x86) rebooted several times by tiself, then apparently everthing its normal, however I would like to check the boot log file , but I don't know which is
    Do you know where it coul be( boot log file)?
    Thanks in advance

    Hello.,
    What is the exact issue with distribution functions.
    Some of the key points.
    - Check the definition of your aggregation level - Only select the requeried chanracters and keep the optimum filters applicable to your secnario.
    - Check the master data consistancy.
    - Keep your data sets minimal and sequence your distribution function in many iterations.
    - Increase the memory parameters at maximum extent depends system resources and frequency of your distribution function runs.
    - Run distrubution function offline ( out of business hours ).
    Cheers...

  • Jdbc sender adapter  hangs and starts showing "Processing Started" forever

    Dear ,
              We are facing some issues with jdbc sender adapter channel on production system
              Environment : XI 3.0 SP 20 + HP-UX 11.23 ia64 + Oracle 10.2
    Sometimes it hangs and starts showing "Processing Started" forever on communication channel monitoring .
    There is no error log for this.
    If i stop it and then start it , no use.
    If i copied this to a new one then it works.
    I have found few SAP note like 1078420,1083488 , but my system is already at higher patch level.
    Can you please advise me something as we are facing in production frequently.
    Regards,
    Sandeep

    Hi Sandeep,
    This problem even we too faced in our project and thought of many stupid things finally found that the JDBC adapter is LOCKED.
    Check in the Visual Admin >Cluster> "LOCKING ADAPTER"
    we get a option of Display Locks .Check for an entry with
    NAME : $XIDBAD.JDBC2XI
    reset the locks and restart the CC ,now it works fine.
    Note 1083488 - XI FTP/JDBC sender channel stop polling indefinitely(04/04S)
    Thanks
    Sudharshan

  • Processing Started in JDBC communication Channel?

    Dear Friends,
    in JDBC Sender Channel i am facing one issue, i.e the data coming from DB but in PI/PO 7.4 data is not reached and channel is showing Green color and log is showing processing started. But as per my experience may the data is locked in server level. PI 7.0 for this type of issues we are deleted the locks in adapter level in visual admin. but 7.4 version is not having Visual Administrator. Please suggest how to resolve this issue in sap pi 7.4?
    Note: Previously it is working fine.
    please find the screen shots for your reference.
    Regards,
    Kiran Polani

    Dear Friends,
    i seen ur answers, but if it is production that is not possible to take restart ther server, for this visual administrator -->adapter locks i deleted db locks previously in pi 7.0 but i need solution for 7.4.
    2) http://hostname:port/nwa/locks as suggested by naveeen, for this type of issue dblocks are not available in this url location.
    and i have check this also no use and stoped communication channel and started so many times no use and maintained DIsconnect from Database after processing each message in channel level
    Regards,
    Kiran Polani

  • Two JDBC-Sender adapter

    Dear all,
    I've to process all data from the first JDBC-Sender-adapter and afterwards I've to trigger the second JDBC-Sender-adapter. The second JDBC-Sender-adapter must not poll until processing of first has finished?
    How can I achieve this without BPM?
    Kind regards, Stefan

    You can start the second JDBC channel from first interface mapping. All that you have to do is you have to set external channel control ON for second JDBC channel using RWB.
    In the second interface mapping you can stop the channel, since it already pools the data. So, two individual scenarios and no BPM.
    check this link @ http://help.sap.com/saphelp_nw2004s/helpdata/en/45/0c86aab4d14dece10000000a11466f/content.htm. You need to do some settings.
    IN FIRST SCENARIO'S OPERATIONAL MAPPING --> STOP THE FIRST JDBC CHANNEL, START THE SECOND JDBC CHANNEL (using UDF java code)
    IN SECOND SCENARIO'S OPERATIONAL MAPPING --> STOP THE SECOND JDBC CHANNEL, START THE FIRST JDBC CHANNEL  (using UDF java code)
    Make sure that you give enough polling time interval's for the 2 JDBC Sender channels. Actually the START & STOP mechanism's will take care.
    Regards,
    Praveen Gujjeti.
    Edited by: Praveen Gujjeti on Apr 28, 2010 7:01 PM

  • JDBC and FTP sender channels stop polling

    Hi,
    We have a great volume of sender JDBC and FTP sender channels.
    For this reason there is nothing unusual to have temporary error connections.
    Several months ago, with an XI 3.0 system, sender channels recover its functionality  automatically when temporary error connection is solved.
    But now, he have migrate to a  PI 7.1 sytem, and in the same scenario and configuration,  sender channel stop polling after a temporary error . In cc monitor this channels remains in  green status and there were no signs of stopped interfaces.
    Timeouts are correctly defined and there is no difference between channel configuration in our Xi and PI system.
    How to solve this problem?
    Thanks, in advance.
    Carme.

    Thanks for your fast response, Stefan.
    After writing this post, i ask the same question to our basis team and  we are in the latest sp.
    ¿do you know if there is any note or can you provide me some additional information?
    I'm not able to find any note about this issue...
    Regards,
    Carme.

  • Sender JDBC Commn channel problem - Channel is not reading any data.

    Hi,
    I am referring to the following blog as i have exactly the same problem:
    [Blog|Sender JDBC Commn channel problem;
    I communication channel monitoring i am getting the following logs -
    6/21/10 7:19:07 PM   Processing started
    6/21/10 7:19:07 PM   Retry interval started. Length: 86400.0 seconds
    Here in the channel the poling interval is 86400 seconds.
    Now according to this blog the solution to my issue is "Check whether anything is locked in "Locking adapter" in VA? If there is then just release the lock and restart the comm channel. Note: In "locking adapter" the name will be something like $XIDBAD.JDBC2XI."
    Mine is a PI7.1 system and i am not able to find any thing like this in NWA.
    Can some one please help me on this?
    Thanks & Regards,
    Anshul

    try;
    Goto NWA -> Availability and Performance Management -> Resource Monitoring -> Locks

Maybe you are looking for

  • PE 7 memory and export errors

    In Premiere Elements ver 7, I have put together a 4 1/2 minute video made up of mpeg4 HD 720p mixed with regular avi digital footage. I am having memory errors and export errors when trying to render into a wmv or mpeg file.  When working on previous

  • Help with AS2 - photo gallery

    Hi All would someone beable to help me with some code, I downloaded a photo gallery example, at the moment the movie plays the photos when you click a button(timer) What I'm trying to do is to get the movie to auto play the photos on load rather than

  • Weird Error in F.81

    Hi Guys, When I am doing the Accrual Reversal in F.81 I am getting the following error " VL 476: Item 'Official Doc. Number' is not copied from the reference document ". I have maintained the number ranges also. I am not able to understand why the sy

  • I am not able to change my password. I obviously forgot the answers of the secret questions. I tried by email, but received no email. What to do?

    I am not able to change my password. I obviously forgot the answers of the secret questions. I tried by email, but received no email. What to do?

  • Who wants Draw Something for the TouchPad!

    Hi, im Zack. I'm from www.WebOSNation.com We are looking for a lot of people to +1 this post so that we can bring Draw Something (Popular App) to our favorite tablet. Here's were you can+1 https://getsatisfaction.com/drawsom...drawsomething_on_the_hp