aspose file tools*
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


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "What am I doing wrong ????" Watch "What am I doing wrong ????" New topic
Author

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/ -Djava.security.policy=c:\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 127.0.0.1/127.0.0.1 != SESTOW9100/172.18.4.223
java.rmi.ServerException: Server RemoteException; nested exception is:
java.rmi.AccessException: Registry.rebind 127.0.0.1/127.0.0.1 != SESTOW9100/172.18.4.223
java.rmi.AccessException: Registry.rebind 127.0.0.1/127.0.0.1 != SESTOW9100/172.18.4.223 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(RemoteDataImpl.java:172)
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
Greenhorn

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.
cheers


-Mukund Kulkarni<br /> <br />Sun Certified Java Programmer<br />Sun Certified Java Developer
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What am I doing wrong ????