[jboss-user] [JBoss Seam] - Re: File upload - performance has taken a dive

jazir1979 do-not-reply at jboss.com
Fri Aug 3 01:09:30 EDT 2007


Hi Shane, thanks for looking at this.  I took a debugger to it and it seems it is the JSF processUpdates in the UIFileUpload component:


  | Contexts.lookupInStatefulContexts(String) line: 192	
  | Component.getInstance(String, boolean) line: 1722	
  | Component.getInstance(String) line: 1717	
  | SeamELResolver.getValue(ELContext, Object, Object) line: 60	
  | FacesCompositeELResolver(CompositeELResolver).getValue(ELContext, Object, Object) line: 53	
  | FacesCompositeELResolver.getValue(ELContext, Object, Object) line: 64	
  | AstIdentifier.getValue(EvaluationContext) line: 44	
  | AstValue.getTarget(EvaluationContext) line: 34	
  | AstValue.setValue(EvaluationContext, Object) line: 83	
  | ValueExpressionImpl.setValue(ELContext, Object) line: 249	
  | TagValueExpression.setValue(ELContext, Object) line: 93	
  | HtmlFileUpload(UIFileUpload).processUpdates(FacesContext) line: 49	
  | HtmlPanelGrid(UIComponentBase).processUpdates(FacesContext) line: 1053	
  | HtmlForm(UIForm).processUpdates(FacesContext) line: 255	
  | AjaxViewRoot(UIComponentBase).processUpdates(FacesContext) line: 1053	
  | AjaxViewRoot(UIViewRoot).processUpdates(FacesContext) line: 706	
  | AjaxViewRoot.access$101(AjaxViewRoot, FacesContext) line: 53	
  | AjaxViewRoot$2.invokeRoot(FacesContext) line: 287	
  | JsfOneOneInvoker.invokeOnRegionOrRoot(AjaxViewRoot, FacesContext, InvokerCallback) line: 53	
  | AjaxContext.invokeOnRegionOrRoot(AjaxViewRoot, FacesContext, InvokerCallback) line: 191	
  | AjaxViewRoot.processUpdates(FacesContext) line: 301	
  | UpdateModelValuesPhase.execute(FacesContext) line: 101	
  | LifecycleImpl.phase(PhaseId, Phase, FacesContext) line: 251	
  | LifecycleImpl.execute(FacesContext) line: 117	
  | FacesServlet.service(ServletRequest, ServletResponse) line: 244	
  | ApplicationFilterChain.internalDoFilter(ServletRequest, ServletResponse) line: 290	
  | ApplicationFilterChain.doFilter(ServletRequest, ServletResponse) line: 206	
  | SeamFilter$FilterChainImpl.doFilter(ServletRequest, ServletResponse) line: 83	
  | HotDeployFilter.doFilter(ServletRequest, ServletResponse, FilterChain) line: 63	
  | SeamFilter$FilterChainImpl.doFilter(ServletRequest, ServletResponse) line: 69	
  | CharacterEncodingFilter.doFilter(ServletRequest, ServletResponse, FilterChain) line: 44	
  | SeamFilter$FilterChainImpl.doFilter(ServletRequest, ServletResponse) line: 69	
  | SeamFilter$FilterChainImpl.doFilter(ServletRequest, ServletResponse) line: 73	
  | MultipartFilter.doFilter(ServletRequest, ServletResponse, FilterChain) line: 82	
  | SeamFilter$FilterChainImpl.doFilter(ServletRequest, ServletResponse) line: 69	
  | ExceptionFilter.doFilter(ServletRequest, ServletResponse, FilterChain) line: 63	
  | SeamFilter$FilterChainImpl.doFilter(ServletRequest, ServletResponse) line: 69	
  | RedirectFilter.doFilter(ServletRequest, ServletResponse, FilterChain) line: 46	
  | SeamFilter$FilterChainImpl.doFilter(ServletRequest, ServletResponse) line: 69	
  | TidyXMLFilter(BaseXMLFilter).doXmlFilter(FilterChain, HttpServletRequest, HttpServletResponse) line: 127	
  | Filter(BaseFilter).doFilter(ServletRequest, ServletResponse, FilterChain) line: 277	
  | Ajax4jsfFilter(Ajax4jsfFilter).doFilter(ServletRequest, ServletResponse, FilterChain) line: 40	
  | SeamFilter$FilterChainImpl.doFilter(ServletRequest, ServletResponse) line: 69	
  | SeamFilter.doFilter(ServletRequest, ServletResponse, FilterChain) line: 140	
  | ApplicationFilterChain.internalDoFilter(ServletRequest, ServletResponse) line: 235	
  | ApplicationFilterChain.doFilter(ServletRequest, ServletResponse) line: 206	
  | ReplyHeaderFilter.doFilter(ServletRequest, ServletResponse, FilterChain) line: 96	
  | ApplicationFilterChain.internalDoFilter(ServletRequest, ServletResponse) line: 235	
  | ApplicationFilterChain.doFilter(ServletRequest, ServletResponse) line: 206	
  | StandardWrapperValve.invoke(Request, Response) line: 230	
  | StandardContextValve.invoke(Request, Response) line: 175	
  | SecurityAssociationValve.invoke(Request, Response) line: 179	
  | FormAuthenticator(AuthenticatorBase).invoke(Request, Response) line: 525	
  | JaccContextValve.invoke(Request, Response) line: 84	
  | StandardHostValve.invoke(Request, Response) line: 128	
  | ErrorReportValve.invoke(Request, Response) line: 104	
  | CachedConnectionValve.invoke(Request, Response) line: 156	
  | AccessLogValve.invoke(Request, Response) line: 543	
  | StandardEngineValve.invoke(Request, Response) line: 109	
  | CoyoteAdapter.service(Request, Response) line: 241	
  | Http11Processor.process(Socket) line: 844	
  | Http11Protocol$Http11ConnectionHandler.process(Socket) line: 580	
  | JIoEndpoint$Worker.run() line: 447	
  | Thread.run() line: 595 [local variables unavailable]	
  | 

This is happening over and over and over again.  It is in UIFileUpload.processUpdates() where it calls dataBinding.setValue(...).


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070386#4070386

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070386



More information about the jboss-user mailing list