<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 - Connection released by forward request while still in use"
   href="http://www.jacorb.org/bugzilla/show_bug.cgi?id=1014">1014</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Connection released by forward request while still in use
          </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>Linux
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>enhancement
          </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>vgpinheiro@tecgraf.puc-rio.br
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=467" name="attach_467" title="Demo code to reproduce the reported behavior">attachment 467</a> <a href="attachment.cgi?id=467&action=edit" title="Demo code to reproduce the reported behavior">[details]</a></span>
Demo code to reproduce the reported behavior

I found this problem when using two threads that make calls to the same CORBA
object reference and resolve exceptions from these calls using forward request.

The forward request triggered by one thread makes the ORB to rebind the
connection and so it will ask for the release of the connection. The problem is
the connection is released while it is still in use by the other thread.

The provided demo is very straightforward. To reproduce the behavior one must
only to execute the server application (demo.Server) and the client application
(demo.client).

The client and server log are attached to the demo (see files client.out and
server.out).

I'm using JacORB 3.5 but I've also tested with JacORB 3.6 and the problem
persists.</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>