SUGGESTED FIX
this suggested fix is from BEA, the diff is against j2se1.4.1.
> ------------------------------------------------------------------------
> --- com/sun/corba/se/internal/corba/ClientDelegate.java.dist 2002-10-07 13:17:31.000000000 -0700
> +++ com/sun/corba/se/internal/corba/ClientDelegate.java 2002-10-10 12:43:38.000000000 -0700
> @@ -498,7 +498,6 @@
>
> // NOTE : We only want to send the runtime context the first time
> if ((c != null) && !c.isPostInitialContexts()) {
> - c.setPostInitialContexts();
> SendingContextServiceContext scsc =
> new SendingContextServiceContext( orb.getServantIOR() ) ; //d11638
> try {
> --- com/sun/corba/se/internal/iiop/ClientRequestImpl.java.dist 2002-10-10 12:42:49.000000000 -0700
> +++ com/sun/corba/se/internal/iiop/ClientRequestImpl.java 2002-10-10 12:47:00.000000000 -0700
> @@ -73,6 +73,10 @@
>
> public ClientResponse invoke()
> {
> + // Only record that we have sent the SendingContextRuntime
> + // when we know for sure.
> + if (!conn.isPostInitialContexts())
> + conn.setPostInitialContexts();
> return (ClientResponse)super.invoke(isOneway);
> }
>
|