[Pogamut-list] RMI stub

jacob.schrum pogamut-forum at diana.ms.mff.cuni.cz
Sat Jan 8 20:42:23 CET 2011


RMI stub

Author: jacob.schrum

Every once in a while, my code stops running and finishes with the following warnings:

Jan 8, 2011 1:30:32 PM ClientCommunicatorAdmin restart
WARNING: Failed to restart: java.io.IOException: Failed to get a RMI stub: javax.naming.NameNotFoundException: server
Jan 8, 2011 1:30:32 PM ClientCommunicatorAdmin Checker-run
WARNING: Failed to check connection: java.rmi.NoSuchObjectException: no such object in table
Jan 8, 2011 1:30:32 PM ClientCommunicatorAdmin Checker-run
WARNING: stopping

This error is very unpredictable. I'm evolving bots, and restarting the server each time. This error can happen 20+ generations into evolution, or it could happen during the first generation. What I find really strange is that my code is set up to restart the server and redo the evaluation if any kind of bad termination happens, but whenever this error comes up it stops all servers and makes the code hang. Because the errors are so irregular, I wonder if they might be caused by things happening on my system, such as other programs running or network traffic, but I don't know.

I'm still using the downloaded Pogamut 3.1 (though I'll probably switch to SVN soon).

What is an RMI stub anyway?

-- 
Reply Link: <http://diana.ms.mff.cuni.cz/main/tiki-view_forum_thread.php?forumId=4&comments_parentId=522#form>





More information about the Pogamut-list mailing list