> > System Error:at 
>sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:249)
> > System Error:at 
>sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:224)
> > System Error:at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
> > System Error:at 
>com.teamenergy.secure.permissionsserver.GamekeeperRemoteServer_Stub.getActivityPermissions(UnknownSource)
> > 
> > I have a small RMI Server which happily runs on a Jdk1.2.2rc2 under Linux.
> > It works fine, but after a while the client gives the above error when it
> > tries to connect. If I just restart the server, it works again.
> 
> Is there any period of time during which there is no hard reference to
> the GamekeeperRemoteServer object or a stub either in the server, a
> registry, or any clients? If so, the object may have been
> garbage-collected.

No, the GamekeeperRemoteServer is a runnable class (ie it contains the main
method). It just sits there doing nothing in particular. Ie it creates an
instance of itself, and waits until the client connects. It only dies like
this after about 10 minutes of no use. After a client has used the server,
does it have to do somethign special to disconnect? 


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to