Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebAsyncManager is not compatible with the crosscontext mode [SPR-15709] #20266

Closed
spring-projects-issues opened this issue Jun 27, 2017 · 0 comments
Assignees
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

@spring-projects-issues spring-projects-issues commented Jun 27, 2017

Alberto Mozzone opened SPR-15709 and commented

I stumbled on this very exact problem, not using cross-jsp-inclusion, but working in a Tomcat where the Contexts are configured as crossContext="true".
Please see:

https://stackoverflow.com/questions/22128150/spring-and-cross-context-webasyncmanager-cannot-be-cast-to-webasyncmanager

It would be really useful if WebAsyncUtils.getAsyncManager could trap the ClassCastException and create a new WebAsyncManager instead of bombing out.


Affects: 3.2.18, 4.2.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants