Removing KM Scheduler

Hi All,
I created KM scheduler for my portal task(fetching the data from third party site and saving that in a file in KM). Initially it works fine but later I changed some code in the portal appliocation and again redeploy the application then it is not showing those changes in the KM folder.
Again I developed new application for the same portal task with different name but even that also not generating the file in KM content. I followed the blog of prakash to create a Km scheduler
Did you know you can schedule jobs in portal using KM's Scheduler Task?
Following is part of the log info
#1.5#00E08152C2AE007D00000984000007CC0004321848A0C455#1180979785399#com.sapportals.wcm.crt.CrtClassLoaderRegistry#sap.com/irj#com.sapportals.wcm.crt.CrtClassLoaderRegistry#sandeepb#2740####df51c40212c411dc80fd00e08152c2ae#SAPEngine_Application_Thread[impl:3]_21##0#0#Warning#1#/Applications/KMC/CRT#Plain###loader was already registered - replacement : oldLoader = com.sapportals.portal.prt.util.ApplicationClassLoader@[email protected]@1499e89 -> newLoader = com.sapportals.portal.prt.util.ApplicationClassLoader@[email protected]@1e6ab7f(E:
usr
sap
EPD
JC01
j2ee
cluster
server0
apps
sap.com
irj
servlet_jsp
irj
root
WEB-INF
portal
portalapps
com.ae.stockinfofeed
lib
com.ae.stockinfofeedapi.jar;)#
#1.5#00E08152C2AE007D00000985000007CC0004321848A0C4EF#1180979785399#com.sapportals.wcm.repository.runtime.CmSystem#sap.com/irj#com.sapportals.wcm.repository.runtime.CmSystem#sandeepb#2740####df51c40212c411dc80fd00e08152c2ae#SAPEngine_Application_Thread[impl:3]_21##0#0#Info##Plain###ClassLoader /* To be inserted */ replaced.#
#1.5#00E08152C2AE007D00000987000007CC0004321848A0C58E#1180979785399#com.sapportals.wcm.repository.runtime.CmSystem#sap.com/irj#com.sapportals.wcm.repository.runtime.CmSystem#sandeepb#2740####df51c40212c411dc80fd00e08152c2ae#SAPEngine_Application_Thread[impl:3]_21##0#0#Info#1#/Applications/KMC/RF#Plain###CM system is shutting down...
#1.5#00E08152C2AE007D00000989000007CC0004321848A0C625#1180979785399#com.sapportals.wcm.repository.runtime.CmSystem#sap.com/irj#com.sapportals.wcm.repository.runtime.CmSystem#sandeepb#2740####df51c40212c411dc80fd00e08152c2ae#SAPEngine_Application_Thread[impl:3]_21##0#0#Info#1#/Applications/KMC/RF#Plain###CM system is shutting down... - shutdown of CRT#
#1.5#00E08152C2AE007D0000098B000007CC0004321848A40BF4#1180979785617#com.sapportals.wcm.WcmException#sap.com/irj#com.sapportals.wcm.WcmException.WcmException(90)#sandeepb#2740####df51c40212c411dc80fd00e08152c2ae#SAPEngine_Application_Thread[impl:3]_21##0#0#Error##Plain###Failed to access the component instance: already shut down: class=com.sapportals.wcm.service.urlgenerator.URLGenerator, uri=crt://runtime/services/URLGeneratorService com.sapportals.wcm.crt.component.ComponentException: Failed to access the component instance: already shut down: class=com.sapportals.wcm.service.urlgenerator.URLGenerator, uri=crt://runtime/services/URLGeneratorService
     at com.sapportals.wcm.crt.CrtComponentManager.lookup(CrtComponentManager.java:321)
     at com.sapportals.wcm.crt.CrtComponentManager.lookupChildComponent(CrtComponentManager.java:397)
     at com.sapportals.wcm.crt.CrtContainerManager.lookupComponent(CrtContainerManager.java:44)
     at com.sapportals.wcm.repository.runtime.CmAdapter.getService(CmAdapter.java:491)
     at com.sapportals.wcm.repository.manager.um.UMRepositoryManager.shutDownImpl(UMRepositoryManager.java:99)
     at com.sapportals.wcm.repository.manager.AbstractRepositoryManager.stop(AbstractRepositoryManager.java:605)
     at com.sapportals.wcm.crt.CrtThreadSafeComponentHandler.handleShutDown(CrtThreadSafeComponentHandler.java:170)
     at com.sapportals.wcm.crt.CrtComponentManager.shutDown(CrtComponentManager.java:299)
     at com.sapportals.wcm.crt.CrtSystemImpl.shutDownComponentManager(CrtSystemImpl.java:180)
     at com.sapportals.wcm.repository.runtime.CmSystem.shutDown(CmSystem.java:300)
     at com.sapportals.wcm.repository.runtime.CmSystem.classLoaderReplaced(CmSystem.java:447)
     at com.sapportals.wcm.crt.CrtClassLoaderRegistry.notifiyClassLoaderReplaced(CrtClassLoaderRegistry.java:476)
     at com.sapportals.wcm.crt.CrtClassLoaderRegistry.registerClassLoader(CrtClassLoaderRegistry.java:425)
     at com.sapportals.wcm.crt.CrtClassLoaderRegistry.addClassLoader(CrtClassLoaderRegistry.java:313)
     at com.sapportals.wcm.crt.CrtClassLoaderRegistry.addClassLoader(CrtClassLoaderRegistry.java:285)
     at com.sap.netweaver.rf.wrapper.RFServiceWrapper.init(RFServiceWrapper.java:18)
     at com.sapportals.portal.prt.core.broker.PortalServiceItem.__initServiceInstance(PortalServiceItem.java:801)
     at com.sapportals.portal.prt.core.broker.PortalServiceItem.createServiceInstance(PortalServiceItem.java:614)
     at com.sapportals.portal.prt.core.broker.PortalServiceItem.startServices(PortalServiceItem.java:1042)
     at com.sapportals.portal.prt.core.broker.PortalAppBroker.startLoadOnStartupServices(PortalAppBroker.java:1610)
     at com.sapportals.portal.prt.core.broker.PortalAppBroker.start(PortalAppBroker.java:1565)
     at com.sapportals.portal.prt.core.broker.PortalAppBroker.restartQueuedApplication(PortalAppBroker.java:1913)
     at com.sapportals.portal.prt.core.broker.PortalAppBroker.updateApplications(PortalAppBroker.java:1749)
     at com.sapportals.portal.prt.deployment.DeploymentManager.updateApplications(DeploymentManager.java:1754)
     at com.sap.ip.portal.admin.portalanywhere.QueryHandler.handleTopic(QueryHandler.java:152)
     at com.sapportals.portal.prt.service.notification.impl.NotificationSAPJ2EE630.executeActionHandleTopic(NotificationSAPJ2EE630.java:1141)
     at com.sapportals.portal.prt.service.notification.impl.NotificationSAPJ2EE630.notifyActionSubscribers(NotificationSAPJ2EE630.java:1089)
     at com.sapportals.portal.prt.service.notification.impl.NotificationSAPJ2EE630.receiveWait(NotificationSAPJ2EE630.java:386)
     at com.sapportals.portal.prt.service.notification.impl.NotificationSAPJ2EE630.broadcastAndWait(NotificationSAPJ2EE630.java:553)
     at com.sapportals.portal.prt.service.notification.NotificationServiceDispatcher.broadcastAndWait(NotificationServiceDispatcher.java:192)
     at com.sap.ip.portal.admin.portalanywhere.EventForwarder.sendQueryAndGetResults(EventForwarder.java:122)
     at com.sap.ip.portal.admin.portalanywhere.EventForwarder.sendQueryToAllServers(EventForwarder.java:144)
     at com.sap.ip.portal.admin.portalanywhere.EventForwarder.forwardEventToAllServers(EventForwarder.java:135)
     at com.sap.ip.portal.admin.portalanywhere.ArchiveUploader.forwardUpdateToAllServers(ArchiveUploader.java:253)
     at com.sap.ip.portal.admin.portalanywhere.ArchiveUploader.doContent(ArchiveUploader.java:191)
     at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
     at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
     at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
     at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
     at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
     at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
     at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
     at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
     at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
     at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
     at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
     at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
     at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
     at java.security.AccessController.doPrivileged(Native Method)
     at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
     at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
     at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
     at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
     at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
     at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
     at java.security.AccessController.doPrivileged(Native Method)
     at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)
     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:159)
