keycloak连接Sql Server报错

报错信息如下

ots 'org.infinispan.jboss.marshalling.core.JBossUserMarshaller 
2023-05-25 09:52:17,240 INFO[org.infinispan.CONTAINER](keycloak-cache-init)ISPN000128:Infinispan version: Infinispan 'Triskaidekaphobia’13.0.9.Final
2023-05-25 09:52:18,307 WARN[com.arjuna.ats.jta](main)ARJUNA016061:TransactionImple.enlistResource-XAResource.start returned: XAException.XAER RMERR for
grams
:javax.transaction.xa.XAException: com.microsoft.salserver.idbc.SOLServerException: Failed to create the XA control connection. Error: "The connection is closed.
urces at com.microsoft.sqlserver.jdbc.SQLServerXAResource.DTC XA Interface(SOLServerXAResource.java:738)

解决方案

keycloak连接Sql Server报错_第1张图片
在keycloak配置文件中添加如下设置即可:

transaction-xa-enabled=false

你可能感兴趣的:(Keycloak,sql,数据库)