Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-31262

[GSS](8.1.z) WFLY-20657 - IllegalStateException at org.wildfly.clustering.session.cache validate

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 8.1.0.GA, 8.1 Update 0.1
    • Clustering
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Hide

      1. Deploy the attached app and run with the attached config.  Generate and note a session id:

      $ curl -v -H localhost:8080/test/session.jsp
      ...
      < Set-Cookie: JSESSIONID=tu8SiJlzw8B8WcsoaA9CIKOh6v1ssjAew9gQJBSH; path=/test
      

      2. Start sending concurrent load for this session:

      ab -c 5 -n 999000 -C "JSESSIONID=tu8SiJlzw8B8WcsoaA9CIKOh6v1ssjAew9gQJBSH" http://127.0.0.1:8080/test/session.jsp
      

      3. During that concurrent load, invalidate this sesion:

      $ curl -v -H "COOKIE: JSESSIONID=tu8SiJlzw8B8WcsoaA9CIKOh6v1ssjAew9gQJBSH" localhost:8080/test/invalidate.jsp
      

      4. You can then stop concurrent load and not the resulting errors.

      Show
      1. Deploy the attached app and run with the attached config.  Generate and note a session id: $ curl -v -H localhost:8080/test/session.jsp ... < Set-Cookie: JSESSIONID=tu8SiJlzw8B8WcsoaA9CIKOh6v1ssjAew9gQJBSH; path=/test 2. Start sending concurrent load for this session: ab -c 5 -n 999000 -C "JSESSIONID=tu8SiJlzw8B8WcsoaA9CIKOh6v1ssjAew9gQJBSH" http: //127.0.0.1:8080/test/session.jsp 3. During that concurrent load, invalidate this sesion: $ curl -v -H "COOKIE: JSESSIONID=tu8SiJlzw8B8WcsoaA9CIKOh6v1ssjAew9gQJBSH" localhost:8080/test/invalidate.jsp 4. You can then stop concurrent load and not the resulting errors.

      We are using 35.0.1 with wildfly-clustering updated to 5.0.10 Version and discovering a huge data growth in pt/jboss/wildfly/standalone/data/infinispan/web/fs.war/data/

      Looks like after this fix  https://issues.redhat.com/browse/WFLY-20617 a lot of unexpirable sessions appeared

      Also, the following errors appeared

      java.lang.IllegalStateException: bQ38HITtCdwgNKTJgo0F7iw06ahBJdF4kKdYqchB
      	at org.wildfly.clustering.session.cache@5.0.10.Final//org.wildfly.clustering.session.cache.AttachedSession.validate(AttachedSession.java:30)
      	at org.wildfly.clustering.session.cache@5.0.10.Final//org.wildfly.clustering.session.cache.AttachedSession.getMetaData(AttachedSession.java:36)
      	at org.wildfly.clustering.session.cache@5.0.10.Final//org.wildfly.clustering.session.cache.DecoratedSession.getMetaData(DecoratedSession.java:49)
      	at org.wildfly.clustering.session.cache@5.0.10.Final//org.wildfly.clustering.session.cache.DecoratedSession.getMetaData(DecoratedSession.java:49)
      	at org.wildfly.clustering.web.undertow@35.0.1.Final//org.wildfly.clustering.web.undertow.session.DistributableSession.<init>(DistributableSession.java:53)
      	at org.wildfly.clustering.web.undertow@35.0.1.Final//org.wildfly.clustering.web.undertow.session.DistributableSessionManager.getSession(DistributableSessionManager.java:212)
      	at io.undertow.servlet@2.3.18.Final//io.undertow.servlet.spec.ServletContextImpl.getSession(ServletContextImpl.java:884)
      	at io.undertow.servlet@2.3.18.Final//io.undertow.servlet.spec.HttpServletRequestImpl.getSession(HttpServletRequestImpl.java:454)
      	at org.jboss.weld.core@5.1.4.Final//org.jboss.weld.module.web.servlet.SessionHolder.requestInitialized(SessionHolder.java:47)
      	at org.jboss.weld.core@5.1.4.Final//org.jboss.weld.module.web.servlet.HttpContextLifecycle.requestInitialized(HttpContextLifecycle.java:266)
      	at org.jboss.weld.core@5.1.4.Final//org.jboss.weld.module.web.servlet.WeldInitialListener.requestInitialized(WeldInitialListener.java:151)
      	at io.undertow.servlet@2.3.18.Final//io.undertow.servlet.core.ApplicationListeners.requestInitialized(ApplicationListeners.java:263)
      	at io.undertow.servlet@2.3.18.Final//io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:275)
      	at io.undertow.servlet@2.3.18.Final//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
      	at io.undertow.servlet@2.3.18.Final//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:132)
      	at io.undertow.servlet@2.3.18.Final//io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
      	at io.undertow.servlet@2.3.18.Final//io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
      	at org.wildfly.extension.undertow@35.0.1.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421)
      	at org.wildfly.extension.undertow@35.0.1.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421)
      	at org.wildfly.extension.undertow@35.0.1.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421)
      	at org.wildfly.extension.undertow@35.0.1.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421)
      	at org.wildfly.extension.undertow@35.0.1.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421)
      	at io.undertow.servlet@2.3.18.Final//io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:256)
      	at io.undertow.servlet@2.3.18.Final//io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:101)
      	at io.undertow.core@2.3.18.Final//io.undertow.server.Connectors.executeRootHandler(Connectors.java:395)
      	at io.undertow.core@2.3.18.Final//io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:861)
      	at org.jboss.threads@2.4.0.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
      	at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
      	at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
      	at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
      	at org.jboss.xnio@3.8.16.Final//org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
      	at java.base/java.lang.Thread.run(Thread.java:840) 

       

        1. test.war
          1.0 kB
        2. jbeap31262.xml
          38 kB

              rhn-support-aogburn Aaron Ogburn
              rhn-support-aogburn Aaron Ogburn
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: