You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2016/05/31 02:40:12 UTC
[jira] [Assigned] (CXF-6923) org.omg.CORBA.TIMEOUT is not handled
with Jacorb implementation
[ https://issues.apache.org/jira/browse/CXF-6923?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Freeman Fang reassigned CXF-6923:
---------------------------------
Assignee: Freeman Fang
> 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
>
> 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)