Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
1.5.0.final
-
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
- relates to
-
IGNITE-2766 Cache instance is closed when client disconnects
- Closed