For those of you that are using Java RMI for your project 2 in CS4513 (the rest of you can ignore this message!). It was my expectation that if another user currently has an rmiregistry process running that your client/server can simply use that registry with your own name. With the help of a student, we just confirmed that this expectation is not always correct. Thus: 1. It is a good idea to kill any rmiregistry processes you are running when you are finished with them. 2. If someone else has started an rmiregistry process on the machine you are using then I suggest you use an alternate port greater than 1024 and less than 65536, which you just specify on the command line. You will then need to go and modify by your client and server code to use that specific port number when running your code. As an example I have modified the code in /cs/cs4513/public/test/RMI/ so both the client and server expect the registry to be running at port 4242 on the local machine. Here's a script showing that code work correctly on ccc4. < ccc4 /cs/cs4513/public/test/RMI 5 >rmiregistry 4242 & rmiregistry 4242 & [1] 13865 < ccc4 /cs/cs4513/public/test/RMI 6 >java RMIExampleImpl& java RMIExampleImpl& [2] 13880 < ccc4 /cs/cs4513/public/test/RMI 7 >Server: Registering RMIExampleImpl as "cewTheRMIExample" Server: Ready... < ccc4 /cs/cs4513/public/test/RMI 7 >java -Djava.security.policy=java.policy RMIClient ccc4 -f 5 java -Djava.security.policy=java.policy RMIClient ccc4 -f 5 Client: Looking up rmi://ccc4:4242/cewTheRMIExample... Server: Factorial() invoked... Server: Factorial(5) = 120 Client: Factorial(5) = 120 < ccc4 /cs/cs4513/public/test/RMI 8 >jobs jobs [1] + Running rmiregistry 4242 [2] - Running java RMIExampleImpl < ccc4 /cs/cs4513/public/test/RMI 9 >kill %1 %2 kill %1 %2 < ccc4 /cs/cs4513/public/test/RMI 10 > [1] Exit 143 rmiregistry 4242 [2] Exit 143 java RMIExampleImpl Probably the simplest approach is to pick your favorite random port number and use this port number for the project. If you take this approach then be sure to be clear on what port number to use for rmiregistry when you submit your project for grading. - Craig Wills