Re: JavaSpace.notify() "not reliable"

Timur Mehrvarz <[email protected]> Mon, 21 May 2007 21:07:26 +0200
Newsgroups gmane.comp.java.sun.javaspaces
Message-ID <[email protected]>
On 21.05.2007, at 18:57, Bob Scheifler wrote:

>> I need to set java.rmi.server.logCalls (or sun.rmi.server.call),
>> right?
>
> Yes, you can configure the java.rmi.server.logCalls logging level, or
> set the boolean java.rmi.server.logCalls system property.

Done. Now, when I experience a notification being dropped, a
NoSuchObjectException is indeed being logged:

May 21, 2007 8:52:41 PM com.sun.jini.outrigger.Notifier$NotifyTask
logFailure
INFO: Encountered definite exceptionwhile preparing to send/sending
event, dropping registration
java.rmi.NoSuchObjectException: no such object in table
         at net.jini.jeri.BasicObjectEndpoint.executeCall
(BasicObjectEndpoint.java:420)
         at
net.jini.jeri.BasicInvocationHandler.invokeRemoteMethodOnce
(BasicInvocationHandler.java:806)
         at net.jini.jeri.BasicInvocationHandler.invokeRemoteMethod
(BasicInvocationHandler.java:659)
         at net.jini.jeri.BasicInvocationHandler.invoke
(BasicInvocationHandler.java:528)
         at $Proxy10.notify(Unknown Source)
         at com.sun.jini.outrigger.EventRegistrationWatcher
$BasicEventSender.sendEvent(EventRegistrationWatcher.java:337)
         at com.sun.jini.outrigger.Notifier$NotifyTask.tryOnce
(Notifier.java:187)
         at com.sun.jini.thread.RetryTask.run(RetryTask.java:131)
         at com.sun.jini.thread.TaskManager$TaskThread.run
(TaskManager.java:331)

Obviously, my JavaSpace client is becoming "permanently unavailable
(NoSuchObjectException)" and "further events will not be delivered to
it." Is anyone able to speculate, how my humble client may cause this
behavior?

Timur

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff JAVASPACES-USERS".  For general help, send email to
[email protected] and include in the body of the message "help".

To view past JAVASPACES-USERS postings, please see:
http://archives.java.sun.com/archives/javaspaces-users.html