Stopping a process remotely

Dear,
Is there a way to stop a process, if we know the GUID, using a webservice?
Regards,
Frederik-Jan

Hi,
Write a method and expose it as webservice. The method should have the following code.
IGPRuntimeManager rtm=GPProcessFactory.getRuntimeManager();
IGPProcessInstance processInstance=rtm.getProcessInstance(processId, userContext)
rtm.stopProcess(processInstance, user);
Get the loggin user and hence the userContext and use the above given code for stopping the process.
Hope it helps.
Regards,
Srinivasan Subbiah

Similar Messages

  • HELP - Receiving error message "The file has not been processed. An error has occurred which stopped the processing of the PDF"

    Have been using Adobe CreatePDF for many months successfully.
    Only recently over the past few days I have been experiencing errors for periods between 3-5 hours on every attempt to convert/combine files. The error reads: "The file has not been processed. An error has occurred which stopped the processing of the PDF"
    It will stay like this and no amount of refreshing the cache, logging in and out will help. I'm running Firefox 34.0.5, windows 7 64bit. Only solution I've found is to wait until the next day and it seems to be working again. Only explanation i can think of is some unexplained maintenance adobe is running behind the scenes because I'm often working late between 12am - 4am.
    When this problem happens, no file types will convert/combine I've tested JPEG, PDF and word docs to PDF.
    I log in and out of my account, I've cleared my cache, I'm using Firefox 34.0.5 which has always worked in the past I just don't understand how this error is happening for such long periods. Starting to reconsider this product when there are free alternatives to simply combine my PDF docs! please help.
    Tom.

    I am still experiencing this problem. Customer service from Adobe has been abysmal!
    I called Adobe tech support at 2am Australian time ( >1 weeks ago) and got onto a help centre in India. I was walked through all the troubleshooting steps and they remotely accessed my PC and confirmed that It was not my PC that was at fault. They reset my password and dialed into my adobe account from their end to attempt a simple conversion and export to PDF which failed. I was told that this problem is not something they can fix, and is a result of something on the back end of their software.
    They advised me that the problem would be passed to a fixed within 12 hours and they would call and email me to confirm everything was OK. I gave my phone number with (area and country code) my email but have not had any communication back.
    I am extremely dissatisfied, and just want this software to function. Is that too much to ask?
    Note: This problem is happening always now, regardless of time being used.
    Tom

  • How do i stop two processes that are running in activity monitor

    how do i stop two processes that are running in Activity Monitor took one out of trash and it says preparing to move desktop still running with another one been running for hrs now want to stop these many thanks jen.

    Select each one and Force Quit it.
    But be careful there are many processes that are run by the OS that if quit will cause problems possibly even crash the system.
    regards

  • How to stop message processing based on validation?

    Hello experts,
    I have a requirement to stop message processing in the graphical mapping based on validation results. Here is the scenario - messages are translated using graphical mapping and sent to the target system. An RFC lookup will be done to ECC to determine if the data in the message is good. If the lookup returns a negative result, message processing should be stopped right there.
    I guess we can throw an exception from the mapping to force a failure and stop further processing, but that will cause the message to show up as failed on SXMB_MONI and cause alert emails to be sent out in PROD. Another option will be to supress creation of the root node itself, but I think the message will then fail in the subsequent "call adapter" step if the target schema has a min occurence of 1 for the root node (as in the case of IDocs).
    Is it possible to do it without using BPM?
    Thanks,
    Michelle

    Hi Michelle,
       If your requirement, to stop message processing without sending an alert?
    If yes, then you can have a alert rule, not to trigger alerts on a failure (And to raise an exception based on the result from RFC loookup).
    If your requirement is not to make the message fail, then you have to go for the ccBPM route.
    Best Regards,
    Ravikanth Talagana

  • Not able to stop OPMN processes using OPMNCTL on AS 10.1.2.0.2

    Hello,
    When trying to stop opmnctl processes using opmnctl following error is coming
    $ opmnctl stopall
    opmnctl: stopping opmn and all managed processes...
    ================================================================================
    opmn id=appsdev2.mpmkvvcl.com:6201
    OPMN is terminating
    opmnctl: graceful stop of processes failed, trying forceful shutdown...
    Unacceptable request: OPMN is terminating
    HTTP/1.1 406 Unacceptable request
    Content-Length: 168
    Content-Type: text/html
    <?xml version='1.0' encoding='ISO-8859-1'?>
    <response>
    <opmn id="appsdev2.mpmkvvcl.com:6201" http-status="406" http-response="OPMN is terminating">
    </opmn>
    </response>
    $
    I also tried opmnctl shutdown but still issue is same.
    Please help thanks in advance

    Looks like something may have been hung. Kill any process still running after a shutdown of opmn and then delete any left over pids files in the states directory. After that you can do a opmn startall.

  • HOW TO STOP THE PROCESS CHAIN WHICH IS RUNNING IN THE PRODUCTION?

    HI ALL,
    CAN ANYONE TELL ME HOW TO STOP THE PROCESS CHAIN WHICH IS RUNNING DAILY AT 5.00 PM. I NEED TO STOP THE PROCESS CHAIN FOR COUPLE OF DAYS AND THEN RESTART IT AGAIN.
    cAN ANYONE TELL ME THE PROCEDURE TO STOP THE ENTIRE PROCESS CHAIN RUNNING IN THE PRODUCTION.
    THANKS
    HARITHA

    Hi,
    First and foremost let me advice you to be very careful while doing this.
    For Rescheduling
    RSPC> chain > Goto > Planning view and
    click on Execution tab > select > Remove from Schedule and then in Maintain variant of start process reschedule for the day you require it to run.
    For terminating active chain
    You can start from SM37, find the process WID/PID then go to SM50 or SM51 and kill it. Once its done come back to RSMO and check the request, it should be red but again manually force to red and save by clicking on the total status button in the status tab. This shuld ensure that the process is killed properly.
    The next step will be to go to targets that you were loading and remove the red requests from those targets.
    Note: For source system loads you may have to check if the request is running in the source system and kill if needed and pull it again.
    But for BW datamart delta loads u may have reset the datamarts in case u are going to pull the delta again.
    Re: Kill a Job
    Re: Killing a process chain.
    Regards,
    JituK

  • How to stop the process chain showing status as yellow but no process step

    Dear Friends,
    How to stop the process chain showing status as yellow but no process step is running in that process chain.
    We have manually triggered the process chain for sales it finished successfully till load data but the next step is create index and DB statistics. Both of this steps are in unscheduled position only and no background job for this.
    Please guide me.
    Thanking you in advance.
    Regards,
    Shubhangi

    Hi,
      At times even I have faced this situation.  During those times, running the Function module RSPC_PROCESS_FINISH by passing the right parameters came to my rescue.
    Regards,
    Raj

  • Unable to open PS Elements 11 once closed without Stopping the process in Task Manager

    Photoshop Elements 11 will not open once closed unless I either stop the Process in Task Manager or reboot the computer.  I have tried setting the program to run in Administrator mode but this did not work. I am running the program on a 64 bit Windows 7 laptop, the process I need to close each time is usually "Photoshop Elements Editor exe*32'?"
    Can anyone help me please?

    I have this problem intermittantly with Premiere Pro and have not been able to find a solution.

  • Cleanly stop a process in an  XI adapter module

    Hi,
    I have a java adapter module that decides whether the process should carry on or not.
    When I want to stop the process I throw an UnsupportedOperationException that is reported in Runtime Workbench -> system monitoring.
    Are there any other means to stop the process (other exception....) from an adapter module?
    Thanks
    Yann

    Hi,
    I have a java adapter module that decides whether the process should carry on or not.
    When I want to stop the process I throw an UnsupportedOperationException that is reported in Runtime Workbench -> system monitoring.
    Are there any other means to stop the process (other exception....) from an adapter module?
    Thanks
    Yann

  • Problem in stopping the process for a while

    Hi all,
    I am facing problem in stopping the process when i call *.exe from java. here i am explaning my problem in detail.
    main(){
    m1();
    m2();
    m1(){
    Runtime r=Runtime.getRuntime();
    Process p=r.exec("solve1.exe");
    // this exe file will create a text file (temp.txt), and it is creating it with out any problem.
    m2(){
    using temp.txt here.
    problem is when i call m1() it will create temp.txt , but by the time i call m2() temp.txt is saving into the disk and m2() is not able to find the file.
    here what i need is there should be some time gap to before i call m2(); and i tried even with
    p.waitfor(); in m1() -if i use this the program is not exiting out of runtime??
    any one kindly hepl me
    bye.

    A test app(if you don't have sol, then pick another app)
    public class WaitForTest{
        private WaitForTest(){
            try {
                Process p = Runtime.getRuntime().exec("sol.exe");
                System.out.println("Waiting....");
                p.waitFor();
                System.out.println("Done waiting") ;             
            catch(Exception e)
                    e.printStackTrace();
            static public void main(String[] args){
                new WaitForTest();
    }

  • Trigger a process remotely

    Hello,
    I have two CE(SAP AS Java) servers, I'm working on one server, and I'm trying to start a process remotely on the second server. For doing this, i have some webservices that i found through the wsnavigator, which are the same on both servers, and which could trigger a process locally.
    I want to know if it is possible to trigger processes remotely, by using those webservices. And if so, how can i make this connection between server 1 and server 2 (Force server 1 to "look" for processes in server 2 and not in its own process repository). Thank you.
    Best Regards,
    Jean

    forget about it

  • How to stop a process chain tempararly

    Hi
    we have a process chain BI (7.0) which extracts data from R/3
    scheduled everyday at 6AM. However, our basis team is
    shutting down the R/3 server around this time for maintenance.
    I want stop the process cain for this day and start regular
    schedule the next day. Can some body please tell me the
    steps involved in this process. we are using BI7
    Thanks

    hi srigant...
         schedule your start process to run periodically (every day, hour, week...) at a particular time. If this schedule shall not be possible with the standard SAP scheduling, then schedule your start process to be fired "after event". Create an event in SM62. Then write an ABAP report raising this event with function module BP_ENVENT_RAISE. You can as well test this by raising your event manually in SM64.
    so you need to write ABAP program for triggering an event based on the time and check condition...
    hope it helps..
    regards
    ram'n

  • How to stop a process from running and display a message

    I have a button that inserts data into a table based on bind variable selected on the page. I would like to add code to that button that will check to see if certain data already exists in the table, for that bind variable, and if that data already exists, stop the process and display a message that says "you have already inserted that information - bla bla bla". If not, continue inserting. What would be the best way to do this?
    Currently, the button is a plsql that inserts the data.
    Any help or examples would be greatly appreciated!
    mholman
    Edited by: user10488561 on Jul 27, 2009 8:48 AM

    Use a validation process for that. If the validation fails (data exists) the processes will not be run. If it doesn't then the processing will continue.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    ------------------------------------------------------------------------------

  • How to stop a process?

    last time i selected all the files in a folder and expected them to open in one Preview window, but each opened a window and it took a long time. When this happens, how can i stop the process immediately?

    Quit the application using CMD+Q. If that doesn't work, OPTION-click the app's Dock icon, and select force quit.

  • How to stop a process in a process chain?

    Hi
    I've got a process chain that calls several processes.  It's still running one of the processes but I want to stop the two that will run after (as it is now in the day time and they will impact on performance in our R3 system).
    I've looked on SM37 but when I put in BI_* nothing comes up.  Do anyone know how I can stop these processes from running before they start ?
    Thanks in advance
    Sandra

    Hi Sandra,
    Just goto the process types that are supposed to run afterwards... and rt click select released job-> select the job and press shift + F6 (from scheduled state to release state)
    If u observe in PC now after refreshing this step will not be green (grey meaning not scheduled to run)
    similar for other.
    thanks

Maybe you are looking for

  • HP Color LaserJet 2605dn Network Printing

    Here we go again. I just upgraded the Windows 7 and I am still having the same network printing issues I encountered in Vista. 1. It doesn't appear that there is a Windows 7 32-bit driver for this printer, am I wrong? I found the drivers page for thi

  • CBO (10g): unable to estimate the good NL join cardinality

    Hi all, In my 10.2.0.4 database, the CBO does not choose the good execution plan for the following query: SELECT  A.CNACT, A.LCACT, I.CMECH, I.CAECH, I.CSOPT, T.COLAN, I.MTSNA FROM TPOOIN_TT T, IAVOPE I, NATACF A WHERE T.POTMP IN ('TABDJO_TT', 'TCLRJ

  • Disk Boot Error

    When I try to boot from my Mac OS 9 disk to install it (trying to put to use an old ibook clamshell), I get a little box that shows a flashing ?/0S9 double face logo logo. Any ideas as to what the issue is?

  • How to use magic move with connection lines?

    When I use magic move with connection lines, they disappear and reappear in the next slide. It seems like magic move doesn't recognize the connection lines (or can't match them), so it just redraws them, instead of leaving them there. I'm trying to u

  • Optimizer Setup

    Hi, Our Solution Manager system is dual stack (ABAP + JAVA) , Unicode. I upgraded Kernel at ABAP level and imported Support Packages SP10 and finally completed Optimizer setup and it is working fine. But, I forgot about  Kernel patch Upgrade, Support