java.lang.IllegalStateException: already shut down: class=com.sapportals.wcm.service.urlgenerator.URLGenerator, uri=crt://runtime/services/URLGeneratorService
Could you please tell me the reason why it is not taking one more KM scheduler with another name.
Thanks in advance,
Sandeep Bonam.

Hi,
To remove the scheduler task completly use the ConfigUninstaller component and remove the config file of your project.
http://host/irj/servlet/prt/portal/prtroot/com.sap.portal.runtime.config.component.ConfigUninstaller
Also follow this:
/thread/57900 [original link is broken]
Greetings,
Praveen Gudapati
[Points are welcome for helpful answers]

Similar Messages

  • Credit Release thru VKM3 remove the schedule line delivery block ...

    HI Gurus,
    I have created the sales order with the delivery block at the schedule line. i have save the order . The order goes to the credit block . So when i release credit block with the help of VKM3 then system also removes the schedule line level block.
    This is not std behaviour . Can any one come across such scenario ?
    Details: I have removed the routine 101 in the OVB8 so that if order goes to credit block still order will have the confirm qty.
    Also in the OVAK order type is mark D for automatic credit check.
    Thanks in advance

    Hi ,
    I have checked the sales order thru the program but we are not using any user exit for the same.
    Now i have found that if the qty is confirm on the first date i mean on the date given then system does not remove the block & if the ATP check suggest the diff date so there are two schedule line in this case block get removed ..
    May be this is like after credit removes system must be running the ATP check again ..
    Please help

  • Chain removed from Scheduling,

    Hi All
    We have a process chain for Loading master data text which falis every few days and logs suggest the chain was removed from scheduling.
    In system logs - (SM21)
    During the values check for background processing, the attempt to    
    generate a unique JOBCOUNT for the specified job failed because there
    are more than 99 entries with the same JOBNAME / JOBCOUNT ID.
    this problem does not happen every day, some days the chain works fine and other days it fails.
    Why is this happening ???
    i have been told to remove the job from scheduling and put it back and schedule to solve this problem, but what i want to know is, why does it work some times and fail other time ??? whats the cause for this issue???
    All help appreciated.
    Chandra M

    Hi!
      Have u checked monitor when the process chain failed. I think it was removed from scheduling due to datalload failure.
    check the monitor and logs to find out more about it.
    regards
    mohan

  • Remove Event Scheduling in RSCRM_BAPI

    Hi Experts,
    i've scheduled a query extract in RSCRM_BAPI to run after a custom event...is it possible to remove this scheduling? in SM37 there is not job planned...
    Thanks in advance

    Fabio,
         you need to specify Event to search the Job or put * in the JOb adn User Names. if you knwo the Job Name directly you can give Job Parameter.
    Regards,
    Nagesh Ganisetti.

  • Process chain: how to automatically remove from schedule?

    Hi All,
    Is there a way to automatically remove a process chain from schedule when it has failed?
    Thanks,
    Natalie

    I guess the easiest way is to access RSPC transaction and then remove it from schedule.
    --> execution tab --> remove from schedule.
    you can leave the process chain not active also, if it's triggered by an event, this event will not start it (if you dont want to delete or change trigger job)

  • Cancelling or removing the scheduled job

    HI,
    I have job running ...i made use of the following SQL statements
      Select * from All_scheduler_jobs;
      select * from USER_SCHEDULER_JOBS;
      select * from user_scheduler_running_jobs;And i see the job is running ...How do i cancel or remove the job ??
    Thank you!!

    Hi,
    calling dbms_scheduler.disable will prevent a job from running again, but it may still be running and may still exist.
    To stop a running job you can use dbms_scheduler.stop_job and top drop a job you can use dbms_scheduler.drop_job.
    To make sure you are dropping the right job, select owner and job_name from all_scheduler_jobs and use 'owner.job_name' instead of just job_name.
    For further scheduler questions, you can use the scheduler forum here.
    Scheduler
    Hope this helps,
    Ravi.

  • Removed Process chain frm schedule by mistake

    Hi Team,
    just to check , i went in to the planing view of the PC & removed 1 of the sub chains from the schedule.
    then I do shift f1 (that show current status for all chains in meta chain) .I see that subchain in grey color , in fact it shld hav been in red according to todays loads tht happened.
    Tomm this meta chain trigger's at 12:05 noon, i doubt if tht sub chain will get triggered.
    Again i checked in planing view for the Meta chain-right clicked on tht particular subchain ->display schedule jobs->It shows BI_PROCESS_CHAIN job scheduled.
    even checked the variant , it doesnt show , changed by my id or somethg , even schedule option is same as before.(using meta chain).
    can somebody tell me other ways to chk, if sub chain ill schedule tomm or not.if u feel its gonna trigger ,in what case do we go for planing view -->remove from schedule option.

    Hi Gemita.........
    In a meta chain I mean main chain all the sub chains are scheduled as immediate............and if you open the local chain then it will always be in descheduled mode........and it will only trigger when the predecessor process of that lacal chain will completed.............so you cannot remove a local chain from scheduling because by default it will be in descheduled.......to deschedule a local chain you have to right click on the local chain from outside(......ie without going inside the local chain) >> Display scheduled jobs >> from there you have to delete the release job BI_PROCESS_CHAIN...........so I don't think the loacal chain is desheduled...........
    But you have said Again i checked in planing view for the Meta chain-right clicked on tht particular subchain ->display schedule jobs->It shows BI_PROCESS_CHAIN job scheduled.......
    I don't think there is any problem.....
    Is the loacal chain is in grey colour from outside also ? I mean without going inside the loacal chain.........
    Still if you have any doubt........do one thing..........deschedule the meta chain and scedule it back again.........
    Hope this helps........
    Regards,
    Debjani........

  • Removing process chain from schedule

    Hi Gurus
    I have a very basic question, under what circumstances do we take a process chain out of schedule? Till now i was being asked to make occasional changes in Process chains and then revert them back later,i did this activity of changing(adding or removing processes) after removing process chain from schedule( i was asked to do that)...
    Now i need to edit recipient list(add one recipient's name ) in alll the process chains where success and error messages are present.
    I want to know whether i need to remove the chain from schedule before starting with this activity.
    If one chain contains multipe individual chains and every individual chain contains messages,do i need to remove every chain from schedule and edit the recipient list....or this is not required and i can simply open individual chain containing messsages in edit mode and edit the recipient list and save the changes and follow the same for all chains?
    kindly help.

    Hi,
    We would normally be asked to remove the process chains from schedule during any upgrade activities. or it can also be related to any particular flow - this is in case particular process chains are asked to be removed from schedule. This may be due to adding an intermediate step in between the flow or any such scenario.
    And you can change the recipient list when the process chain is running also, because here you will not actually be editing the process chain but will be editing the "message" object. just click "edit message", save the message and come out, do not click save when you are in the process chain maintenance screen.
    Hope this helps.
    Regards,
    Joe

  • Removing Meta Chain from Schedule

    Hi
    I got a meta chain scheduled in BBD & BBQ...
    Now for my testing purpose i want to remove them from schedule for a 3 nights and want to schedule them back to normal again
    How can i do this and do i need to raise any transport request for this
    Thanks

    u dont require any transport req for this..
    Just remove from the schedule in RSPC using Meny Bar --> Process Chian --> remove from Schedule
    And then reschedule the chain with the new time schedule which is after 3 days as per ur requirement..
    For scheduling the chain --> double click on the Start process of the PC.
    From Variant screen goto the scheduler screen where u can give ur Date and time with the proper periodicify and then save the settings and schedule the chain...
    This will work for ur requirement..
    Thanks
    Assign points if this helps

  • Deletion of KM scheduler Task

    Hello All,
    I have a a scheduled task in SA>SC>KM>CM>Global services -->Scheduler Task --> <My custom scheduler>.
    Now I want to delete the scheduler .
    I went through the following forum links
    http://forums.sdn.sap.com/thread.jspa?threadID=486614&tstart=7950
    And
    https://forums.sdn.sap.com/thread.jspa?threadID=57900
    When I select my <custom scheduler task> and  click on "delete" . It say "No <No custom scheduler task > available yet in configuration" .
    Where exactly is the scheduler task configuration ?
    Kind inputs please.
    Regards,
    Ronniee.

    Hi Ronniee,
    To remove the scheduler task completly use the ConfigUninstaller component and remove the config file of your project.
    http://<host>:<port>/irj/servlet/prt/portal/prtroot/com.sap.portal.runtime.config.component.ConfigUninstaller
    Thanks
    Prashant

  • Running without Adobe Flash Player Updater Scheduled Task

    I'm trying to understand how to avoid installing Adobe Flash Player Updater Scheduled Task.
    I am also unable to remove the Scheduled Task using a script that works on other tasks, on the same workstations.
    Is there an mms.cfg setting that will instruct the installer to skip the Task?
    1) Uninstall the Scheduled Task from all workstations in my environment.
    2) Install future updates without the Scheduled Task.
    I have already tried mm.cfg with these lines:
    AutoUpdateDisable=1
    SilentAutoUpdateEnable=0
    It still runs the update process every hour.
    I have explained that it hasn't been causing a problem, but running this many processes on so many computers for no reason is causing some concern.
    My organization also does not allow big bang automation included with this product.
    Has anyone managed to shut off the Updater process from running?
    Thank you

    Hi Ethan,
    try creating an MST file, with Fx, Wise package studio...
    Edit the CustomAction “NewCustomAction1” added the parameter “-au 2” to the Command line argument.
    you should do that for both:
    install_flash_player_11_active_x.msi
    and
    install_flash_player_11_plugin.msi
    If you are using both of them..
    Or you can delete the scheduled task with schtask /delete "taskname"
    Br Jens

  • Seperate NT service for App server and Process Scheduler

    Is it possible to create a separate NT service for App server and Process Schedule for the same environment? Everytime i need to shutdown either App Domain or Prcs Domain (not both) using service, it brings down both.
    I could use psadmin but services run as a different user.
    Please advise.

    What PeopleTools release are you using?  Off the top of my head, one strategy would be to use different PS_CFG_HOMEs for the App and the Process scheduler.  The service points to the PS_CFG_HOME and reads the pswinsrv.cfg file to know what to start/stop.  I'm not sure there is a way to override psntsrv and tell it to use a different config file, so you may need a different HOME.  You could also create a script that wraps the service start/stop.  It could edit/update the config file prior to stop/start and remove Process Scheduler from the config and then reinsert it later.
    You could have a stop_app/start_app and stop_prcs/start_prcs script that would copy in specific versions of the pswinsrv.cfg file for what you want to do.

  • Deduplication error: there was a problem retrieving data deduplication schedule

    Hi,
    After changing dedup schedule once we are receiving this error and not able to change it any more.
     there was a problem retrieving data deduplication schedule

    Hi,
    After changing dedup schedule once we are receiving this error and not able to change it any more.
     there was a problem retrieving data deduplication schedule
    Take a look @ PowerShell cmdlets for dedupe here:
    PowerShell dedupe cmdlets
    http://technet.microsoft.com/en-us/library/hh848450.aspx
    Of your interest are Remove-DedupeSchedule and New-DedupSchedule ones. Try removing set schedule
    you have now, making sure the status is "no jobs" and then create new schedule to see would it make the difference. 
    Good luck!
    StarWind VSAN [Virtual SAN] clusters Hyper-V without SAS, Fibre Channel, SMB 3.0 or iSCSI, uses Ethernet to mirror internally mounted SATA disks between hosts.

  • Cancel the scheduled jobs for process chains - urgent

    Hi,
    How do I cancel the scheduled jobs for process chains which are going to run tonight.
    thanks,
    Radha

    Hello,
    Go into transaction code RSPC and then select the particular process chain by going into the edit mode and in the menu...
    Look for Execution --> Remove from Schedule.
    Let me know if that answered your question.
    Thanks
    Dharma.

  • DELIMITEDDATA with Scheduled report problem

    We are having problems with a report that should be generated as delimited data (CSV) that should be returned to the client and displayed in Excel as delimited data. Also, we need the report(s) to be scheduled so they will execute and the results cached for the user to view them at a later time. If we set the MIME type correctly for Excel and Schedule the report, the results are just displayed in the browser instead of in Excel. If we remove the Schedule parameter the report results are displayed correctly in Excel.
    Does anyone know if there is a way to get the "cached" report results to be returned and displayed in Excel?
    Here are some sample URLs that we are using. Both work with the exception of being displayed in the browser versus Excel as I described above.
    Generated to cache, but is displayed in browser as plain text when viewing results from SHOWJOBS:
    http://our_host/reports/rwservlet?paramform=no&destype=cache&MIMETYPE=application/vnd.ms-excel&desformat=delimiteddata&delimiter=tab&schedule=now&report=detail_worksheet
    Generated to cache, but is correctly displayed in Excel as delimited data:
    http://our_host/reports/rwservlet?paramform=no&destype=cache&MIMETYPE=application/vnd.ms-excel&desformat=delimiteddata&delimiter=tab&report=detail_worksheet
    Thanks
    Erik

    I have the impression that when you use the showjobs option you view the data from the reports server whilst when you use the cache option it gets pushed to you,. That might explain why the mimetype option is not working.
    Marcos

Maybe you are looking for