<html>
    <head>
      <base href="http://www.jacorb.org/bugzilla/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - PrintStackTrace call in PortRangeSocketFactory (Jacorb 3.6)"
   href="http://www.jacorb.org/bugzilla/show_bug.cgi?id=1006">1006</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>PrintStackTrace call in PortRangeSocketFactory (Jacorb 3.6)
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>JacORB
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.5
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows NT
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P5
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>ORB
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>jacorb-bugs@lists.spline.inf.fu-berlin.de
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>david.shay@externe.bnpparibas.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>