| Author |
java.rmi.server.ExportException: object already exported
|
rin perez
Greenhorn
Joined: Feb 04, 2011
Posts: 2
|
|
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
Joined: Feb 25, 2007
Posts: 1638
|
|
|
Are you doing an UnicastRemoteObject.unexport() before exporting again?
|
apigee, a better way to API!
|
 |
 |
|
|
subject: java.rmi.server.ExportException: object already exported
|
|
|