Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-1.8.2.GA_P04
-
Fix Version/s: EE-1.8.2.GA_P05
-
Component/s: Framework
-
Labels:None
-
Environment:ICEfaces, Tomcat 6.0.18
-
Assignee Priority:P2
-
Salesforce Case Reference:
Description
The purpose of this JIRA is to investigate a potential memory leak in our code and apply a fix proposed by one of our customers if applicable.
Customer's description:
In our application all the contexts used by the same browser in the same application have the same sessionId (cookie JSESSIONID con path=\).
The map inside com.icesoft.faces.webapp.http.servlet.SessionDispatcher$Monitor uses the sessionId as the key and the value contains a map of contexts related to that sessionId, the problem is that, when the first context is released, the element is removed from the first map and no other contexts with the same sessionId can be released afterwards.
Customer's description:
In our application all the contexts used by the same browser in the same application have the same sessionId (cookie JSESSIONID con path=\).
The map inside com.icesoft.faces.webapp.http.servlet.SessionDispatcher$Monitor uses the sessionId as the key and the value contains a map of contexts related to that sessionId, the problem is that, when the first context is released, the element is removed from the first map and no other contexts with the same sessionId can be released afterwards.
Activity
Migration
created issue -
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #32091 | Fri Nov 09 11:03:13 MST 2012 | deryk.sinotte | |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/SessionDispatcher.java
|
Migration
made changes -
Field | Original Value | New Value |
---|---|---|
Reporter | Migration [ remote ] | Evgheni Sadovoi [ evgheni.sadovoi ] |
Migration
made changes -
Attachment | Proposed changes.docx [ 14900 ] |
Migration
made changes -
Attachment | Proposed changes.docx [ 14901 ] |
Migration
made changes -
Assignee | Deryk Sinotte [ deryk.sinotte ] | |
Fix Version/s | EE-1.8.2.GA_P05 [ 10331 ] | |
Assignee Priority | P2 [ 10011 ] |
Migration
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Security | Private [ 10001 ] |
Evgheni Sadovoi
made changes -
Description |
The purpose of this JIRA is to investigate a potential memory leak in our code and apply a fix proposed by one of our customers if applicable. Customer's description: In our application all the contexts used by the same browser in the same application have the same sessionId (cookie JSESSIONID con path=\). The map inside com.icesoft.faces.webapp.http.servlet.SessionDispatcher$Monitor uses the sessionId as the key and the value contains a map of contexts related to that sessionId, the problem is that, when the first context is released, the element is removed from the first map and no other contexts with the same sessionId can be released afterwards. |
The purpose of this JIRA is to investigate a potential memory leak in our code and apply a fix proposed by one of our customers if applicable.
Customer's description: In our application all the contexts used by the same browser in the same application have the same sessionId (cookie JSESSIONID con path=\). The map inside com.icesoft.faces.webapp.http.servlet.SessionDispatcher$Monitor uses the sessionId as the key and the value contains a map of contexts related to that sessionId, the problem is that, when the first context is released, the element is removed from the first map and no other contexts with the same sessionId can be released afterwards. Environment: • Liferay 5.2.3 + Tomcat 6.018 • ICEfaces EE-1.8.2.GA_P04 • ICEfaces is installed as a shared library • Cookies are configured to be all stored under the root context (Tomcat server.xml: <Connector emptySessionPath="true"… />) Steps to reproduce: 1) Install ICEfaces as a shared library in Tomcat 2) Deploy two separate ICEfaces app .war files to Liferay 3) Create a new portal page and add 1 portlet from each app to the page (target page) 4) Log in to the portal 5) Navigate to the target page 6) Log out from the portal (invalidate portal session) |
Evgheni Sadovoi
made changes -
Description |
The purpose of this JIRA is to investigate a potential memory leak in our code and apply a fix proposed by one of our customers if applicable.
Customer's description: In our application all the contexts used by the same browser in the same application have the same sessionId (cookie JSESSIONID con path=\). The map inside com.icesoft.faces.webapp.http.servlet.SessionDispatcher$Monitor uses the sessionId as the key and the value contains a map of contexts related to that sessionId, the problem is that, when the first context is released, the element is removed from the first map and no other contexts with the same sessionId can be released afterwards. Environment: • Liferay 5.2.3 + Tomcat 6.018 • ICEfaces EE-1.8.2.GA_P04 • ICEfaces is installed as a shared library • Cookies are configured to be all stored under the root context (Tomcat server.xml: <Connector emptySessionPath="true"… />) Steps to reproduce: 1) Install ICEfaces as a shared library in Tomcat 2) Deploy two separate ICEfaces app .war files to Liferay 3) Create a new portal page and add 1 portlet from each app to the page (target page) 4) Log in to the portal 5) Navigate to the target page 6) Log out from the portal (invalidate portal session) |
The purpose of this JIRA is to investigate a potential memory leak in our code and apply a fix proposed by one of our customers if applicable.
Customer's description: In our application all the contexts used by the same browser in the same application have the same sessionId (cookie JSESSIONID con path=\). The map inside com.icesoft.faces.webapp.http.servlet.SessionDispatcher$Monitor uses the sessionId as the key and the value contains a map of contexts related to that sessionId, the problem is that, when the first context is released, the element is removed from the first map and no other contexts with the same sessionId can be released afterwards. |
Evgheni Sadovoi
made changes -
Salesforce Case Reference | 5007000000OC4c2AAD |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Proposed modification to the following classes has been attached as MS Word document.
core.src.com.icesoft.faces.webapp.http.servlet.SessionDispatcher
core.src.com.icesoft.faces.webapp.http.servlet.SessionDispatcher.Monitor
(Restricted to icesoft-internal-developers group)