Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: problem with java function which runs a Unix command
Thanks
I now run the command from a script and call the script from the java proc. That seems to work fine. I can run the procedure hundreds of times.
However eventually I get an error 3 generated by the following bit of code
try {
rc = p.waitFor(); } catch (InterruptedException intexc) { rc = 2; }
} catch (Throwable t) { rc = 3; }
How can I output details of what the error is? presumably t has some values I can interogate?
Bricklen <bricklen-rem_at_yahoo.comz> wrote in message news:<j_NVb.15099$964.13901_at_edtnps84>...
> John Leslie wrote:
> <snip>
> IIRC, you are correct in assuming that the redirect is the problem. Tom
> Kyte has that detailed somewhere on his web site, since that's where I
> discovered that I had the same problem when I was using writing some
> similar code.
Received on Wed Feb 11 2004 - 02:47:16 CST
![]() |
![]() |