Re: JacORB hangs in endless connection retry loop
Phil Mesnier <[email protected]> Thu, 25 Jun 2015 10:13:17 -0500
| Newsgroups | gmane.comp.corba.jacorb.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Franz, Are you using a corbaname style URL? How is the server not responding? It looks like it has a listen socket open but it is not accepting the new connection. What does the Java ORB do? -Phil > On Jun 25, 2015, at 6:01 AM, Franz van Betteraey <[email protected]> wrote: > > Hi, > > 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 > > The log is attached below. I can't imagine that JacORB is the problem - but the SUN ORRB works as expected. Probably we are doing something wrong. Does anyone knows the cause for this behaviour? > > Any help is appreciated. > > Kind regards > Franz > > > --- log > -- first attempt > Jun 24, 2015 12:25:23 PM org.jacorb.orb.giop.ClientConnectionManager getConnection > INFORMATION: ClientConnectionManager: created new ClientGIOPConnection to <NameServiceIp>:9999 (705052f9) > Jun 24, 2015 12:25:23 PM org.jacorb.orb.iiop.ClientIIOPConnection connect > INFORMATION: Connected to <NameServiceIp>:9999 from local port 54679 Timeout: 4000 > Jun 24, 2015 12:25:23 PM org.jacorb.orb.giop.ClientConnectionManager getConnection > INFORMATION: ClientConnectionManager: created new ClientGIOPConnection to <CorbaServiceIp>:10000 (65da9f66) > Jun 24, 2015 12:25:24 PM org.jacorb.orb.iiop.ClientIIOPConnection connect > INFORMATION: Retrying to connect to <CorbaServiceIp>:10000 > Jun 24, 2015 12:25:25 PM org.jacorb.orb.iiop.ClientIIOPConnection connect > INFORMATION: Retrying to connect to <CorbaServiceIp>:10000 > Jun 24, 2015 12:25:27 PM org.jacorb.orb.iiop.ClientIIOPConnection close > INFORMATION: Client-side TCP transport to <NameServiceIp>:9999 closed. > Jun 24, 2015 12:25:27 PM org.jacorb.orb.iiop.ClientIIOPConnection connect > INFORMATION: Retrying to connect to <CorbaServiceIp>:10000 > Jun 24, 2015 12:25:28 PM org.jacorb.orb.iiop.ClientIIOPConnection connect > INFORMATION: Retrying to connect to <CorbaServiceIp>:10000 > Jun 24, 2015 12:25:30 PM org.jacorb.orb.iiop.ClientIIOPConnection connect > INFORMATION: Retrying to connect to <CorbaServiceIp>:10000 > -- second attempt > Jun 24, 2015 12:25:31 PM org.jacorb.orb.giop.ClientConnectionManager getConnection > INFORMATION: ClientConnectionManager: found ClientGIOPConnection to <NameServiceIp>:9999 (705052f9) > Jun 24, 2015 12:25:31 PM org.jacorb.orb.iiop.ClientIIOPConnection connect > INFORMATION: Connected to <NameServiceIp>:9999 from local port 54689 Timeout: 4000 > Jun 24, 2015 12:25:31 PM org.jacorb.orb.giop.ClientConnectionManager getConnection > INFORMATION: ClientConnectionManager: found ClientGIOPConnection to <NameServiceIp>:9999 (705052f9) > Jun 24, 2015 12:25:31 PM org.jacorb.orb.giop.ClientConnectionManager getConnection > INFORMATION: ClientConnectionManager: created new ClientGIOPConnection to <CorbaServiceIp>:10000 (6e638cdc) > Jun 24, 2015 12:25:31 PM org.jacorb.orb.giop.ClientConnectionManager getConnection > INFORMATION: ClientConnectionManager: created new ClientGIOPConnection to <CorbaServiceIp>:10000 (5ced3d95) > Jun 24, 2015 12:25:32 PM org.jacorb.orb.iiop.ClientIIOPConnection connect > INFORMATION: Retrying to connect to <CorbaServiceIp>:10000 > Jun 24, 2015 12:25:34 PM org.jacorb.orb.iiop.ClientIIOPConnection connect > INFORMATION: Retrying to connect to <CorbaServiceIp>:10000 > Jun 24, 2015 12:25:35 PM org.jacorb.orb.iiop.ClientIIOPConnection close > INFORMATION: Client-side TCP transport to <NameServiceIp>:9999 closed. > Jun 24, 2015 12:25:35 PM org.jacorb.orb.iiop.ClientIIOPConnection connect > INFORMATION: Retrying to connect to <CorbaServiceIp>:10000 > Jun 24, 2015 12:25:37 PM org.jacorb.orb.iiop.ClientIIOPConnection connect > INFORMATION: Retrying to connect to <CorbaServiceIp>:10000 > Jun 24, 2015 12:25:38 PM org.jacorb.orb.iiop.ClientIIOPConnection connect > INFORMATION: Retrying to connect to <CorbaServiceIp>:10000 > -- and so on ... > _______________________________________________ > jacorb-developer maillist - [email protected] > https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer -- Phil Mesnier Principal Software Engineer and Partner, http://www.ociweb.com Object Computing, Inc. +01.314.579.0066 x225 _______________________________________________ jacorb-developer maillist - [email protected] https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer