Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.2-EE-GA_P01
-
Fix Version/s: 1.8.3, EE-1.8.2.GA_P04
-
Component/s: Framework
-
Labels:None
-
Environment:WebSphere 6.1
-
ICEsoft Forum Reference:
Description
Customer reports that a deadlock can occur during session invalidation on WebSphere 6.1
"Two threads used an instance of View class (on session invalitation), and one thread locked the HTTP session, the second thread locked the lifecycleLock field. They were waiting for each others monitors."
"Two threads used an instance of View class (on session invalitation), and one thread locked the HTTP session, the second thread locked the lifecycleLock field. They were waiting for each others monitors."
Issue Links
- is duplicated by
-
ICE-5535 Threads hunging when session gets destroyed
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Estimated Complexity | Medium | |
Original Estimate | 1d | |
Salesforce Case | [5007000000C1vCQ] | |
Fix Version/s | 1.8.2-EE-GA_P02 [ 10226 ] | |
Assignee Priority | P2 | |
Security | Private [ 10001 ] | |
Assignee | Mircea Toma [ mircea.toma ] |
Security | Private [ 10001 ] |
Assignee Priority | P2 |
Status | Open [ 1 ] | Resolved [ 5 ] |
Assignee Priority | P2 | |
Resolution | Fixed [ 1 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee Priority | P2 | |
Assignee | Mircea Toma [ mircea.toma ] |
Resolution | Fixed [ 1 ] | |
Status | Closed [ 6 ] | Reopened [ 4 ] |
Assignee Priority | P1 |
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Assignee Priority | P1 | |
Resolution | Fixed [ 1 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #24901 | Mon Jun 27 07:22:41 MDT 2011 | mircea.toma | |
Files Changed | ||||
![]() |
Assignee | Mircea Toma [ mircea.toma ] |
Resolution | Fixed [ 1 ] | |
Status | Closed [ 6 ] | Reopened [ 4 ] |
Fix Version/s | 1.8.3 [ 10211 ] | |
Fix Version/s | 1.8.2-EE-GA_P02 [ 10226 ] |
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Fix Version/s | EE-1.8.2.GA_P04 [ 10280 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #28109 | Thu Mar 01 12:40:54 MST 2012 | arran.mccullough | |
Files Changed | ||||
![]() |
Status | Resolved [ 5 ] | Closed [ 6 ] |
Scheduling for next EE release. Customer has proposed a fix they would like us to validate for correctness and potential side-effects:
Index: src/com/icesoft/faces/context/View.java
===================================================================
— src/com/icesoft/faces/context/View.java (revision 21174)
+++ src/com/icesoft/faces/context/View.java (working copy)
@@ -53,6 +53,7 @@
import edu.emory.mathcs.backport.java.util.concurrent.locks.ReentrantLock;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
+import edu.emory.mathcs.backport.java.util.concurrent.TimeUnit;
import javax.servlet.http.HttpSession;
import java.lang.reflect.Constructor;
@@ -247,12 +248,16 @@
public void dispose() {
try {
+ if (!lifecycleLock.isHeldByCurrentThread()) { + lifecycleLock.tryLock(30, TimeUnit.SECONDS); + }
dispose.run();
{ + // do nothing. }ContextEventRepeater.viewNumberDisposed(
facesContext.getExternalContext().getSession(false),
sessionID,
Integer.parseInt(viewIdentifier));
+ } catch (InterruptedException exception)
finally
{ releaseLifecycleLockUnconditionally(); }