0 Replies Latest reply on Oct 7, 2008 7:30 PM by Tim Nguyen

    Concurrency testing - Servlet Exception error

    Tim Nguyen Newbie

      Environment: JSF 1.2, Seam 2.0.2.SP1, Spring 2.0.7, RichFaces 3.2.2.GA, Tomcat 6.0.18,

      We have an application with Search functionality using JSF and Richfaces. User enter criteria in the search prompt, and if it returns more than 300 records, a RichModal will pop up to ask if users would like to Continue the search or Cancel.

      We did the performance/ concurrency test on this application using PureTest. We created a test case to do search that return more than 300 records, then stimulate to run this test script with many users. Ran with 1 or 3 users were fine. But when we run with more than 5 users, we ran into this error below. Does anyone have any idea or could help me with this? Thanks so much!

      description The server encountered an internal error () that prevented it from fulfilling this request.

      exception

      javax.servlet.ServletException: null
      javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
      org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:503)
      com.expd.arch.webaccess.EIFilter.doFilter(EIFilter.java:80)
      org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
      org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
      org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
      org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
      org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:147)
      org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:256)
      org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:362)
      org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:488)
      org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
      org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
      org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)


      root cause

      java.lang.IllegalArgumentException: null
      javax.el.ListELResolver.coerce(ListELResolver.java:168)
      javax.el.ListELResolver.getValue(ListELResolver.java:51)
      javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
      com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
      org.jboss.el.parser.AstBracketSuffix.getValue(AstBracketSuffix.java:59)
      org.jboss.el.parser.AstValue.getValue(AstValue.java:67)
      org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
      com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
      org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:40)
      org.jboss.el.parser.AstValue.getValue(AstValue.java:63)
      org.jboss.el.parser.AstNotEqual.getValue(AstNotEqual.java:21)
      org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
      com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
      javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:390)
      org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:276)
      org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:262)
      org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:284)
      org.richfaces.renderkit.AbstractRowsRenderer.encodeCellChildren(AbstractRowsRenderer.java:285)