Hello All after i got: C:\csc193\examples\network>java -Djava..rmi.server.codebase=file:/..\..\ -D java.security.policy=RMISecurity.policy examples.network.StudentEnrollment student objects bound . what does that(the exception) mean?how can i fix that? do i need to set up anything? thanks for your time. here is the full exception: =========================== C:\csc193\examples\network>java -Djava.security.policy=RMISecurity.policy e xamples.network.StudentClient java.rmi.NotBoundException: Student1001 at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(U nknown Source) at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source) at sun.rmi.server.UnicastRef.invoke(Unknown Source) at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source) at java.rmi.Naming.lookup(Unknown Source) at examples.network.StudentClient.main(StudentClient.java:17) =========================== here are my app's files: ============================= grant { permission java.net.SocketPermission "*:1024-65535", "connect,accept";
Use Naming.list() in your client code. This will prompt the registry to show you all registered elements it currently has. Then just make sure the names you're looking for in your client code match up.
Make visible what, without you, might perhaps never have been seen. - Robert Bresson
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.