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

Non spec compliant behavior of matchManagedConnections

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • JBossAS-3.2.6 Final
    • JCA service
    • None

    Description

      SourceForge Submitter: janssk1 .
      the current (3.2.1 and CVS) implementation of
      InternalManagedConnectionPool does not match the JCA
      specification 1.0. The Spec. specifies that : "If the
      application server finds no matching ManagedConnection
      instance that can best handle this connection request,
      or if the candidate set is empty, the application server
      calls the
      ManagedConnectionFactory.createManagedConnection
      method."

      In the implementation of JBoss the behaviour is
      different. If the matchManagedConnection returns null
      (no match found) the implementation will destroy the
      managed connection.

      This is probably related to the comment made in the
      code:
      "
      //Match did not succeed but no exception was thrown.
      //Either we have the matching strategy wrong or the
      //connection died while being checked. We need to
      //distinguish these cases, but for now we always
      //destroy the connection.
      "

      In our case the matchManagedConnection is rather
      important because one managed connection cannot be
      replaced by another one.

      Attachments

        Activity

          People

            adrian.brock Adrian Brock (Inactive)
            sourceforge-user SourceForge legacy user (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: