URGENT :(   Process

Runtime rt = Runtime.getRuntime()
Process execProcess.exec(...);
execProcess.destroy();
The process runs an exe file in the system.
when i use this, The ".exe" file is still running in my system and not destroyed. why???????????
How do i make sure that .exe file run by execProcess is killed for good.
Please help!

execProcess = rt.exec(procPath + " < " + sampleOutputStore + "/in" + i + ".txt > " + tempProgStore + "/pout" + i + ".txt",null, dir1);
procPath = "cmd /c " + tempProgStore + "\\" + exe_file;
Runtime rt = Runtime.getRuntime()
Process execProcess.exec("cmd /c exefile.exe");
execProcess.destroy();
even after destroy the exefile keeps on running in the system :(

Similar Messages

  • URGENT:Process Chains And events Related

    Hi All,
                  I have created a new process chain which is a normal ODS Process Chain.For that I started with the start Process and then created event in sm62 to trigger the start of process chain.Similarly,I have at the end of the process chain ,I have added 2 ABAP Programs ,one to mark the successful completion of process chain and another to mark the Error or Unsuccessful completion.For these programs,I maintaines Processvariants and here, we have utility Programs.So used the relevant utility program and created a program variant and Events ,One for successful completion of process chain and another to mark the Error or Unsuccessful completion.
    But ,Now ,I find that when I trigger the eventin sm64,I find that the process chain is not being run.Is that any problem with the events I created.This is the first i am involved  with creation of events in SM62.Can anyone help me in  this regard.
    Can anyone,tell me thatdo we need to do anything else apart from  Creating events .Imean like assigning jobs and then Programs in the Step of that Job.
    Please Kindly help me in this regard.It is very very urgent for me.Thank you.Points will be assigned.
    Regards,
    Samir

    Hi,
    I have tried in the same way you have said .I have maintained as after event and activated and scheduled.after that  i triggered the event insm64.But still,I am not able to see the Load in RSMO.
    I have just checked out in sm37.And found that some jobs have failed.I think this might be the reason for the Process chain to not run.
    I am just pasting the error msg and solution.
    Job BI_PROCESS_ABAP, waiting for event RSPROCESS 489W6WH6I7OHV7BL3N9909F7F, has no predecessor
    Message no. RSPC003
    Diagnosis
    Although job BI_PROCESS_ABAP has been started by event RSPROCESS 489W6WH6I7OHV7BL3N9909F7F and is recognized in the process chain, the current run for this process has no job preceding it.
    This is why the system was unable to determine a log ID, and the chain is broken.
    System response
    The job has been terminated.
    Procedure
    With the exception of the start process, each process must have a process that precedes it.
    Then Another error for the another cancelled job is
    Job BI_PROCESS_OR, waiting for event RSPROCESS 489WC2QYBC4AJSYILQ10TWABF, has no predecessor
    Message no. RSPC003
    Diagnosis
    Although job BI_PROCESS_OR has been started by event RSPROCESS 489WC2QYBC4AJSYILQ10TWABF and is recognized in the process chain, the current run for this process has no job preceding it.
    This is why the system was unable to determine a log ID, and the chain is broken.
    System response
    The job has been terminated.
    Procedure
    With the exception of the start process, each process must have a process that precedes it.
    Please kindly help me if you understand the problem.
    Thanks,
    Samir

  • Urgent: Process Chain Priority Pop-Up

    Hi,
    We are trying to schedule a process chain from an abap program using the function module RSPC_CHAIN_START. But on execution a pop up is appearing to set the job priority. Is there any way to set this value through the program to avoid the pop-up or is there any other suitable function module that can be used to set this priority while scheduling the process chain.
    Thanks,
    Pratik.

    you must give the Priority before secheduling the PC only once. There will be A B & C Priorities & you can select any one of these so as to sechedule the chain.
    Regards
    Sivaram Daggubati

  • URGENT-Process Chain - transport error

    Hi
    I am facing a problem in process chains
    when I tranport to quality system my chains are not activated after importing it is raising the error as
    Error in remote call of destination ABAP Connection
    Message no. RSPC051
    Diagnosis
    The following error occurred during the remote function call for destination ABAP Connection:
    Name or password is incorrect (repeat logon)
    System Response
    A short dump has probably been written in the other system.
    Procedure
    Look at the short-dump overview in the other system.
    I am unable to get the solution!!!!! how to activate the chains in Quality.........It sreally urgent

    hi,
    chk the start variant of ur process chain whether an start immediate is choosen, if so change it to some date in future and try to transport.
    Ramesh

  • Urgent Process chain

    Hi experts,
                  can any one tell me how to copy the process chain with step by step info
    thanx regards
    rajesh

    Hi Rajesh Y 
    Jus click on u r process chain in RSPC and then Just put "COPY" in the
    command tool bar..
    it will promt for a name..give it and say continue..
    by the way this avilable only in Bi 7.0 ..
    Hope itz helps a little..!
    Cheers
    Kishore M Reddy
    ***Assigning pointz is the only way of saying thanx in SDN ***
    **Learning the thingz is never end process if u stop it will Be a devil if u continue it will be a divine***
    > Hi experts,
    >
    > can any one tell me how to copy the
    >  process chain with step by step info
    >
    > thanx regards
    > rajesh

  • URGENt --- Process chains

    Hi
    I have two questions.
    1. I need to make a BW load job dependent on a R/3 job.
       How to achive this is Process chains, please do give me the steps.
    2. This is bit tricky
    I have job A. Here I want to load this on etill pSA and then the process PSA to Data targets has to run only after midnight. SO till pSA it will finish by 10PM and I need to make one more dependency in such a way that pSA--->DAta target process runs at 00:01 Hrs.
    Thansk for your answers.

    Hi Meyyappan,
    try this:
    call function 'RSSM_EVENT_RAISE' destination 'yourBWid' (like RFCDISPLAY-RFCDEST)
    exporting
    I_EVENTID = EVENTID (like TBTCSTRT-EVENTID, you have to create it in BW in SM62)
    I_EVENTPARM = PARM. (like TBTCSTRT-EVENTPARM DEFAULT 'X')
    You would execute a report in parallel to your R/3 job; the report would check at a defined interval (parameters: waittime type i default '300'.
    "interval in seconds
    statement -> wait up to waittime seconds.
    "wait some time )
    if the job already has finished then raise (via RFC) a system event in the target BW system. That event can then be used by the BW scheduler to trigger the data pulls.
    Hope this helps.
    Bye,
    Roberto

  • Store to Store (Movement type 311) and Transportation Module

    Hi,
    We have a new business requirement to link store to store movements (currently using 311 movement type) to the transportation module. Can anyone help me on how to set up this link?
    Thanks in advance,
    Finbarr

    Dear Finbarr O'Donovan
    trasportation planning for shipment
    inorder to implement transportation Module
    define Transportation Planning Point Determination,Define Number Ranges for Shipments,Maintain Transportation Relevance,Maintain transportation relevance for routes,Define Shipment Types,Maintain Standard Selection Variants for Shipment List,Define Transportation Connection Points
    <i><b>Additional Data 1 Priority</b></i>
    01 Urgent Process; High priority Shipment
    02 Express Delivery
    03 Collect  / Ex Works
    04 Priority 04 / Priority +
    05 Priority05  / Standard priority
    06 Priority 06 / Low priority
    To change the priority of the assigned deliveries and Transfer orders
    <i><b>Additional data 2 Staging area</b></i>
    Copied to the assigned deliveries and transfer orders
    <i><b>Shipment status Planning</b></i>
    Who     Outbound planning
    When
    Planning shipment is completed and the warehouse activities can be started (Staging area known)
    What
    Output type is created = Picking Wave / group.
    Groups all transfer orders for several deliveries to the same ship-to address (based on Shipping point, Shipping condition, Route, Ship to number, Warehouse number, Address number).
    <i><b>Shipment status Check-In</b></i>
    Who     Dispatch controller 
    When      
    Truck arrives at the gate and the driver must check himself in.
    Why
    To monitor the forwarder
    <i><b>Shipment status Loading Start</b></i>
    Who     Dispatch controller
    When
    Warehouse internal activities are completed.
    Deliveries are on the Bay and the documents need to be added to complete the shipment.
    > Not possible if the Warehouse processes are still not completed
    What
    Print outs
    Pack list
    Delivery Note
    <i><b>Shipment status Loading End</b></i>
    Who     Dispatch controller
    When
    Loading of the truck is completed.
    What
    Print outs
    Truck manifest
    <i><b>Shipment status Shipment completion</b></i>
    Who     Dispatch controller
    When
    Dispatch activities are completed and the truck has left the yard
    What
    Triggers goods issue
    Which is trigger for Billing
    <i><b>Agenda Outbound monitoring</b></i>
    VL10     Collective Processing of Documents due for Delivery 
    VL06O     Outbound delivery monitor
    VT11     Transportation planning list

  • Suddenly can t load iPhoto 08 again

    get following error message sent to Apple - can anyone help me URGENTLY
    Process: iPhoto [1347]
    Path: /Applications/iPhoto.app/Contents/MacOS/iPhoto
    Identifier: com.apple.iPhoto
    Version: ??? (???)
    Build Info: iPhotoProject-3930000~2
    Code Type: X86 (Native)
    Parent Process: launchd [92]
    Date/Time: 2009-02-08 20:53:00.220 +0100
    OS Version: Mac OS X 10.5.6 (9G55)
    Report Version: 6
    Exception Type: EXC_BREAKPOINT (SIGTRAP)
    Exception Codes: 0x0000000000000002, 0x0000000000000000
    Crashed Thread: 0
    Dyld Error Message:
    Symbol not found: _ILiPhotoShowTrashAlbumAttributeKey
    Referenced from: /Applications/iPhoto.app/Contents/MacOS/iPhoto
    Expected in: /System/Library/PrivateFrameworks/iLifeMediaBrowser.framework/Versions/A/iLifeM ediaBrowser

    this is just from the FWIW file because I too had a problem with _ILiPhotoShowTrashAlbumAttributeKey
    What happened with me is that I was running iPhoto '09 on a Hard Disk that was going bad. I decide to migrate the OSX boot to another volume, and then did a 'migration' of all my users, docs, etc to the new hard disk.
    When I went to boot iPhoto though, I got the error with _ILiPhotoShowTrashAlbumAttributeKey. I then did a software update, which loaded iLife 09 Browser Plug-ins (for some reason that had to be reinstalled) and after that, viola--iPhoto launched.
    I think the problem was my old HD that had the boot system had the Browser Plug In, but when I stood up the new volume from the OSX Install DVD that broswer plug-in didn't migrate over (or needed to be reinstalled)
    Not directly on point to your answer, but I figured if someone else googled _ILiPhotoShowTrashAlbumAttributeKey they might find my solution as well.

  • Prestage Package status not reflecting on the console

    Hello,
    I have extracted some prestage packages successfully on the new DP but for some reasons, it doesn’t reflect the status on the primary server. After troubleshooting, I found
    this article which describes my issue similarly.
    http://eskonr.com/tag/sccm-2012/page/2/
    Where it says, “Will reject this STA for DP”, that similarly matches with my concern.
    I have followed the article regarding the script for compare the version difference but what I am not sure is, I believe it ultimately says to redistribute the content to
    the DP once more ?
    Let me know if I am wrong or if there is any other way as this is happening for many prestage packages.
    Not sure how it started all of a sudden when it working since a day before.

    Hello, 
    I have created a new prestage package and it extracted successfully as per the below message in Distmgr.log but for some reasons the status doesnt reflect on the console.
    Please help as this is really urgent
    Processing status update for package AAA SMS_DISTRIBUTION_MANAGER
    11/12/2014 9:25:21 AM 11344 (0x2C50)
    Successfully updated the package server status for ["Display=\\<DP server>\"]MSWNET:["SMS_SITE=SiteID"]\\<DP server>\ for package AAA, Status 3
    SMS_DISTRIBUTION_MANAGER 11/12/2014 9:25:21 AM
    11344 (0x2C50)
    STATMSG: ID=2330 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=<primaryserver>SITE=<SiteID> PID=19600 TID=11344 GMTDATE=Wed Nov 12 03:55:21.886 2014 ISTR0="AAA" ISTR1="["Display=\\<DP
    server>\"]MSWNET:["SMS_SITE=<SiteID>"]\\<DP server>\" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=2 AID0=400
    AVAL0="AAA" AID1=404 AVAL1="["Display=\\<DP server>\"]MSWNET:["SMS_SITE=<SiteID>"]\\<DP server>\"
    SMS_DISTRIBUTION_MANAGER 11/12/2014 9:25:21 AM
    11344 (0x2C50)
    Successfully delete package status file C:\Program Files\Microsoft Configuration Manager\inboxes\distmgr.box\INCOMING\BKP96Y8Q.STA
    SMS_DISTRIBUTION_MANAGER 11/12/2014 9:25:21 AM
    11344 (0x2C50)

  • Kindly provide me how to install odi in my pc windows 7 64bit

    Hi all,
    Plz kindly provide me how to install odi in my lap windows 7 64bit and do we have option to install odi in windows7?
    In windows 7 i already installed oracle 10g database and downloading ODI 11.1.1.5.0 version from oracle site.
    Its a urgent process to me and thanks in advance and guide me .

    Hi,
    for Windows x64 be aware of these pitfalls:
    - you need the "generic" Java version of ODI, not the Windows one (which target x86)
    - you need a 64 bit Java Virtual Machine to run the setup
    - you need a 32 bit Java Virtual Machine to run the application (ODI Studio) after installation complete
    I used JRockit (Java Virtual Machine), and with default settings the JRockit installer overwrite previous installations, even for different processor architecture (ie 32 bit installation overwrite 64 bit).
    So to me the following worked:
    - Install JRockit 64 bit
    - Run ODI installation
    - Install JRockit 32 bit
    - Run ODI Studio.
    Hope it helps,
    Corrado

  • Error in Data Transfer Process (DTP) Urgent!

    Hi,
    ive encountered an error in uploading data from R3 using DTP in a specific cube and it says "Exceptions in Subset: Load and Generation" and "Dump: ABAP/4 processor: MESSAGE_TYPE_X", how can i fix this problem? is there any problem with the upgrade process of our system or in KERNEL? and what is KERNEL? Please help me guys.....
    Thanks,
    nips

    Please do not post the same question twice.
    Error in Data Transfer Process (DTP) Urgent!

  • Not Urgent ..... Some GP processes are not coming to UWL

    hi,
    iam initating a process using runtime.
    And after completing the first action i am sending the next action to another user which is determined by input parameter.
    But that process is not showing in the UWL,but it is coming in GP runtime.
    The process is coming in the UWL for all users which determined at the time of initiation.
    <removed by moderator -  please read the [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement] - they explain why you should not post"urgent" in here>
    With  regards
    Shanto Aloor
    Edited by: Mike Pokraka on Jul 14, 2008 6:52 PM

    Hi,
    Have you created new system in UWL Administration (System Administrator -> System Configuration -> Universal Worklist u2013 Administration) with Guided Procedures Connector?
    If no, check these links:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6b66d7ea-0c01-0010-14af-b3ee523210b5
    http://help.sap.com/saphelp_nwce10/helpdata/en/43/ef06a7860c7061e10000000a1553f6/content.htm
    Otherwise, check Delta Pull Channel Refresh/Snapshot values (edit in GP system).
    Reward points if itu2019s helpful.

  • Process chain problem...., its urgent

    Hi all
    in my process chain we are loading 4 loads into ODS. After 3 loads, 4th load didn't take place. its not yet started even 3rd one successfully ran. its not showing error also. what can i do. after 4th one ODS activation process is there.
    Please advice me. will i go for manual loading. if i do manual, what abt activation after 4th load. will i do activation also manual or else it will trigger automatically as part of process chain........../
    Advice me frnds..., its urgent
    Regards
    swetha

    Hi Swetha,
    Sometimes, it doesn't help to just set a request to green status in order to run the process chain from that step on to the end.
    You need to set the failed request/step to green in the database as well as you need to raise the event that will force the process chain to run to the end from the next request/step on.
    Therefore you need to open the messages of a failed step by right clicking on it and selecting 'display messages'.
    In the opened popup click on the tab 'Chain'.
    In a parallel session goto transaction se16 for table rspcprocesslog and display the entries with the following selections:
    1. copy the variant from the popup to the variante of table rspcprocesslog
    2. copy the instance from the popup to the instance of table rspcprocesslog
    3. copy the start date from the popup to the batchdate of table rspcprocesslog
    Press F8 to display the entries of table rspcprocesslog.
    Now open another session and goto transaction se37. Enter RSPC_PROCESS_FINISH as the name of the function module and run the fm in test mode.
    Now copy the entries of table rspcprocesslog to the input parameters of the function module like described as follows:
    1. rspcprocesslog-log_id -> i_logid
    2. rspcprocesslog-type -> i_type
    3. rspcprocesslog-variante -> i_variant
    4. rspcprocesslog-instance -> i_instance
    5. enter 'G' for parameter i_state (sets the status to green).
    Now press F8 to run the fm.
    Now the actual process will be set to green and the following process in the chain will be started and the chain can run to the end.
    Of course you can also set the state of a specific step in the chain to any other possible value like 'R' = ended with errors, 'F' = finished, 'X' = cancelled ....
    Check out the value help on field rspcprocesslog-state in transaction se16 for the possible values.
    Try this solution with your 3rd ODS..hope this will solve your problem for this instance. This is just a workaround.
    Before next scheduel of the process chain..remove the link between 3rd ODS and 4th ODS and then reconnect once again and activate the process chain and schedule it as per your schedule cycle. From next upload onwards everything works fine.
    Assign points if it is helpful.
    Regards,
    Sreedhar

  • Urgent help for processing XML stream read from a JAR file

    Hi, everyone,
         Urgently need your help!
         I am reading an XML config file from a jar file. It can print out the result well when I use the following code:
    ===============================================
    InputStream is = getClass().getResourceAsStream("conf/config.xml");
    BufferedReader br = new BufferedReader(new InputStreamReader(is));
    String line;
    while ((line = br.readLine()) != null) {
    System.out.println(line); // It works fine here, which means that the inputstream is correct
    // process the XML stream I read from above
    NodeIterator ni = processXPath("//grid/gridinfo", is);
    Below is the processXPath() function I have written:
    public static NodeIterator processXPath(String xpath, InputStream byteStream) throws Exception {
    // Set up a DOM tree to query.
    InputSource in = new InputSource(byteStream);
    DocumentBuilderFactory dfactory = DocumentBuilderFactory.newInstance();
    dfactory.setNamespaceAware(true);
    Document doc = dfactory.newDocumentBuilder().parse(in);
    // Use the simple XPath API to select a nodeIterator.
    System.out.println("Querying DOM using " + xpath);
    NodeIterator ni = XPathAPI.selectNodeIterator(doc, xpath);
    return ni;
    It gives me so much errors:
    org.xml.sax.SAXParseException: The root element is required in a well-formed doc
    ument.
    at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1213
    at org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XM
    LDocumentScanner.java:570)
    at org.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher.endO
    fInput(XMLDocumentScanner.java:790)
    at org.apache.xerces.framework.XMLDocumentScanner.endOfInput(XMLDocument
    Scanner.java:418)
    at org.apache.xerces.validators.common.XMLValidator.sendEndOfInputNotifi
    cations(XMLValidator.java:712)
    at org.apache.xerces.readers.DefaultEntityHandler.changeReaders(DefaultE
    ntityHandler.java:1031)
    at org.apache.xerces.readers.XMLEntityReader.changeReaders(XMLEntityRead
    er.java:168)
    at org.apache.xerces.readers.UTF8Reader.changeReaders(UTF8Reader.java:18
    2)
    at org.apache.xerces.readers.UTF8Reader.lookingAtChar(UTF8Reader.java:19
    7)
    at org.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher.disp
    atch(XMLDocumentScanner.java:686)
    at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentS
    canner.java:381)
    at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
    at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.
    java:195)
    at processXPath(Unknown Source)
    Thank you very much!
    Sincerely Yours
    David

    org.xml.sax.SAXParseException: The root element is required in a well-formed document.This often means that the parser can't find the document. You think it should be able to find the document because your test code could. However if your test code was not in the same package as your real (failing) code, your test is no good because getResourceAsStream("conf/config.xml") is looking for that file name relative to the package of the class that contains that line of code.
    If your test code wasn't in any package, put a slash before the filename and see if that works.

  • Urgent ..... Some GP processes are not coming to UWL

    hi,
    iam initating a process using runtime.
    And after completing the first action i am sending the next action to another user which is determined by input parameter.
    But that process is not showing in the UWL,but it is coming in GP runtime.
    The process is coming in the UWL for all users which determined at the time of initiation.
    Pls help me it is urgently needed
    With  regards
    Shanto Aloor

    Hi,
    Have you created new system in UWL Administration (System Administrator -> System Configuration -> Universal Worklist u2013 Administration) with Guided Procedures Connector?
    If no, check these links:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6b66d7ea-0c01-0010-14af-b3ee523210b5
    http://help.sap.com/saphelp_nwce10/helpdata/en/43/ef06a7860c7061e10000000a1553f6/content.htm
    Otherwise, check Delta Pull Channel Refresh/Snapshot values (edit in GP system).
    Reward points if itu2019s helpful.

Maybe you are looking for

  • How to use mailForm methode (javascript) in adobe reader 9.3?

    Hi! I want to know if it exist a way to use the mailForm method (this is javascript) in adobe reader 9.3? Or, are there any equivalent method? I want to send by email a FDF with my PDF. When I run my javascript, I got the following error: "NotAllowed

  • How to get rid of full screens that won't go away.

    I was using my MacBook Pro with my tv through HDMI. I made a window full screen on my tv ( I was using Blender 3D software and the window on the tv was the same application I had on my screen). When I unplugged the HDMI the full screen window on my t

  • Equivalent to SpreadSheet? (I need to merge cells)

    Hey all, I'm making a program dealing with scheduling. Now i need something that works as a Spreadsheet. a lot of you may say 2 use JTable, but there's a problem with that idea, i can't merge cells. For example The Columns are days of the week, Rows

  • Surround sound not working on headset

    I have the Corsair Vengeance 2000 wireless 7.1 headset for 3 years now. In Windows I had some driver issues and in Linux I never really bothered and forgot about it. So this headset supports surround sound, it's even in the product name, but Linux wo

  • Options box opens why is there nothing in it?

    I click tools then options . options window opens with nothing in it. I cant change home page or anything else.