admin@glassfish.java.net

why would RMIClient hang?

From: Lloyd L Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Tue, 30 Jan 2007 15:11:01 -0800

Kedar et al,

RMIClient.java is hanging for 150 seconds, presumably some kind of
network timeout.

1. PEMain calls getInstanceStatus():

     private static int getInstanceStatus() {
         String stubFile = getStubFilePath();
         String seedFile = getSeedFilePath();
         RMIClient rmiClient = new RMIClient(true, stubFile, seedFile);
         return rmiClient.getInstanceStatusCode();
     }

2. RMI Client hangs for anywhere for 2-150 seconds. Or sometimes it
takes just a few milliseconds. Anyone familiar with RMIClient.java?


What would cause this? Is there a process that I'm unaware of?


Lloyd