This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What am I doing wrong ????

 
Nigel Browne
Ranch Hand
Pie
Posts: 682
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 23
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you started the RMI registry or you are doing it programatically.?
pl post the code segment where you are getting htis error.
cheers
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic