Uploaded image for project: 'IronJacamar'
  1. IronJacamar
  2. JBJCA-1376

if a security domain is used for an XA datasource in WildFly 11 and later, recovery will not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 1.4.10
    • 1.4.6, 1.4.7, 1.4.8, 1.4.9
    • Deployer
    • None
    • Hide
      <xa-datasource jndi-name="java:jboss/datasources/oraclexa1" pool-name="OracleXA1" enabled="true">
          ...
          <security>
              <security-domain>security-domain</security-domain>
          </security>
      </xa-datasource>
      
      Show
      <xa-datasource jndi-name= "java:jboss/datasources/oraclexa1" pool-name= "OracleXA1" enabled= "true" > ... <security> <security-domain> security-domain </security-domain> </security> </xa-datasource>
    • Workaround Exists
    • Hide

      repeat the security-domain reference in a recovery block

      <xa-datasource jndi-name="java:jboss/datasources/oraclexa1" pool-name="OracleXA1" enabled="true">
          ...
          <security>
              <security-domain>security-domain</security-domain>
          </security>
          <recovery>
              <recover-credential>
                  <security-domain>security-domain</security-domain>
              </recover-credential>
          </recovery>
      </xa-datasource>
      
      Show
      repeat the security-domain reference in a recovery block <xa-datasource jndi-name= "java:jboss/datasources/oraclexa1" pool-name= "OracleXA1" enabled= "true" > ... <security> <security-domain> security-domain </security-domain> </security> <recovery> <recover-credential> <security-domain> security-domain </security-domain> </recover-credential> </recovery> </xa-datasource>

      17:05:32,521 WARN [org.jboss.jca.core.tx.jbossts.XAResourceRecoveryImpl] (Periodic Recovery) IJ000904: No security domain defined for crash recovery: java:jboss/datasources/oraclexa1
      17:05:32,521 WARN [org.jboss.jca.core.tx.jbossts.XAResourceRecoveryImpl] (Periodic Recovery) IJ000905: Subject for crash recovery was null: java:jboss/datasources/oraclexa1
      

              msimka@redhat.com Martin Simka
              msimka@redhat.com Martin Simka
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: