Hi,
Because the rmiregistry starts and the programs run correctly intially, I do not think there is any problem with the
Java setup or the program.
This seems more like a problem with your network or local sys. Does crashing occur at any particular time? Probably there is some job scheduled that interrupts rmiregistry.
I guess this has more to do with your local sys or network. Try troubleshooting. There seems to be no problem from the java side of it.