Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.8DR#2
-
Component/s: Framework, ICE-Components
-
Labels:None
-
Environment:Tomcat 6
-
ICEsoft Forum Reference:
Description
If you use the startup.bat and shutdown.bat scripts, then shutting down won't work after you've uploaded a file using the inputFile component.
Activity
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #18245 | Wed Jan 28 17:03:21 MST 2009 | mark.collette | |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/xmlhttp/PersistentFacesState.java
|
Mark Collette
created issue -
Mark Collette
made changes -
Field | Original Value | New Value |
---|---|---|
Status | Open [ 1 ] | Resolved [ 5 ] |
Fix Version/s | 1.8DR#3 [ 10143 ] | |
Resolution | Fixed [ 1 ] | |
Assignee | Mark Collette [ mark.collette ] |
Ken Fyten
made changes -
Fix Version/s | 1.8 [ 10161 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee | Mark Collette [ mark.collette ] |
From looking at the forum posting, I saw that the only ICEfaces related thread was the edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker one. We use those kind of classes for our server pushes. InputFile uses the PersistentFacesState's server push mechanism. The InputFile actually has two means of doing a server push, in another thread, or in the current thread, as is used in Seam and Sprint configurations. After duplicating the issue, I altered the code to always use the in-thread server push, and found that things worked, confirming my theory. Further examination of the output captured in the forum posting indicated that all threads, except the ThreadPoolExecutor$Worker were daemon threads. So, I investigated how we in our own code, in the other server push mechanisms, set the threads to be daemons, and corroborated that with the backport util javadoc. I then implemented that for PersistentFacesState, and tested it, to be sure it solved the problem.
Subversion 18245
icefaces\core\src\com\icesoft\faces\webapp\xmlhttp\PersistentFacesState.java