Form_trigger_failure not stopping processing in wvi trig

Hey guys,
I'm using form 6i. I am calling a forms procedure from the when validate item trigger. If some condition is met in the procedure, I raise form_trigger_failure. The problem is this.
I change a value in the field. I then hit the a save button. This fires the wvi trigger on the modified item. The procedure is called and the raise_form_trigger_failure is executed. Then the code in the wbp is executing.
My question is how do I stop processing at the point where the raise_form_trigger_Failure is hit? Any work arounds or ideas would be greatly appreciated. Thanks.

> when you raise form trigger failure that it would stop all form processing
That is NOT correct! When you issue a command that causes other triggers to run, rather than calling the code through a pl/sql procedure or function call, your process does NOT stop if those triggers fail! This is a very critical point. The only way you can determine if any of those triggers encountered a problem is to immediately check IF NOT FORM_SUCCESS then...
Yes, there are other actions the user could take, and it is your job to test each and every one of them to make sure the errors raised by a WVI trigger failure is handled properly. But you are asking about one particular action, and the solution I suggested will ensure the WVI runs, and its result is tested BEFORE any other action is attempted within your WBP trigger.

Similar Messages

  • Confirm OK/Cancel: could not stop processing after redirect

    I am have a problem doing a JavaScript confirmation which in a cfinclude file in the process page.
    When the display page send content to the process page, and process page first do some validation which is included in a cfinclude file. The issue is user need to choose from a confirmation message box, choose OK to continue processing, Cancel to send user to previous display page. Every thing seems working, except when user choose Cancel and is sent to the previous page, the execution on the process page continues anyway, behind scene though. Without server process validation you may not realize it. but the truth is it does not stop when user choose Cancel.
    So I need your insights how to handle the situation: give user choice to choose but when user select Cancel, stop the execution of the code after cfinclude.
    Is there anyway to do the message box without JavaScript? If only it could be done in Coldfusion, then the problem solve, by setting a coldfusion variable to stop the execution.
    Please help!
    Thanks
    Jush

    Keep in mind that cf runs on the server, js runs on the client, and the two don't know what the other is doing.  You have a couple of choices.
    1.  Put the validation on the initial page so that selecting cancel keeps them on that page.
    2. Have a page that does validation and nothing else.  Have the rest of the code on another page.  Use js to send the user to the proper page depending on what they select with the confirm dialogue.

  • Foxfire will not stop processing after I X-out of browser

    if I x-out the screen disappears but firefox is still running. if i ask to reload message says already on. and task manager says it is on....... but no screen.
    if i don't check task manager then firefox could be left on accidentally for hours
    This may have started after last update.

    Try to update to Firefox 29.0.1 via Help > About
    *Press the F10 key or tap the Alt key to bring up the hidden Menu bar.
    There is also a Help (?) button in the drop-down list of the 3-bar Firefox menu on the Navigation Toolbar.

  • How do I get this audio clip to stop processing

    I am wondering how to get this AudioClip to end. Even though it stops after 4 iterations from the for loop in main my application continues running until I hit ctrl-c. I don't want to use System.exit( 0 ) because other applications will be running and I don't want to shut them down. For now just the basics, getting this process to quit on its own. I figured I would have to close the file with file.close( ), but no luck. Help would be appreciated thank you.
    import java.io.*;
    public class PlaySound {
         static String fnm = new String("attention.wav");
         static java.applet.AudioClip clip = null;
         java.io.File file = new java.io.File( fnm );
         public PlaySound( )
              try
                   clip = java.applet.Applet.newAudioClip( file.toURL() );
              catch( Exception e )
                   e.printStackTrace( );
         public void makeAlarmNoise( )
              clip.play();   //plays the audio clip
              //sleep for a while so it doesn't cluster the sounds
              try
                   Thread.sleep( 1000 );
              catch( InterruptedException e ){ }                    
         } //end of method makeAlarmNoise
         public void stopNoise( )
              clip.stop( );
         public static void main( String Args[ ] )
              PlaySound ps = new PlaySound( );
              for( int i = 0; i < 5; i++ )
              ps.makeAlarmNoise( );
              ps.stopNoise( );
    }     

    No it doesn't -- thanks for the reply though.
    The process keeps running even after it is done playing the wav file. I hear no sound but the process must still be running if I does not come to an end.
    IT WON"T STOP. PLEASE MAKE IT STOP.
    ex> when you run a "hello world" program the program runs and prints "hello world" then brings you back to the command line.
    In my program, the program runs and then just sits there -- never bringing me back to the command line. I am wondering how to do that without System.exit( 0 ). Because when I use a GUI and use eventHandlers it still will not stop processing.
    Try running this program with a short wave (.wav) file and you'll see what I mean.
    Thank you.

  • 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

  • Problems with Labivew 2013 / 14 install - Ni Variable Engine error and Labview does not close, processes do not stop when I run Vis.

    Hi All,
    I am hoping at all my problems are relateded to a problem I am experancing, when I look into my windows 7 (64bit) event viewer near every time I boot up I get an error regarding the NI Variable Engine which reads.
    The description for Event ID 0 from source NI Variable Engine cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    C:\Program Files (x86)\National Instruments\Shared\Tagger\ni_tagger_plugin_mxs.dll: Failure to load plugin: Unexpected Error: Unable to get the Interface from the plug-in.
    and a second which is the same apart fomr the last line
    Unable to load the MXS configuration plugIn: Failed to get MAX Configuration interface for Tagger: 0x80040318
    I have tried uninstalling all labview things and I have tried repairing all labivew programs. Along with this I got this error when I installed Labview 2013 so I thougth why not try 2014 and I still get the same problems. I also shoudl point out I use bot 32 bit and 64 bit versions of labivew. I have installed labview on many machines before but never encountered this problem. That being said this was a new clean windows install.
    Along with thiese errors labview heardly ever shuts down properly when I close the program it just freezes and needs forshed shut down.
    Apart form this I noticed that when I run any of my Vis which I have never had problems with in the past and I stop the program somtiems processes keep using CPU such as "lktsrv.exe"
    I really need to get this sorted out because its morstly the crushing and processes not stopping which is rather annoying.
    I shoudl also say that these problems are both in the 32bit and 64 bit versions of labview not difference. and no difference if its 2013 or 2014
    Cheers

    Hi GajanS,
    Thanks for your reply sorry I havetn noticed anybody had replied as I stopped hoping for any responce before then.
    I have attached a screenshot of the four processes that seems to be giving me a problem.
    I have actually managed to find the program causing labivew to crash was in fact my antivirus software which I have now removed and have no more problems with labview crashing on shutdown.
    After removing it I tried the repair feature again for all my labview programs but sadly the one persistant problem remaining is still the four processes using around 13% processor each. I have found out this happens sometime after booting up regardless of if I run labivew or not. So it does not directly seem related to the running of any labview applications but rather a bug in the labview software.
     the processes are:
    lktsrv.exe
    tagsrv.exe
    nidmsrv.exe
    lkads.exe
    as shown in the task manager.
    I would relaly help if I can get this sorted out.
    Cheers
    Attachments:
    Screenshot 2015-03-24 21.50.00.png ‏12 KB

  • Could not stop SDM server. Cannot execute Java process for stopSDM with parameters 50018

    dear SAP
    i have a system Solman 7.1
    i'm upgrading Solman from SP04 to SP13 using SUM (SP12 patch 10) on windows 2012
    and i faced  error  during  Excution phase 5.6  in JAVA Stack.
    phase : Excution - Actual Update
    Error : An error has occurred during the execution of the Deploy software components step.
    Could not stop SDM server. Cannot execute Java process for stopSDM with parameters 50018. Return code condition success evaluated to false for process java.exe for action ACTION_STOP
    You can find more information in the files D:\usr\sap\SOL\SUM\sdt\log\SUM\DEPLOY-COMPONENTS_22.LOG and ProcessOverview.html.
    To troubleshoot the problem use the provided information. An SAP Note may provide a solution to this problem. Search for SAP Notes with the following keywords:
    SUM??execute??component-deploy-700??deploy-components??com.sap.sdt.j2ee.services.servicesimpl.SDMService??class com.sap.sdt.j2ee.tools.sdmmanagement.OperateSdmException
    i try to restart server and killed sapstartsrv..  but the problem is not solved. 
    please let me know what i check more?
    D:\usr\sap\SOL\SUM\sdt\log\SUM\DEPLOY-COMPONENTS_22.LOG
    <!--LOGHEADER[START]/-->
    <!--HELP[Manual modification of the header may cause parsing problem!]/-->
    <!--LOGGINGVERSION[2.0.7.1006]/-->
    <!--NAME[D:\usr\sap\SOL\SUM\sdt\log\SUM\DEPLOY-COMPONENTS_22.LOG]/-->
    <!--PATTERN[DEPLOY-COMPONENTS_22.LOG]/-->
    <!--FORMATTER[com.sap.tc.logging.TraceFormatter(%d [%6s]: %m)]/-->
    <!--ENCODING[UTF8]/-->
    <!--LOGHEADER[END]/-->
    Apr 19, 2015 3:59:00 AM [Info  ]: Stopping SDM server...
    Apr 19, 2015 3:59:00 AM [Info  ]: AS Java process ID 11 has been started.
    Apr 19, 2015 3:59:00 AM [Info  ]:   Command line: D:\usr\sap\SOL\DVEBMGS00\exe\sapjvm_4\bin\java.exe -Xmx900M -Djava.ext.dir=d:/usr/sap/SOL/DVEBMGS00/SDM/program/lib;D:/usr/sap/SOL/DVEBMGS00/exe/sapjvm_4/jre/lib/ext -cp . -jar d:\usr\sap\SOL\DVEBMGS00\SDM\program\bin\SDM.jar shutdown Sdmguiport=50018 sdmHome=d:/usr/sap/SOL/DVEBMGS00/SDM/program logfile=D:\usr\sap\SOL\SUM\sdt\log\SUM\OperateSDM_60.LOG
    Apr 19, 2015 3:59:00 AM [Info  ]:   Standard out: D:\usr\sap\SOL\SUM\sdt\log\SUM\OPERATESDM_44.OUT
    Apr 19, 2015 3:59:00 AM [Info  ]: Process ID 11 has been started.
    Apr 19, 2015 3:59:00 AM [Info  ]: Waiting for process ID 11, name java.exe to finish.
    Apr 19, 2015 3:59:02 AM [Info  ]: Process ID 11, name java.exe has been finished, exit code 16.
    Apr 19, 2015 3:59:02 AM [Info  ]: Process ID 11, name java.exe has been terminated.
    Apr 19, 2015 3:59:02 AM [Error ]: The following problem has occurred during step execution: com.sap.sdt.j2ee.tools.sdmmanagement.OperateSdmException: Could not stop SDM server.
    Cannot execute Java process for stopSDM with parameters 50018.
    Return code condition success evaluated to false for process java.exe for action ACTION_STOP.
    Best regards..

    Could not stop SDM server. Cannot execute Java process for stopSDM with parameters 50018. Return code condition success evaluated to false for process java.exe for action ACTION_STOP
    Please follow the solution mentioned in the below link.
    Error During Deployment - Java Support Package Manager (OBSOLETE) - SAP Library
    regards,
    pavan

  • Oidmon and oidldap process not stopping

    Just installed OID as per http://www.oracle.com/technology/pub/articles/chan-oid.html
    now i am testing to stop/start oidmon and oidldapd process , not stopping any suggestion?
    $ ps -ef | grep oidmon
    oracle 360472 852094 0 12:41:23 pts/3 0:00 grep oidmon
    oracle 995420 368698 0 12:35:08 - 0:00 /oracle/product/oid10g/bin/oidmon connect=ldapdcx1 -opmnuid 1840185357 start
    $ ps -ef | grep oidldap
    oracle 360480 852094 0 12:41:32 pts/3 0:00 grep oidldap
    oracle 790696 1 0 12:32:25 - 0:00 /oracle/product/oid10g/bin/oidldapd connect=ldapdcx1 -p 13060 -i 1 -conf 0 -sport 13130 -sslenable 2 key=810201028
    oracle 1089634 1 0 12:32:25 - 0:02 oidldapd connect=ldapdcx1 control=790696 dispatcher=1 worker=2 debug=33554432 configset=0 instance=1 key=810201028 host=dcxnim01 trcdimension=511 logchange=TRUE port=13060 sport=13130
    $ oidmon connect=ldapdcx1 stop
    $ oidctl connect=ldapdcx1 server=oidldapd instance=1 configset=1 stop
    NLS_LANG not set in environment
    Setting NLS_LANG to AMERICAN_AMERICA.AL32UTF8
    oidctl:Waiting for oidmon to stop OIDLDAPD (instance=1) pid=647246
    oidctl:Stopped OIDLDAPD (instance=1) successfully
    $ ps -ef | grep oidmon
    oracle 635044 852094 0 12:42:17 pts/3 0:00 grep oidmon
    oracle 737312 368698 0 12:41:57 - 0:00 /oracle/product/oid10g/bin/oidmon connect=ldapdcx1 -opmnuid 1840185358 start
    $ ps -ef | grep oidldap
    oracle 635046 852094 0 12:42:22 pts/3 0:00 grep oidldap
    oracle 790696 1 0 12:32:25 - 0:00 /oracle/product/oid10g/bin/oidldapd connect=ldapdcx1 -p 13060 -i 1 -conf 0 -sport 13130 -sslenable 2 key=810201028
    oracle 1089634 1 0 12:32:25 - 0:02 oidldapd connect=ldapdcx1 control=790696 dispatcher=1 worker=2 debug=33554432 configset=0 instance=1 key=810201028 host=dcxnim01 trcdimension=511 logchange=TRUE port=13060 sport=13130
    $

    Ok killed oidldap process and stopall and trying to start all but oidldapd process not showing up in grep , wondering what i am doing wrong
    $ opmnctl startall
    opmnctl: starting opmn and all managed processes...
    $ ps -ef | grep oidmon
    oracle 946336 1171568 0 11:03:13 - 0:00 /oracle/product/oid10g/bin/oidmon connect=ldapdcx1 -opmnuid 1456406549 start
    oracle 1159198 1335522 0 11:03:27 pts/2 0:00 grep oidmon
    $ ps -ef | grep oidldapd
    oracle 671808 1335522 0 11:03:44 pts/2 0:00 grep oidldapd
    $ oidctl connect=ldapdcx1 server=oidldapd instance=1 configset=1 start
    NLS_LANG not set in environment
    Setting NLS_LANG to AMERICAN_AMERICA.AL32UTF8
    *** Instance Number already in use. ***
    *** Please try a different Instance number. ***

  • Aperture processing gear will not stop spinning

    using aperture 3.5 on a macbook pro retina 15 inch with OS X 10.9.5.  Made adjustments to a photo and gear will not stop spinning.  I have done the three repairs shut down and restarted.  problem persists.

    Hey there johnfromnorth andover,
    I see that you are experiencing an issue with Aperture and have attempted some troubleshooting steps to address this issue. I have an article that outlines a few more troubleshooting steps that you may wish to take in order to address this:
    Get help with Aperture 3 - Apple Support
    http://support.apple.com/en-us/HT201289
    Take care, and thanks for visiting the Apple Support Communities.
    Cheers,
    Braden

  • Raise Form_Trigger_Failure Not Working

    On my form I have a button. This button updates 3 base table items from it's when-button-pressed trigger.
    My problem is that when another user comes along and clicks the button for the same record before a previous user has committed their changes the following messages are displayed 3 times (once for each item that the button attempts to update fields?):
    1. Could not reserve record (2 tries). Keep trying?
    2. FRM-40501: ORACLE error: unable to reserve record for update or delete
    My desired result would be that these messages only appear once regardless of how many items the button attempts to update and that the form processing would be stopped after the first messages are displayed. This isn't happening.
    To try to accomplish this I am using an On-Error trigger to capture the FRM-40501 error message and instead display my own custom message followed by "Raise Form_Trigger_Failure".
    Despite the On-Error trigger displaying my custom message successfully, the "Raise Form_Trigger_Failure" doesn't seem to stop the form from processing the remaining code in the when-button-pressed trigger. These messages still appear multiple times in a row and the remainder of the when-button-pressed trigger code continues to run.
    So my question is why isn't my "Raise Form_Trigger_Failure" working to suppress subsequent messages? Is there a way I can address this?
    Any help would be greatly appreciated. Thanks.
    Edited by: sharpe on Jul 13, 2012 9:39 AM

    The FORM_TRIGGER_FAILURE in the ON-ERROR-trigger will not stop the code in your WHEN-BUTTON-PRESSED-trigger. Could you post the code from your trigger?

  • Photoshop CS6 not closing process photoshop.exe after shutdown

    Oke I have this strange problem with processes that are not stopping Because it is not stopping i cant open photoshop on a later time hours later because the program thiks it is running on the background somewhere i cant find it. After terminating the process photoshop.exe and retry it opens again. What is wrong?
    Adobe Photoshop Version: 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00) x64
    Operating System: Windows 7 64-bit
    Version: 6.1 Service Pack 1
    System architecture: Intel CPU Family:6, Model:10, Stepping:5 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2, HyperThreading
    Physical processor count: 4
    Logical processor count: 8
    Processor speed: 3073 MHz
    Built-in memory: 24567 MB
    Free memory: 18592 MB
    Memory available to Photoshop: 22240 MB
    Memory used by Photoshop: 60 %
    Image tile size: 128K
    Image cache levels: 4
    OpenGL Drawing: Enabled.
    OpenGL Drawing Mode: Advanced
    OpenGL Allow Normal Mode: True.
    OpenGL Allow Advanced Mode: True.
    OpenGL Allow Old GPUs: Not Detected.
    Video Card Vendor: NVIDIA Corporation
    Video Card Renderer: GeForce 9800 GT/PCIe/SSE2
    Display: 1
    Display Bounds:=  top: 0, left: 0, bottom: 1080, right: 1920
    Video Card Number: 2
    Video Card: NVIDIA GeForce 9800 GT 
    OpenCL Unavailable
    Driver Version: 8.17.13.142
    Driver Date: 20120515000000.000000-000
    Video Card Driver: nvd3dumx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvd3dum,nvwgf2um,nvwgf2um
    Video Mode:
    Video Card Caption: NVIDIA GeForce 9800 GT 
    Video Card Memory: 512 MB
    Video Rect Texture Size: 8192
    Video Card Number: 1
    Video Card: LogMeIn Mirror Driver
    OpenCL Unavailable
    Driver Version: 7.1.542.0
    Driver Date: 20060522000000.000000-000
    Video Card Driver:
    Video Mode: 1920 x 1080 x 4294967296 kleuren
    Video Card Caption: LogMeIn Mirror Driver
    Video Card Memory: 512 MB
    Video Rect Texture Size: 8192
    Serial number: 92298706623765148324
    Application folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\
    Temporary file path: C:\Users\eigenaar\AppData\Local\Temp\
    Photoshop scratch has async I/O enabled
    Scratch volume(s):
      Startup, 931,5G, 723,1G free
    Required Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Required\
    Primary Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Plug-ins\
    Additional Plug-ins folder: not set

    Do you have any other editing program like DxO installed? Sometimes that interferes with PS, but mostly Bridge. If you do, be sure you are running their most recent update. DxO cleared up after going to their 64 bit version.
    I would attempt to isolate the problem starting in Safe Mode. Will PS exit properly in Safe Mode?
    Online checks for similar problems (Firefox is notorious for this problem) indicates certain apps like Java is indicated, but I doubt this here. Also, corrupt drivers are indicated.
    Run a query: "Apps won't close in Win7" in Google and see if you have any similar setups you come across there.

  • Debugger not stopping at the breakpoint

    Hello all,
    I am running transaction F110(Automatic Payment Transactions). I follow the below process for Check Payments.
    Step - 1 : Put Run date and Identification.
    Step - 2 : Set Parameters
    Step - 3 : Set fields in the Additional Log Tab
    Step - 4 : Choose a Program variant for program RFFOUS_C in Printout/Data medium Tab.
    Now I have put a break point in the program RFFOUS_C. But when I run the Payment it does not stop at the breakpoint in the program RFFOUS_C.
    This program in turn calls a sap script which prints a check. I also tried activating the debugger for sap script.
    I dont know how to stop at the program. It goes to the spool and I can see the output in the spool request for the form i have created, but it does not stop at the breakpoint.
    Any ideas or suggestions ?
    Regards,
    Salil

    Run F110 all the way to where you create the payment run.  When doing the payment run, do not check "Print Immediatly". 
    After the run is complete, go to SE38 and run RFFOUS_C with your variant.  You will have to enter the Run Date and Payment ID on the RFFOUS_C selection screen.  Execute this program and you will hit your breakpoint.

  • Temporarily stop processing in a jsp

    Hi,
    I have the following question, and hope you can help.
    I have a jsp, say a.jsp. During the processing the jsp may need additional information from the user. In that case it generates a pop-up window (using javascript) with a form that the user can fill in, and submit.
    My questions:
    1. Is it possible that a.jsp stops processing after generating the pop-up window? If so, how?
    2. Is it possible that after the user submits the additional information a.jsp continues processing at the point after the generation of the pop-up window? If so, how?
    Thank you for an answer,
    Sponiza

    It's possible although not exactly as you asked. Rather than stopping and starting the processing you would include or exclude content based on the state of your request. i.e. Let's assume that the first time a user enters your site you popup a form requesting they log in. If they've logged in you allow them to see the content of the page:
    <% if (session.loggedIn == null || session.loggedIn == false) { %>
    <script language="JavaScript">
    popupLogin();
    </script>
    <% }  else { %>
    // content content content...
    <% } %>

  • Hi help unlock the phone happened after we installed a new programa we can not get the activation password and ID, I know and still does not stop the phone bought in Israel and what documents should be sent to confirm that my phone Please read through the

    hi help unlock the phone happened after we installed a new programa we can not get the activation password and ID, I know and still does not stop the phone bought in Israel and what documents should be sent to confirm that my phone Please read through the help

    What I am saying is ..........
    The iPhone HAS to be active making calls on the UK carrier network for the carrier to identify as "theirs" and therefore eligible for the Carrier to unlock
    The way to achieve this is to use a PAYG sim making and receiving calls to establish a customer relationship  with the Carrier and then follow the Carrier's process to unlock
    With a PAYG it usually means adding a specified (by the carrier ) amount  usually £15 /£20 depending on the carrier
    This is how O2 function and according to Gemma  this is how Vodafone work

  • How to Start and Stop Processes?

    How to Start and Stop Processes?
    Im trying to create a program which allows me to Start and Stop (and Restart) GameServers. I will then expand on this so i can start and stop them through a web applet with build in useraccounts.
    Currently the way we do this is to log into the server using a RemoteAssistance. Which is not very safe as the users have the abbility to do anything on the server and potentially corrupt it.
    Below is my code for how i start the servers. But i dont know how i would stop the process.
                    private void startServers()
                   for(GameServer gs : servers)
                        int ID = Integer.parseInt(gs.getID());
                        if(isChecked(ID))
                             try
                                  String cmd[] = gs.getStartString();
                                  Runtime.getRuntime().exec(cmd);
                                  int sleepPeriod = Integer.parseInt(sleepField.getText());
                                  Thread.sleep(sleepPeriod*100);     
                             catch(Exception e)
                             System.out.println(e);
                   }//end of iterator
                   JOptionPane.showMessageDialog(null,"All Selected Servers Have been started.","Servers Started",2);     
         }//end of startserversAnyhelp would be great thanks.

    Using the process class would give you a nicer API, but using destroy isn't a nice way to shutdown a process. Its like killing the process with your task manager. You should make a connection in some way with the game server and tell it to shutdown in stead (gracefull termination).

