Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-593

housekeeping in invocation packages

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • JBossAS-3.2.6 Final
    • None
    • None

    Description

      SourceForge Submitter: rodburgett .
      Aside from the socket.close(), there is no explicit api to
      clean up the connection accept Thread used by RMI
      remote sockets. The only possible clean up actions for
      source code are to close the socket and null connection
      references. Three classes in the
      org.jboss.invocation.jrmp.server and
      org.jboss.invocation.pooled.server packages are lacking
      in this area.

      The JRMPInvoker32.diff file updates 2 methods in the
      JRMPInvoker class to facilitate garbage collection. A line
      is added to the unexportCI() method to null out the
      invokerStub reference, and 2 lines are added to
      stopService() method to null client and server socket
      factories.

      The stopService() method of
      org.jboss.invocation.jrmp.server.JRMPProxyFactory is
      incomplete, the JRMPProxyFactory32.diff file adds lines
      to null out the proxy reference and clear the
      interceptors container.

      The stopService() method of
      org.jboss.invocation.pooled.server.PooledInvoker should
      close its ServeSocket and null out the reference. The
      PooledInvoker32.diff file adds a try block to attempt a
      close. It also sets the socket reference to null.

      Attachments

        Activity

          People

            starksm64 Scott Stark (Inactive)
            sourceforge-user SourceForge legacy user (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: