[Bug 1006] New: PrintStackTrace call in PortRangeSocketFactory (Jacorb 3.6)

[email protected] Tue, 17 Mar 2015 15:48:06 +0000
Newsgroups gmane.comp.corba.jacorb.bugs
Message-ID <[email protected]/bugzilla/>
http://www.jacorb.org/bugzilla/show_bug.cgi?id=1006

            Bug ID: 1006
           Summary: PrintStackTrace call in PortRangeSocketFactory (Jacorb
                    3.6)
           Product: JacORB
           Version: 3.5
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P5
         Component: ORB
          Assignee: [email protected]
          Reporter: [email protected]

In Jacorb 3.6, in class PortRangeSocketFactory, there remains a call to the
printStackTrace method which floods our console with exceptions in cases we hit
a firewall or a server did not start.
See line 177 in method doCreateSocket:

            catch (IOException ex)
            {
==>             ex.printStackTrace();
                tryToClose(socket);
                if (useTimeout && System.currentTimeMillis() > expireTime)
                {
                    throw new TIMEOUT("couldn't open socket within " + timeout
+ ". Last exception details: " + ex.toString());
                }
            }

This call should be removed.

-- 
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
jacorb-bugs mailing list
[email protected]
https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-bugs