• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RMI registry creation throws OBJId in use exception in createRegistry

 
Aruneesh Salhotra
Ranch Hand
Posts: 167
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Feb 15, 2006 4:40:57 PM URLyBird.application init
INFO: Running the application is mode network
java.rmi.server.ExportException: internal error: ObjID already in use
at sun.rmi.transport.ObjectTable.putTarget(Unknown Source)
at sun.rmi.transport.Transport.exportObject(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport.exportObject(Unknown Source)
at sun.rmi.transport.tcp.TCPEndpoint.exportObject(Unknown Source)
at sun.rmi.transport.LiveRef.exportObject(Unknown Source)
at sun.rmi.server.UnicastServerRef.exportObject(Unknown Source)
at sun.rmi.registry.RegistryImpl.setup(Unknown Source)
at sun.rmi.registry.RegistryImpl.<init>(Unknown Source)
at java.rmi.registry.LocateRegistry.createRegistry(Unknown Source)
at suncertify.gui.NetworkServerMenu.<init>(NetworkServerMenu.java:25)
at suncertify.gui.ServerInterface.init(ServerInterface.java:54)
at suncertify.gui.ServerInterface.run(ServerInterface.java:79)
at java.lang.Thread.run(Unknown Source)
 
Ronald Wouters
Ranch Hand
Posts: 190
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This stacktrace looks to me like the RMI registry is already running and you are trying to start it a second time somehow ...

Regards,
Ronald Wouters
 
Aruneesh Salhotra
Ranch Hand
Posts: 167
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found that I had two calls createRegistry through my code. Very starnge though.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic