Application/object halts for (exactly) 1 hour

One processing object of my application occasionally halts for exactly 1 hour (60 minutes) and i wonder what the reason can be. The application itself is multithreaded and can run multiple threads. The application itself doesn't halt (log entries) but one thread that first downloads data via HTTP to a file and then processes the file sometimes halts and continues after 60 minutes. For the download part, i set a timeout of 10 minutes (not 60 minutes) and this timeout also is just for the download part. After downloading, the file processing starts that reads from the file and performs some database (JDBC) statements (SELLECT, UPDATE, INSERT). The application itself shows the running time of the thread. When the thread processing continues, i see in the database that there is a jump of exactly 60 minutes between the last and the subsequent access before/after the halt. There is no timeout oder exception or anything else. It just sleeps for 1 hour and then continues.
Can one reason be some MS SQL issue that just makes one connection sleep? Or any other possibility?

and of course you don't have these Sleeps in a loop that mysteriously executes exactly (60 minutes / sleep time) times ?
just add more checking around the code that connects to db:System.out.println("Connecting at <time>");
// ins, sel, upd
System.out.println("Done at <time>, took <timediff>"); and so on... it is mysterious and indicative of an error on your part that it takes exactly one hour.
unless there is a strange situation like the server where the db lives resets it self at x'olock and takes 1 hour to get back up... etc.

