What does  waitFor() in process returns    --Urgent

Hi all
i am calling an exe from browser on solaris, i am able to execute a normal exe file from browser
but my exe is linked with other libraries and this exe is not executing from browser.
when i use waitFor() i am getting 9 and 3 numbers.
can any one tell me what these numbers mean?
     p=r.exec("/data/disk1/edss.exe");
     p=r.exec(commands);
int v=p.waitFor();
     out.println("ret="+v);
     BufferedReader reader =     new BufferedReader(new InputStreamReader(p.getInputStream()));
     while((s = reader.readLine())!=null){
     System.out.println(s);
ret=3 and sometimes 9.
any one kindly provide solution?
Thanks
bye

Quoting from the SDK documentation for Process.waitFor():
the exit value of the process. By convention, 0 indicates normal termination
so the vaues are the exit values for the program you executed, edss.exe

Similar Messages

  • What does {tag_image_value} from webapps return when field is empty? How to use javascript to remove div when condition is met.

    Dear all,
    As stated in the question, what does {tag_image_value} from webapps return when no image has been uploaded by users. I understand that there is an OnError function that can be called if there isn't any image. However it does not do so.
    I am creating a program which will check to see if {tag_image_value} contains an image. If it does not, the error will call an external javascript to remove the div such that it removes any subsequent codes in the later parts of the codes. Below is part of the program:
    I have tried to compare the value to NULL, 0, -1 and "" using if-else functions but they do not work. The slideshow wrapper is part of the code from the following theme: 2027 E Colfax Ave Denver
    The theme will cycle through the pictures, my purpose is to remove the pictures if the images are not present.
       <!------------------------------------------------ Remove picture if not uploaded ------------------------------------------------>
    <script language="JavaScript">
    function noimg1() {
         $( "#shownpicture1" ).remove();
         return;
    function noimg2() {
         $( "#shownpicture2" ).remove();
         return;
    function noimg3() {
         $( "#shownpicture3" ).remove();
         return;
    function noimg4() {
         $( "#shownpicture4" ).remove();
         return;
    </script>
            <!------------------------------------------------ End of remove picture if not uploaded ------------------------------------------------>
    <div class="slideshow-wrapper slider">
    <div class="preloader"></div>
    <ul data-orbit="data-orbit" data-options="bullets:false;animation:fade;">
        <div style="display: block;" id="shownpicture1">
        <li class="active" style="z-index: 4; margin-left: 0%; opacity: 1;"><img alt="{tag_name_nolink}" onerror="noimg1()" src="{tag_image 1_value}" /></li>
        </div>
        <div style="display: block;" id="shownpicture2">
        <li style="z-index: 2; margin-left: 100%; opacity: 1;" class="active"><img alt="{tag_name_nolink}" onerror="noimg2()" src="{tag_image 2_value}" /></li>
        </div>
        <div style="display: block;" id="shownpicture3">
        <li style="z-index: 2; margin-left: 0%; opacity: 1;" class="active"><img alt="{tag_name_nolink}" onerror="noimg3()" src="{tag_image 3_value}" /></li>
        </div>
        <div style="display: block;" id="shownpicture4">
        <li style="z-index: 2; margin-left: 0%; opacity: 1;" class="active"><img alt="{tag_name_nolink}" onerror="noimg4()" src="{tag_image 4_value}" /></li>
        </div>
    </ul>
    </div>
    <!-- //.slideshow-wrapper -->

    When I put in the code it doesnt work. I went into the page to check and it seems that the preloader changes some elements of the code :
    <div class="slideshow-wrapper slider">
        <div class="preloader"></div>
        <div class="orbit-container">
            <ul class="orbit-slides-container" data-orbit="data-orbit" data-options="bullets:false;animation:fade;" style="height: 26px;">
                <li class="active" style="z-index: 2; margin-left: 100%; opacity: 1;">
                    <img alt="{tag_name_nolink}" onerror="noimg1()" src="">
                    </img>
                </li>
                <li class="active" style="z-index: 2; margin-left: 100%; opacity: 1;">
                    <img alt="{tag_name_nolink}" onerror="noimg2()" src=""></img>
                </li>
                <li class="active" style="z-index: 4; margin-left: 0%; opacity: 1;">
                    <img alt="{tag_name_nolink}" onerror="noimg3()" src=""></img>
                </li>
                <li class="active" style="z-index: 2; margin-left: 100%; opacity: 1;"></li>
            </ul>
            <a class="orbit-prev">
                <span></span>
            </a>
            <a class="orbit-next">
                <span></span>
            </a>
            <div class="orbit-timer paused">
                <span></span>
                <div class="orbit-progress" style="width: 0%;"></div>
            </div>
            <div class="orbit-slide-number">
                <span></span>
                 of
                <span></span>
            </div>
        </div>
    </div>
    I tried putting this into the top of my template layout before the code starts:
    <script>
    $('.slideshow-wrapper slider .orbit-container ul li img').each(function(){
    if( $(this).attr('src') == "" ){
    $(this).parent.remove();
    $('.slideshow-wrapper slider ul li img').each(function(){ 
      if( $(this).attr('src') === '' ){ 
      $(this).parent.remove(); 
    $('.slideshow-wrapper slider ul li img').each(function(){ 
      if( $(this).attr('src') == '' ){ 
      $(this).parent.remove(); 
    </script>
    All 3 variants cannot work. Is there something wrong with the way I do the scripting?

  • What does the registration process expect as my screen name?

    What does the registration process expect as my screen name?
    i used
    BILL-PC
    WKYBURZ
    [ email address removed by admin ]
    nothing works
    my conclusion : it is a bug

    Trevor,
    it worked
    it seems that if you make a mistake the first time around .. it goes into
    some strange buggy loop
    doing it from scratch worked
    remember that
    thanks again
    Bill Kyburz

  • What does the upgrade process look like? Black screen after a few minutes o

    Hello,
    I just received a new Macbook Pro. I turned it on for the very first time, entered in my name and password, etc. Then I inserted the SL upgrade diskd circular arrow, then black screen again.. It started up, I acknowledged the license agreement, it said it would take 56 minutes to install. So I walked away. Came back ten minutes later to a blank screen. It would not respond to swipe or click, i.e. no wake-up. After a few more minutes the computer seemed dark, cold, silent. Holding down the power button finally started it back up.
    Disk spun, Apple log and spinning arrow, then blank screen again. I was finally able to eject the upgrade disk. I had to re-install Leopard and parts of iLife.
    So what is a normal looking upgrade? Should the screen go blank? Did I screw things up with lack of patience?
    Any insights appreciated.
    Thanks, Joe

    donv (The Ghost) wrote:
    The screen should not go black.
    Actually, this is normal for the default installation method (IOW, not starting by running from the DVD). The installer will first run some checks & then transfer a bunch of files to the drive for later use. The screen will be normal while this happens, but eventually the installer will restart the Mac & for a while the screen will be black -- typically less than a minute but sometimes longer. After this, the screen should reappear.
    So, it is best to be patient & give the process some time to continue before deciding something is wrong & forcing a shutdown or restart.

  • What does Compression do with Cube Contents?

    Hi,
    I have been wondering what does the Compression process do to the Cube's content? Are they literally compressed like WinZip operation?
    What is the difference between a Compression with "No Marker Update Check box" checked and unchecked? Will they make a diffenrec in the reporting information? Will it affect my keyfigures?
    Thanks in advance...
    --Jkyle

    Compressing data in a cube will have to be specifed with a request id. The system will then aggregate the data until this request after removing the request id. this aggregated data is then moved to the 'E' table from 'F' fact table.
    What you get finally should be lesser volume of data records and the reporting should hence be faster...
    Marker update is specified when you use non cumulative key figures in the cube. there is a how to document on inventory mgmt scenarios that should explain it in detail...

  • GetResponseCode() returns -1,what does it mean

    Hi ,
    The HttpURLConnection class's getResponseCode() method returns -1.
    getResponseMessage() returns null.i m accessing my servlet through a proxy.i know only about 1xx to 5xx codes.i dont know what does it mean by -1.But at server side the request is properly sent and processed and i m getting 200 and ok after processing at serverside. the object is sent to client also. but it is not received by the client.
    Null object is returned.I think proxy is the culprit.If anyone can help me what -1 means,it will be really greatfull to diagnoise my issue in detail and solve my problem soon.
    Your help will be greatfull.
    Thanks
    prakash

    As it says perfectly clearly, right there in the API documentation for the method:
    "Returns -1 if no code can be discerned from the response (i.e., the response is not valid HTTP)."

  • I have a Nikon D600 and D800 and I shoot everything in Raw. I use Photoshop Elements 9 for processing but I have been unable to convert any RAW files to open in PSE. Says unable to parse the file. What does this mean and how do I fix it?

    I have a Nikon D600 and D800 and I shoot everything in Raw. I use Photoshop Elements 9 for processing but I have been unable to convert any RAW files to open in PSE. Says unable to parse the file. What does this mean and how do I fix it?

    Since pse 9 can only use up to camera raw 6.5 and the d600 needs at least 7.3 and the d800 needs at least 6.7, you can use the
    8.6 adobe dng converter to convert those files to dng copies, which then pse 9 should open.
    8.6 dng converter
    windows
    Adobe - Adobe Camera Raw and DNG Converter : For Windows : Adobe DNG Converter 8.6
    mac
    Adobe - Adobe Camera Raw and DNG Converter : For Macintosh : Adobe DNG Converter 8.6
    Note:
    If you have windows xp or vista or mac os x 10.6, then you'll need to use the 8.3 dng converter instead
    windows
    Adobe - Adobe Camera Raw and DNG Converter : For Windows : Adobe DNG Converter 8.3
    mac
    Adobe - Adobe Camera Raw and DNG Converter : For Macintosh : Adobe DNG Converter 8.3
    how to use the dng converter
    Camera Raw: How to use Adobe DNG Converter - YouTube
    more info on supported cameras and camera raw plugins required
    Camera Raw plug-in | Supported cameras
    Camera Raw-compatible Adobe applications

  • Why did my apple watch go from processing to preparing for shipping then back to processing? Did this happen to others? What does this mean?

    why did my apple watch go from processing to preparing for shipping then back to processing? Did this happen to others? What does this mean?

    thanks.. I'm about to... was just wondering if anyone had a similar experience and it got resolved, before I wait on the phone... thanks though..

  • What type of word processing does Macbook Pro offer?

    I want to switch to Mac and was wondering what type of word processing does Apple have on their MBPs'.

    Hi!
    This exact question was asked earlier in the week. If you do a search you can find it. The MBP comes with a trial version of iWorks Pages), and TextEdit.
    http://discussions.apple.com/thread.jspa?messageID=2743826&#2743826
    http://discussions.apple.com/thread.jspa?messageID=2158511&#2158511

  • Why do we use ejbCreate() method? what does it returns?

    why do we use ejbCreate() method? what does it returns?

    People think its easier to get answers handed tothem
    instead of looking...I do my best to disabuse them of that notion.I've given up on that idea, too much hard work.
    Instead I've just written off the entire current generation of schoolkids as useless, good only for (at most) menial labour.

  • KO8G Postings, how to verify postings  what is TCode and Process-Urgent

    If KO8G is run, what is the process and , how to verify postings ?
    what is TCode and Process-Urgent
    Thanks and Regards
    Narasimha Rao

    Hi Narasimha,
    If you ran the job in background, check SM37 for the log.
    If spool lists created check transaction SP01 to view the details.
    Whether run in background or online, you can check in KO8G under Goto -> Previous settlements.
    There are other ways but it depends on what data you processing.
    Hope this is of some help.
    Elaine

  • I get the message "the server encountered an error in processing registration. Please try again later" what does this mean?

    When attempting to use Facetime, i get the message "the server encountered an error in processing registration.  Please try again later." What does this mean and how do i fix it.  I've tried "later" many times.

    Hello Mikeytsmith
    Check out the article below for troubleshooting the issue of activating FaceTime for Mac.
    FaceTime, Game Center, Messages: Troubleshooting sign in issues
    http://support.apple.com/kb/TS3970
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • What does 'Actuality' return when checked in the Text Element of WAD.

    Hi All,
    What does 'Actuality' return when checked in the Text Element of WAD?
    Thanks In Advance

    I take back my qs as the qs is not valid anymore

  • "Adobe Premier Pro could not find any capable video play modules. Please update your video display drivers." What does this mean? Need help urgently!

    Premier Pro CC will not open, even though all my computer software is updated. It comes up with the message every time I try and open it. "Adobe Premier Pro could not find any capable video play modules. Please update your video display drivers and start again." What does this mean? I have been searching the internet for an answer for hours. Urgent help needed.

    Error "Premiere Pro could not find any capable video play modules" | Startup 

  • What does return  -1  in a function do

    what does return -1 in a function do?

    Typically in operating systems APIs, a negative return code means an error has occurred. On some o/s's an additional API call needs to be made afterwards to get the full error details.
    Such an approach in PL/SQL and general application programming should be questioned. Exceptions and exception handlers can do a far superior job in this regard.

Maybe you are looking for

  • Macro Warning When Creating PDF

    Windows 7, Word 2007, Acrobat X Pro. Using Acrobat to convert an MS Word Doc to PDF, I get a message:  "The macros in this project are disabled.  Please refer to the online help or documentation of the host application to determine how to enable macr

  • I want to scan a blank form and fill in data in the resulting file. The PDF form

    When UI download a form in PDF format, I am not allowed to fill in the blanks in the form eg. my name, ss#, address etc.

  • WTC problem

    Hi, I'a new with tuxedo and I have to test the integration between weblogic integration(weblogic8.1) and the bea tuxedo product. I've installed the bea tuxedo(9) and run the qsample example. This one is ok. What I want to test now is the functionalit

  • Photo's disappear from select panel when creating a book (version 7.1.1.)

    Hi, If I sort all photo's on date, and look in my photo library, I do not get the same photo's when I switch to the project panel to create a book. The photo-select window above the book lay-out window, only shows a part (all be it a large part) of m

  • Example of binding an object(just a java class not an EJB) to a JNDI name

    Hi, I would appreciate your help if you could give me some pointers regarding where to find any examples which uses objects ( a java class not an EJB) to a JNDI name. I could get an example to work using String but it doesnt work with a java class ob