Details
Description
Note from user:
We came across this one while researching a concurrency issue. While this one doesn't affect us directly and hence I cannot test it (because in our specific configuration contextPath is always set to the same value within an instance of MainServlet) it will have problems in a scenario where there are multiple contextPaths. I have confirmed that multiple requests will overwrite each other in this scenario.
The fix essentially removes the instance value and operates on the Request object which is passed through to the FileLocator.
We came across this one while researching a concurrency issue. While this one doesn't affect us directly and hence I cannot test it (because in our specific configuration contextPath is always set to the same value within an instance of MainServlet) it will have problems in a scenario where there are multiple contextPaths. I have confirmed that multiple requests will overwrite each other in this scenario.
The fix essentially removes the instance value and operates on the Request object which is passed through to the FileLocator.
Activity
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee | Mircea Toma [ mircea.toma ] |
Ken Fyten
made changes -
Fix Version/s | 1.8 [ 10161 ] |
Mircea Toma
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Fix Version/s | 1.8DR#2 [ 10142 ] | |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #18004 | Mon Dec 08 13:08:31 MST 2008 | mircea.toma | |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/MainServlet.java
|
Ken Fyten
made changes -
Assignee | Mircea Toma [ mircea.toma ] |
Tyler Johnson
made changes -
Workaround Description | Code supplied in ContextPathConcurrencyIssue.txt | Code modifications in ContextPathConcurrencyIssue.txt |
Tyler Johnson
made changes -
Salesforce Case | [50070000007CJ1P] |
Tyler Johnson
made changes -
Field | Original Value | New Value |
---|---|---|
Attachment | ContextPathConcurrencyIssue.txt [ 11381 ] |
Tyler Johnson
created issue -
Use a ThreadLocal variable to carry the current context path.