1

我目前无法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

4

2 回答 2

0

不确定您是否使用“allowFlash”选项,但您的雷达上有以下错误。我们自己遇到了。 https://issues.jboss.org/browse/RF-5624

于 2013-03-01T22:40:31.330 回答
0

尝试将 Richfaces 更新到 3.3.4 (http://downloads.jboss.org/richfaces/releases/3.3.X/3.3.4.Final/richfaces-ui-3.3.4.Final-bin.zip)

我在使用 Jboss 5.1.0GA 和 Seam 2.2.0GA 的 Richfaces 3.3.1 中遇到了这个问题。更新了richfaces,现在一切都按预期工作!

希望能帮助到你

于 2014-03-27T15:45:15.067 回答