In case of an orderly shutdown of GlassFish v2 it should block new incoming
requests and throw a CORBA exception with COMPLETE_NO while the shutdown is in
progress. This is documented in section "Impact of orderly shutdown" in this
But the client receives an java.rmi.ServerException with a notice "server is in
STOPPING". But this exception is not a CORBA exception and so it's impossible
for the client to initiate a failover. Only if it's a CORBA exception with
COMPLETE_NO the client tries to failover, as described in this document.
The result is that all rmi-iiop calls to a server instance which is in a
shutdown in progress state will fail and will not failover to other instances.
More details are in the forum Threads