JDBC Adapter stopped polling

Hi,
our JDBC Adapter is stopping polling automatically.
It seems if the adapter does not process an event for a long time. The adapter is stopping polling.
Can somebody help me?

hi,
can you try using:
<b>"Disconnect from Database After Processing Each Message"</b> indicator
http://help.sap.com/saphelp_nw04/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/content.htm
on your test system to see if the same will occur ?
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>

Similar Messages

  • JDBC adapter stop polling at a particular time

    Hi,
    I am facing one issue with J2EE engine of Xi. Everyday at 11:59 pm JDBC adapters stop polling. If we look at communication channel monitoring in RWB there will be a green light against these communication channels. But if look at the cluster node, we can see that the channel is not polling data from the database.
    Once we restart the J2EE engine it will start polling records from database. Why it is stop polling at the this particular time? Can you please give some suggestions to resolve this issue.
    Thanks
    Message was edited by: jaison
            Jaison Joseph

    Hi,
    Get into Config tool >> Cluster_Data -Instance -Service -Com.sap...jdbc.svc...
    And check  whether you have defined as Always or Automatic..
    Regards
    Agasthuri Doss

  • FTP Adapter stops polling on updating descriptors in BPEL Console

    I have a bpel process activated by a file in a FTP dropzone. An FTP Adapter listens to this dropzone. I have set up a few preferences (Deployment descriptors) for this process. Once when I update any of these user defined preferences, ftp adapter stops polling the dropzone.
    Any idea why this happens?
    Workarounds?

    Hi Shishir,
    Bouncing the server working most of the times, which might not be possible all the time in case of production environments ;/
    Do you find any errors on the logs when the cube engine and activation loggers are set to DEBUG ?
    Could you please mail me your project to [email protected] ?
    Regards
    A

  • PI 7.1 File & JMS Adapter stops polling at random times

    Hi All,
    IN PI 7.1, at random times, the File Adapter stops polling. But status is green in RWB.
    It starts working after the restart of File Service.
    Any idea why this happens? (We don't use FTP Protocol)

    Yes Ravi. We recently migrated to PI 7.1 from PI 7.0.
    We dont use AAE.
    We are on Support Pack 7.
    "Adapter Framework is changed in handling threads on the backend in SAP PI 7.1"
    what impact it might have on the File Polling?

  • Sender File adapter stops polling

    Hi All,
    We have a strange issue. A sender File (NFS) communication channel which was working fine, suddenly stops polling.
    The cache, is upto date. There are no errors in the channel monitoring. In fact the polling logs are being recorded in the RWB showing successful polling. But the channel does not pick up the file which is lying in the file location. Channel has been working fine till then.
    Finally we had to create a new communication channel with the same configuration which picked up the file instantly.
    Is this a known issue with File adapter and is there a solution to prevent this situation from happening.
    Regards,
    Sathya

    In fact the polling logs are being recorded in the RWB showing successful polling. But the channel does not pick up the
    file which is lying in the file location. Channel has been working fine till then
    Did you checked if the adapter was locked out? Normally this is the reason....happens with FILE and JDBC....channel shows successfully processed but there is no message that is actually passed.
    Needs to unlock the adapter from VA....SAP Note available mentioning this problem.
    Regards,
    Abhishek.

  • DB Adapter stops polling intermittently

    Hi,
    We have been observing that the DB adapter on our BPEL 10.1.3.4 ( MLR#9) process manager stops polling the database every now and then.
    We then have to kick-start it by updating the POLLING_INTERVAL property on the descriptor page via the console ( This property has been explicitly exposed to control the polling interval from front-end).
    Although this has been observed pre-MLR#9 as well we are still unable to find the cause behind this. If anyone has faced a similar problem can you please share your experience and possible resolutions for the same as well.
    Thanks,
    Shishir

    Hi Shishir,
    Bouncing the server working most of the times, which might not be possible all the time in case of production environments ;/
    Do you find any errors on the logs when the cube engine and activation loggers are set to DEBUG ?
    Could you please mail me your project to [email protected] ?
    Regards
    A

  • DB Adapter stops polling

    Hi,
    We have several processes which are initiated by a DB adapter polling a database table (oracle.tip.adapter.fw.agent.jca.JCAActivationAgent). Recently, the poller processes stopped activating for about a day, then started working again.
    When the problem started, we had just run out of space in the BPEL dehydration database (one process reported a "cannot extend tablespace" error). The problem was resolved after we resolved the tablespace issue. Is this the cause - even though the table being polled is in a different database? All the evidence points to that, but I want to be sure.
    thanks,
    Michael

    Hi Shishir,
    Bouncing the server working most of the times, which might not be possible all the time in case of production environments ;/
    Do you find any errors on the logs when the cube engine and activation loggers are set to DEBUG ?
    Could you please mail me your project to [email protected] ?
    Regards
    A

  • FTP File adapter stops polling

    We r using SAP PI 7.0
    In File FTP adapter we had set 120 sec polling interval and timeout parameter 120 sec
    I have seen 1083488 sap notes even , it shows this patch..
    PI 7.0 SP12 ADAPTER FRAMEWORK CORE 7.0
    Support Package 12, Patch Level 3 (SAPXIAFC12P_3.SCA)
    Can anyone tell more about this error resolution...

    Check whether the Adapter Engine is working fine(In RWB). check your coummunication channel in RWB channel monitoring
    May be your channel is locked. See this 1083488

  • Reg: How to Stop Polling of JDBC Adapter without Scheduling the adapter

    Dear Gurus,
    Here I am having one requirement. My clients wants to send data from JDBC adapter (ORcale System table) to R3 system via RFC.
    His Requirement::
    1. He is not telling the time of data flow from Oracle server so that based on that we can schedule the adapter in the Communication Channel monitoring (Availablitiy Time Planning) or Else we can Schedule by deciding the setting of the polling interval time.
    2. He is telling that When ever he waants to send the data he will place one dummy file in the File Adapter FTP location so that it will became an Indication for u to poll the jdbc adapter and to transfer the data to R3.
    3. Untill he keeps the file or gives indication he doesn;t want to communicate with Oracle server due to some security and it s a most important data base he doesn't want to disturb that Oracle Server as so many business are running  on that.....
    We Proposed::
    1. Atleast you need to tell the scheduling time or poll interval time so that we can schedule our adapter.
    but he s not accepting for this
    2. Atleast U need to give access for Data base to enter one more extra field like STATUS CODE so that we will add one number and we keep on Update in the Update table and based on that Update table statement it will poll.
    but he s not even accepting for this
    3. Finally we prposed that to create another table in the Oracle SYstem as Dulplicate Table which is similar to Standard Orginal table when ever he wants to pick the data please keep that data in this Duplicate TABle so that JDBC adapter will pick the data from thsi TABLE instead of picking the data from that standard table so that it will not effect any standard table data in the table.
    but he s not even accepting for this
    We have done some R & D:::
    1. WE approached even through BPM and via switch conditions is one scenario
       FILE RECEIVE >SWITCH CONDITION> RECEIVE AND SEND or else EXIT
    2. Using correlation in anotehr scenario means correlating File adapter and JDBC and based on one dynamica value it will goes to SEND STEP ( RECE IVE --> RECEIVE --> SEND STEPS )
    Even though we know this...concept that...we jsut tried::
    In BPM we can control the flow in XI 3.0 but we cannot Stop the Polling of JDBC adapter at backend because one the data comes from FILE adapter it will keep on HOLD untill it receives the JDBC from Oracle then based on the condition or Correlation it will goes futher SEND step means after that file adapter is picking file or not ...what ever it may be JDBC will polls at backend and brings that data to BPM"
    Hence sugest me How to Stop Polling of JDBC Adapter without Scheduling the adapter or else using STATUS CODE Update statements in JDBC Tables 
    Regards:
    Amar Srinivas Eli

    Hi! All,
    Finally I decided to do the scenario in two steps:
    1: FILE REQ --> JDBC REQ -->JDBC RES --> FILE RECV
    2: FILE RECV --> RFC
    But I am getting issue while doing first scenario
    Desgn :
    I have created 2 Synchronous interfaces :
    1) FILE 2 JDBC REQ
    In this a) out put message is FILE  Req
              b) Input msage:; FILE RES
    2} JDBC2FILE RECV
            a) Output mesage;; JDBC REQ
            b) Input Msge :: JDBC Response
    Mappings:
    1) File REQ-->JDBC REQ
    2) JDBC RES-->FILE RES
    Interface mappings:
    1: FILE 2 JDBC REQ--> JDBC 2 FLE RECV
    CONFIGURATION ::
    1: One Seder File CC
    2: Two reciever CC's one is for JDBC RECEIVER and other s FILE RECEIVER
    3; One Sender Agreement
    4: 2 Recver agreements
    5: One Interface Determination and
    6: One RECCV Determination
    My Question;;
    1. First let confirm whether my development steps are right or not ?
    2: Another thing s I am not sure reg Configuration Steps means
    whetehr one interface determination and one Receiver Determinations are required or not as these are synchronous Interfaces
    3: main Issue is::::
    If my scenario s FILE2RFC2FILE then I will get RFC response automatically but here issue is this is JDBC
    My reqquirement is By sending one Field from fILE to JDBC REQ it needs to send entire TAbLE records as a Response to file as XML
    without having Sender JDBC how can I send the JDBC Res to FILE and If that is the case then again JDBC adapter is polling which is contradict to the client requuirement which i explained above.
    pleas suggest me the Detailed steps mainly Colloboration agreements and logical routings and
    also explain in detail if i can  go for BPM
    Also give cleear blogs but before giving make sure that it contains detailed screen shots because aIready gone thorugh
    Scenario File-JDBC-RFC
    File<-->JDBC Sync coomunication.
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/file-rfc-file(Without+BPM)
    /people/luis.melgar/blog/2008/05/13/synchronous-soap-to-jdbc--end-to-end-walkthrough
    Regards::
    Amar Srinivas Eli

  • Sender JDBC Adapter Select/Update Issue

    Dear All,
    We have configured a Sender JDBC Adapter to Poll data from the DB2 tables. It is working fine and both the select and the update queries written are also getting properly executed and are changing the status of the flag from Y to N once read from database.
    In the communication channel ->
    select * from <table> where flag = 'N'.
    update <table> set flag = 'Y' where flag = 'N'.
    But I have one doubt after executing the select query some new data comes into the table of status flag 'N"., then will this unselected data will also be updated to 'Y' .
    The question is while we do a select and update from XI on the DB table and at the same time there is an insert happening into the table from the other end how will the adpater behave in this case.Will it result in missing of some records during next select/update transaction from XI..
    Your inputs will be appreciated.
    Regards
    Amit

    Amit
    Did you ever get a solution to your question ?
       Sender JDBC Adapter Select/Update Issue  
    Posted: Apr 24, 2008 2:29 PM           Reply 
    Dear All,
    We have configured a Sender JDBC Adapter to Poll data from the DB2 tables. It is working fine and both the select and the update queries written are also getting properly executed and are changing the status of the flag from Y to N once read from database.
    In the communication channel ->
    select * from <table> where flag = 'N'.
    update <table> set flag = 'Y' where flag = 'N'.
    But I have one doubt after executing the select query some new data comes into the table of status flag 'N"., then will this unselected data will also be updated to 'Y' .
    The question is while we do a select and update from XI on the DB table and at the same time there is an insert happening into the table from the other end how will the adpater behave in this case.Will it result in missing of some records during next select/update transaction from XI..
    Your inputs will be appreciated.
    Regards
    Amit

  • Sender JDBC adapter SELECT / UPDATE issue - updates more rows than selected

    Hi,
    We have configured a Sender JDBC Adapter to poll records from an Oracle table based on a flag field and then update the flag for the selected records. When tested in DEV and QA environments (where test data comes in intermittently and not in huge volumes), itu2019s working fine.
    Both SELECT and UPDATE queries written in the Sender JDBC adapter are getting properly executed and are changing the status of the flag for the selected records from Y to N once read from the database.
    select * from <table> where flag = 'N'.
    update <table> set flag = 'Y' where flag = 'N'.
    But in the PROD environment (with records getting updated in the database every second), after XI executes the SELECT query and just before the UPDATE query is executed, new records come into the Oracle table with status flag 'N". So when the UPDATE query runs just after the SELECT query, then these unselected records also get updated to 'Y'. Thus these records never get into the resultset and hence XI and thus remain unprocessed.
    So when XI does a SELECT and UPDATE on the Oracle DB table and concurrently there is an INSERT happening into the table from the other end, the JDBC sender adapter is picking up a certain number of records but updating the status of more records than it picked up.
    So how does XI deal with such a common scenario without dropping records?
    Thanks,
    Vishak

    The condition being checked is the same for both SELECT and UPDATE statements.
    Initially I tried setting transaction isolation levels on the database to repeatable_read and serializable but it was throwing me a java.sql.SQLException error saying that these transaction levels were not valid.
    I asked for these transaction level permissions for the XI user from my DBA but the DB I am accessing provides only a view into other databases and so it's not possible.

  • Not standard usage of JDBC adapter...

    Hello,
    I need help with configuration of sender JDBC adapter. Poll Interval specifies how often JDBC adapter polls the database. But I don't want the adapter to poll automatically with the interval. I need to read data from the database if some message comes into the integration engine. For example: a web service sends request to XI, XI reads data from database and then creates response for the web service.
    Is it possible to do it? If so, what shall I do? Thanks in advance for every advice!
    Bertuccio

    Hi Bertuccio,
              JDBC lookup will best suite for your requirement.
    /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
    /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
    http://help.sap.com/saphelp_nwpi71/helpdata/en/33/1ec6ced273493a993a80c2301c03da/frameset.htm
    /people/jin.shin/blog/2008/02/15/sap-pi-71-mapping-enhancements-series-graphical-support-for-jdbc-and-rfc-lookups
    /people/shabarish.vijayakumar/blog/2010/01/28/graphical-rfc-lookup-and-how-you-can-design-lookups-for-multiple-values-to-be-retrieved-in-a-single-call
    Thanks and Regards,
    Naveen.

  • Biztalk2009 - OracleAdapter stops polling if Oracle server has been booted

    We are running a two node Biztalk2009 and use (among other adapters) an Oracle Adapter, we are on Cumulative Update 4 on both BizTalk Server and Adapter Pack. It happens that someone boots the Oracle server and this seems to make our Oracle Adapter stop
    polling. Even after the Oracle server is up and providing data our Biztalk Oracle Adapter no longer polls so we no longer receive relevant data even when they are available on the Oracle. Currently we overcome this by restarting the relevant Host Instances
    but this is impractical. So anybody know if there is a way to make the Oracle Adapter keep polling even if an Oracle server is down and not providing data for a while ?

    Hi ,
    Its Always a best practise to STOP your Polling receive location or reshedule your Polling Interval during the period when downstream System Goes Offline .Due to concurrent failure for polling,BizTalk will keep the receive Location aste to Passive until
    you restart the application.
    Thanks
    Abhishek

  • Sender JDBC - Stops polling

    Hi All,
    For some of the sender jdbc channels, we face locking issue. The channel monitor keeps showing same log 'processing Started'.  Based on sdn threads, we tried to remove the jdbc lock in Netweaver Administrator. But it didnt work. As per the sap note
    Note 1083488 - XI FTP/JDBC sender channel stop polling indefinitely(04/04S),  planning to try with taskTimeOut parameter.
    But what is the optimal value to be given for this parameter?  Then could the Transaction Level be kept to Default? Hope it will not lead to any message loss.
    The PI version is 7.1 and service pack level is 4.

    Hi Aarthi
    According to JDBC Adapter Note 831162.
    Q: During JDBC receiver message processing I see that some messages are in "delivering" state forever. How do I solve this?
    A: Please set the receiver channel configuration Exactly Once handling parameters as "local" and "redo". The configuration setting "local" and "error" setting is some times prone to deadlock situations at the DB table level.24.
    Also check question 28 in SAP JDBC Adapter Note 831162.
    Regards,
    Raghu_Vamsee

  • JDBC adapter - polling application - is this efficient ?

    Hi,
    I have a scenario that is requesting data via the JDBC adapter from an SQL server system and sending the resultset into BW.
    This is polling every 10 minutes with the following statement :
    select * from itecs_dummy.dbo.action
    where current_timestamp between
    convert(datetime, (convert(varchar(13), GETUTCDATE()) + '23:40:00.000')) and
    convert(datetime, (convert(varchar(13), GETUTCDATE()) + '23:50:00.000'))
    This basically will return zero records 99% of the time as it check the system time is between 23:40 and 23:50
    Eventually I will have around 30 JDBC communication channels performing the same frequency of polling but read data from different tables (the system time check will still be the same for each select)
    Is this highly inefficent in XI terms ?
    Would it not be better to write a simple ABAP to request the data from BW to the JDBC adapter at a fixed time each day therefore cutting out the unnecessary polling ?
    Kind regards
    Colin.

    Hi Colin,
    The method you're using is really the only simple solution to workaround XI's lack of a scheduler.
    We have about 10 JDBC interfaces live for a year at a large XI client using this workaround. They're polling every 5 minutes and we've never had an issue.
    We decided to use this method based on the following:
    1) The load on the DB wouldn't be significant. Even if you have a complex DB select statement, the DB optimizes the call and should run fast if the 'where' clause fails. You can check this with your DBA.
    2) The load on XI would be greater if we implemented this in another way. Any other solution would likely require BPM which is much more intensive for XI then these JDBC calls.
    We chose 5 minutes instead of 10 because of the following scenario which could occur although it's not likely:
    - XI polls at 23:41, message is sent
    - XI J2EE goes down at 23:42 and restarts
    - XI J2EE back up at 23:47
    - XI polls at 23:47, message is sent
    So in this scenario, you could get 2 messages sent. Since our J2EE stack takes longer than 5 minutes to restart, we resolved this issue by using a 5 minute polling interval.
    I think the more elegant and precise way is to make a call from ABAP, but it would be more complex, and put more load on XI due to the use of BPM. If you take into account the above items I think your current approach is the best.
    Thanks,
    Jesse

