find and send solution urgent
I have encountered the following exception when I run the
following program using runtime.exec() in solaris. If you have
some idea about it, please let me know.
Thanks.
========= Exception Information ======
java.io.IOException: Too many open files
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.forkAndExec(Compiled Code)
at java.lang.UNIXProcess.<init>(Compiled Code)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.execInternal(Compiled Code)
at java.lang.Runtime.exec(Compiled Code)
at java.lang.Runtime.exec(Compiled Code)
at java.lang.Runtime.exec(Compiled Code)
at TestPro.run(Compiled Code)
at TestPro.main(TestPro.java:29)
========= My Program ============
I wrote the program in JSP on UNIX platform using tomcat server.
Runtime.getRuntime.exec("sh coc.sh "+filename+" "+fileexec);
it is successful execute and create the executefile of the filename(Example : filename.c)
how to execute the fileexec file.
i can use again Runtime.getRuntime.exec("fileexec");
it is give above errors.
please find out solution and send me immediatly.
mail to : dumpala@rediffmail.com

