You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Concurrent modification exception with Undertow #3239
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.
@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.
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.
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 :) .
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.
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
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?
@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.
@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.
Activity
ceefour commentedon Jun 18, 2015
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.
sreekanthsnair commentedon Jun 24, 2015
+1
wilkinsona commentedon Jun 24, 2015
@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.
sreekanthsnair commentedon Jun 24, 2015
@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
wilkinsona commentedon Jun 24, 2015
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.
sreekanthsnair commentedon Jun 24, 2015
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 :) .
wilkinsona commentedon Jun 24, 2015
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.
sreekanthsnair commentedon Jun 24, 2015
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
wilkinsona commentedon Jun 24, 2015
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
finishRefreshafter all of the standard processing has been performed.@ceefour Are you using embedded Undertow, or are you deploying to a standalone Undertow/Wildfly server?
wilkinsona commentedon Jun 24, 2015
@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.
ceefour commentedon Jun 24, 2015
Embedded Undertow, the version given by spring boot undertow 1.2.3 dependency.
[-]Concurrent modifiction exception with Undertow[/-][+]Concurrent modification exception with Undertow[/+]snicoll commentedon Aug 26, 2015
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)
ceefour commentedon Aug 26, 2015
@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.
Prevent closed context from being refreshed again by an HTTP request