cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman Fang (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CXF-6923) org.omg.CORBA.TIMEOUT is not handled with Jacorb implementation
Date Tue, 31 May 2016 06:42:12 GMT

     [ https://issues.apache.org/jira/browse/CXF-6923?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Freeman Fang resolved CXF-6923.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 3.2.0
                   3.1.7
                   3.0.10

> 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
>            Assignee: Freeman Fang
>             Fix For: 3.0.10, 3.1.7, 3.2.0
>
>
> 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)

Mime
View raw message