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

"trackByTxn" always gets displayed as "false" in the output of the "listStatistics" operation for Connection Factories and Datasources

    Details

      Description

      Steps to reproduce:

      Create a Tx Connection Factory with "track-connection-by-tx" set to "true". Then, invoke the "listStatistics" operation using the Embedded Console. The value of "trackByTxn" gets displayed as "false" instead of "true", as seen in the attached screenshot.

        Gliffy Diagrams

          Issue Links

            Activity

            Hide
            ips Ian Springer added a comment -

            Just to clarify, it's deprecated for all types of datasources and connection factories, or just for XA datasources and connection factories?

            Show
            ips Ian Springer added a comment - Just to clarify, it's deprecated for all types of datasources and connection factories, or just for XA datasources and connection factories?
            Hide
            ozizka Ondrej Zizka added a comment -

            And to clarify more, does the property "interleaving" have the same meaning as negated track-conn... ?

            Show
            ozizka Ondrej Zizka added a comment - And to clarify more, does the property "interleaving" have the same meaning as negated track-conn... ?
            Hide
            ccrouch Charles Crouch added a comment -

            Back to Jason for more info

            Show
            ccrouch Charles Crouch added a comment - Back to Jason for more info
            Hide
            jesper.pedersen Jesper Pedersen added a comment -

            From the docs:

            1. <track-connection-by-tx> - whether the connection should be "locked" to the transaction, returning it to the pool at the end of the transaction; in pre-JBoss-5.x releases the default value for Local connection factories is true and false for XA; since JBoss-5.x the default value is true for both Local and XA and the element is deprecated.
            2. <interleaving/> - enables interleaving for XA connection factories (added in JBoss-5.x)

            The element is deprecated.

            Let me know if I should remove it from the template.

            Show
            jesper.pedersen Jesper Pedersen added a comment - From the docs: <track-connection-by-tx> - whether the connection should be "locked" to the transaction, returning it to the pool at the end of the transaction; in pre-JBoss-5.x releases the default value for Local connection factories is true and false for XA; since JBoss-5.x the default value is true for both Local and XA and the element is deprecated. <interleaving/> - enables interleaving for XA connection factories (added in JBoss-5.x) The element is deprecated. Let me know if I should remove it from the template.
            Hide
            ips Ian Springer added a comment -

            Can you remove the trackByTxn element from the map that is returned by the listStatistics managed operation? It appears the value isn't accurate, since it is always false, even when the track-connection-by-tx managed property is set to true. I think it will only confuse users.

            Show
            ips Ian Springer added a comment - Can you remove the trackByTxn element from the map that is returned by the listStatistics managed operation? It appears the value isn't accurate, since it is always false, even when the track-connection-by-tx managed property is set to true. I think it will only confuse users.

              People

              • Assignee:
                jesper.pedersen Jesper Pedersen
                Reporter:
                fjuma Farah Juma
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Development