Scheduling Task issue in cluster environment

Hi All,
Can anybody explain,In my current OSB project for exception and retry mechanism we are using java scheduling,it is working fine in single managed server but in cluster environment we got issue i.e we have two managed servers and one Database, java scheduler which polling the records from Queue and inserting into Database.In cluster environment some times same record will insert into the database.how to fix it i.e means if only one record id insert into database table.
Thanks and Regards
Mani

Mani,
I suppose you are doing this in OSB.
Can you be more clear how you are polling the records from the queue? What mechanism you are using? I see you are using DB Adapter for writing to the database.

Similar Messages

  • Scheduling,Email Setup in cluster environment and multiple job servers

    Hello All,
        I have to schedule and email instances of crystal reports to users in PDF and excel format. A Clustered environment of Business Objects 3.1 SP3 is been setup on 2 servers. There is 2 instances of crystal reports Job server been created.
    My question is If there are multiple instances of job servers then should we have to configure mail settings on both instances of job server or not?
    And secondly, in cluster environment the email settings and scheduling of the reports should be setup on both CMS servers( CMS server 1 and CMS server 2) or should CMS server 1 should be enough?
    Thanks in advance.

    You have a couple of options here.
    1.  You can either set up email on all of the job servers on both CMS' in the cluster.  This is actually the easiest to manage.
    2.  You can set up email on some of the job servers on one or the other CMS.  However, at this point you would also have to set up a server group that contains the job servers that are set up for email, plus the RAS server - you might also have to include the Crystal Cache server and the Crystal Processing server.  Then ALL of the reports that are sent via email would have to be scheduled run ONLY on the server group that contains the email-enabled job server(s).
    -Dell

  • WCS - WLAN Scheduled task issue

    I am using WCS to control our 5508 wireless appliance. We currently have 2 WLANS that are active..One of them is a guest WLAN that
    I use 2 scheduled tasks. One task is to disable this WLAN every night after 6pm and the other task is used to re-enable the WLAN at 6am every morning.
    When it works it works well. However over the last 2 months there has been at least 3 - 4 times where WCS does not re-enable this Guest WLAN..which of course causes ALOT of support calls to be placed.  I upgraded WCS to latest version..Any ideas on what could be causing this issue ?
    Cheers
    Dave                

    Thanks for the input everyone...I tried adding a 2nd re-enable task 10 mins later and that didnt work..So after doing a bit of looking around..I noticed I could view the history for each task and it shows me the success or failure with a description of why it failed..Looks like I am losing connectivity to the 5508 controller from the WCS server when the task tries to run. Right now I am trying to find out when the WCS server is being backed up..its possible that the backups are happening at the same time and are affecting this process.
    More to follow
    Cheers
    Dave

  • KM Scheduler Tasks Missing!!

    We have been experiencing KM Scheduler Tasks issues. The installed custom KM Schedulers disappear for some days and shows up again. There are four schedulers currently missing which we have installed with the last transport. We were able to see those schedulers after the transport migration. We have experienced the same issue last month and then the scheduler tasks started acting normal after multiple server restarts. However this time the server has been restarted four times since last one week but we still couldn't get to the missing four scheduler tasks.
    We have checked the deployment log and the transport installed successfully
    SAP NetWeaver 7.0 SP14
    Please Help!!

    Hi Dana,
    You can use the standalone log-viewer to view the log files. See the documentation on sap help. http://help.sap.com/saphelp_nw04/helpdata/en/47/209779bbe64a318454b64148a0c76d/frameset.htm
    The best way would be to include some tracing and logging statements in your scheduler code.
    Create a new location in your code
    private static Location logger = Location.getLocation("mylocation");
    and put some trace statements in your code
    logger.intoT("start of method");
    But you will have to create a new location in Log Configurator in the VA and set the severity level to INFO. Then in the default.trc you can filter on your location name to get the relevant traces.
    Akhilesh

  • XLR Scheduled tasks

    We have several scheduleed tasks set up for XLR. They have been running fine for a year or more. The IT Provider accidentally removed the Excel program, which has been reinstalled & reconfigured. The Jobs run fine when started from within XL reporter, but when the scheduled tasks execute they do not complete & remain in running status, even though the log in XLR shows as completed.
    The running status causes the next jobs in the list to not run. Due to the server load of the jobs they are scehduled to run overnight but are mostly failing
    Any ideas on wheere to look for the solution to this issue?

    Hi Julie
    You may check this link to solve the scheduled  tasks issue:
    http://bytes.com/topic/windows/answers/876049-scheduled-task-remains-running-after-job-complete
    JimM

  • KM Scheduler Task Cache issue

    We have created couple of custom schedulers in Enterprise Portal. These schedulers are worked fine in our QA and DEV environment. But when we move the same transport to Production the scheduleru2019s tasks are not showing up in KM scheduler list. But after restarting J2EE couple of times it's showing up in KM scheduler task. This is the behavior we are seeing whenever we move the scheduler to production.
    Here are the some technical details about the scheduler,
    We have created one Portal Development component and 10 Scheduler Tasks under this component. All the tasks are not created in a single release. Initially when we develop we used to have 2 scheduler tasks under this component, when we move this transport to production we didn't faced any issue. Even after adding 4 to 5 scheduler task we didn't had any issues. After adding more than 6 to 7 whenever we add one we are getting the same issue.
    Question: 1 - Is there any limit to for adding Scheduler task in one Portal Component?
    This time we have restarted our server more than 5 times but scheduler not showed up. We ask our manger to logon to the portal server who never navigated to KM screen, we ask her to navigate and she did. For her schedulers are showed up. After she navigated to the KM screen everybody is able to see the scheduler. This is not the first time it happens like this, the same situation happen for the previous release also. In previous release we ask our Technical Architect to login to see KM schedulers. After his login everybody is able to see the schedulers.
    After doing all these is what I obverse is, it seems KM scheduler has some server level cache for the user and it's giving old screen whenever we are trying to login and see. After the transport, the cache is not getting updated with the new version.
    We guess it might be something we need to do with cache.
    Is there any idea why the system is behaving like this.

    Hi,
    I am facing similar issue. How did you resolve it?
    Regards,
    Apurva

  • Issues with Backup-GPO Scheduled Task as a non-admin account

    I'm having an issue trying to get a daily backup of domain GPO's from a non-administrative account. I'm using Powershell 2.0, the Backup-GPO cmdlet runs fine as a standard user, but when I run the same cmdlet with the same user, but with a scheduled task,
    the backup does not produce valid output. The command I run is:
    [batch file called by scheduled task]
    powershell.exe d:\loj\psps.ps1
    [psps.ps1]
    import-module grouppolicy
    backup-gpo -all -path d:\loj
    The specific problem is, all other files created by the backup are created successfully except the 'gpreport.xml' file found directly under the folder identified by the backup ID. All of the subdirectories under DomainSysvol\GPO contain xml files with the
    appropriate data, and the Backup.xml and bkupInfo.xml files are also created normally. The manifest.xml file is also created normally in the root directory.
    The gpreport.xml file however is malformed. It contains only two bytes of data, FF FE.
    The reason this is a problem is that the xml in the gpreport file can be used to restore whether the GPO is 'enforced' and also contains link data. Using this when restoring the GPO's makes the process a lot less painful.
    Running the batch file while logged in interactively as the user removes the problem, without making them an administrator.
    I've been using a test domain to investigate this, I tried adding the user in question to every local group except administrators, gave it full control to the destination folder for backups, the powershell executable, batch and ps1 files. Resultant set of
    policy access has been granted (rsop.msc run-as the user tested fine). The scheduled task stores credentials (needs to run when the user is not already logged in) and runs with the highest privileges.
    The only possibly related error I could find in the logs was this:
    This error goes away if enough group memberships are added to the account or alternatively if this string is added to the security descriptor for the LanManServer service: (A;;GA;;;S-1-5-21-1191697313-1384311512-914143962-35706), which just adds
    generic all to this account by referencing the SID. However, despite the fact that the error is no longer raised, the issue with the gpreport.xml file remains.
    Does anyone have any ideas on why this is happening? At this point my best guess is something UAC related, since the gpreport.xml file is created like normal if the user is made an administrator on the local machine (I'd rather not do that in production).

    Hi Fergubru,
    Thanks for your posting.
    To troubleshoot Task scheduled that a task ran, but the program that should have been executed did not run correctly.
    As AZ said above, some programs require elevated privileges to run correctly.  If a task is running a program that requires elevated privileges, ensure that the task runs with the highest privileges. You can set a task to run with the highest privileges
    by changing the task's security options on the General tab of the Task Properties dialog box.
    If a task program does not run correctly, check the history of the task for errors. For more information, see
    View Task Properties and History.
    For the Event ID 4656, this is an Audit log, This event will be Audit Success or Audit Failure depending on whether the user account under which the account is running has the requested permissions or not. 
    For more detailed information about Event ID 4656, please refer to this article:
    http://www.ultimatewindowssecurity.com/securitylog/encyclopedia/event.aspx?eventid=4656
    I hope this helps.
    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.

  • How to include Windows environment variables in e-mail action scheduled task

    Hello Support,
    Is it possible to include Windows environment variables such as %username% or %computername% in the subject line or body of the "Send e-mail" action item of the Task Scheduler?  For example, I would like when I setup a scheduled
    task to perform a certain task and send an e-mail message,  the email should include either the user name or computer name in the subject line and body of the e-mail.  Is that possible?
    Thanks

    Hi,
    You can create a new Scheduled Task preference item to solve your requirement.
    Checkout the below link for more information,
    http://technet.microsoft.com/en-us/library/dd851678.aspx
    Regards,
    Gopi
    JiJi
    Technologies
    I created a scheduled task and that does not provide what I need.  The scheduled task will simple send an mail, but I want to know from which machine or user triggered the email.  I also tried adding the batch file to the scheduled
    task and that did not work even though the scheduled task has the following settings. 
    User Configuration >> Prefence >> Control Panel Settings >> Scheduled Tasks
    When running the task, use the following user account
    NT AUTHORITY\System
    Run whether user is logged on or not 
    Run with highest privileges  HighestAvailable
    Configure for: Windows 7
    I also tried with Computer Configurations

  • ADS Configuration issue in HA cluster environment

    Hi All,
    We have HA cluster environment in which we have installed primary node, secondary node and additional application server. We have configured ADS in HA cluster but when we execute "fp_test_00" program in SE38 it throws "ADS: com.adobe.ProcessingException: com.adobe.Processin(200101)" exception. As well as RFC destination "FP_ICF_DATA_<SID>" in java system throws "Error during ping operation: Error while silently connecting: org.w3c.www.protocol.http.HttpException: Connection refused: connect"  while we ping destination.
    I have checked URL,Port and Logon data all information provided for RFC is fine. Please help me to resolve this issue.
    Thanks

    Hi Reagan
    As you suggested I have checked the URL(http://hostname:8000) has been used for connection, logon data is also fine. Below I have attached dev_icm trace file and there I can see that system throwing error while "reading data from message server"
    dev_icm
    Thr 14116] Mon May 19 01:11:29 2014
    [Thr 14116] {0000a598} Traffic Control: Nettimeout (30) exceeded by peer: 10.15.212.11:23327 [icxxthr.c 4303]
    [Thr 16228] Mon May 19 03:51:29 2014
    [Thr 16228] *** ERROR => MsINiRead: NiBufReceive failed (NIECONN_BROKEN) [msxxi.c      2829]
    [Thr 16228]
    [Thr 16228] *****************************************************************************
    [Thr 16228] *
    [Thr 16228] *  ERROR       Reading data from the message server (hostname / 3901)
    [Thr 16228] *              failed.
    [Thr 16228] *              Please check the trace file of the message server.
    [Thr 16228] *
    [Thr 16228] *  TIME        Mon May 19 03:51:29 2014
    [Thr 16228] *  RELEASE     721
    [Thr 16228] *  COMPONENT   MS (message handling interface, multithreaded)
    [Thr 16228] *  VERSION     4
    [Thr 16228] *  RC          -36
    [Thr 16228] *  MODULE      msxxi.c
    [Thr 16228] *  LINE        2848
    [Thr 16228] *  COUNTER     173
    [Thr 16228] *
    [Thr 16228] *****************************************************************************
    [Thr 16228]
    [Thr 16228] *** ERROR => MsIReadFromHdl: NiRead (rc=NIECONN_BROKEN) [msxxi.c      1867]
    [Thr 16228] JNCMIMsConnBrokenCallback: Message server connection broken
    [Thr 16228] IcmJncmConnBrokenCallback called
    [Thr 16228] JNCMReconnectAsync: Start Message Server reconnect, command MS_J2EE_RECO(2), allow 3600 sec for reconnect
    [Thr 16228] JNCMReconnectAsync: Allow 30 sec for consistent cluster reconnect
    [Thr 16228] Mon May 19 03:51:30 2014
    [Thr 16228]
    [Thr 16228] *****************************************************************************
    [Thr 16228] *
    [Thr 16228] *  ERROR       The connection to the specified message server
    [Thr 16228] *              (hostname / 3901) failed. Please check the trace file
    [Thr 16228] *              of the message server. If a network filter has
    [Thr 16228] *              been activated (see message server parameters
    [Thr 16228] *              ms/acl_file_...) please check the configuration
    [Thr 16228] *
    [Thr 16228] *  TIME        Mon May 19 03:51:30 2014
    [Thr 16228] *  RELEASE     721
    [Thr 16228] *  COMPONENT   MS (message handling interface, multithreaded)
    [Thr 16228] *  VERSION     4
    [Thr 16228] *  RC          -35
    [Thr 16228] *  MODULE      msxxi.c
    [Thr 16228] *  LINE        2783
    [Thr 16228] *  COUNTER     176
    [Thr 16228] *
    [Thr 16228] *****************************************************************************
    [Thr 16228]
    [Thr 16228] *** ERROR => MsIAttachEx: MsINiWrite (rc=-35) [msxxi.c      884]
    [Thr 16228] JNCMIMsConnBrokenCallback: Message server connection broken during reconnect
    [Thr 16228] JNCMReconnectAsync: cannot reconnect to message server [cmd=MS_J2EE_RECO(2),loop=1],  rc=-35(-35)
    dev_server0
    [Thr 10444] Mon May 19 03:51:30 2014
    M  [Thr 10444] ***LOG Q0I=> NiPConnect2: IP-address:3301: connect (10061: WSAECONNREFUSED: Connection refused) [nixxi.cpp 3285]
    M  [Thr 6832] *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 26/sock 4824
        (SI_ECONN_REFUSE/10061; I4; ST; IP-address:3301) [nixxi.cpp    3285]
    M  [Thr 19208] *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 42/sock 8104
        (SI_ECONN_REFUSE/10061; I4; ST; IP-address:3301) [nixxi.cpp    3285]
    M  [Thr 4680] *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 50/sock 368
        (SI_ECONN_REFUSE/10061; I4; ST; IP-address:3301) [nixxi.cpp    3285]
    M  [Thr 10444] *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 34/sock 7128
        (SI_ECONN_REFUSE/10061; I4; ST; IP-address:3301) [nixxi.cpp    3285]

    M [Thr 6832] Mon May 19 03:51:32 2014
    M  [Thr 6832] ***LOG Q0I=> NiPConnect2: IP-address:3301: connect (10061: WSAECONNREFUSED: Connection refused) [nixxi.cpp 3285]

    M [Thr 19208] Mon May 19 03:51:32 2014
    M  [Thr 19208] ***LOG Q0I=> NiPConnect2: IP-address:3301: connect (10061: WSAECONNREFUSED: Connection refused) [nixxi.cpp 3285]

    M [Thr 10444] Mon May 19 03:51:32 2014
    M  [Thr 10444] ***LOG Q0I=> NiPConnect2: IP-address:3301: connect (10061: WSAECONNREFUSED: Connection refused) [nixxi.cpp 3285]

    M [Thr 4680] Mon May 19 03:51:32 2014
    M  [Thr 4680] ***LOG Q0I=> NiPConnect2: IP-address:3301: connect (10061: WSAECONNREFUSED: Connection refused) [nixxi.cpp 3285]
    M  [Thr 6832] *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 35/sock 368
        (SI_ECONN_REFUSE/10061; I4; ST; IP-address:3301) [nixxi.cpp    3285]
    M  [Thr 19208] *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 27/sock 7592
        (SI_ECONN_REFUSE/10061; I4; ST; IP-address:3301) [nixxi.cpp    3285]
    M  [Thr 10444] *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 43/sock 8104
        (SI_ECONN_REFUSE/10061; I4; ST; IP-address:3301) [nixxi.cpp    3285]
    M  [Thr 4680] *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 51/sock 4824
        (SI_ECONN_REFUSE/10061; I4; ST; IP-address:3301) [nixxi.cpp    3285]

    M [Thr 6832] Mon May 19 03:51:35 2014
    M  [Thr 6832] ***LOG Q0I=> NiPConnect2: IP-address:3301: connect (10061: WSAECONNREFUSED: Connection refused) [nixxi.cpp 3285]

    M [Thr 10444] Mon May 19 03:51:35 2014
    M  [Thr 10444] ***LOG Q0I=> NiPConnect2: IP-address:3301: connect (10061: WSAECONNREFUSED: Connection refused) [nixxi.cpp 3285]
    M  [Thr 10444] *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 44/sock 7780
        (SI_ECONN_REFUSE/10061; I4; ST; IP-address:3301) [nixxi.cpp    3285]

    M [Thr 4680] Mon May 19 03:51:35 2014
    M  [Thr 4680] ***LOG Q0I=> NiPConnect2: IP-address:3301: connect (10061: WSAECONNREFUSED: Connection refused) [nixxi.cpp 3285]
    M  [Thr 6832] *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 36/sock 368
        (SI_ECONN_REFUSE/10061; I4; ST; IP-address:3301) [nixxi.cpp    3285]

    M [Thr 19208] Mon May 19 03:51:35 2014
    M  [Thr 19208] ***LOG Q0I=> NiPConnect2: IP-address:3301: connect (10061: WSAECONNREFUSED: Connection refused) [nixxi.cpp 3285]
    M  [Thr 4680] *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 52/sock 8104
        (SI_ECONN_REFUSE/10061; I4; ST; IP-address:3301) [nixxi.cpp    3285]
    M  [Thr 19208] *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 28/sock 7592
        (SI_ECONN_REFUSE/10061; I4; ST; IP-address:3301) [nixxi.cpp    3285]

    M [Thr 19208] Mon May 19 03:51:40 2014
    M  [Thr 19208] ***LOG Q0I=> NiPConnect2: IP-address:3301: connect (10061: WSAECONNREFUSED: Connection refused) [nixxi.cpp 3285]

    M [Thr 6832] Mon May 19 03:51:40 2014
    M  [Thr 6832] ***LOG Q0I=> NiPConnect2: IP-address:3301: connect (10061: WSAECONNREFUSED: Connection refused) [nixxi.cpp 3285]
    M  [Thr 19208] *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 53/sock 7128
        (SI_ECONN_REFUSE/10061; I4; ST; IP-address:3301) [nixxi.cpp    3285]
    M  [Thr 6832] *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 45/sock 7952
        (SI_ECONN_REFUSE/10061; I4; ST; IP-address:3301) [nixxi.cpp    3285]

    M [Thr 4680] Mon May 19 03:51:40 2014
    M  [Thr 4680] ***LOG Q0I=> NiPConnect2: IP-address:3301: connect (10061: WSAECONNREFUSED: Connection refused) [nixxi.cpp 3285]

    M [Thr 10444] Mon May 19 03:51:40 2014
    M  [Thr 10444] ***LOG Q0I=> NiPConnect2: IP-address:3301: connect (10061: WSAECONNREFUSED: Connection refused) [nixxi.cpp 3285]
    M  [Thr 4680] *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 29/sock 4824
        (SI_ECONN_REFUSE/10061; I4; ST; IP-address:3301) [nixxi.cpp    3285]
    M  [Thr 10444] *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 37/sock 8508
        (SI_ECONN_REFUSE/10061; I4; ST; IP-address:3301) [nixxi.cpp    3285]

    M [Thr 19208] Mon May 19 03:51:49 2014
    M  [Thr 19208] ***LOG Q0I=> NiPConnect2: IP-address:3301: connect (10061: WSAECONNREFUSED: Connection refused) [nixxi.cpp 3285]

    M [Thr 10444] Mon May 19 03:51:49 2014
    M  [Thr 10444] ***LOG Q0I=> NiPConnect2: IP-address:3301: connect (10061: WSAECONNREFUSED: Connection refused) [nixxi.cpp 3285]

    M [Thr 4680] Mon May 19 03:51:49 2014
    M  [Thr 4680] ***LOG Q0I=> NiPConnect2: IP-address:3301: connect (10061: WSAECONNREFUSED: Connection refused) [nixxi.cpp 3285]

    M [Thr 6832] Mon May 19 03:51:49 2014
    M  [Thr 6832] ***LOG Q0I=> NiPConnect2: IP-address:3301: connect (10061: WSAECONNREFUSED: Connection refused) [nixxi.cpp 3285]
    M  [Thr 19208] *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 30/sock 4824
        (SI_ECONN_REFUSE/10061; I4; ST; IP-address:3301) [nixxi.cpp    3285]
    M  [Thr 10444] *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 54/sock 7592
        (SI_ECONN_REFUSE/10061; I4; ST; IP-address:3301) [nixxi.cpp    3285]
    M  [Thr 4680] *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 46/sock 7128
        (SI_ECONN_REFUSE/10061; I4; ST; IP-address:3301) [nixxi.cpp    3285]
    M  [Thr 6832] *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 38/sock 7952
        (SI_ECONN_REFUSE/10061; I4; ST; IP-address:3301) [nixxi.cpp    3285]
    Please see these logs and let me how I can resolve this issue.

  • Create Scheduled Task in GPOPref using System account - issue

    Hi all,
    I'm trying to create a scheduled task (computer configuration) in GPOPref which is executed by the system account. Creating locally and running the task manually is running without issues.
    When I'm creating the task in a GPOPref using a domain account the task is installed on the targetsystem. When just changeing the account to System and run gpupdate the task is not deployed.
    Any hints or workaround? Thanks for you help in advance.
    Regards,
    Andreas

    > When I'm creating the task in a GPOPref using a domain account the task
    > is installed on the targetsystem. When just changeing the account to
    > System and run gpupdate the task is not deployed.
    Please post the XML of your task in the state that is not working (right
    click - all tasks - display xml).
    And as a hint: There's a german GP forum too -
    https://social.technet.microsoft.com/Forums/de-DE/home?forum=gruppenrichtliniende
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))

  • Issue with Bulk Load Post Process Scheduled Task

    Hello,
    I successfully loaded users in OIM using the bulk load utility.  I also have LDAP sync ON.  The documentation says to run the Bulk Load Post Process scheduled task to push the loaded users in OIM into LDAP.
    This works if we run the Bulk Load Post Process Scheduled Task right away after the run the bulk load.
    If some time had passed and we go back to run the Bulk Load Post Process Scheduled Task, some of the users loaded through the bulk load utility are not created in our LDAP system.  This created an off-sync situation between OIM and our LDAP.
    I tried to use the usr_key as a parameter to the Bulk Load Post Process Scheduled Task without success.
    Is there a way to force the re-evaluation of these users so they would get created in LDAP?
    Thanks
    Khanh

    The scheduled task carries out post-processing activities on the users imported through the bulk load utility.

  • RUM update issue scheduled task in domain

    Hi all,
    About ERROR: UpdaterCore failed for CFU errorCode(220) curRefId((null)) errorCodeString(U41M1C220)
    I hope you can provide some help on how to perform a RUM update in a domain. The users don't have admin rights and they have Creative Cloud Team installed on the machines. The software we like to update every night. We did read all the documentation but could not find a clue on the error below.
    + We did deploy RUM tool to the end user machines.
    + We did create a scheduled task via GPO and created a taskuser (admin rights) to run the RUM on the end user machines.
    + We don't use a internal update server / we use just the adobe one.
    Below the error log generated when the scheduled task is started with elevated rights.
    03/25/14 22:30:00:420 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager | |  | 4752 |
    03/25/14 22:30:00:420 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager | |  | 4752 | ##################################################
    03/25/14 22:30:00:420 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager | |  | 4752 | ##################################################
    03/25/14 22:30:00:420 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager | |  | 4752 | Launching the RemoteUpdateManager...
    03/25/14 22:30:00:420 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager | |  | 4752 | RemoteUpdateManager version is : 3.2.0.1 (BuildVersion: 3.2; BuildDate: Wed Jul 10 2013 11:07:30 )
    03/25/14 22:30:00:435 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager | |  | 4752 | **************************************************
    03/25/14 22:30:00:435 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager | |  | 4752 | Initializing UpdaterCore Library...
    03/25/14 22:30:09:671 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager | |  | 4752 | UpdaterCore library initialized successfully.
    03/25/14 22:30:09:671 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager | |  | 4752 | **************************************************
    03/25/14 22:30:09:671 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager | |  | 4752 | Starting UpdaterCore CheckForUpdate...
    03/25/14 22:30:31:636 | [ERROR] |  | AAMEE | Utilities | RemoteUpdateManager |  |  | 4752 | UpdaterCore failed for CFU errorCode(220) curRefId((null)) errorCodeString(U41M1C220)
    03/25/14 22:30:31:636 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager | |  | 4752 | **************************************************
    03/25/14 22:30:31:745 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager | |  | 4752 | ##################################################
    03/25/14 22:30:31:745 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager | |  | 4752 | Ending the RemoteUpdateManager Return Code (1)
    03/25/14 22:30:31:745 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager | |  | 4752 | ##################################################
    03/25/14 22:30:31:745 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager | |  | 4752 | ##################################################
    03/25/14 22:30:31:745 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager | |  | 4752 |
    Maybe there are better ways to schedule the updates, but at the moment there is no SCCM products availible at this end. Are there other users using RUM in scheduled mode? Can you give some advice?
    Thanks!

    I'm having this same problem. Please advise.

  • Opening Excel Workbook Fails when run from Scheduled Task on Windows Server 2008 Rw

    Hi,
    I have a little vbs script that instantiates the Excel.Application object and then opens a work book to perform some tasks on it. The script runs fine when run from the command line. When I attempt to run it as a scheduled task (it is supposed to update
    data that is pulled from a SQL Server at regular intervals), it fails with the following error:
    Microsoft Office Excel cannot access the file 'c:\test\SampleWorkbook.xlsm'. There are several possible reasons: .....
    The file does exist. The path reported in the error is correct. The account under which the task is running is the same account I use to run it from the command line. User Account Control is not enabled, and the task is set up to run with highest privileges.
    When I run the same script through the Task Scheduler from a Windows Server 2003 machine, it works without issue.
    I was just wondering if somebody on this forum has run into a similar issue in connection with Windows Server 2008 R2 and figured out what the magic trick is to make it work. I'm sure it is rights related, but I haven't quite figured out what which rights
    are missing.
    Thanks in advance for any advice you may have.

    This is truly killing me ... trying to get it working on Windows Server 2012 without success.
    I desperately need to automate running Excel macros in a "headless" environment, that is non-interactive, non-GUI, etc.
    I can get it to work using Excel.Application COM, either via VBScript or Powershell, successfully on many other Windows systems  in our environment - Windows Server 2008 R2, Windows 7 (32-bit), etc.,  -BUT-
    The two servers we built out for running our automation process are Windows Server 2012 (SE) - and it just refuses to run on the 2012 servers - it gives the messages below from VBScript and PowerShell, respectively- 
    I have tried uninstalling and re-installing several different versions of Microsoft Excel (2007 Standard, 2010 Standard, 2010 Professional Plus, 32-bit vs. 64-bit, etc.), but it makes no difference.
    Would be extremely grateful if any one out there has had any success in running Excel automation on Server 2012 in a non-interactive environment that they could share.
    ( I have tried adding the "%windir%\syswow64\config\systemprofile\desktop"
    folder, which did fix the issue for me when testing on Windows Server 2008 R2, but sadly did not resolve it on Windows Server 2012 )
    [VBScript error msg]
    Z:\TestExcelMacro.vbs(35, 1) Microsoft Office Excel: Microsoft Office Excel cannot
    access the file 'Z:\TestExcelMacro.xlsm'. There are several possible reasons:
    • The file name or path does not exist.
    • The file is being used by another program.
    • The workbook you are trying to save has the same name as a currently open work
    [Powershell error msg]
    Exception calling "Add" with "0" argument(s): "Microsoft Office Excel cannot open or save any more documents because th
    ere is not enough available memory or disk space.
     To make more memory available, close workbooks or programs you no longer need.
     To free disk space, delete files you no longer need from the disk you are saving to."
        + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
        + FullyQualifiedErrorId : ComMethodTargetInvocation
    You cannot call a method on a null-valued expression.
        + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
        + FullyQualifiedErrorId : InvokeMethodOnNull

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

  • Coldfusion Scheduled Tasks Problem

    Hello--
    I am experiencing a strange problem. In a product that my office has created, we make use of Scheduled Tasks in Coldfusion. All of our clients are working just fine with the exception of one. There are several Tasks that all should behave the same way. The task starts, it writes to a log file that it is starting, it processes what it needs to process, it writes to the log file that it is done.
    Here is the problem we are having:
    Scheduled task is scheduled to run at 3:00am daily. Task will run the first time through without any problems, and sometimes will run a second time without any problems. But, normally, the second time the task starts, the log file we have generated is not updated at all. The timestamp stays the same, so no action has been done to the file. Further, the Task doesn't do any of the process it should. In addition, the JRun process hangs, taking up 99%-100% of CPU and stays that way until the server is restarted. The Coldfusion scheduler.log says that the task has executed. Nothing else is recorded in any of the other Coldfusion logs.
    This is a problem that has been reoccurring consistently for the past month with all scheduled tasks. I have spent hours on the phone with the client to debug the issue. All of the Coldfusion settings match between their environment and ours. The server setup is similar to our own server. Server is a VM with 2x3.3GHz processors and 2GB of RAM.
    Does anyone have any ideas, suggestions, or help? At this point, I'm at a complete and total loss and any help would be much appreciated...

    Well that's all good news, in a way.
    OK, so in the test environment stop CF, blitz all the CF and JRun logs, start it, run the script via a browser, run it again.  Inspect logs.
    I can't believe nothing goes into the logs.
    And do you have a <cflog> entry as the very first line of code in the script file?  And that log entry never gets made?
    If the <cflog> entry never shows up, put an Application.cfm file in the same dir as the script, with a single <cflog> entry in it.  Does that <cflog> entry get made?
    Adam

Maybe you are looking for