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 RMI :internal error :Obj ID already in use Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "RMI :internal error :Obj ID already in use" Watch "RMI :internal error :Obj ID already in use" New topic

RMI :internal error :Obj ID already in use

iyappan sankaran
Ranch Hand

Joined: Aug 11, 2003
Posts: 58
i got this error
"internal error objid already in use" when i do
Registry reg=Registry.LocateRegistry("",8000);

afterfew lines of code, again

Registry reg1=Registry.LocateRegistry("",9000);

how to solve this
pls urgent
Nathan Pruett

Joined: Oct 18, 2000
Posts: 4121

Found the answer by googling for the error message -

Found it here.

In short, this is happening because you are trying to create multiple rmi registries in one JVM. You'll need a separate JVM for each.

Write once, run anywhere, because there's nowhere to hide! - /. A.C.
I agree. Here's the link:
subject: RMI :internal error :Obj ID already in use
It's not a secret anymore!