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.

Similar Messages

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

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

  • RFC Sender Channel Issue : STFC_CONNECTION

    Hi All,
    There has been an issue with the RFC sender channels. When SAP triggers the data, we see an error in the RFC sender channel as below
    Error in processing caused by: com.sap.aii.af.rfc.afcommunication.RfcAFWException: senderAgreement not found: lookup of binding via CPA-cache failed for AdapterType RFC, AdapterNS http://sap.com/xi/XI/System, direction INBOUND, fromParty '', fromService '<ServiceName>', toParty '', toService '', interface 'STFC_CONNECTION', NS 'urn:sap-com:document:sap:rfc:functions' for channel '<ChannelName>' (channelId 7f84f67e7efe39949dc12a2f569236fb)
    But the data gets processed at the very next moment.
    Program ID used in the channel is same as the ID registered in SAP. Is there some configuration missing either at SAP PI or SAP R/3 system?
    Regards,
    Prajeet

    Hi Prajeet,
    please refer this wiki [link  |https://wiki.sdn.sap.com/wiki/display/XI/RFC+Faqs?showChildren=false]Q19,hope this helps.
    Check if you are using the same program ID in multiple scenarios. May be  if  you keep different the program ID names in different RFC adapters, it should resolve the error.
    also check here :/people/danny.deroovere/blog/2008/02/26/change-client-in-scenarios-with-sap-business-system
    Regards,
    Srinivas

  • 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 comm.channel issue with MS SQL select statement

    Hello,
    We are using JDBC adapter to connect to an MS SQL database.
    This is the comm.channel config.
    com.microsoft.sqlserver.jdbc.SQLServerDriver
    jdbc:sqlserver://<DNSname>:1433;databaseName=PSMI
    Activation of channel is successful.
    But when starting a select on a table of the database we will get this error for any table there in comm.channel monitoring.
    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. 'TABLENAME' (structure 'STATEMENT'): com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name 'SAP_Header'.
    Error processing request in sax parser: Error when executing statement for table/stored proc. 'TABLENAME' (structure 'STATEMENT'): com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name 'SAP_Header'.
    Error while parsing or executing XML-SQL document: Error processing request in sax parser: Error when executing statement for table/stored proc. 'TABLENAME' (structure 'STATEMENT'): com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name 'SAP_Header'.
    The table is existing because we can access it from excel database connect.
    The connect address is the same in Excel as in comm.channel.
    Installed driver is for JDBC for 2000/2005 (1.2/4). for JDK 1.4
    Your help is really appreciated!
    Best regards
    Dirk

    Hi Dirk,
    This is the comm.channel config.
    com.microsoft.sqlserver.jdbc.SQLServerDriver
    jdbc:sqlserver://<DNSname>:1433;databaseName=PSMI
    I hope the DNSname you using is your Server name of the SQL Server (IP/ServerName) you trying to connect to.
    Please ensure that if you are using Hostname the entry is made in the host file at server level against the IP.
    Try using the Connection string as :
    jdbc:microsoft:sqlserver://IP(hostname)\ServerName;DatabaseName
    Cheers
    Dhwani
    Edited by: dhwani kamdar on Jun 11, 2010 5:31 PM

  • JDBC Sender Adapter Issues in PI SP13

    Dear Friends,
    My Parameters are:
    JDBC Driver : jdbc.odbc.JdbcOdbcDriver
    Connection: jdbc:odbc:Driver={Microsoft Access Driver(*.mdb)};DBQ=/inteprfaces/test/test.mdb
    When I try to activate the communication channel got the following in the communication channel monitor
    Error during database connection to the database URL 'jdbc:odbc:Driver={Microsoft Access Driver(.mdb)};DBQ=/inteprfaces/test/test.mdb' using the JDBC driver 'jdbc.odbc.JdbcOdbcDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:odbc:Driver={Microsoft Access Driver(.mdb)};DBQ=/inteprfaces/test/test.mdb': SAPClassNotFoundException: jdbc.odbc.JdbcOdbcDriver'
    Am I missing anything?
    Thanks,
    Peter
    Edited by: Peter Livingstone on Jan 26, 2008 5:51 PM

    Hello Pinkle,
    Thanks for the link.
    Yes. I went thru' the link already.
    Is there any specific driver (jar) file I need to use for MS Access DB?
    Thanks,
    Peter

  • JDBC sender adapter issue

    Hi SDNers,
    I have a scenario which picks data from AS400 table using JDBC adapter.
    My sample SQL query and update query are as follows
    SQL query : Select * from <table> where <keyfield> = min(keyfield) and flag ="";
    Update query: Update <table> set flag = "true" where <keyfield> = min(keyfield) and flag ="";
    This is to ensure records are processed one by one.
    All goes well. Suddenly I have a issue where out of "n" records in the table one record failed to reach the target system. My cause of concern is there is no error in RWB and SXMB_MONI.
    I have identified the missing record and could see the flag has been set to "true" in the table. I dont have TREX installed in XI, so could not track the message in XI.
    Has any one faced this issue? Any ideas are highly appreciated.
    Regards,
    Jai Shankar

    Hi All,
    It seems, still the issue is not solved. We have the same issue again inspite of setting the transaction isolation level to serializable.
    SAP Note says
    <i>The SELECT and the UPDATE are run in the same DB transaction,
    i.e. both statements have the same view on the database.
    Make sure that both statements use the same WHERE clause. An
    additional requirement for the correct operation of this scenario
    is the configuration of an appropriate transaction isolation level
    on the database (i.e., repeatable_read or serializable). You might
    also consider using a "SELECT FOR UPDATE" statement instead of a
    plain SELECT statement to ensure proper locking on the database</i>
    We have ensured
    a. Same where clause.
    b. Serializable transaction isolation level
    Am not much sure how SELECT FOR UPDATE works. We are using AS400 db.
    Any experience with SELECT FOR UPDATE.
    Regards,
    Jai Shankar

  • Sender Channel Issue

    Hello All,
    Below is my Data type structure:
    Message type
       Record (0 *)
          Header (1..1)
          LineItem (1..*)
    In FCC params I mentioned RecordSet name as Record and RecordsetStructure as Header,1,LineItem,*
    But I am not getting Record tag in the xml which is required.
    Can anyone tell me the issue
    Regards,
    Moorthy

    Hai Moorthy!
    > Message type
    >    Record (0 *)
    >       Header (1..1)
    >       LineItem (1..*)
    >
    > In FCC params I mentioned RecordSet name as Record and RecordsetStructure as Header,1,LineItem,*
    >
    > But I am not getting Record tag in the xml which is required.
    In your File Content Conversion add the following Parameter
    ignoreRecordsetName and give the value us false.
    Now u will get the Recordset name in your XML if u pass true u wont get in XML.To get it is mandatory thing to add it.
    Go through the below link.
    [http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/frameset.htm]
    Regard's
    Preethi.

  • 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

Maybe you are looking for

  • What is the difference between these two programs?

    Hello, I disassembled the following java class file. public class Test1 {     public static final void test1 (byte[] ba, int v) {      ba[0] = (byte)v; }and got the following output; Compiled from "Test1.java" public class Test1 extends java.lang.Obj

  • Rotoscoping - it only roto's the first frame

    What I have done: Created a video clip with my Canon GL2 featuring a person against a bright background. I then used Adobe Premier CS5 to create an AVI of the sequence. (called it ROTO4.avi) I then opened CS5 After Effects, imported the clip into the

  • Hi, i try to buy something in a application and a message "connections impossible a l'iTunes store"

    What si the problem because when i'm buying music everything work?????

  • Can't get coorrect txt report

    hello I tried to generate TXT report using Report Builder as "generate to file..." but my output was incorrect. I tried to use all of templates. my TXT file looks like this : col_name1 col_name2 .. col_namei valOfcol1 valOfcol2 ... col_name1 col_name

  • Sorting a String

    Hi, I was wondering how would I sort the following String using String class methods and StringTokenizer. For example. Input: String a = 12hello^25hello^10hello; Sort it chronologically Output String a = 10hello^12hello^25hello; Thanks in advance.