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 What am I doing wrong ???? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "What am I doing wrong ????" Watch "What am I doing wrong ????" New topic

What am I doing wrong ????

Nigel Browne
Ranch Hand

Joined: May 15, 2001
Posts: 673
I start my server code with the following command:
java Djava.rmi.server.codebase=file:/c:\classes/\classes\test.policy suncertify.server.RemoteDataImpl db.db
And then I receive this exception stack trace.

RemoteDataImpl exception: Server RemoteException; nested exception is:
java.rmi.AccessException: Registry.rebind != SESTOW9100/
java.rmi.ServerException: Server RemoteException; nested exception is:
java.rmi.AccessException: Registry.rebind != SESTOW9100/
java.rmi.AccessException: Registry.rebind != SESTOW9100/ at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
at java.rmi.Naming.rebind(Unknown Source)
at suncertify.server.RemoteDataImpl.main(
Please help me, is it a case of not being able to bind to localhost while connected to my office LAN ?
[ April 05, 2002: Message edited by: Nigel Browne ]
mukund kulkarni

Joined: Nov 11, 2001
Posts: 23
Have you started the RMI registry or you are doing it programatically.?
pl post the code segment where you are getting htis error.

-Mukund Kulkarni<br /> <br />Sun Certified Java Programmer<br />Sun Certified Java Developer
I agree. Here's the link:
subject: What am I doing wrong ????
It's not a secret anymore!