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

Remote Connection does not get closed in case of sloppy client

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Minor Minor
    • No Release
    • JBossAS-4.0.1 Final
    • JCA service
    • None

      If the Client that gets a remote Connection (WrapperDataSourceService) does not close it properly (sloppy or crash), it will never be released again.
      This can be solved rather easily, the finalize method of the Server part of the proxy should call close.

      Thus if the client object gets garbage collected (or the JVM dies), the server object (proxy) will be garbage collected and the finalize method called.

      This thing is that a sloppy or crashing client can occupy all available connections, leaving all other applications with no connection to work with.

              Unassigned Unassigned
              greydeath_jira Michael Kopp (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: