<?xml version="1.0" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.jacorb.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://www.jacorb.org/bugzilla/"
          
          maintainer="jacorb@goots.org"
>

    <bug>
          <bug_id>1006</bug_id>
          
          <creation_ts>2015-03-17 11:48:06 +0000</creation_ts>
          <short_desc>PrintStackTrace call in PortRangeSocketFactory (Jacorb 3.6)</short_desc>
          <delta_ts>2015-03-17 12:01:21 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>JacORB</product>
          <component>ORB</component>
          <version>3.5</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>david.shay</reporter>
          <assigned_to name="Mailinglist to track bugs">jacorb-bugs</assigned_to>
          <cc>jacorb</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>3283</commentid>
    <comment_count>0</comment_count>
    <who name="">david.shay</who>
    <bug_when>2015-03-17 11:48:06 +0000</bug_when>
    <thetext>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)
            {
==&gt;             ex.printStackTrace();
                tryToClose(socket);
            	if (useTimeout &amp;&amp; System.currentTimeMillis() &gt; expireTime)
            	{
            		throw new TIMEOUT(&quot;couldn&apos;t open socket within &quot; + timeout + &quot;. Last exception details: &quot; + ex.toString());
            	}
            }

This call should be removed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3284</commentid>
    <comment_count>1</comment_count>
    <who name="Nick Cross">jacorb</who>
    <bug_when>2015-03-17 12:01:21 +0000</bug_when>
    <thetext>Fixed by 7c5b142e7a366c6ed46bfe018b71f93140712845</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>