Folks, anyone know how to kill an rmiregistry process on linux? since I can't even find the process when I do a 'ps -aux'. But the process is still running, or has not released some lock as, if i try to restart rmiregistry it says port already in use. But if I reboot my Linux machine it works fine. On windows its simple, i just Ctrl-C and rmiregistry stops. and then i can restart it. But I can't kill it on Linux as the process does not even show up! anyone?
Following is true for Red Hat Linux 7.0. After starting the rmiregistry, execute the following command from command line ps -ef | grep java You should list of processes that are similar to /usr/java/jdk1.3/bin/i386/native. Kill the first of these processes and that should kill your rmiregistry. CAUTION:If you have any other java process like client and/or server running, then you need to stop these processes before you run the 'ps' command.
This works in Linux Mandraka.I hope it works in all linux which is compatible with the Red Hat. Type ps -ax|grep rmiregistry and enter.Then in the command mode process id of the rmiregistry get displayed.then kill -9 id. This kill that process [This message has been edited by ram mohan (edited April 06, 2001).]