I don't know if this is the proper forum for my question, but I'll give it a try. We have a few standalone Java applications sitting on a remote AIX box. These applications are listeners, so they start up and wait for events, i.e. they remain running, kind of like web servers do. Here's the question: if we remote in to the AIX box from a Windows box using RUMBA, and start the Java listeners from there (via a shell script), will the programs exit when we close the RUMBA window on the Windows box?

Thanks,
Shibani

Probably :)

You can get around that by running the commands backgrounded in a subshell, like:

(./yourscript &)

and the shell scripts should continue to run after you log off.

You can verify this through ps. Do a

ps -ef|grep yourscript

and check the PPID for the process. If you've run it as above, the PPID shoud be 1 (init), in which case, you're all set :)

Hope that helps :)

, Mike

Thanks, Mike, that really helps.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.