Rmi Client Crash

gb c <[email protected]>
Newsgroups gmane.comp.java.sun.rmi
Message-ID <[email protected]>
  Hi,

  I'm working on my course project using RMI for
networking. My problem is that when a client crashes,
system crashes. When server calls a method of crashed
client, server waits for minutes then other clients
give timeout errors.

  RMI FAQ says that I cannot immediately learn that a
client crash (I understand why I can't), however, the
only thing that I want to do is that after (for
example) 30 seconds wait for calling a method of
crashed client, system should assume that client is
not available.

  Is there any thing in RMI that can be useful?

  In addition, is it possible to write something like
that (apart from rmi, general java):
(Pseudo code)

  try it for 30 seconds {
      call object1.method1 (..)
  }
  timeout {
  }

OR:

  thread.run (for 30 seconds)

  Thanks in advance,

  Gokberk Cinbis



__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/

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

For a list of frequently asked RMI questions please refer to:
http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html

To view past RMI-USERS postings, please see:
http://archives.java.sun.com/archives/rmi-users.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.