Hi,

The test case for host-rmi hangs on my desktop (Red Hat Enterprise Linux Server release 5.2). I noticed that connecting to a non-existent RMI registry hangs on instead of throwing out a ConnectException. The problem can be reproduced by the following simplified test case without Tuscany code.

public class RegistryTestCase {
   @Test
   public void testCreate() throws Exception {
       Registry reg = LocateRegistry.getRegistry(9999);
       reg.list();
       System.out.println("Done");
   }
}

Do any of you see the problem too?

Thanks,
Raymond

Reply via email to