Exception Thrown When a Scheduled Task Runs for Many Hours

In the Oracle documentation here (http://download.oracle.com/docs/cd/E10391_01/doc.910/e10367/toc.htm#CACGBDAD) it states that the below exception can get thrown when a scheduled task runs for many hours (on OAS) and can be ignored:
Primary Server went down going to get a fresh object elsewhere in the cluster.
com.evermind.server.rmi.RMIConnectionException: LRU connection
Just want to find out from other users that get this error (If there is any), have you found the scheduled task actually completes, then the error is thrown or what?
I just don't feel comfortable that one of our tasks is completing properly due to this exception occuring and causing the task to stop midway through processing...

Hi,
I've had trouble with scheduling PowerShell scripts in the past as well. You can try running your script in the SYSTEM context by launching a cmd prompt this way, just to verify that the issue isn't related to the account itself:
http://myitforum.com/cs2/blogs/jmarcum/archive/2010/08/25/150872.aspx
This method does require PSExec, there's a link to the tool in the post if you don't already have it on hand.
You can also start PowerShell as SYSTEM and play around if you need to:
http://blogs.technet.com/b/ben_parker/archive/2010/10/28/how-do-i-run-powershell-exe-command-prompt-as-the-localsystem-account-on-windows-7.aspx?Redirected=true
Not the best answer, but hopefully it helps shed a little light on the issue.
Good luck.
Don't retire TechNet! -
(Don't give up yet - 12,575+ strong and growing)

Similar Messages

  • Windows Server Backup scheduled task run successfully but backup do not start (not running) on Windows Server 2012

    Hi,
    A backup job has been setup on Windows Server 2012 (Platform: Win32NT; ServicePack: ; Version: 6.2.9200.0; VersionString : Microsoft Windows NT 6.2.9200.0) via Windows Backup Software UI (Local Backup 1.0).
    It is appearing as a scheduled task "\Microsoft\Windows\Backup\Microsoft-Windows-WindowsBackup" belonging to user 'nt authority\system' in task scheduler.
    The problem is that the Backup job never start despite the scheduled task running and completing successfully (when run automatically or manually)!
    Would you be able to explain why and assist in resolving that issue?
    Here is what we know:
    When the backup is run manually via the Windows Backup Software UI, it works fine.
    When the backup is run via command line (as set in schedule task) in a cmd command prompt (as local/domain 'administrator' or as 'nt authority\system' which is possible by running command prompt via 'PsExec.exe -i -s cmd'), something like "%windir%\System32\wbadmin.exe
    start backup -templateId:{f11eb3aa-74e7-4ff4-a57b-d8d567ee3f77} -quiet", it works fine.
    If you manually run the preset scheduled task while logged in as administrator, the task run and complete successfully but the backup job does not start.
    Idem if you schedule task is run automatically at scheduled time.
    The schedule task run and complete successfully but the backup job does not start.
    It is confirmed by running the following in a command prompt as 'nt authority\system':
    schtasks /run /tn "\Microsoft\Windows\Backup\Microsoft-Windows-WindowsBackup"
    SUCCESS: Attempted to run the scheduled task "\Microsoft\Windows\Backup\Microsoft-Windows-WindowsBackup".
    Despite success result, the Backup job does not start running...
    No errors or warning appears anywhere in Event Logs (Microsoft > Windows > Backup or Task Scheduler) nor in the scheduled task History tab. The schedule task complete successfully but no Backup job is run...
    If scheduled task automatically set by Windows Backup software is duplicated (copied) and set manually it runs fine as 'administrator' and as 'nt authority\system' (subject that 'nt authority\system' is added to the 'Backup Operators' AD group).
    Here is an export of the current pre-set schedule task, is there any settings that need to be changed to make it works?
    <?xml version="1.0" encoding="UTF-16"?>
    <Task version="1.4" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
      <RegistrationInfo>
        <Author>MYDOMAIN\SERVER1</Author>
        <SecurityDescriptor>D:AR(A;OICI;GA;;;BA)(A;OICI;GR;;;BO)</SecurityDescriptor>
      </RegistrationInfo>
      <Triggers>
        <CalendarTrigger id="Trigger 1">
          <StartBoundary>2014-07-14T21:00:00</StartBoundary>
          <Enabled>true</Enabled>
          <ScheduleByDay>
            <DaysInterval>1</DaysInterval>
          </ScheduleByDay>
        </CalendarTrigger>
      </Triggers>
      <Principals>
        <Principal id="Author">
          <UserId>S-1-5-18</UserId>
          <RunLevel>HighestAvailable</RunLevel>
        </Principal>
      </Principals>
      <Settings>
        <MultipleInstancesPolicy>Parallel</MultipleInstancesPolicy>
        <DisallowStartIfOnBatteries>true</DisallowStartIfOnBatteries>
        <StopIfGoingOnBatteries>false</StopIfGoingOnBatteries>
        <AllowHardTerminate>true</AllowHardTerminate>
        <StartWhenAvailable>true</StartWhenAvailable>
        <RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
        <IdleSettings>
          <StopOnIdleEnd>false</StopOnIdleEnd>
          <RestartOnIdle>false</RestartOnIdle>
        </IdleSettings>
        <AllowStartOnDemand>true</AllowStartOnDemand>
        <Enabled>true</Enabled>
        <Hidden>false</Hidden>
        <RunOnlyIfIdle>false</RunOnlyIfIdle>
        <DisallowStartOnRemoteAppSession>false</DisallowStartOnRemoteAppSession>
        <UseUnifiedSchedulingEngine>false</UseUnifiedSchedulingEngine>
        <WakeToRun>false</WakeToRun>
        <ExecutionTimeLimit>P3D</ExecutionTimeLimit>
        <Priority>7</Priority>
      </Settings>
      <Actions Context="Author">
        <Exec>
          <Command>%windir%\System32\wbadmin.exe</Command>
          <Arguments>start backup -templateId:{f11eb3aa-74e7-4ff4-a57b-d8d567ee3f77} -quiet</Arguments>
        </Exec>
      </Actions>
    </Task>
    Thank you in advance for your feedback.

    Once again, the issue is not to run the backup manually from the command line but to have it run via the scheduled task setup by the Windows Backup software.
    By default, the schedule task is to be run as NT Authority\System, and when run under this account, the backup does not start (even though account is member of Backup Operators) and job can manually be run via elevated command prompt. This is not a normal
    behavior and constitute a major bug in Windows Server 2012.
    From my understanding the NT Authority\System account is a built-in account from Windows that should by default be part of the Administrators group (built-in) even though it does not explicitly appears like it in AD by default.
    This account shall have by default Administrators rights and Backup Operators rights (via the Administrators group) without being explicitly added to those groups (http://msdn.microsoft.com/en-gb/library/windows/desktop/ms684190%28v=vs.85%29.aspx). By design
    it is supposed to be the most powerful account which has unrestricted access to all local system resources. If that is not the case (as it seems) then this would constitute a major bug in Windows Server 2012 edition.
    As said previously and as you confirmed, currently by default NT Authority\System on Windows 2012 server cannot start backup manually via an elevated command prompt unless it is manually added to Backup Operators (or Administrators) group. But wouldn't that
    constitute a bug of Windows Server 2012?
    Our server has not yet been restarted since I added NT Authority\System account to the Administrators group explicitly manually so I cannot yet confirmed it would sort the issue. Indeed it is heavily in use so cannot easily be restarted. Will confirm when
    done.
    We also have an additional problem where after a while of last reboot, part of the Exchange ECP can no longer be properly loaded in the web browser due to compilation error (compilation is done via NT Authority\System account which seems to no longer have
    sufficient right to compile .NET code). What is strange is that it works at first and then stop working at some point... I am hopeful that adding NT Authority\System to the Administrators group would sort this issue as well but once again, that shall not be
    needed!!!
    Could a Windows Server 2012 update introduced some security policy changes or else that prevent NT Authority\System to have full power?

  • Java.lang.NullPointerException is thrown when packaging Adobe AIR application for iOS

    Hi All,
    https://bugbase.adobe.com/index.cfm?event=bug&id=3071298
    As per above link this bug resolve(latest build) but i am facing  Java.lang.NullPointerException is thrown when packaging Adobe AIR application for iOS, using the packaging tools.
    (for  inappPurchase Demo app --- i used below link code)
    http://code.google.com/p/in-app-purchase-air-ios/
    Thanks,
    Sunil Rana

    Hi Everyone,
    I'm getting basically the same error. Are there any rules or guidelines that we are suppose follow when writing an app for iOS? Is there a way to know exactly where it is crashing? My apps are not MXML, only actionscript. Also I made sure I have no errors not even warnings in my SWF file, but still no go! 
    Getting the same error.
    Exception in thread "main" java.lang.NullPointerException
            at adobe.abc.GlobalOptimizer.sccp_eval(GlobalOptimizer.java:6944)
            at adobe.abc.GlobalOptimizer.sccp_analyze(GlobalOptimizer.java:5909)
            at adobe.abc.GlobalOptimizer.sccp(GlobalOptimizer.java:4628)
            at adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:3514)
            at adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:2215)
            at adobe.abc.LLVMEmitter.optimizeABCs(LLVMEmitter.java:526)
            at adobe.abc.LLVMEmitter.generateBitcode(LLVMEmitter.java:336)
            at com.adobe.air.ipa.AOTCompiler.convertAbcToLlvmBitcodeImpl(AOTCompiler
    .java:472)
            at com.adobe.air.ipa.BitcodeGenerator.main(BitcodeGenerator.java:82)
    Compilation failed while executing : ADT
    regards,
    Keith

  • When attempting to install "Software Update" from Apple, the process talls at "Configuring Installation".  Even allowing it to run for 24 hours does not result in any progress.

    When attempting to install "Software Update" from Apple, the process stalls at "Configuring Installation".  Even allowing it to run for 24 hours does not result in any progress.

    Thanks for the straightforward tip. I had restarted once already, but the second time was a charm. The install button now works. Don't know if it mattered, but I also repaired disk permissions and then restarted in safe mode this time.
    The printer driver is apparently a different issue in itself. It turns out that the my printer, the HP Deskjet F380, has some fluke that makes it incompatible in 10.6. A new driver is coming out from HP according to Rickmeister in this thread: http://discussions.apple.com/thread.jspa?messageID=10076690&#10076690
    In case anyone else has the same problem with the F380: Like the user in the aforementioned thread, I downloaded and installed the old HP drivers for 10.5, and now at least I can print in the meantime.

  • SystemCenterDTSPackageTask runs for 10 hours +

    Hello,
    The process SystemCenterDTSPackageTask is running for 10 hours+ everyday... it ends successfully but the 14-Day History is never showing in the dashboard...
    I noticed two task taking most of the time
    Step 'DTSStep_ExecuteSQLTask_SC_EventParameterFact_View_1_Insert' succeeded
    Step Execution Started: 8/11/2014 5:58:03 AM
    Step Execution Completed: 8/11/2014 11:04:40 AM
    Total Step Execution Time: 18396.277 seconds
    Progress count in Step: 0
    and
    Step 'DTSStep_ExecuteSQLTask_SC_EventTypeDimension_View_1_Insert' succeeded
    Step Execution Started: 8/11/2014 1:33:12 AM
    Step Execution Completed: 8/11/2014 4:53:04 AM
    Total Step Execution Time: 11991.672 seconds
    Progress count in Step: 0
    this does not seem correct. Where to look for clues about this??
    From the two views having delays during the task run:
    Reviewing the tables and Views apparently the SC_EventParameterFact_Table is HUGE!!! 308 millions rows…
    SC_EventParameterFact_Table 308,524,992 168,4026,659 306,405,176 2065392 54424 1 dbo
    SC_EventFact_Table 168,202,440 120,018,607 134,803,216 33260840 138384 0 dbo
    vwSAS_VaEventsIndexed 113225192 534052356 108366320 4830896 27976 1 dbo
    SC_ClassAttributeInstanceFact_Table 37272016 112447073 22003952 15190496 77568 0 dbo
    SC_RelationshipInstanceFact_Table 5363592 17039635 4132136 1230296 1160 1 dbo
    vwSAS_VaScanIndexed 4294600 24752985 4173416 107824 13360 0 dbo
    vwSAS_ThreatsDetectedIndexed 2009552 8943888 1926336 73536 9680 1 dbo
    SC_ClassInstanceFact_Table 1973000 8790528 1342208 630072 720 0 dbo
    SC_ComputerToComputerRuleFact_Table 1694304 8621832 774992 918256 1056 1 dbo
    vwSAS_UnknownThreatsIndexed 1517992 7317008 1460144 53760 4088 0 dbo
    308 Millions rows in the table is it not an issue for the process to handle this? Should it not be purge? Cleared somtime?
    Treating 308 Millions rows and trying to insert more is it not an issue which could interfere with other process?
    SC_EventTypeDimension_View is only 9 rows and to do an insert it takes 3 hours!!!
    any idea about this which seems to be an issue?
    Thanks,
    Dom
    System Center Operations Manager 2007 / System Center Configuration Manager 2007 R2 / Forefront Client Security / Forefront Identity Manager

    Hi,
    Have you check Application log to see if there are any error? The following KB and blog could help you to improve SystemCenterDTSPackageTask performance.
    How to troubleshoot DTS and database sizing issues in MOM 2005 Reporting
    http://support.microsoft.com/kb/899158
    FCS with MOM 2005 Database Guidance
    http://blogs.technet.com/b/fcsnerds/archive/2008/09/25/fcs-with-mom-2005-database-guidance.aspx
    Best Regards,
    Joyce
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • I am trying to erase all contents on my iphone 4, its been running for 6 hours now, is this normal?

    I am trying to erase all contents on my phone, I am trying to get it back to factory settings,  I don't have any jailbreaks or anything like that on my phone, The circle thing has been running for six hours now, is this normal? Before I did that, I tried to do it through itunes, and it would not restore it through there either? Im at a loss?? That took only like 5 min before it says sorry it could not be restored. This is taking forever....

    Hello Stephiworld,
    Thank you for using Apple Support Communities!
    It sounds like you are trying to restore the phone to its factory defaults but the process is stalled or the phone is totally unresponsive.
    If the phone will respond to the Sleep/Wake button, I would turn it off the normal way, then turn it back on.
    iOS: Turning off and on (restarting) and resetting
    http://support.apple.com/kb/ht1430
    When it turns back on try the Erase All Content and Settings option again.
    If the iPhone is completely unresponsive and will not turn off normally, I would reset the device with this process from the above article:
    If your device stops responding, you can reset it by pressing and holding both the Sleep/Wake and Home buttons for at least ten seconds, until the Apple logo appears.
    Cheers,
    Sterling

  • Firefox (33.0.1) tabs and windows get all closed when I leave computer alone for some hours.

    Firefox (33.0.1) tabs and windows get automatically all closed when I leave computer alone for some hours. No crash report get created. It never happens while I am working on the computer or surfing the web. I have Windows XP SP3.

    -> Restart your System in Safe Mode
    * http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/boot_failsafe.mspx?mfr=true
    -> Uninstall your current Firefox => [[Uninstalling Firefox]]
    * DO NOT SELECT TO REMOVE USER DATA AND SETTINGS
    * Restart your system
    -> Do a MALWARE check with these Malware Scanning programs. You need to scan with all programs because each program detects different malware. Make sure that you UPDATE each program to get the latest version of their Databases before doing a Scan. Also, Close All other Applications (softwares) before Starting to Run Scans.
    * Malwarebytes' Anti-Malware -> http://www.malwarebytes.org/products/malwarebytes_free
    * SuperAntispyware -> http://www.superantispyware.com
    * Ad-Aware Free Internet Security -> http://www.lavasoft.com/products/ad_aware_free.php
    * Spybot Search & Destroy -> http://www.safer-networking.org/en/index.html
    * Anti-Rootkit Utility '''TDSSKiller''' -> http://support.kaspersky.com/faq/?qid=208283363
    -> [[Installing Firefox on Windows]]
    Check and tell if its working.

  • Network disconnects after Mac mini is running for several hours but a reboot fixes it

    i have updated my Mac mini to Yosemite but now it has a networking problem after running for several hours . Trying to open a webpage in Safari or chrome doesn't work, the remote site appears to disconnect.  Mail is not downloaded and email already downloaded has no images when I display them.  Interestingly DNS resolution is working nslookup finds the IP but telnet to a web site on port 80 gets an instant disconnect. 
    THe connection ion is wired into a hub and the ISP connection is fine from the other computers on our home network.
    I am now rather perplexed how to fix this without constantly rebooting the Mac which just goes against the grain.

    Hi loseph94,
    Welcome to the Apple Support Communities!
    I understand that issues with your computer running slowly can be frustrating. In this situation I would recommend reading over and using the information located in the attached article to help troubleshoot the issue. 
    OS X Yosemite: If your Mac runs slowly
    Have a great day,
    Joe

  • Tool like PathPing that can pinpoint packet loss and can be configured to run for 24 hours

    Does anybody know if there is a simple tool like PathPing that can pinpoint packet loss and can be configured to run for eg. 24 hours. I need it for windows XP preferable a cmd line tool like PathPing. Thanks Simon.

    Thanks for your answer. I already downloaded winmtr.
    Regards
    Simon
    From:
    namohamm
    To:
    Simon Vyrdal/Sweden/Contr/IBM@IBMSE
    Date:
    2010-12-30 08:29
    Subject:
    New message: "Tool like PathPing that can pinpoint
    packet loss and can be configured to run for 24 hours"
    simonvyrdal,
    A new message was posted in the Discussion thread "Tool like PathPing that
    can pinpoint packet loss and can be configured to run for 24 hours":
    https://supportforums.cisco.com/message/3258861#3258861
    Author : Nael Mohammad
    Profile : https://supportforums.cisco.com/people/namohamm
    Message:

  • Just below toolbar, Firefox is telling me "Downloading the lastest applications" - what is this and how can I stop it. It's been running for 2 hours.

    Just below the toolbar, Firefox is telling me "Downloading the latest applications" - what is this and how can I stop it. It's been running for 2 hours.
    == This happened ==
    Every time Firefox opened
    == I opened the Firefox "Add-ons" window

    Disable or uninstall the MSN/Bing toolbar.
    See [https://support.mozilla.com/tiki-view_forum_thread.php?comments_offset=0&comments_threadId=0&comments_parentId=693619&comments_threshold=0&thread_sort_mode=commentDate_asc&forumId=1&time_control=3600 this thread] and [[Uninstalling add-ons]].

  • Firefox 5.0.1 update-recommended to update-runs for 24 hours until I stop it because it never downloads-have tried numerous times.

    I keep being recommended by a pop-up window to download Firefox 5.0.1 for my MacBook Pro. I have tried numerous times--even letting it run for 24 hours and it still does not complete. Then a day or two later it asks me again. What do I do to get it to download.

    If you have problems with updating or with the permissions then easiest is to download the full version and trash the currently installed version to do a clean install of the new version.
    Download a new copy of the Firefox program and save the DMG file to the desktop
    * Firefox 5.0.x: http://www.mozilla.com/en-US/firefox/all.html
    * Trash the current Firefox application to do a clean (re-)install
    * Install the new version that you have downloaded
    Your profile data is stored elsewhere in the Firefox Profile Folder, so you won't lose your bookmarks and other personal data.
    * http://kb.mozillazine.org/Profile_folder_-_Firefox

  • "Extracting...this might take a while" message and download status bar running for 15 hours.

    Having purchased Adobe Acrobat XI Pro Mac Download, and installed the program with Adobe Download Assistant, the program is loaded but the status bar has continued to run for 15 hours with a message underneath stating "Extracting...this might take a while".  Also, a warning message appeared during download stating "The following disk images couldn't be opened"; (Image) AcrobatPro_11_Web_W, (Reason) error -4960.  How do I complete this download?     

    Check for the Internet connection. If its good, then try the same with a different broswer. Below link would help in this scenario,
    http://helpx.adobe.com/creative-suite/kb/troubleshoot-download-assistant.html

  • Does running Mac Pro for many hours hurt it?

    Hello,
    I'm planning to run my MacPro for 8-10 hours a day and I was wondering does running the computer for many hours during the day is potentially dangerous for Mac Pro?

    No problem at all. However, under heavy usage you will find that it better to have enterprise class drives and a professional class UPS. The Mac Pro will actually have no problem with running 24/7/365.

  • Paycycle Runs for 12 Hours

    Hi all,
    we are upgrading from 8.4 to 9.0.
    I am checking to see if the paycyclec works fine in 9.0. the paycycle runs for 12 Hours.
    Has anybody encountered this problem previously?
    Is it a normal issue in Upgrade?
    How to solve it?
    Please help me.
    Thank you.

    Peopletools version ?
    Database type and version ?
    Does the db version same on source and target ?
    Please, give more details, as much as you can.
    Generally, yes, it is not very uncommon to see bad performances after upgrade, just need to configure everything as well, especially on db level (i.e. statistics).
    Nicolas.

  • When I check my iCloud backup it says it has never backed up and when I try to back manually it gives a message of " estimating back up time" and doesn't back up even after having left it for many hours?

    When I check my iCloud backup it says it has never backed up and when I try to back manually it gives a message of " estimating back up time" and doesn't back up even after having left it for many hours?

    Yes I have tried that last weekend ad this weekend. I have tried wi fi at different times of the day too; in case it is speed issue. I have tried selecting only backing up limited content and not every thing per what other users suggest.
    It's maybe either the router is lousy or there is something wrong with my software or hardware.
    Appreciate your thoughts
    Thanks!!

Maybe you are looking for

  • Is anyone having issues with ink leaking from the printer head area? hp officejet pro 8000

    HP Officejet Pro 8000 Wireless, Windows 7 64-bit.  Printer is leaking from the printer head area.  The problem doesn't seem to be coming from the heads but maybe another connection?????

  • Unable to clear web services directories

    Hello all, I am deploying an ear file contating Web Service (out of EJB) and I am getting error below. Has anyone experienced this?  I have  NW2004s (700 -SP10) I appreciate your feedbacks. regards, Fereidoon Result => deployment aborted : file:/C:/D

  • Adobe Acrobat 9 Download files

    I have software discs and a license for Adobe Acrobat 9 pro windows. I don't have a disc drive on my new computer. is there a link where i can download this older edition of acrobat? i can't seem to find it on the website.

  • Running plugin continuously in the background

    Hello, I'm just starting out trying to make a plugin for Illustrator CC and have been a bit stuck the past few days, so I have a few questions.  The plugin I'm trying to make would have it where when you mouse over a path, an annotation pops up to di

  • IMovie messing up the contents

    Ok, I have got a website going, and make movies i iMovie 08 and publish it to iWeb. But the movie itself often gets "rearranged" by itself. I am NOT kidding. I can save the project upload it and everything seems fine, but the next time I open iMovie,