File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Distributed Java and the fly likes Applet AccessControlException as RMI client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Applet AccessControlException as RMI client" Watch "Applet AccessControlException as RMI client" New topic

Applet AccessControlException as RMI client

Ranadhir Nag
Ranch Hand

Joined: Mar 09, 2006
Posts: 138
I have an applet which is a client to a locally runnig RMI server.
public void init()
Registry registry =

remoteReference =
(RMIInterface) registry.lookup(RMIInterface.REGISTRY_NAME);

String ret=remoteReference.getMessage();
catch (Exception e)
throw new RuntimeException(e);

When the machine is on the network,I get a

However,when the machine is disconnected from the network it works fine.
What is wrong,and how does it get resolved?
Edward Harned
Ranch Hand

Joined: Sep 19, 2005
Posts: 291

Cross post

Ed's latest article: A Java Reactive Generator
I agree. Here's the link:
subject: Applet AccessControlException as RMI client
It's not a secret anymore!