Uploaded image for project: 'Aries'
  1. Aries
  2. ARIES-1158

XAConnectionFactory not recoverable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • transaction-jms-2.0.0
    • Transaction
    • None
    • Windows/UNIX

    Description

      GenericResourceManager needs XAConnectionFactory for recovery but gets only ConnectionFactory which wraps the XAConnectionFactory provided.

      XaPooledConnectionFactory:
      public void setXaConnectionFactory(XAConnectionFactory xaConnectionFactory) {
      this.xaConnectionFactory = xaConnectionFactory;
      setConnectionFactory(new ConnectionFactory() {
      public Connection createConnection() throws JMSException

      { return XaPooledConnectionFactory.this.xaConnectionFactory.createXAConnection(); }

      public Connection createConnection(String userName, String password) throws JMSException

      { return XaPooledConnectionFactory.this.xaConnectionFactory.createXAConnection(userName, password); }

      });
      }

      Attachments

        Issue Links

          Activity

            People

              gnodet Guillaume Nodet
              graben Benjamin Graf
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: