【发布时间】:2016-09-30 08:56:54
【问题描述】:
我正在尝试在 Wildfly 上设置聚类结构。我试过 Wildfly 8 和 Wildfly 8.2 。我的配置几乎完成了,但在一种情况下,我遇到了很多异常。
当用户尝试首次登录时,我会更改其会话
request.changeSessionId(); //request is HttpServletRequest
在这条线上,我遇到了很多异常(大约 3k 行)。一些例外是;
javax.ejb.EJBTransactionRolledbackEcxeption: org.hibernate.exception.SQLGrammerException: could not execute statement
[org.infinispan.interceptors.InvocationContextInterceptor] (default task-16) ISPN000136: Execution error: org.infinispan.commons.CacheListenerException: ISPN000280: Caught exception [org.hibernate.exception.SQLGrammarException] while invoking method [public void org.wildfly.clustering.web.infinispan.session.InfinispanSessionManager.removed(org.infinispan.notifications.cachelistener.event.CacheEntryRemovedEvent)] on listener instance: org.wildfly.clustering.web.infinispan.session.InfinispanSessionManager@5fe90f10
Undertow request failed HttpServerExchange{ POST /500.html}: org.infinispan.commons.CacheException: Unable to end batch.
这些是一些错误。我相信我的堆栈跟踪非常值得分享,所以我放了一些例外。
正如我所说,当我尝试更改会话时会发生这些错误。我不知道可能是什么问题。
我希望有人以前遇到过这个错误并且可以帮助我。
谢谢。
【问题讨论】:
标签: java hibernate ejb wildfly infinispan