Maybe you are looking for

  • Using NI-IMAQ imgSnap (ANSI C) with Windows 7 x64

    Hello, I am trying to perform some basic image acquisition using ANSI C calls to NI-IMAQ (as distributed by the November 2009 release of NI Vision). I am developing on Windows 7 x64. Setup seems to work fine, but when I make the following call:    vo

  • How to divide big serialized object in parts to be able to save as Blob typ

    Hi, Actually i have serialize a big XML document object and want to save in a field of type Blob. As Blob size is 64k. So if the serialized object is greater than 64k. It gives me error of size.Can anybody tell how to break large serialized objects.

  • Error when run form on Oracle Application Server

    Hi al I'm using Webutil Library to create browse button to open dialog box When i run form in my computer,it run success and i can upload file do database and application server But i upload form to Oracle application server and compile it no error (

  • Error message for profit center

    Hello, The requirement is that the user should not be able to save the sales order without entering the profit center at the item level. I have tried to make the profit center mandatory for a particualr company code:- 1.Sales - Item and double click

  • HELP: can't create datafile.

    Hi, friends, I installed Oracle 10.2.0 one hour ago. Then I tried to create a tablespace. In this tablespace, I add one datafile, the size is 5GB. I used OEM to do this. But I don't know why the creating procedure still running. Based on my experienc