Similar Messages

  • Urgent: Application Object Type for ALE IDoc

    Hi All,
    I am struggling with ALE IDoc, I just wanted to know that is it mandatory to create Application Object Type when i have created my own message type, Idoc type, segment type and Function Module. I am Getting an error while excuting transaction we42( Maintaining Process code)
    Error: Application Object Type is not planned.
    Please Help with this.  i don't have any requirement of filtering or serialisation, so still do i need to create these application objects.
    Useful ans will be rewarded.
    Thanx

    Hi,
    Yes u need to have the assignment of Object type as ur extending the IDOC.
    Check the steps below:
    TCode- BD95.
    Create ALE object type  “Z...”  with table name “EKKO” and Field name “-BSART”
    Step2:
    Tcode- BD59 – “Assignment of Object type to Message”
    Give the message type “ORDERS”.
    Assign the object type “Z........” to segment type “E1EDK01’ with field “BSART”.
    Regards
    Kannaiah

  • My macbook's performance is quite slow and it freezes I haven't shut it down in over a month. I shut it down yesterday for over 12 hours yet upon starting up again the slowness persists. Removed Google chrome application the speed arose slightly any tips?

    I haven't shut it down in over a month. I shut it down yesterday for over 12 hours yet upon starting up again the slowness persists. Removed Google chrome application the speed arose slightly any tips? I contacted a support member but unfortunately my warranty has run out, he suggested that may be a result of putting the mac into sleep constantly, and not shutting down and that there may be files i can clear to remedy the issue. Any suggestions would be greatly appreciated,
    Regards.

    First, back up all data immediately, as your boot drive might be failing.
    There are a few other possible causes of generalized slow performance that you can rule out easily.
    Reset the System Management Controller.
    If you have many image or video files on the Desktop with preview icons, move them to another folder.
    If applicable, uncheck all boxes in the iCloud preference pane.
    Disconnect all non-essential wired peripherals and remove aftermarket expansion cards, if any.
    Check your keychains in Keychain Access for excessively duplicated items.
    Boot into Recovery mode, launch Disk Utility, and run Repair Disk.
    Otherwise, take the steps below when you notice the problem.
    Step 1
    Launch the Activity Monitor application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Activity Monitor in the icon grid.
    Select the CPU tab of the Activity Monitor window.
    Select All Processes from the menu in the toolbar, if not already selected.
    Click the heading of the % CPU column in the process table to sort the entries by CPU usage. You may have to click it twice to get the highest value at the top. What is it, and what is the process? Also post the values for % User, % System, and % Idle at the bottom of the window.
    Select the System Memory tab. What values are shown in the bottom part of the window for Page outs and Swap used?
    Next, select the Disk Activity tab. Post the approximate values shown for Reads in/sec and Writes out/sec (not Reads in and Writes out.)
    Step 2
    If you have more than one user account, you must be logged in as an administrator to carry out this step.
    Launch the Console application in the same way you launched Activity Monitor. Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Select the 50 or so most recent entries in the log. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V). You're looking for entries at the end of the log, not at the beginning.
    When posting a log extract, be selective. Don't post more than is requested.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some personal information, such as your name, may appear in the log. Anonymize before posting. That should be easy to do if your extract is not too long.

  • TS1702 The Calendar app that came on my i4S Phone does not sync the correct time for items posted on my Yahoo Calendar.  Actually, they post exactly 4 hours earlier than the correct time on my Yahoo Calendar.  Does anyone have a "fix" to correct the "time

    The Calendar app that came on my i4S Phone does not sync the correct time for items posted on my Yahoo Calendar. Actually, items post exactly 4 hours earlier than the correct time on my Yahoo Calendar.   My i4S is in the correct New York time zone.  Help?

    I posted this question a while ago and didn't receive any responses but there are a lot of people who have viewed it and 10 have said they have the same question so I thought I would update you that I added my nanny to my exchange server account (created an email for her) and I send all invites to that email address and they work.  So sending invites from an exchange server account to a non-exchange server account apparently is a bug so to solve it, get on an exchange server I guess.

  • HT1977 I'm a iPhone 4s and new iPad 3 owner.  I'd like the apps and organization I've invested in the iphone to be exactly transfered to the ipad.  Is this possible?  Will all the applications and folders match exactly?  Thank you for your help

    I'm a iPhone 4s and new iPad 3 owner.  I'd like the apps and organization time I've invested in the iphone to be exactly transfered to the ipad.  Is this possible?  Will all the applications and folders match exactly?  Thank you for your help

    Restore the latest iPhone backup you made to the iPad.

  • I have started migration système to transfert from hold Macbook pro to New MacBook air application starter successfully for several hours. But since more than 3 hours I got the message transferring Time zone paramètres with time left less than 1 minute.

    Hi
    I have started migration système to transfert from hold Macbook pro to New MacBook air
    Application starter successfully for several hours.
    But since more than 3 hours I got the message "transferring Time zone paramètres " with time left less than 1 minute.
    Any recommendation or suggestion to solve it ?
    Many tanks

    If it has run for 3 hours it's probably done and you can quit Migration Assistant and reboot the new computer. In the future rather than using Migration Assistant I would recommend using Startup Assistant which tends to be a bit more reliable and does not create a new user account as MA does. If  you're interested here is an article explaining Setup Assistant tips.
    Roger

  • BDT-DC is not prepared for this application object

    Hi,
    I am getting this the error message:
    BDT-DC is not prepared for this application object
    when I try to create an extension.
    I cam across the following thread:
    EEWB
    In this thread it is given:
    Hi,
    The xdcflag in the table TBZ1 needs to be set.
    Please follow the steps mentioned below.
    1. Start the transaction SM30.
    2. Enter the name of the Table/View as V_TBZ1_DC.
    3. Press the 'Maintain' button.
    4. Double click on the Application Object you are trying to extend(for
    e.g., BUPA)
    5. Mark the checkbox 'Active in DC' under the section 'BDT DC Settings'.
    6. Save the data.
    You can refer to note 955236.
    When i follow the above steps it says that:
    Do not make any changes (SAP entry).
    Please Guide.
    Regards
    Shilpi

    Hi Smita,
    I am unable to start the wizard.When i choose Start Wizard I get this error message and the wizard is not started.
    Regards
    Shilpi

  • Transfer from time capsule frozen - shows for part 15 hours: 2 min remaining transferring your applications folder...

    Transfer from time capsule frozen - shows for part 15 hours: 2 min remaining transferring your applications folder...help!!!

    Hang in there for another few hours to see if the transfer will complete. Check with the Apple guys again if no progress.
    If you find that you need to repeat the process due to errors, I would strongly recommend an ethernet connection from the TC to the computer to greatly speed the process and minimize chances for errors and interruptions.

  • Applications halting for a few seconds...

    Since Upgrading to Snow Leopard from Leopard, both myself and my girlfriend (Macbook Late 2008; Macbook Pro Early 2007) have had problems with the applications.
    The Apps sometimes halt for a few seconds (up to 10-20 seconds) after performing an action. At this point the colourful wheel spins and the application is unresponsive.
    It happens not frequently, but often enough to notice. It happens in most apps, Safari, iTunes, iPhoto, iCal, Firefox... In fact it just happened whilst I was just typing then!
    The unresponsiveness is unusual to say the least.
    Both have had problems with Snow Leopard 10.6; 10.6.1 and 10.6.2
    Is this a common problem at the moment with Snow Leopard not being fully stable yet?

    Create a new User go to System Preferences >> Accounts >> "+" (make it an admin acct) and test the apps in this new account, if they work the problem is isolated to your User and not systemwide.
    -mj

  • How to find out exact labour hour and expenses for each labour attached to

    Team,
    How to find out exact labour hour and expenses for each labour attached to machine
    We are planning to go with CATS.
    But in Cats how Production Planning department get the exact labour coust
    (which includes labour accomodation building , EB etc. paying by comp)
    How to do this in CATS
    REX

    hai
    generally  the schemas are named X000  which stands for common schema  nomination
    x replaced by respective country like for india it is IN00  for US  U000etc
    it is not given according to the group of emplyees but according to the country grouping for your org units
    time schemas are country independent they work for all the countries
    regards
    nalla

  • 2011 MBP (10.8.4) freezes exactly one hour after reboot

    Hello,
    I'm having an issue identical to this poster insofar as I can tell, but some test results are different for me. Exactly one hour after rebooting or starting the computer, applications become unresponsive, video stops playing, then a little while later sound stops playing, and the cursor becomes a beachball if interacting with an application. Some windows can still be dragged or brought to the front of the screen for a short time. Eventually everything (except sometimes the cursor) is frozen and the machine never recovers from this state (for at least 15 minutes, I haven't let it go longer).
    Most of the time this is accompanied by a CPU use spike and the fans spinning up, but not always. I have trawled through the system logs and disabled lots of LaunchAgents to no avail, so let me just list a few things I've tried and their result.
    Disabling wifi: no change
    Removing RAM one slot at a time: no difference
    Memtest: clean results, froze after 1 hour anyway
    Apple Hardware test: clean result on extended test, progress *sometimes* halts at the end of the third or fourth pass after the "Main Logic Board" test had finished (during message "Testing in progress... Extended testing in progress").
    System console/system.log shows no distinctive output immediately before freeze, unless I'm doing other things like playing audio or using the internet in which case the wifi interface has activity or CoreAudio turns outputs on, but this is different every time it crashes. I did find that GoogleSoftwareUpdate was implicated in one of the console logs, so I disabled and uninstalled that without effect. I recently started using Time Machine on an external drive, so I disabled that and removed the drive I'd selected from Time Machine preferences - no improvement.
    While watching Activity Monitor during one freeze, I saw that cprefsd (root) had spiked to 260% CPU usage, fseventsd (root) to 128%, and several other processes to 100% (UserEventAgent, cprefsd, iTunes Helper, and apsd (root)). Everything else was at 1%.
    Symptomatically, this appears to be a software issue (not an instant crash, elevated CPU usage, regular timed interval), but I've been unable to isolate the cause. I strongly suspect Time Machine is responsible (fseventsd is linked to it) but having disabled it in System Preferences I'm not sure if it should be eliminated. Alternately I believe this may be symptomatic of logic board, memory controller, or graphics card failure, but am at a loss to explain the regular (non-random, non-usage-dependent) occurrence. I performed the syslog test prescribed by Linc Davis in this thread and found only regular shutdown codes, so that also seems to point to software issues.
    --- last message repeated 9 times ---
    Sep 15 22:18:20 localhost kernel[0] <Debug>: Previous Shutdown Cause: 5
    --- last message repeated 1 time ---
    Sep 15 23:22:24 localhost kernel[0] <Debug>: Previous Shutdown Cause: 0
    Sep 15 23:50:11 Solidspace kernel[0] <Debug>: Previous Shutdown Cause: 0
    Sep 16 00:20:10 localhost kernel[0] <Debug>: Previous Shutdown Cause: 0
    Sep 16 11:29:05 localhost kernel[0] <Debug>: Previous Shutdown Cause: 5
    Sep 16 12:41:26 localhost kernel[0] <Debug>: Previous Shutdown Cause: 0
    --- last message repeated 1 time ---
    Sep 16 14:11:11 localhost kernel[0] <Debug>: Previous Shutdown Cause: 5
    This morning I tried leaving the computer on in Safe Boot mode and the freeze occurred on schedule, with the windows becoming unresponsive at 60 minutes in, and the the beachball appearing as soon as I moved the cursor.
    If I can get a full backup sorted (only essential stuff is cloned right now), I'll try a clean install of OS X from the recovery partition to see if it nixes whatever process is at fault. I have an appointment with the Genius Bar tomorrow evening, but if this is really a software problem then I'm not sure how they can help (except to replace it at cost). Are there any other tests or fixes I can try? What's the likely prognosis?
    Thanks a lot for your help.

    Apple replaced the logic board and the fix and it didn't fix the problem. To their credit, they refunded the repair fee. I ended up tracing the issue to a third-party drive I'd bought from NewEgg, a Crucial M4 SSD, which had a very peculiar firmware bug:
    Correct a condition where an incorrect response to a SMART counter will cause the m4 drive to become unresponsive after 5184 hours of Power-on time. The drive will recover after a power cycle, however, this failure will repeat once per hour after reaching this point.
    I would have probably gotten the update notice had I purchased direct from Crucial (or had it come pre-installed if I'd bought it a month later). If you have a similar issue, check your drive firmware!

  • Recordset - updating 2 tables with 1 recordset using application object update record

    I have a recordset that uses a field from 2 different tables
    with a select statement where clause that joins a userid. I can
    display the field’s data just fine. Now I want to use the
    Application object “update record” so I can modify
    either of the fields. The problem is the Application object
    “update record” only allows you to update one table.
    How does Dreamweaver mx 2004 allow me to update 2 tables with one
    recordset and 1 submit button? Currently using php.
    Example of where:
    Where member.userid = member_detail.userid
    I tried creating the one form with the field from the first
    table and that works just fine. I added the other field from the
    other table into the form but ofcourse there isn’t any code
    that will update the second table so it won’t work.
    My application requires me to update alot of fields between 2
    tables at the same time.
    Does anyone know a way using Dreamweaver mx 2004 to do this?
    I don’t have much php experience.

    jon-rookie wrote:
    > DreamerJim,
    >
    > I am sorry but I don't think you are correct. I just
    can't believe that with
    > all the powers to be at Macromedia and now Adobe can't
    figure out how to update
    > two tables at once. There are millions of db's out there
    that require this. I
    > spent several hours today perusing lots of posts on the
    internet. It seems I
    > am not the only one out there that has asked this
    question. Unfortunately
    > there are no good answers yet to my surprise.
    >
    > I did find a Dreamweaver extension that does exactly
    what I myself and many
    > others want. The problem is it is no longer available
    unless you purchase a
    > bundle of software from Adobe.
    >
    > I have not looked into it in detail so I am not 100%
    sure that is accurate!
    >
    > Still, alot of php programmers do this all the time
    without much trouble. I
    > just want to know if Dreamweaver mx 2004 has the
    capability if a person knows
    > the right steps.
    >
    > Hopefully a Dreamweaver expert will post something to
    let us know for sure.
    > Until then I am stuck.
    >
    Not even CS3 has this built in, you will either have to code
    it yourself
    or buy the extension you have found. Dreamweaver gives you
    basic
    features to help you develop applications, but if you want to
    do
    anything really clever you have to do it yourself.
    One thing to consider is maybe creating an SQL view that is
    can be
    updated. I am pretty sure it exists, then you use the view
    instead of
    the table in the update behaviour. I have never done it
    myself, but I am
    sure it can be done.
    Steve

  • Application Object Library

    Hi,
    Can anyone give the exact definition of what AOL is?
    And what all setups comes under AOL?
    Thanks in Advance.

    You can find the list of Oracle Application Object Library (FND) database objects by using the following query:
    SQL> select owner, object_type, object_name
    from dba_objects
    where object_name like 'FND%';FND files can be located under $FND_TOP.
    For more details about Oracle Application Object Library (FND), refer to [Oracle Applications Concepts|http://download-uk.oracle.com/docs/cd/B25516_14/current/acrobat/11iconcepts.pdf] Manual.

  • Create an Application Object schedule from command line?

    Hi everyone - long-time lurker, first-time poster here.
    Is there a way create an availability schedule for an Application Object via a command line (or any other programmatic method)? The utilities I've obtained from Cool Solutions are great for replicating AOs (Application Objects) and setting certain properties, but none of them seem to have a method of creating a schedule that you would otherwise create within the AO's property book via Availability > Schedule. BTW, we are using Zen 6.5.
    We have a rollout around the corner for which there are several AOs that drive the process, and we are going to have an instance of each of these AOs for every target group (of which there are dozens), and each group will have their own distinct schedule. The schedules are basically going to be "wait until day X to become available and then remain available for the next 2 months".
    For some of the AOs we can use the Schedule Type of Range of days, which is not so terrible to set manually because you just specify a start date and an end date. But most of the AOs must have the Schedule Type of Specified days in order to ensure they do not ever launch during business hours; manually selecting 60 days from the date picker for a single instance is a daunting task, and I shudder at the thought of having to do so for dozens of AO instances.
    I believe that the field in the ZENworks database that corresponds with an Application Object's schedule has a data type of Binary (which may be why there doesn't seem to be an existing solution), but does anyone have any ideas for accomplishing what I'm talking about?
    Thanks in advance,
    Gavin

    Originally Posted by AndersG
    Jeemo,
    > basically going to be "wait until day X to become available and then
    > remain available for the next 2 months".
    >
    Just to clarify, you want:
    Range of days, start date, end date. Nothing fancier than that?
    - Anders Gustafsson (Sysop)
    The Aaland Islands (N60 E20)
    In a perfect world this is what I would like to be able to do:
    For the AOs where we're going to use the "Range of Days" schedule type, be able to specify the start date, end date and also the days of the week when we do not want it to run (or just the days we do want it, if easier).
    For the AOs with the "Specified days" schedule type, we would like to add (or remove) a specific date, and optionally be able to specify that Start Time and End Time that applies to the dates. As for adding multiple dates, I was planning on having a script that enumerates all the dates in our desired range, and for each date in the range it would call the utility with that date passed as a parameter to add it or remove it.
    If all of the above is too much to put together then I would not complain if it is only partially fulfilled. To be honest I would not mind building a mechanism myself that could handle this, it's just that I don't know where to start. I'd be happy to take a crack at it if someone could point me in the right direction for how to send commands to the database (or directory).
    Thank you again for your help.

  • Application Object Library Reference Manual in EBS 11.5.9 Docs

    Hi,
    I have bumped to a reference of the book "Application Object Library Reference Manual". Since this reference is about an old EBS version(10.6) and i want the equivalent of this for the EBS 11.5.9. , can you please write which one is this from url:
    http://download.oracle.com/docs/cd/B12190_11/current/html/docset.html
    Many thanks,
    Sim

    Hi,
    Actually , i have read on some docs located at :
    http://www.bryanthompsononline.com/oracle/2008/05/06/download-oracle-aim-applications-implementation-methodology-software/
    about the above reffered Oracle EBS document. I have searched on the typical Oracle EBS 11.5.9. doc , but i've not found this exactly doc (with this title). So , i have asked if anybody could point me to the relative doc on EBS 11.5.9. docs set......
    Many thanks for the link anyway.....
    Greetings,
    Sim

Maybe you are looking for

  • When macbook air restarts, it does not require the password for the admin

    I set up parental controls on son's Mac boolk air, but anytime it is restarted, it defaults to the admin account without haveing to enter pasword.  So basically, pointless to have controls if he can just use admin account.

  • PDF size limit?

    Is there a size limit in pages that the iPhone can handle? It tends to freeze up or just close large PDFs (8+ pages). I know the iPhone will kill apps that exceed a certain in memory size.

  • Combining a chart's image JPEG with a text label?

    Hi I am creating a JPEG file of a chart's plot. This works fine using the 'Write JPEG File'. As I have 8 charts in the VI to save to file, I have identified eact one using the label text. This appears OK when running but after saving the charts to fi

  • No Music in exported slideshow

    I have read all the threads in this forum but have yet to see a solution to this problem. I created simple slideshow, created a non-DRM playlist with one song in iTunes and attached the music track to the slideshow. It plays fine within iPhoto but wh

  • Why export to EPS was removed from Flash CS4?

    Hello. I just installed evaluation of Flash CS4. I am confused that EPS support was removed. I need illustrations in EPS, because I use LaTeX. It there workarounds to get an EPS file from a FLA file?