Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-2765

WebSessionFilter doesn't survive client reconnect

    Details

    • Flags:
      Important

      Description

      If a WebSessionFilter is started with an embedded client, it is not functional after the client disconnects and reconnects. Any operation throws the exception below.

      java.lang.IllegalStateException: Cache has been closed or destroyed: WebCache
       at org.apache.ignite.internal.processors.cache.GridCacheGateway.enter(GridCacheGateway.java:160)
       at org.apache.ignite.internal.processors.cache.IgniteCacheProxy.onEnter(IgniteCacheProxy.java:1958)
       at org.apache.ignite.internal.processors.cache.IgniteCacheProxy.get(IgniteCacheProxy.java:855)
       at org.apache.ignite.cache.websession.WebSessionFilter.doFilter0(WebSessionFilter.java:341)
      

      We should get a new instance of the cache when the exception is thrown.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                avinogradov Anton Vinogradov
                Reporter:
                vkulichenko Valentin Kulichenko
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: