NoSuchObjectException when starting from a jar
Hi,
I'have got a client/server application that runs very fine when it stats whith eclipse IDE. But when I start my server with command line java -jar .. , server start fine but client can not connect to it : i'hve got the following exception :
java.rmi.NoSuchObjectException: no such object in table
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133)
at com.axway.xpp.server.engine.XPPCertStoreEngine_Stub.isAdmin(XPPCertStoreEngine_Stub.java:180)
at com.axway.xpp.admin.XPPCertStoreAdmin.getInstance(XPPCertStoreAdmin.java:75)
... 25 more
NB: rmiregistry is starting in the server with the following code :
try {
System.out.print("RMIRegistry :\t\t\t");
LocateRegistry.createRegistry(1099);
System.out.println(" OK");
} catch (Exception e) {
this.error = 3;
return false;
}
Yours anwsers are welcome

