Skip to content

Concurrent modification exception with Undertow #3239

Closed

Description

@philwebb

Reported in SPR-13123 but could be our issue. Perhaps Undertow allows requests to be processed too early (like Tomcat used to).

Activity

  1. added this to the 1.3.0.M2 milestone on Jun 15, 2015
  2. ceefour commented on Jun 18, 2015

    @ceefour
    Contributor

    The error happens when I access the app the first time over a browser. So indeed I'd expect the web server to wait the app initialization to finish before passing the request.

    Note that Apache Wicket (6.19.0) is implemented as a Filter (using FilterRegistrationBean), not a Servlet, which may or may not contribute to the problem. What's clear is that the first time app is started, Wicket itself is not yet started. Only after the first request, it passes through the WicketFilter and then Wicket starts itself up. However as I said this problem happened only once and I have been unable to reproduce this ever again.

  3. sreekanthsnair commented on Jun 24, 2015

    @sreekanthsnair

    +1

  4. wilkinsona commented on Jun 24, 2015

    @wilkinsona
    Member

    @sreekanthsnair Does your +1 indicate that you've also had this problem? If so, is it reproducible? @ceefour has only seen it once and having steps to reproduce it would make diagnosing it much easier.

  5. sreekanthsnair commented on Jun 24, 2015

    @sreekanthsnair

    @wilkinsona Yes i'm also experiencing the same issue and no its not reproducible since experiencing it less frequently. Reported the same at http://stackoverflow.com/questions/30974440

  6. wilkinsona commented on Jun 24, 2015

    @wilkinsona
    Member

    Thanks. Looking at the question on StackOverflow, it doesn't look like you're using Spring Boot. In other words, it would appear that this is a general problem with Undertow rather than one that's specific to how we're using it in Spring Boot.

  7. sreekanthsnair commented on Jun 24, 2015

    @sreekanthsnair

    No i'm not using spring boot. May be its a problem with undertow but there is no clue in the error log where i can put a discussion with undertow team :) .

  8. wilkinsona commented on Jun 24, 2015

    @wilkinsona
    Member

    Spring Boot's issue tracker certainly isn't the right place to have a discussion with the Undertow team. You might want to report the problem on their JIRA.

  9. sreekanthsnair commented on Jun 24, 2015

    @sreekanthsnair

    As i have mentioned there is nothing in that error log, where i can point its an undertow issue. Anyway let me start a discussion in jboss discussion forum. Thanks

  10. wilkinsona commented on Jun 24, 2015

    @wilkinsona
    Member

    I can't see how this can happen with embedded Undertow. Undertow doesn't start listening until it's started and we don't start Undertow until finishRefresh after all of the standard processing has been performed.

    @ceefour Are you using embedded Undertow, or are you deploying to a standalone Undertow/Wildfly server?

  11. wilkinsona commented on Jun 24, 2015

    @wilkinsona
    Member

    @sreekanthsnair The stack trace in your post on StackOverflow suggests that Wildfly is passing a request to a web application that is still being initialized. I believe that's a bug.

  12. ceefour commented on Jun 24, 2015

    @ceefour
    Contributor

    Embedded Undertow, the version given by spring boot undertow 1.2.3 dependency.

  13. modified the milestones: 1.3.0.RC1, 1.3.0.M2 on Jul 7, 2015
  14. modified the milestones: 1.3.0.RC1, 1.3.0.M3 on Aug 5, 2015
  15. changed the title [-]Concurrent modifiction exception with Undertow[/-] [+]Concurrent modification exception with Undertow[/+] on Aug 26, 2015
  16. modified the milestones: , 1.3.0.M5 on Aug 26, 2015
  17. snicoll commented on Aug 26, 2015

    @snicoll
    Member

    We can't reproduce this issue so we moved this to the general backlog. Could you please provide us a way to reproduce it (even sporadically)

  18. added
    status: waiting-for-feedback
    on Aug 26, 2015
  19. ceefour commented on Aug 26, 2015

    @ceefour
    Contributor

    @snicoll sorry, you can just close this anyway. Since I also never got this issue again now. But at least I know it's undertow. So maybe when an issue happens again I can just report to Undertow instead.

  20. added
    status: invalid
    and removed
    status: waiting-for-feedback
    on Aug 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: invalid

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions