Anonymous | Login | Signup for a new account | 12-17-2024 10:51 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0003665 | [Resin] | minor | always | 09-02-09 16:20 | 09-03-09 09:59 | ||||
Reporter | ferg | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | immediate | Resolution | fixed | Platform | |||||
Status | closed | OS | |||||||
Projection | none | OS Version | |||||||
ETA | none | Fixed in Version | 4.0.2 | Product Version | 3.1.6 | ||||
Product Build | |||||||||
Summary | 0003665: Comet servlet dispatch in 3.1.6 | ||||||||
Description |
(rep by Fiaz Hossain) I have this issue with the current Comet servlet that seems to make my code fragile and it ends up with the following excption. The problem is anytime someone adds an HttpServletRequestWrapper in the request chain my Comet servlet breaks and I have to add a URI exclude to the filter-mapping. Adding the exclude avoids the exception but I still miss some useful functionality provided by the filter so ideally I need a different solution. It would have been nice if the HttpConnectionController knew that the request object is really a wrapper and could traverse to a point where it can do the casting safely to an AbstractHttpRequest. Cause0: java.lang.ClassCastException: routing.filter.RemoteAddrFilterBase$RemoteAddrWrapper cannot be cast to com.caucho.server.connection.AbstractHttpRequest Cause0-StackTrace: at com.caucho.server.connection.HttpConnectionController.getAbstractHttpRequest(HttpConnectionController.java:67) at com.caucho.server.connection.HttpConnectionController.<init>(HttpConnectionController.java:54) at com.caucho.server.dispatch.CometServletFilterChain.doFilter(CometServletFilterChain.java:111) at system.filter.FooDomainRedirectFilter.doFilter(VisualforceDomainRedirectFilter.java:105) |
||||||||
Steps To Reproduce | |||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed. 25 unique queries executed. |