[keycloak-dev] JTA issues

Bill Burke bburke at redhat.com
Mon Aug 8 08:46:08 EDT 2016



On 8/8/16 8:31 AM, Marek Posolda wrote:
> The question is, if we can fix liquibase instead of require people to 
> change DS? Maybe I can try to continue in your branch later this week 
> and look at it?
>

It's not just liquibase.  J

> Another possibility: Don't bootstrap JTA automatically at 
> KeycloakSessionFactory.create() but instead do it just in HTTP 
> requests (in KeycloakSessionServletFilter ). Then liquibase bootstrap 
> won't be an issue?
>

JPA Model will also barf with the same error if a JTA transaction is 
started as we do local JPA transactions.  So we have to have the 
datasource flag or change how we interact with EntityManagers.

Bill


More information about the keycloak-dev mailing list