[jacorb-bugs] [Bug 1018] New: JacORB hangs in endless connection retry loop

bugzilla-daemon at jacorb.org bugzilla-daemon at jacorb.org
Fri Aug 28 16:24:47 CEST 2015


http://www.jacorb.org/bugzilla/show_bug.cgi?id=1018

            Bug ID: 1018
           Summary: JacORB hangs in endless connection retry loop
           Product: JacORB
           Version: 3.6.1
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: critical
          Priority: P5
         Component: ORB
          Assignee: jacorb-bugs at lists.spline.inf.fu-berlin.de
          Reporter: fvbetteraey at web.de

Created attachment 469
  --> http://www.jacorb.org/bugzilla/attachment.cgi?id=469&action=edit
jacorb debug logfile

We try to connect to a not responding corba service using JacORB 3.6.1. We set
the properties jacorb.retries and
jacorb.connection.client.pending_reply_timeout and hoped to get a failure after
the number of specified retries.
Instead it seems that JacORB is ending in an endless loop, trying to connect to
the service

(1) connect to nameservice (success)
(2) connect to corba service (timeout failure); retry
(3) goto (1) - we did not expect this

We use JacORB together with Apache CXF to establish the connection. The address
we use there (in the JaxWsProxyFactoryBean) is something like
"corbaname::<NameService>:<NameServicePort>#<ServiceName>". Meanwhile we used
the "Ultra Corba Simulator" to connect to the service and the behaviour is as
expected (exception after unsuccessful retries). 

When we use the SUN ORB we get an Exception as expected (even when using Apache
CXF)

Jun 25, 2015 9:07:12 PM
com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl <init>
WARNUNG: "IOP00410201: (COMM_FAILURE) Connection failure: socketType:
IIOP_CLEAR_TEXT; hostname: <server>; port: <port>"
org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: No
       at
com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2200)
       at
com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2221)
       at
com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:223)

Hint: In a private email conversation (after I reported the bug to the mailing
list -
http://lists.spline.inf.fu-berlin.de/pipermail/jacorb-developer/2015-June/000711.html)
Nick Cross narrowed the problem to:

> Thanks for the log. As Phil and I suspected it is entering the
> getParsedIOR().useCorbaName() and looping continuously in there.
> 
> Phil is also taking a look at a related case so we will try to come up
> with a solution.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spline.inf.fu-berlin.de/pipermail/jacorb-bugs/attachments/20150828/ed930c68/attachment.html>


More information about the jacorb-bugs mailing list