File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.rmi.server.ExportException: object already exported

 
rin perez
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello, i'm having trouble with UnicastRemoteObject.exportObject(); and in using callbacks i always have this exception:
java.rmi.server.ExportException: object already exported

here's my code:

CallbackImplementation m;
try {
m = new CallbackImplementation(u);
UnicastRemoteObject.exportObject(m);
mess.logIn(m);
} catch (Exception e) {
e.printStackTrace();
}

 
Nitesh Kant
Bartender
Posts: 1638
IntelliJ IDE Java MySQL Database
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you doing an UnicastRemoteObject.unexport() before exporting again?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic