I use Emma to do coverage testing and I use RMI. My server uses LocateRegistry.createRegistry to create a new registry or getRegistry to use an existing one and then uses registry.rebind() to connect to it. I have no trouble from Emma working this way.
I've actually found Emma to be very useful, the only problems I've had are that it doesn't work properly for methods that call System.exit() and it doesn't allow me to set -D options for the JVM, but these are just minor annoyances.
Coverage testing is definitely worth the trouble,
you should try to get 100% coverage on important stuff like the LockManager.
Are you instrumenting your code beforehand or on the fly using emmarun? I use commands like
Do you use the -ix to tell it not instrument the stub?
[ January 30, 2005: Message edited by: peter wooster ]