users@glassfish.java.net

Corba exception thrown on one server instance when shutting down another

From: <glassfish_at_javadesktop.org>
Date: Fri, 19 Feb 2010 03:32:29 PST

Hi,

We have a cluster running SGCS 1.5 with two server instance, we call them server A and server B.

We have a client test program which:

1) lookup the remote EJB reference through JNDI lookup (specifying the initialHost of server A).
2) in a while loop, try to invoke a method of the obtained remote EJB reference with a intensity of 10request/s. (the method itself almost returns immediately)

While 2) is running, we shutdown server B, now all the remove invocation fails at server A.

Please see the exception:
[#|2010-01-26T15:27:11.094+0100|WARNING|sun-glassfish-comms-server1.5|javax.enterprise.resource.corba.ee._INITIALIZING_.rpc.protocol|_ThreadID=117;_ThreadName=httpSSLWorkerThread-8080-22;[methodName]__CORBA_WStringValue;_RequestID=4aecfdb0-83a5-4e23-ab7f-9790711f0b6f;|"IOP01210246: (BAD_OPERATION) Bad operation from _invoke: [methodName]__CORBA_WStringValue"
org.omg.CORBA.BAD_OPERATION: vmcid: SUN minor code: 246 completed: No
        at com.sun.corba.ee.impl.logging.ORBUtilSystemException.badOperationFromInvoke(ORBUtilSystemException.java:1096)
        at com.sun.corba.ee.impl.logging.ORBUtilSystemException.badOperationFromInvoke(ORBUtilSystemException.java:1115)
        at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:693)
        at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:227)
        at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1846)
        at com.sun.corba.ee.impl.protocol.SharedCDRClientRequestDispatcherImpl.marshalingComplete(SharedCDRClientRequestDispatcherImpl.java:183)
        at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaClientDelegateImpl.java:219)
        at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:192)
        at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:152)
        at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(BCELStubBase.java:225)
... ...

When running the test with lower intensity in 2) (1request/s), the exception will not be thrown and everything is normal.
[Message sent by forum member 'yhzs8' (x_ma_at_hotmail.com)]

http://forums.java.net/jive/thread.jspa?messageID=387569