[jboss-jira] [JBoss JIRA] (WFLY-7189) UT000010: Session not found
Alpesh Jikadra (Jira)
issues at jboss.org
Tue Apr 23 09:32:00 EDT 2019
[ https://issues.jboss.org/browse/WFLY-7189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13725465#comment-13725465 ]
Alpesh Jikadra commented on WFLY-7189:
--------------------------------------
I was not able to reproduce the same, This is a web application so one suspect could be the client session,
My application uses database connection based on the session scope (session maintain which db need to access),
I suspect it like a concurrency issue with session and getting db connection,
So if client is try to logout, and in some other table if any ajax call is executing with some interval, then I saw the same error, but not always,
So I made changes like instead of removing session from server I have just clear the cookie from the client machine, so with this implementation session is still available on server till expiry,
so after this implementation I never see this error.
> UT000010: Session not found
> ---------------------------
>
> Key: WFLY-7189
> URL: https://issues.jboss.org/browse/WFLY-7189
> Project: WildFly
> Issue Type: Bug
> Components: Server
> Affects Versions: 9.0.2.Final
> Environment: Production
> Reporter: Alpesh Jikadra
> Assignee: Jason Greene
> Priority: Critical
> Labels: wildfly
>
> In my application I am using 4 different database connection with spring,
> Before upgrading to wildfly 9.0.2 Final it was working fine, but yesterday from production I came to know that one database is not able to connect. and giving following exception
> {code:java}
> Caused by: java.lang.IllegalStateException: UT000010: Session not found ONaa4NC8R3y3WuYRhMjp5kD0__MXIkMtHbginKOx
> INFO | jvm 1 | 2016/09/21 05:53:09 | at io.undertow.server.session.InMemorySessionManager$SessionImpl.getAttribute(InMemorySessionManager.java:430)
> INFO | jvm 1 | 2016/09/21 05:53:09 | at io.undertow.servlet.spec.HttpSessionImpl.getAttribute(HttpSessionImpl.java:123)
> INFO | jvm 1 | 2016/09/21 05:53:09 | at org.springframework.web.util.WebUtils.getSessionMutex(WebUtils.java:328)
> INFO | jvm 1 | 2016/09/21 05:53:09 | at org.springframework.web.context.request.ServletRequestAttributes.getSessionMutex(ServletRequestAttributes.java:191)
> INFO | jvm 1 | 2016/09/21 05:53:09 | at org.springframework.web.context.request.SessionScope.get(SessionScope.java:88)
> INFO | jvm 1 | 2016/09/21 05:53:09 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:285)
> {code}
> While, I was able to connect to other databases through the application, only facing issues for accessing one of the database.
> After restart of wildfly server issue is resolved, Even I am not able to reproduce it
> [OpenIssue|[#https://developer.jboss.org/message/949465#949465]]
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list