In iPlanet WebServer getRuntime.exec() not running

Hi
We are using iPlanet webserver 4.1 SP5 for unix.
In the servlet in the init method the following command
is not getting called
Process ps = Runtime.getRuntime().exec("application");
"application" is written in c.
Even with the java class this is not called.
Process ps = Runtime.getRuntime().exec("java sample");
I have given the class path and path correctly.
It is not throwing any exceptions also.
But if i set the MaxProcs 4 in the magnus.conf file
it is throwing java.io.IOException Badfile number
I have set the CGIWaitPid on.
I haven't given the cgi directory since we are not using cgi programs
I could not understand whether this iPlanet web server does
*support native interface
*in unix will it create fork command to execute an
application
* do i have to change the setup in config files
If any of you could clarify this it would be of great help to me
Thanks in advance

Even I am facing the same problem, but with Apache-Tomcat combination.
Hope you have got the solution (being +ve 'cos its long since u posted it here), please write back to me                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • Runtime.getRuntime.exec() not working when Tomcat is made a windows Sevice

    Hi,
    I am working on a web application which launches a exe file on subitting the form. I am using Apache Tomcat 4.0.6 to run the web application. Initially Tomcat was not made a windows service on my machine and when I launch an exe it is launching without any problems. I used the following command to launch the exe file:
    <code>
    Process p = Runtime.getRuntime().exec("C:\\Program Files\\Mercury Interactive\\WinRunner\\arch\\wrun.exe" + strWROptions);
    </code>
    The above command launches WinRunner on the local machine.
    without using tomcat if I just compile and run a test program with this command, the exe is launching perfectly. But, Once I made tomcat a windows service on my machine the exe is not launching.
    Also, a process is being created in the windows task bar named wrun.exe once I submit the form but WinRunner is not lauching on the desktop.
    Can any one please help and suggest me.
    Thanks,
    Ramesh

    The version of Java I am using is 1.4.2. Even without
    using the string array as you mentioned, the exe
    (wrun.exe) is launched on my desktop if I don't run
    Tomcat as a windows service. But the problem arises on
    making it a service :-(
    That is strange because going by the documentation what you have been using should never work. I can't test it though, I'm not on MSWindows at the moment..
    Now, when I use this string array convention, I am
    getting an error saying "The tool could not launch..
    some error occured".
    That's not a Java error message, it must come from WinRunner. This means that you have succesfully started WinRunner (great!) but something else is wrong; maybe the parameters you pass to it are incorrect.
    How would you run it on the command line? Like this?wrun -t "D:\L5_QE\L5A\Initial" -create_text_report on -runThat line executes the wrun program and passes it five parameters, not three. The first parameter is "-t", the second "D:\L5_QE\L5A\Initial", the third "-create_text_report", the fourth "on", and the fifth "-run". The array of strings that corresponds to that line isString[] command = {"C:\\Program Files\\Mercury Interactive\\WinRunner\\arch\\wrun.exe",
                    "-t", "D:\\L5_QE\\L5A\\Initial",
                    "-create_text_report", "on",
                    "-run"};

  • Runtime.getRuntime().exec problems running with applet

    Hi,
    I am running the command
    Process prc = Runtime.getRuntime().exec("net config workstation");
    InputStream in = prc.getInputStream();
    BufferedReader br = new BufferedReader(new InputStreamReader(in));
    line = br.readLine();
    When running from an application(/stand alone program) on Win-NT it runs fine. But when i include the same code in an Applet and try to run.
    It doesnt return any thing. I see the DOS-prompt open and close and i can also see the required output generated on the DOS prompt, but the program doesnt return any results(null) in the InputStream.
    I even tried to get the ErrorStream incase it is writing some error but it doesnt write anything.
    I tried running some other commands like (cmd.exe /c set) which were able to run on both application as well as from the applet.
    I have tried giving the "net config workstation" command in all flavors
         String[] cmd = new String[3];
         cmd[0] = "cmd.exe";
         cmd[1] = "/C";
         cmd[2] = "net config workstation";     
    And      
         String[] cmd = new String[3];
         cmd[0] = "net.exe";
         cmd[1] = "config";
         cmd[2] = "workstation";          
    AND
         String[] cmd = new String[5];
         cmd[0] = "cmd.exe";
         cmd[1] = "/C";
         cmd[2] = "net.exe";
         cmd[3] = "config";
         cmd[4] = "workstation";     
    AND giing the full path as
    C:\winnt\system32\net.exe config workstation
    But still it doesnt work.
    Can anybody please suggest what is the problem.Its Urgent.....
    Well the purpose of this is to get users system properties like the Logon Domain , server name etc.... or else can anybody suggest a better way to obtain this information.....
    Your reply will be highly appriciated...
    Thanks in Advance......

    Thanks for atleast replying.....
    Sorry, i forgot to mention.... yes OfCourse, i am using an Signed Applet..... That how i was able to run the "set" command.....
    I have made sure it is not sucha simple problem..... the thing is as i have mentioned i know that even "net config workstation" works..... cause i see the output on the DOS prompt,.... but this output is not returned to the Applet in the getInputStream()/getErrorStream().....
    Can anybody please suggest a way to get this output..... OR is there some other way to get the machine's domain, server name etc info from the machine....?????
    Thanks in Advance...!!

  • Runtime.getRuntime.exec() not working with through Servlet

    Hi ,
    I want to open a IE from servlet,I am using a Runtime.getRuntime.exec to open the browser ,but my servlet is executing but IE is not opening...Here i am using TomcatServer...Is any settings to be Done in TomcatServer.
    My Servlet code is
    public void doGet(HttpServletRequest request,
    HttpServletResponse response)
    throws IOException, ServletException
         String s1 = "C:/Program Files/Internet Explorer/IEXPLORE.EXE";
         String s2 = "http://192.168.0.149:8080/etk/etk3.htm";
         Runtime runtime = Runtime.getRuntime();
         runtime.exec(s1 + " " + s2);
    i know it is contrary to the purpose servlets are meant for.but i am using for different purpose..
    help me on this one...
    Thanks in Advance

    No, I am using the right path, I am sure. Also I tried giving the absolute path of the UserGuide.pdf. Still it cannot find. Please anyone try spawning an application from a different directory and lemme know your openion.
    Regards,
    Thomas.

  • Iplanet webserver response is not compressed

    Hi,
    I have a Iplanet webserver sp6 on Sun solaris OS. The problem is that the response to the client is not in compressed form. I have conmpared the setting with another webserver which is working fine and I do not see any difference in the magnus.conf or obj.conf.
    Appreciate if somebody could hlp
    Regards,

    I don't understand. iPlanet Web Server 6.0 SP6 never compresses responses. The first version of Web Server to implement HTTP compression was Sun ONE Web Server 6.1.

  • Why is Runtime.getRuntime().exec() not working in JSP?

    Hi all,
    I need to execute a command file from a JSP. I am using Tomcat 4.0.3.
    Here is the code :
    I just wanted to test if this will work, so tried to do run notepad.exe. But in my actual project, i need to run some other commands from a bat file or cmd file.
    <%@ page import="java.util.*,java.io.*,java.net.*" %>
    <%@ page import="java.sql.*" %>
    <%@ page import="tryexec" %>
    //tryexec is a class which has the same java statements as in this jsp
    <%     
    Runtime r = Runtime.getRuntime();
    String s3 = "C:\\WINNT\\explorer.exe";
    String s4 = "C:\\bin\\open.cmd"; //inside open.cmd file , i have "notepad.exe"
    r.exec(s3);
    r.exec(s4);
    /*     tryexec c = new tryexec();
         c.execTo(); // doesn't work
    %>
    I have a html page , when i click a button there , it will call the above jsp , and this jsp will execute the command file.
    If i run the above java statements using a simple java program, it works fine, it opens a notepad and explorer window. but if i do the same thing in jsp, why doesn't it work? Is there any security problem? no exception is shown . Is it a problem with tomcat?
    I also tried to import the java class in jsp and call the function, but still didnt work.
    Please let me know whats the problem, and how to execute command files from jsp.
    Thanks
    Priyha

    It would work with Java coz u r working on the same machine as the java class file.
    While in case of JSP, it is like connecting to a different machine (even if the server is running on the same machine). If you do something like "net send user message" command in JSP or something other executable (just to test), you would see it to work.
    I hope you understand my point here.
    Write back if you have any issues.
    Regards
    Aruneesh

  • GetRuntime().exec(cmd) createprocess error=2 when trying to copy

    Hi there,
    Using .exe and copy methods have been covered quite allot in these forums, but I cant quite find one that shows me why this isnt working:
    when I run the following code (on a windows machine)
    String cmd="COPY \"" +origiFTPlocation+ "\\\\"+zipfilename+ "\" \""
    + finalLocation +  "\"";
    try{
         Process run = Runtime.getRuntime().exec(cmd);
         run.waitFor();
         }catch(Exception e){System.out.print(e.getMessage());               
    cmd = COPY "C:\\Documents and Settings\\psd_tmp4\\My Documents\\JavaProjX\\OWF\\origiFTPlocation\\age_v0_i0_ao.zip" "C:\\Documents and Settings\\psd_tmp4\\My Documents\\JavaProjX\\OWF\\finalLocation"I get the following error:
    can not tun program "COPY": createprocess error=2, the sytem cannot find the file specified
    but this works fine when copying and pasting into comand line???
    I have tried converting to single slashes but get the same
    Edited by: Mr_Tuition on Jan 2, 2008 8:21 AM

    I don't know much about DOS-ish commands, but presumably copy is not an executable program,
    but rather the cmd.exe equivalent of what's called a "shell built-in" in unix. That is, I would guess that
    the command "copy" is interpreted directly by cmd.exe.
    If that's the case, I see the following options:
    1) Execute cmd.exe and tell it to run the copy command. This probably has its own quirks that I'm not familiar with.
    2) Find a copy executable somewhere on your system and invoke that (if it exists).
    3) Create a .bat file that contains the copy command and execute that.
    4) Do the file copy directly in Java, without invoking Runtime.exec.

  • Where to place my java bean files in iplanet Webserver  6.0

    Hi,
    I have installed SunOne iPlanet webserver 6.0 (Not Application Server). I have written very simple jsp program, that will instance a java bean (not EJB).and say Hello world. I have written test.jsp I have placed under c:\iplanet\servers\docs (root webdirectory). Where do i need to place helloBean.java file in iplanet webserver 6.0. Even i have created WEB-INF\classes & WEB-INF\lib folder under c:\iplanet\servers\docs I have created a .war file, that also put in classpath of iplanet. Finally i am getting here message that, helloBean.not found, when i see the error log file. Do i need to create jar / war file to do this simple program ?
    Please answer me, i am very much interest on this.
    Thank a lot
    Regards
    - Thilip

    Hi,
    Thanks for your immediate reply. Still, i am getting the same problem. I have gone through your instruction.
    i have placed my jsp file in c:/iplanet/servers/docs folder
    i have placed my bean file in c:/iplanet/servers/docs/firstBean folder
    Also mentioned in JVM classpath as like this
    c:/iplanet/servers/docs/firstBean
    But i am getter error msg that firstBean.databaseBean class not found.
    Please suggest me to do any other neccessary step ?
    Please inform me.
    Thanks in advance.
    Regards
    - Thilip

  • Using getRuntime().exec() with Serlvet to run applications in Solaris

    I am currently doing a project which requires the execution of Solaris applications through the use of Java Servlet with this Runtime method - Runtime.getRuntime.exec()
    This means that if the client PC tries to access the servlet in the server PC, an application is supposed to be executed and launched on the server PC itself. Actually, the servlet part is not an issue as the main problem is the executing of applications in different platforms which is a big headache.
    When I tried running this program on a Windows 2000 machine, it works perfectly fine. However, when I tried it on a Solaris machine, nothing happens. And I mean nothing... no errors, no nothing. I really don't know what's wrong.
    Here's the code.
    public void doPost(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    Process process; Runtime runtime = Runtime.getRuntime();
    String com= "sh /opt/home/acrobat/";
    String program = request.getParameter("program");
    try
    process = runtime.exec(com);
    catch (Exception e)
    out.println(e);
    It works under Windows when com = "c:\winnt\system32\notepad.exe"
    When under Solaris, I have tried everything possible. For example, the launching of the application acrobat.
    com = "/opt/home/acrobat"
    com = "sh /opt/home/acrobat"I have also tried reading in the process and then printing it out. It doesn't work either. It only works when excuting commands like 'ls'
    BufferedReader read = new BufferedReader(new InputStreamReader(process.getInputStream()));Why is it such a breeze to execute prgrams under Windows while there are so many problems under Solaris.
    Can some experts please please PLEASE point out the errors and give me some advice and help to make this program work under Solaris! Please... I really need to do this!!
    My email address - [email protected]
    I appreciate it.
    By the way, I'm coding and compiling in a Windows 2000 machine before ftp'ing the .class file to the Solaris server machine to run.

    Hi!
    I'm no expert, but I think I remember doing something similar a few months ago, and I think the problem was that the UNIX server does not know which shell to use. The solution was this:
    Create a script that starts the program on the server, and be sure to include a first row saying:
    #!/bin/ksh
    to specify which shell to use (in this case Korn shell). Then call the script from Runtime.getRuntime().exec()

  • Running curl command from a java program using Runtime.getRuntime.exec

    for some reason my curl command does not run when I run it from within my java program and errors out with "https protocol not supported". This same curl command however runs fine from any directory on my red hat linux system.
    To debug the problem, I printed my curl command from the java program before calling Runtime.getRuntime.exec command and then used this o/p to run from the command line and it runs fine.
    I am not using libcurl or anything else, I am running a simple curl command as a command line utility from inside a Java program.
    Any ideas on why this might be happening?

    thanks a lot for your response. The reason why I am using curl is because I need to use certificates and keys to gain access to the internal server. So I use curl "<url> --cert <path to the certificate>" --key "<path to the key>". If you don't mid could you please tell me which version of curl you are using.
    I am using 7.15 in my system.
    Below is the code which errors out.
    public int execCurlCmd(String command)
              String s = null;
              try {
                  // run the Unix "ps -ef" command
                     Process p = Runtime.getRuntime().exec(command);
                     BufferedReader stdInput = new BufferedReader(new
                          InputStreamReader(p.getInputStream()));
                     BufferedReader stdError = new BufferedReader(new
                          InputStreamReader(p.getErrorStream()));
                     // read the output from the command
                     System.out.println("Here is the standard output of the command:\n");
                     while ((s = stdInput.readLine()) != null) {
                         System.out.println(s);
                     // read any errors from the attempted command
                     System.out.println("Here is the standard error of the command (if any):\n");
                     while ((s = stdError.readLine()) != null) {
                         System.out.println(s);
                     return(0);
                 catch (IOException e) {
                     System.out.println("exception happened - here's what I know: ");
                     e.printStackTrace();
                     return(-1);
         }

  • How to use Runtime.getRuntime().exec() in JSP? is it works in JSP or not

    Hi to all,
    i want run a .exe file from JSP file. In java i am able do this, using Runtime.getRuntime().exec().
    but same thing, when i trying with JSP it is not working?
    plz let me is there any other ways to do it..

    It depends, usually (ie in an J2EE container) you're not allowed to access files or the runtime environment, by definition. What do you wan't to achieve with the exe?
    --olaf                                                                                                                                                                                                                                                                                                                                                           

  • SWT window disappear while running Runtime.getRuntime().exec()

    Hello,
    I have create a SWT application. I am executing the folloiwng code from my SWT application.
    Process process = Runtime.getRuntime().exec(param);
    BufferedReader in = new BufferedReader(new InputStreamReader(process.getInputStream()));
    String line = null;
    while ((line = in.readLine()) != null) {
    During execution of the above code when click on other icon of the window task bar and click back on SWT window Icon, The windows open but it does not show annything until the code execution finish. any help would be apprecited.

    This isn't an SWT forum. In the future, please post such questions on a forum specifically for SWT issues.
    But to answer your question, there's a 99.9% chance this is because you're launching the process on SWT's UI thread. Similar to performing long-running tasks on Swing's EDT, this is a no-no. The SWT UI won't be able to repaint itself until after your process has finished. To remedy this, launch your process in a separate Thread.

  • Runtime.getRuntime().exec() does not return

    Hello,
    I am running into a case where the call to Runtime.getRuntime.exec(command) does not return. The scenario is that the main thread spawns another thread which calls the Runtime.exec(). Since the call does not return, both threads seems to be hung. The jstack output from the main thread shows
    ----------------- t@2 -----------------
    0xfeedab45 ___lwp_cond_wait + 0x15
    0xfeb4030d void os::PlatformEvent::park() + 0xa9
    0xfebadd48 void ObjectMonitor::wait(long long,bool,Thread*) + 0x26c
    0xfe770287 void ObjectSynchronizer::wait(Handle,long long,Thread*) + 0xef
    0xfe76ffbb JVM_MonitorWait + 0x20f
    0xfb20a032 * java.lang.Object.wait(long) bci:0 (Interpreted frame)
    0xfb20308d * java.lang.Thread.join(long) bci:38 line:1143 (Interpreted frame)
    0xfb20308d * java.lang.Thread.join() bci:2 line:1196 (Interpreted frame)
    0xfb20308d * DataLoader.checkThreadGroup() bci:92 line:316 (Interpreted frame)
    0xfb202f27 * DataLoader.checkTables(int) bci:1 line:336 (Interpreted frame)
    0xfb202f69 * DataLoader.runLoad(int, java.lang.String, java.lang.String, java.lang.String, com.sabre.fltsked.apm.util.FSIOHelper)
    ... more below ....
    So it is waiting for the spawned thread on a join()
    And the jstack dump for the thread that called exec() is
    ----------------- t@70 -----------------
    0xfeed7409 __lwp_park + 0x19
    0xfeed1be7 cond_wait_queue + 0x5e
    0xfeed1f64 cond_wait_common + 0x1db
    0xfeed20d2 condwait + 0x7b
    0xfeed20fd cond_wait + 0x21
    0xfeed2136 pthread_cond_wait + 0x1b
    0x9741082a soft_delete_object_cleanup + 0x57
    0x97410906 soft_delete_object + 0x5b
    0x97410953 soft_delete_all_objects_in_session + 0x2e
    0x97407b7a soft_delete_session + 0xec
    0x97407860 soft_delete_all_sessions + 0x3c
    0x97402525 finalize_common + 0x66
    0x974026ae softtoken_fini + 0x34
    0x974355f9 _fini + 0x21
    0xfefdd49a remove_hdl + 0x766
    0xfefd8be9 dlclose_core + 0xb1
    0xfefd8c1d dlclose_intn + 0x21
    0xfefd8c96 dlclose_check + 0x2a
    0xfefd8d00 dlclose + 0x38
    0x97480aeb pkcs11_slottable_delete + 0xb1
    0x9747c691 finalize_common + 0xe2
    0x9747c6e0 pkcs11_fini + 0x3e
    0x9747c3bf pkcs11_fork_child + 0x73
    0xfee628b8 postforkchild_handler + 0x2f
    0xfeeca9ec fork + 0x12e
    0xfe338029 Java_java_lang_UNIXProcess_forkAndExec + 0x395
    0xfb20a032 * java.lang.UNIXProcess.forkAndExec(byte[], byte[], int, byte[], int, byte[], boolean, java.io.FileDescriptor, java.io.FileDescriptor, java.io.FileDescriptor) bci
    :0 (Interpreted frame)
    0xfb202f69 * java.lang.UNIXProcess.<init>(byte[], byte[], int, byte[], int, byte[], boolean) bci:62 line:53 (Interpreted frame)
    0xfb20308d * java.lang.ProcessImpl.start(java.lang.String[], java.util.Map, java.lang.String, boolean) bci:182 line:65 (Interpreted frame)
    0xfb202f27 * java.lang.ProcessBuilder.start() bci:112 line:452 (Interpreted frame)
    0xfb202f27 * java.lang.Runtime.exec(java.lang.String[], java.lang.String[], java.io.File) bci:16 line:593 (Interpreted frame)
    0xfb202f27 * java.lang.Runtime.exec(java.lang.String, java.lang.String[], java.io.File) bci:69 line:431 (Interpreted frame)
    0xfb202f27 * java.lang.Runtime.exec(java.lang.String) bci:4 line:328 (Interpreted frame)
    0xfb202f27 *SQLLoad(java.lang.StringBuffer) bci:181 line:51 (Interpreted frame)
    0xfb202e61 *FSLoadThread.run() bci:84 line:54 (Interpreted frame)
    The command I am trying to exec is "sqlldr" and I do have it in my PATH variable. Why is that the call to exec does not return? Any ideas?
    This is on jdk1.6.0_17
    Thanks,
    Bijoy.

    It has definitely forked, and this is the child process. It says so. If it was the parent process it would just show Java code related to launching processes. That does not involve PKCS11. After the fork there are two identical processes with the same stack: the child process of the fork goes on to replace itself with the target command via Unix exec(), which it doesn't look like it is succeeding at. The parent process doesn't do much at all, probably just housekeeping and then a Unix wait() for Process.waitFor() to hook into.

  • Runtime.getRuntime().exec(x) "Command not found"?

    Hello,
    I am attempting to run the following code in my java program.
    System.out.println("<!> gunzip -c " + curZippedFilePath + " | tar xf - --directory " + curMovedUnzippedPath;
    String unzipCommand[] = {"sh gunzip -c " + curZippedFilePath + " | tar xf - --directory " + curMovedUnzippedPath};
                  Process unzipChild = Runtime.getRuntime().exec(unzipCommand);
                 However, when it is run, I get the following message.
    <!> gunzip -c /gnm/apache/htdocs/GNM_Data/1c02.tgz | tar xf - --directory /gnm/GNM_Autoupdate/databaseUpdate/dataDump/1c02
    Exception in thread "main" java.io.IOException: java.io.IOException: gunzip -c /gnm/apache/htdocs/GNM_Data/1c02.tgz | tar xf - --directory /gnm/GNM_Autoupdate/databaseUpdate/dataDump/1c02: not found
            at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
            at java.lang.ProcessImpl.start(ProcessImpl.java:65)
            at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
            at java.lang.Runtime.exec(Runtime.java:591)
            at java.lang.Runtime.exec(Runtime.java:464)
            at DatabaseBackUpdate.main(DatabaseBackUpdate.java:49)Why is the gunzip command not found? Also, the command works when I try it in the shell. Why doesn't it work in the Java code?

    I got it!
    I needed to use the following without passing an array to the exec() function.
    String theCommand = "tar xfz " + curZippedFilePath + " -C " + dataDumpDir;
    Process unzipChild = Runtime.getRuntime().exec(theCommand);No onto another problem : (

  • Problem running getRuntime().exec()--Urgent!!!

    hello,
    I am gathering system information and have been successful in getting parameters from the /proc directory of linux. But I have been unable to get the Total CPU usage info. So i used the 'top' command to get this info. The following code basically tries to capture the result of 'top' and push it into a file. After that is done i can basically loop it and get the result dynamically.
    This code but is not working properly. I tried cmd as a string and also as an array String[].......but its not working.
    I have tried 'top -bn1 >topf.txt' but somehow the program doesnt run. Could you please tell me where I am going wrong and the solution for the same....
    The code is as follows.....
    import java.io.*;
    class aniclient1
    public static void main(String args[])
         String[] cmd={"top","-bn1",">","topf.txt"};
         //String cmd="top -bn1 > topf.txt";
    // File topf=new File("topf.txt");
         try{
         //FileWriter out= new FileWriter(topf);
         Process p = Runtime.getRuntime().exec(cmd);
         p.waitFor();
         /*BufferedReader in=new BufferedReader(new InputStreamReader(p.getInputStream()));
    String line;
         String data22;
         while ((line=in.readLine())!=null)
              data22=line;
              out.write(data22);
              System.out.println(line);
         out.close();
    catch (IOException e)
         //println(e.toString());
         catch(InterruptedException e2)
         //dasdas
    I have tried out all possible combinations with and without ">topf.txt" and top -n1....but it simply doesnt work. Can you please copy the code and run it so its fullproof. The above code works perfectly for "ls -C" but not for "ls -C>topf.txt".

    Maybe you're doing waitFor() in the wrong place, this works for meimport java.io.*;
    public final class Aniclient1 {
            public static final void main(String[] arg) {
                    String[] cmd={"top","-bn1"}; //,">","topf.txt"};
                    //String cmd="top -bn1 > topf.txt";
                    File topf = new File("topf.txt");
                    try {
                            FileWriter out = new FileWriter(topf);
                            Process p = Runtime.getRuntime().exec(cmd);
                            BufferedReader in=new BufferedReader(new InputStreamReader(p.getInputStream()));
                            String line;
                            String data22;
                            while ((line=in.readLine())!=null) {
                                    data22 = line;
                                    out.write(data22);
                                    out.write("\n");
                                    System.out.println(line);
                            out.close();
                            p.waitFor();
                    } catch (IOException e) {
                            e.printStackTrace();
                    } catch(InterruptedException e) {
                            e.printStackTrace();
    }

Maybe you are looking for

  • Final Cut Pro X generators have disapeared

    While working in Final Cut Pro X, I noticed that all of my generators, themes, titles, and most of my effects and transitions have suddenly disapeared. Is there any way to recover them?

  • Delay or no response when clicking on internet and mail links

    For the past day or so, whenever I click on mail messages or internet links with the left side of the mouse, they're either very delayed and I have to click on them several times, or they don't open at all. My mail, in particular , isn't opening. I c

  • Joining java array with SQL table in a stored procedure

    Hey, I am calling a pl/sql stored procedure from a java program passing two arrays (employees) and (departments) as parameters to the procedure. Within the procedure I have stored the arrays in a table of records like this: type t_emp_type is record

  • Tee nodes with custom MFTs as outputs

    Hi guys, Hopefully you have an idea on what I am observing. To give you guys a background on my application. I originally setup a pipeline that would take some user video editing requests and applies them to the frames. For example, users want to cho

  • Bold 9930 + Bluetooth + Garmin nuvi 3590LMT + SMS + Text

    I have a Bold 9930. I have had the Garmin for about a month and have been using hands free calling.  About 10 days after using the Garmin, I got a text message and the Garmin offered to read it to me which it did.  After powering down the Garmin it h