Return-Path: X-Original-To: apmail-ignite-issues-archive@minotaur.apache.org Delivered-To: apmail-ignite-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2754019A95 for ; Fri, 4 Mar 2016 22:12:42 +0000 (UTC) Received: (qmail 62328 invoked by uid 500); 4 Mar 2016 22:12:41 -0000 Delivered-To: apmail-ignite-issues-archive@ignite.apache.org Received: (qmail 62277 invoked by uid 500); 4 Mar 2016 22:12:41 -0000 Mailing-List: contact issues-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list issues@ignite.apache.org Received: (qmail 62248 invoked by uid 99); 4 Mar 2016 22:12:41 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Mar 2016 22:12:41 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D08942C1F68 for ; Fri, 4 Mar 2016 22:12:40 +0000 (UTC) Date: Fri, 4 Mar 2016 22:12:40 +0000 (UTC) From: "Valentin Kulichenko (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (IGNITE-2765) WebSessionFilter doesn't survive client reconnect MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/IGNITE-2765?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Valentin Kulichenko updated IGNITE-2765: ---------------------------------------- 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. {noformat} 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) {noformat} We should get a new instance of the cache when the exception is thrown. was: 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. {noformat} 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) {noformat} > WebSessionFilter doesn't survive client reconnect > ------------------------------------------------- > > Key: IGNITE-2765 > URL: https://issues.apache.org/jira/browse/IGNITE-2765 > Project: Ignite > Issue Type: Bug > Components: websession > Affects Versions: 1.5.0.final > Reporter: Valentin Kulichenko > Assignee: Valentin Kulichenko > Priority: Critical > Labels: community, customer, important > Fix For: 1.6 > > > 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. > {noformat} > 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) > {noformat} > We should get a new instance of the cache when the exception is thrown. -- This message was sent by Atlassian JIRA (v6.3.4#6332)