Grzegorz Grzybek created CXF-6923:
-------------------------------------

             Summary: org.omg.CORBA.TIMEOUT is not handled with Jacorb 
implementation
                 Key: CXF-6923
                 URL: https://issues.apache.org/jira/browse/CXF-6923
             Project: CXF
          Issue Type: Bug
          Components: CORBA Binding
    Affects Versions: 3.1.6
            Reporter: Grzegorz Grzybek


When using Jacorb as ORB implementation at client side:
{code:java}
System.setProperty("org.omg.CORBA.ORBClass", "org.jacorb.orb.ORB");
System.setProperty("org.omg.CORBA.ORBSingletonClass", 
"org.jacorb.orb.ORBSingleton");
{code}
we can set {{jacorb.connection.client.pending_reply_timeout}} system property 
that configures client-side to throw {{org.omg.CORBA.TIMEOUT}} when timeout 
occurs while waiting for reply.

The problem is different implementation of DII request code:
{code:java|title=com.sun.corba.se.impl.corba.RequestImpl#doInvocation()}
} catch( SystemException ex ) {
    _env.exception(ex);
    // NOTE: The exception should not be thrown.
    // However, JDK 1.4 and earlier threw the exception,
    // so we keep the behavior to be compatible.
    throw ex;
{code}
{code:java|title=org.jacorb.orb.dii.Request#_invoke()}
catch (Exception e)
{
   if (logger.isDebugEnabled ())
   {
      logger.debug("DII Request caught Exception", e);
   }
    env.exception (e);
    break;
}
{code}

PR + test soon



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to