JDBC Polling in a precise time

Hi,
I want to use in an XI scenario a JDBC Sender to do a polling on an oracle database view. But I want to do this polling on a precise time of the day, for example, at 03.00 AM, every day. How can I do this? Moreover, I can do the polling on a database view instead of a database table?
Thanks!

Hi,
From SP 19 / SP 10 you have adapter Scheduling ( Availability Times ) available and this can be used to start your adapter at that time and turn if off correspondingly.
If you are below SP 19 / SP 10, then you might have to use a BPM and use some extrenal report to trigger the BPM flow at the correct time and then use the receiver JDBC adapter with a synchronous select to do this.
JDBC adapters can poll over Oracle Views as well.
I would suggest a upgrade to SP 19 / SP 10.
Regards
Bhavesh

Similar Messages

  • Old problem with precision time counting and /usepmtimer solution.

    Hello, all!
    There was a problem in Windows XP and 2003 Server with using QueryPerformanceCouner() function. Sometimes it can cause problem with precision time measurements on CPUs which support powersaving modes by changing clock frequency. The simplest solution for that was /usepmtimer key in boot.ini file which forces the system to use another timer.
    I just want to know does this problem appear in Windoes 7? And how to solve it since there is no boot.ini file in Windows 7?
    Thanks a lot!
    P.S. This is a page with detailed description of the problem:
    http://support.microsoft.com/default.aspx/kb/895980

    Hi ,
    There is official documentation released on userpmtimer for windows 7 operating system.
    Also the KB article only refere to the OS which have performance problem.
    After reading the below article , i feel that this problem is taken care in windows 7 / windows 2008 ( though there is no formal written documentation )
    http://blogs.technet.com/perfguru/archive/2008/02/18/explanation-for-the-usepmtimer-switch-in-the-boot-ini.aspx
    you can post in windows 7 dedicated forum, so that MVP / Microsoft Engineers and community members would suggest you with latest data if any.
    http://social.technet.microsoft.com/Forums/en-US/category/w7itpro

  • 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

  • PTP (Precision Time Protocol) configuration

    Hi,
    Is there anyone has configured PTP on IE-3000 switches? I have some problems with the configuration and operation. Below is the summary of what I've done and the porblems.
    There are two IE-3000 switches with ip services 15.0 (2) SE4 IOS. One has configured in the boundary mode to become master clock and the other one has left in the e2etransparent mode. There are two inter-connection links (via Cat6 ethernet cable) on Gi1/1 and Gi1/2 interfaces on both switches. All inter-connect ports are up and running. Both switches have same IOS, same hardware almost identical except IP configuration etc. Main problem is SW2 is not able to sync with SW1 as master clock (this is my understanding), and also it seems PTP on SW1 has wrong reading of local clock time. But in fact I have NTP server in the network and NTP is syncd. I've included some of the configuration and output here, if someone has experience in configuring and running PTP I would be thankful to give me some help here.
    Regards,
    Tohid
    Configuration on SW1:
    ptp mode boundary
    ptp priority1 10
    ptp priority2 128
    ptp time-property persist 300
    SW1#show ptp clock
    PTP CLOCK INFO
      PTP Device Type: Boundary clock
      Clock Identity: 0x8:CC:68:FF:FE:7F:73:80
      Clock Domain: 0
      Number of PTP ports: 10
      Priority1: 10
      Priority2: 128
      Clock Quality:
            Class: 248
            Accuracy: Unknown
            Offset (log variance): N/A
      Offset From Master: 0
      Mean Path Delay: 0
      Steps Removed: 0
      Local clock time: 00:30:30 UTC Mar 1 1993
    SW1#sh clock
    16:18:10.856 UTC Thu Feb 27 2014
    SW1#sh ntp status
    Clock is synchronized, stratum 3, reference is 10.1.1.1
    nominal freq is 119.2092 Hz, actual freq is 119.2091 Hz, precision is 2**17
    reference time is D6B9E25E.3EAA5D0E (16:12:14.244 UTC Thu Feb 27 2014)
    clock offset is 45.5794 msec, root delay is 1.42 msec
    root dispersion is 57.46 msec, peer dispersion is 5.25 msec
    loopfilter state is 'CTRL' (Normal Controlled Loop), drift is 0.000000985 s/s
    system poll interval is 64, last update was 423 sec ago.
    SW2#sh ptp clock
    PTP CLOCK INFO
      PTP Device Type: End to End transparent clock
      Clock Identity: 0x3C:E:23:FF:FE:44:92:80
      Clock Domain: 0
      Number of PTP ports: 10
      Delay Mechanism: End to End
      Local clock time: 01:08:13 UTC Mar 4 1993
    SW2#sh ptp port gi 1/1
    PTP PORT DATASET: GigabitEthernet1/1
      Port identity: clock identity: 0x3C:E:23:FF:FE:44:92:80
      Port identity: port number: 9
      PTP version: 2
    Port state FAULTY: FALSE
    SW1#sh ptp port gi 1/1
    PTP PORT DATASET: GigabitEthernet1/1
      Port identity: clock identity: 0x8:CC:68:FF:FE:7F:73:80
      Port identity: port number: 9
      PTP version: 2
      Port state: MASTER
      Delay request interval(log mean): 5
      Announce receipt time out: 3
      Peer mean path delay: 0
      Announce interval(log mean): 1
      Sync interval(log mean): 0
      Delay Mechanism: End to End
      Peer delay request interval(log mean): 0
      Sync fault limit: 5000000004271-NET-001#sh ptp port gi 1/1
    PTP PORT DATASET: GigabitEthernet1/1
      Port identity: clock identity: 0x8:CC:68:FF:FE:7F:73:80
      Port identity: port number: 9
      PTP version: 2
      Port state: MASTER
      Delay request interval(log mean): 5
      Announce receipt time out: 3
      Peer mean path delay: 0
      Announce interval(log mean): 1
      Sync interval(log mean): 0
      Delay Mechanism: End to End
      Peer delay request interval(log mean): 0
      Sync fault limit: 500000000

    So if I have a L2 network consisting of severall access switches connected via trunks to a distribution, with PTP clients in differing VLAN's, as long as each VLAN has a connection to the PTP source then the client will receive the PTP timestamp allthough subject to switching delays?

  • JDBC adapter taking too much time for inserting

    we` have given a "update insert" query to be used in the JDBC adapter to insert these records into the database. Consists of 3 tables with 29fields in first, 4 fields in the other two.
    While message in XI gets processed in just 1-3 secs, the database processing time goes up to as much as 8 minutes for one record to get inserted.
    As immediate solution, is there any way we can have the JDBC adapter process these messages faster? These messages get queued up and hence all the other messages also get queued up delaying the other interfaces. We have a central adapter engine...
    Also is there any way we can get alert when the status is in "Processing/To be delivered/Delivering" and the message count exceeds a certain number say 1000

    I am using only one receiver JDBC channel
    We have been inserting three different table by using 3 different statemets tags(i.e) statement1(for table1),statement2(for table2),statement3(for table3).
    My structure is,
    <messagetype Name>
        <Statement1>
                 <tag1>
                          <action>UPDATE_INSERT</action>
                          <table>Table1</table>
                           <access>
                                        <field1>
                                         <field2>
                                          <field28>
                            <key>
                                   <MatNumber>
                 </tag1>
        </statement1>
       <Statement2>
                 <tag1>
                          <action>UPDATE_INSERT</action>
                          <table>Table2</table>
                           <access>
                                        <field1>
                                         <field2>
                                          <field4>
                            <key>
                                   <MatNumber>
                 </tag1>
        </statement2>
        <Statement3>
                 <tag3>
                         <action>UPDATE_INSERT</action>
                          <table>Table3</table>
                           <access>
                                        <field1>
                                         <field2>
                                          <field4>
                            <key>
                                   <MatNumber>
                 </tag3>
        </statement3>
    You can see we are also using key as well.In the first table we have 28 fields,second & third we are having 4.
    Edited by: rajesh shanmugasundaram on Jul 31, 2008 11:08 AM

  • File adapter, trigger if no file is polled for pre-defined time

    Hi',
    I am polling for a file in a directory, my requirement is to notify by a email
    if no file is polled for 1 hour or so, i.e. if no file comes in that directory for
    long time.
    Is there a way we can achieve this, I tried using a pick activity instead of
    receive, however it does not allow on-alarm in this condition.
    Please advice.
    Thanks
    Yatan

    If you dont want to use database then you can do with your files as well, if at all you are archieving the files.
    Say as soon as i get the files in the folder the adapter will read its content and then move it to archive folder, then you can have a logic to list the file and get the timestamp of the latest file from archive and compare with current time stamp and that will trigger a mail.
    You can achive the above using API.
    Thanks,
    Vijay

  • Connection through jdbc thin client taking more time than from sqlplus!!!

    Hello All
    Machines A and B
    Applicaion in A is connecting to B(9.2.0.6),db server.
    The schema is so small with few tables and data in each table less than 500 rows
    We are in the process of migrating the Application Schema in B to C[9.2.0.8].
    But the response time is more when the application fetches from C.
    Even while selecting the sysdate from dual.
    The application is using the jdbc thin client for fetching the data.
    When the same sql is executed by (from A to C)
    sqlplus -s user/pass @execute.sql, its gets done in a fraction of a second.
    But when the same is done through the application which uses jdbc thin client, it takes few seconds
    to complete.
    When tried with a small java program that uses classes12.jar (from A to C)
    conn = DriverManager.getConnection(URL,UID,PASS);
                   stop = System.currentTimeMillis();
                   System.out.println("Connection time in milli sec: " + (stop - start));
                   System.out.println();
    ..It was found that creating the connection was taking time.
    But the same is not happening when tired through the sqlplus
    Could someone throw some light into this?
    What could be the reason for jdbc to get slower while establishing connections?
    TIA,
    JJ

    are you using latest drivers - http://www.oracle.com/technology/tech/java/sqlj_jdbc/index.html
    you may want to check some options reducing jdbc connection cost from the otn samples - http://www.oracle.com/technology/sample_code/tech/java/sqlj_jdbc/index.html

  • Last Update Polling Strategy Sets Incorrect Time

    Hi,
    I've created a BPEL process with a database adapter that uses a timestamp polling strategy. The BPEL process picks up table rows that are newer than the last update timestamp. However, the last updated timestamp that is set in the control table is set to the beginning of the current day and not the the last updated timestamp of the row that got changed. For example, if the BPEL process runs today with the last update of 2006-09-20 10:59:00.0 in the table being queried it will update the same field in the control table with 2006-09-20 00:00:00.0
    Can someone suggest why this is happening? And how to resolve?
    Cheers,
    Aashish
    PS - The database resides on a server that is two hours ahead of the application server. I don't believe this is an issue because the dates are all database specific and no dates are extracted from the application server...unless I'm wrong somewhere.

    To add to this earlier note. I can get this to work with the olite database connection, but not Oracle (JDBC) thin driver. Should I be using the Type 2 OCI driver? If so, what should I use?

  • JCA polling DB Adapter current time for MarkReadValue

    Hi,
    For future debugging I would like to use current time (in whatever format) for MarkReadValue in a logical delete polling DB Adapter.
    I understand that complex expressions such as ${weblogic.Name}, ${IP}, ${instance} work with the system properties. Is there a complex expresion for getting current date and time (in whatever format)?
    Thanks,
    --cb

    Hi Manish,
    Can you copy paste your .jca file?
    I think the problem is with the name 'pollingStrategy'. Verify if the property used in the .jca file is PollingStrategy (Use Capital 'P').
    Regards,
    Neeraj Sehgal

  • Precise time stamping of serial data

    I am having trouble with precise timestamping  of incoming serial data recived on 4 ports using 4 separate threads that continually attempt to read a byte.
    When the expected frame is recieved the data is tagged with a time stamp.
    The issue seems to be windows xp or the serial ports themselves.  I am using an xsens serial to usb, 2 lavaport serial cards and the built in serial port.
    Any suggestions for precise timing?

    there is some hints:
       -for milisecond precise timestamp, you can use GetLocalTime,GetSystemTime or GetTickCount.
        But to achieve true milisecond scale, you need use timeBeginPeriod(1)/timeEndPeriod(1) otherwise you get 10-16ms scale depend on system
        (please read help pages on msdn for timeBeginPeriod function)
       - create your program to not use CPU too much(no pooling,just message and/or sync wait),
         or even better, do not run any other apllication which consume lot of CPU/DISK resources on the same PC
       - for serial communication (but this also depend on baud rate) you can try to set send/receive driver buffer to 1 (from windows device manager)
       - try different serial port card/converter(with different drivers)
       - if still need something to try, set higher process and thread priority (SetPriorityClass,SetThreadPriority)
    After all of this, on windows, there are no precise timing.Even if you do everything you can do, there is still chance to get time gap, but you can detect it (in milisecond precision)

  • JDBC connectivity taking lots of time in throwing exception

    Hi ,
    We are doing JDBC connectivity in java program and its working fine, but
    if the connectivity with the orale server goes down it give exception after a
    long time and somtimes behave abnormally.
    Please help.

    Hi,
    if you are using the OracleDataSource and thin driver to connecto to an oracle database try to set the following property through the setConnectionProperties API
    oracle.jdbc.ReadTimeout
    the value is the numer of milliseconds the socket wait for reads for data from the database server.
    The optimal value is application related so try with different values.
    ciao,
    Giovanni

  • Jdbc connection lost after idle time

    Dear users,
    i'm using the oracle 10g database. Now i found out that several programs (SQuirreL, QuantumDB,...) which use the ojdbc14 driver are losing connection to the database after about one hour idle time, but it is not set in db configuration to disconnect (eg parameter idle_time is not set). What could be the cause of this? Is this a error of jdbc (the java exception is something like socket lost) or is it a missconfiguration of the db?
    Thx for help.

    With a simple java program that makes a select on a database table over jdbc after one Hour idle_time this exception happens: (the program is started local on the database server so no firewall or router is between)
    java.sql.SQLException: No more data to read from socket
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:208)
    at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1118)
    at oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1070)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:478)
    at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:207)
    at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:790)
    at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1039)
    at oracle.jdbc.driver.T4CStatement.executeMaybeDescribe(T4CStatement.java:830)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1132)
    at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1272)
    at test$1.run(test.java:24)
    at test.main(test.java:55)

  • FIle adapter polling at a particular time

    Hi,
    I want to pull a file say  at 12.00 am  always from a FTP server.
    Is there any scheduler in XI where in I can start the adapter polling without manually activating the file adapter at 12.00 am
    Thanks,
    Sachin

    HI,
    As of now File Adapter doesnot support this. Refer SAP Note 821267 Question No 18.
    There is some workaround is there. Using BPM etc..
    Regards,
    Moorthy

  • Can IPSLA work with PTP(Precision Time Protocol) or Synchronous Ethernet?

    Hello Sir.
    I'm working on IPSLA with NTP, but I couldn't get the value of One-Way Delay in IPSLA.
    I think the time gap between the Source and Responder is bigger than the acceptable time gap for One-Way Delay in IPSLA.
    So, One idea hitting my head is to use the PTP or SynchE, but I'm sure if it will be working or not.
    And another condition in this scenario is that the network device which was originally working as a master in NTP should give the time value to other systems i.e PC and servers. PTP or SynchE can give ??
    I'm using ME3600X-24FS-M (License : Advanced Metro IP Access) 15.3(2)s1.
    This model doesn't support the SynchE, right ?
    Thanks & Regards

    Hello Sir.
    I'm working on IPSLA with NTP, but I couldn't get the value of One-Way Delay in IPSLA.
    I think the time gap between the Source and Responder is bigger than the acceptable time gap for One-Way Delay in IPSLA.
    So, One idea hitting my head is to use the PTP or SynchE, but I'm sure if it will be working or not.
    And another condition in this scenario is that the network device which was originally working as a master in NTP should give the time value to other systems i.e PC and servers. PTP or SynchE can give ??
    I'm using ME3600X-24FS-M (License : Advanced Metro IP Access) 15.3(2)s1.
    This model doesn't support the SynchE, right ?
    Thanks & Regards

  • High priority settings cannot precisely time loops?

    I have an loop that acquires data every n milliseconds and casually sets some digital output when a threshold has passed.
    This digital-out is quite time-critical thus I don't like to do a on-board-acquisition but get each data just in time.
    That's very fine with a 1ms loop-time as long as Windows NT has enough ressources. But if there's another time-consumptive process running, things get bad.
    I started a "search for file" and parallel my application. Now Windows shared the timeslices and I have a lot of acquisition-dropouts for 10-20 ms.
    So I set the VI-priority to "highest" and the WindowsNT-process priority for LabView to "realtime". At least the latter should get the VI all the time it needs.
    But LabView se
    ems to be fair enough to still share ressources and the dropouts continued.
    Can I set my LabView-application so that it gets absolute priority in Windows NT to have a constant acquisition?
    Thanks, Daniel

    You can go to hardware timed acquisition or LabVIEW-RT. Windows, Linux, Mac, etc. are not deterministic operating systems. There is a lot of information on "real-time" acquisition at NI's site. Try doing a search and seeing what your options are. Good Luck.

Maybe you are looking for

  • How to Use native keyword in java programming

    Hi , I am using JDK 1.6.0_11 , and i was trying to create a java program using "native" keyword , i got the sample code for the same from the site : - http://www.javaworld.com/javaworld/javatips/jw-javatip23.html But when i type this command " C:\jav

  • Error bars from data

    Hello, I am trying to graph several columns of data with percentage confidence intervals in the adjacent column into a graph, but I can not seem to get Numbers to understand where the error bar numbers are and to which data they correspond. At the ve

  • CF9 and Excel

    Hello, I'm using the new functionality of CF9 and Excel (cfspreadsheet). What i'm trying to do is generate Excel reports. I'm getting 1500 records from different db-tables and generate an Excel file of the results. No the problem is performance. It's

  • Regarding client copy and authorizations

    hi, i had installed SAP BW 3.5 on my system.it is a fresh installation.now the probelm is that iam unable to open the administration workbench screen which is the most important of all the BW  screens available.when i type the relevant tcode , it is

  • ITunes Performance With Large Libraries

    I've got over 150gig of data on iTunes, and like many others, I find that iTunes is very slow. I'd just like to know exactly why this is so, and if it's anything that Apple can fix. I remember iPhoto had a similar problem some time back, and Apple re