Maybe you are looking for

  • Can I use a Sony all-in-one PC/TV as a second display for the G5?

    I'm trying to build a pro music system out of my G5, which means that it should only have music software on it. I have an aluminum 20" display hooked up to my Radeon x800T video card, which has one DVI and one ADC jack on it. A pro music rig needs tw

  • Firefox won't open pdf files-defaults to save file

    I have followed all the tips I've found in support and online (I think). I downloaded and reinstalled FF v 31 although it was already up to date. I have been through all the options in the tools/applications tab in FF for Adobe (up to date) and tried

  • Why does Mountain Lion not save 'Save', 'Save As' and 'Export' window sizes?

    Every time I go to Export or Save a document, the window size resets and I have to constantly re-size it every time. It's quite annoying. Is there a way to change these default windows sizes permanently?

  • SQL error -20000 at location stats_oradict_collect-4

    Hi, I have just upgraded BRTOOLS (6.4 to 7.10), but having following error while updating statistics for Oracle Dictionary, do you have any clue ? oranq2> brconnect -u / -c -f stats -t ORADICT_STATS BR0801I BRCONNECT 7.10 (24) BR0805I Start of BRCONN

  • Problem with LocationAPI (JSR179) and Siemens device

    In my Midlet i used the following code: class loc extends Midlet{ public void startApp()           Form f=new Form("Waiting...");           f.append("Finding for location...");           f.addCommand(cOK);           f.setCommandListener(this);