When I try to start the rmid, after some times it gives the following exception -
rmid: unable to restart service rmid: exception occurred: exception in object constructor; nested exception is: com.sun.jini.reliableLog.LogException: couldn't delete file: C:\JavaSpaces\examples\lookuplog\Logfile.1 java.rmi.activation.ActivationExcept ion: exception in object constructor; nested exception is: com.sun.jini.reliableLog.LogException: couldn't delete file: C:\JavaSpaces\examples\lookuplog\Logfile.1 com.sun.jini.reliableLog.LogExceptio n: couldn't delete file: C:\JavaSpaces\examples\lookuplog\Logfile.1 at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall .java:245) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122) at java.rmi.activation.ActivationGroup_Stub.newInstance(Unknown Source) at sun.rmi.server.Activation$ObjectEntry.activate(Activation.java:1441) at sun.rmi.server.Activation$GroupEntry.activate(Activation.java:1094) at sun.rmi.server.Activation$GroupEntry.restartServices(Activation.java: 836) at sun.rmi.server.Activation.restartServices(Activation.java:184) at sun.rmi.server.Activation.startActivation(Activation.java:146) at sun.rmi.server.Activation.main(Activation.java:1977)
I am using the JavaSpaces service of jini.First time I started the HTTP server,rmid, it worked,but after that it is continuously giving the above error.
Please reply if anybody has answer to this problem
When I delete the file manually & restart the http server & rmid it creates new file & then gives the same error message that it cannot delete that file.