Permission error while trying to access an (server) program started by a Java program.

Posted by Zardoz on Stack Overflow See other posts from Stack Overflow or by Zardoz
Published on 2010-04-26T18:25:06Z Indexed on 2010/04/27 4:53 UTC
Read the original article Hit count: 130

Filed under:
|
|

I am starting a server application (normally to be started from the Unix command line) by using Runtime.getRuntime().exec("path/mmserver"). My problem is now that as long as my Java program, which started that server runs, the server is correctly accessible (from command line and other programs). But when my Java program exits the sever is not accessible anymore (the process of the server is still running). I just get such a error message when trying to access the server: "Error: permission_error(flush_output(user_output),write,stream,user_output,errno(32))". The server is a blackbox for me.

I am just looking for other ways to start a new process. And maybe someone has a hint why I get that permission error (even if one doesn't know what that server exactly is ... you rather won't know it).

© Stack Overflow or respective owner

Related posts about java

Related posts about process