jQuery in Action, 3rd edition
The moose likes Distributed Java and the fly likes rmi registry is starting properly or not Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "rmi registry is starting properly or not" Watch "rmi registry is starting properly or not" New topic

rmi registry is starting properly or not

Bharat Bhusan

Joined: Jan 07, 2007
Posts: 7
Hiii Actually when i am starting rmi registry. on the console of rmi registry i am getting the message that :security properties not found. using defaults.
what does it mean...its starting properly or not...
And when i am trying to run my client i got some exceptions which are:

Exception in thread "main" java.rmi.NotBoundException: addservice
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknow
n 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 AddClient.main(AddClient.java:6)

where is the problem....
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17275

Is this on a particular App Server? Or is this you starting up RMI on your own?

I think this is about you starting up RMI on your own, so I am going to move this to the next forum Distributed Java which covers RMI questions.



Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
Edward Harned
Ranch Hand

Joined: Sep 19, 2005
Posts: 291

The registry is a java program itself, so it needs the same parameters as any other java application.

Without seeing the exact message, I can't guess what the problem may be.

Also, without some code, I don't know how you did the bind. Look up the API on java.rmi.NotBoundException

Ed's latest article: A Java Parallel Calamity http://coopsoft.com/ar/Calamity2Article.html
I agree. Here's the link: http://aspose.com/file-tools
subject: rmi registry is starting properly or not
It's not a secret anymore!