3 Replies Latest reply on Oct 26, 2005 9:54 AM by Øyvind Gjerstad

    Timeout for RMI Communication??

    Brandon Ridenour Newbie

      Hi All:

      I've checked hi and lo and can't find a suitable answer for this question. We have a distributed system with two jboss clusters communicating with each other via RMI. We are using HA-JNDI as well.

      Sometimes, cluster 1 makes an RMI call into cluster 2, and cluster 2 takes a long time/forever to respond. In this situation, we would like the RMI call in cluster 1 to timeout, independently of cluster 2.

      Is there anyway to configure a jboss client to timeout its RMI call if the execution in the remote server has not completed? The RMI configs on the JVM do not seem to be appropriate for this situation.