<div dir="ltr">Fair enough, let&#39;s go for XA by default then.</div><div class="gmail_extra"><br><div class="gmail_quote">On 26 September 2016 at 16:17, Bill Burke <span dir="ltr">&lt;<a href="mailto:bburke@redhat.com" target="_blank">bburke@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <p>Don&#39;t think so.  Anybody that has a 2nd datasource will now
      barf.  arjuna optimizes XA anyways is there is only one resource.<br>
    </p><div><div class="h5">
    <br>
    <div>On 9/26/16 2:32 AM, Stian Thorgersen
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">Can&#39;t we just leave it as is and document if
        someone does indeed have a custom provider with a separate
        datasource they need to change it?</div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On 23 September 2016 at 21:31, Bill
          Burke <span dir="ltr">&lt;<a href="mailto:bburke@redhat.com" target="_blank">bburke@redhat.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The User
            Storage Provider SPI example uses a different datasource
            than<br>
            KeycloakDS.  What I found is that switching Keycloak to use
            JTA creates<br>
            a problem.  If you have 2 non-xa datasources in the same JTA<br>
            transaction, Wildfly barfs.  It doesn&#39;t allow it.  The
            workaround is<br>
            have only one non-xa datasources and have all the rest be xa<br>
            datasources, or to make them all be xa-datasources.<br>
            <br>
            I&#39;m changing the KeycloakDS to be an xa-datasource.  I don&#39;t
            think this<br>
            will effect anybody&#39;s application, although i&#39;ll need to
            note in<br>
            documentation that this is required and changed.<br>
            <br>
            <br>
            Bill<br>
            <br>
            ______________________________<wbr>_________________<br>
            keycloak-dev mailing list<br>
            <a href="mailto:keycloak-dev@lists.jboss.org" target="_blank">keycloak-dev@lists.jboss.org</a><br>
            <a href="https://lists.jboss.org/mailman/listinfo/keycloak-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailma<wbr>n/listinfo/keycloak-dev</a><br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br></div>