Details

      Description

      We are getting a crossover Exception in websphere.

      We are experiencing under high load a race condition and the values defined and injected from the EL are not the same as those retrieved inside of the method implementation.

      See below example

      <action-state id="checkOptout">
      <evaluate expression="loginService.checkOptout(requestParameters.UserName, flowRequestContext)"/>
      <transition on="1" to="redirect"/>
      <transition on="2" to="validate"/>
      </action-state>

      Implementation:
      public String checkOptout(String profile, RequestContext context) throws Exception {
      try {
      final ServletExternalContext externalContext = (ServletExternalContext) context.getExternalContext();

      final HttpServletRequest request = (HttpServletRequest) externalContext.getNativeRequest();

      final String userName = request.getParameter("UserName");

      if (!userName.equals(profile))

      { System.out.println("Error!"); }

      ....etc....
      }

      We are running this test with 20 concurrent users and we are experiencing the described errors.

      Please advice

      Thanks

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rstoya05-aop Rossen Stoyanchev
                Reporter:
                fernandezpaco Francisco Fernandez
              • Votes:
                2 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: