我目前无法rich:fileUpload
在 Chrome 25 或 IE 8 中通过 HTTPS 工作。POST 已发送,但从未收到响应。奇怪的是,它确实在 Firefox 19 中通过 HTTPS 工作。在使用 HTTP 时,它也适用于所有浏览器。HTTP 和 HTTPS 请求都通过 Apache httpd 2 提供给 Tomcat 6。
查看挂起的 HTTPS 请求线程时,org.ajax4jsf.request.MultipartRequest
不断尝试读取超出第一个字节的内容,但从未成功。(请参阅下面的堆栈跟踪。)
请问有人有什么建议吗?
注意:不使用allowFlash(如中,设置为false)
正在使用的版本:
- Richfaces 3.3.1
- 雄猫 6.0.24
- AJP 1.3
- 爪哇 6
- 阿帕奇 2 运行
mod_jk
来自调试器的堆栈跟踪:
守护线程 [ajp-8009-5](暂停)
ByteArrayOutputStream.(int) 行:60
MultipartRequest.readHeader() 行:490 MultipartRequest.readNext() 行:427
MultipartRequest.getParam(String) 行:807 MultipartRequest.getParameter(String ) 行:870 IdentityRequestWrapper(ServletRequestWrapper).getParameter(String) 行:158
RequestParameterMap.getAttribute(String) 行:45
RequestParameterMap.getAttribute(String) 行:33
RequestParameterMap(AbstractAttributeMap).containsKey(Object) 行:59
HtmlResponseStateManager.isPostback( FacesContext)行:212 DefaultRestoreViewSupport.isPostback(FacesContext)行:128
RestoreViewExecutor.execute(FacesContext)行:80
LifecycleImpl.executePhase(FacesContext, PhaseExecutor, PhaseListenerManager) line: 103 LifecycleImpl.execute(FacesContext) line: 76
FacesServlet.service(ServletRequest, ServletResponse) line: 151 ApplicationFilterChain.internalDoFilter(ServletRequest, ServletResponse) line: 290
ApplicationFilterChain.doFilter(ServletRequest, ServletResponse) 行:206
ExtensionsFilter.doFilter(ServletRequest, ServletResponse, FilterChain) 行:190
ApplicationFilterChain.internalDoFilter(ServletRequest, ServletResponse) 行:235
ApplicationFilterChain.doFilter(ServletRequest, ServletResponse) 行:206
CurrentSelectedTabFilter.doFilter(ServletRequest, ServletResponse, FilterChain)线路:42
ApplicationFilterChain.internalDoFilter(ServletRequest, ServletResponse) line: 235
ApplicationFilterChain.doFilter(ServletRequest, ServletResponse) line: 206
PageLoadFilter.doFilter(ServletRequest, ServletResponse, FilterChain) line: 58
ApplicationFilterChain.internalDoFilter(ServletRequest, ServletResponse) line: 235
ApplicationFilterChain.doFilter( ServletRequest, ServletResponse) 行:206
TimeoutFilter.doFilter(ServletRequest, ServletResponse, FilterChain) 行:45
ApplicationFilterChain.internalDoFilter(ServletRequest, ServletResponse) 行:235
ApplicationFilterChain.doFilter(ServletRequest, ServletResponse) 行:206
ResourceTrackerFilter.doFilter(ServletRequest, ServletResponse, FilterChain) line: 55
ApplicationFilterChain.internalDoFilter(ServletRequest, ServletResponse) line: 235
ApplicationFilterChain.doFilter(ServletRequest, ServletResponse) line: 206
SeamFilter$FilterChainImpl.doFilter(ServletRequest, ServletResponse) line: 83
IdentityFilter。 doFilter(ServletRequest, ServletResponse, FilterChain) line: 40
SeamFilter$FilterChainImpl.doFilter(ServletRequest, ServletResponse) line: 69
MultipartFilter.doFilter(ServletRequest, ServletResponse, FilterChain) line: 90 SeamFilter$FilterChainImpl.doFilter(ServletRequest, ServletResponse) line: 69
ExceptionFilter.doFilter(ServletRequest, ServletResponse, FilterChain) line: 64 SeamFilter$FilterChainImpl.doFilter(ServletRequest, ServletResponse) line: 69
RedirectFilter.doFilter(ServletRequest, ServletResponse, FilterChain) line: 45
SeamFilter$FilterChainImpl.doFilter(ServletRequest, ServletResponse) line : 69
ConfigurableXMLFilter(BaseXMLFilter).doXmlFilter(FilterChain, HttpServletRequest, HttpServletResponse) 行: 178
Filter(BaseFilter).handleRequest(HttpServletRequest, HttpServletResponse, FilterChain) 行: 290
Filter(BaseFilter).processUploadsAndHandleRequest(HttpServletRequest, HttpServletResponse, FilterChain) 行: 347
Filter(BaseFilter).doFilter(ServletRequest, ServletResponse, FilterChain) line: 495 Ajax4jsfFilter.doFilter(ServletRequest, ServletResponse, FilterChain) line: 56
SeamFilter$FilterChainImpl.doFilter(ServletRequest, ServletResponse) line: 69
SeamFilter.doFilter(ServletRequest, ServletResponse, FilterChain) 行:158 ApplicationFilterChain.internalDoFilter(ServletRequest, ServletResponse) 行:235
ApplicationFilterChain.doFilter(ServletRequest, ServletResponse) 行:206
CharacterEncodingFilter.doFilterInternal(HttpServletRequest, HttpServletResponse, FilterChain) 行:96 CharacterEncodingFilter(OncePerRequestFilter).doFilter(ServletRequest, ServletResponse , FilterChain) 行: 75
ApplicationFilterChain.internalDoFilter(ServletRequest, ServletResponse) line: 235
ApplicationFilterChain.doFilter(ServletRequest, ServletResponse) line: 206
StandardWrapperValve.invoke(Request, Response) line: 233
StandardContextValve.invoke(Request, Response) line: 191
BasicAuthenticator(AuthenticatorBase).invoke (请求,响应)行:465
StandardHostValve.invoke(请求,响应)行:127
ErrorReportValve.invoke(请求,响应)行:102
AccessLogValve.invoke(请求,响应)行:555
StandardEngineValve.invoke(请求,响应)行:109 CoyoteAdapter.service(请求,响应)行:298
AjpAprProcessor.process(long) 行:429 AjpAprProtocol$AjpConnectionHandler.process(long) 行:384 AprEndpoint$Worker.run() 行:1555 Thread.run() 行:662