[keycloak-dev] xa-datasource requirement

Vlasta Ramik vramik at redhat.com
Mon Sep 26 06:41:08 EDT 2016


Waiting for the resolution. I need to update datasource definitions for 
tests in case the change remains as it is, please confirm. Thanks

V.


On 09/26/2016 08:32 AM, Stian Thorgersen wrote:
> Can'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?
>
> On 23 September 2016 at 21:31, Bill Burke <bburke at redhat.com 
> <mailto:bburke at redhat.com>> wrote:
>
>     The User Storage Provider SPI example uses a different datasource than
>     KeycloakDS.  What I found is that switching Keycloak to use JTA
>     creates
>     a problem.  If you have 2 non-xa datasources in the same JTA
>     transaction, Wildfly barfs.  It doesn't allow it.  The workaround is
>     have only one non-xa datasources and have all the rest be xa
>     datasources, or to make them all be xa-datasources.
>
>     I'm changing the KeycloakDS to be an xa-datasource.  I don't think
>     this
>     will effect anybody's application, although i'll need to note in
>     documentation that this is required and changed.
>
>
>     Bill
>
>     _______________________________________________
>     keycloak-dev mailing list
>     keycloak-dev at lists.jboss.org <mailto:keycloak-dev at lists.jboss.org>
>     https://lists.jboss.org/mailman/listinfo/keycloak-dev
>     <https://lists.jboss.org/mailman/listinfo/keycloak-dev>
>
>
>
>
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-dev/attachments/20160926/a4df09ae/attachment.html 


More information about the keycloak-dev mailing list