When you want to get rmi working in a
test environment, it's a good idea to follow Sun's advice in the RMI tutorials i.e. set up a policy file which consists of the following
grant
{
permission java.net.AllPermission;
};
not sure if I've got the syntax absolutely spot-on from off of the top of my head, but use the policytool.exe and that will give you the right syntax etc.
The effect of this is to turn OFF ALL security issues and allows you to concentrate on getting the RMI bits working without having security issues getting not only in your hair, but also in your eyes, teeth, ears and nose etc. Remember the security system is in place to stop hackers and it does a pretty good job. But it also treats innocent grafters like yourself as the most heinous criminals of all and will thwart every character of your code it can.
When you have RMI working the way you want it, you can start applying permission restrictions until it stops working anymore and then you know you've gone far enough!!
If you want to shortcut this process, you can, but you need to gen up on the Security system a great deal before you will get it working for you, rather than the other way round.