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

Asynchronous operations #306

Open
Creepix opened this issue Mar 16, 2016 · 1 comment
Open

Asynchronous operations #306

Creepix opened this issue Mar 16, 2016 · 1 comment

Comments

@Creepix
Copy link

Creepix commented Mar 16, 2016

I'm using play2war 1.4-beta1 plugin with play 2.4.6 on tomcat 8. There is SPNEGO filter on that tomcat, which I want to use with my play application in purpose to have remote user name. As I understand http asynchronous request processing is available, but I'm getting:

java.lang.IllegalStateException: A filter or servlet of the current chain does not support asynchronous operations.
org.apache.catalina.connector.Request.startAsync(Request.java:1621)
org.apache.catalina.connector.Request.startAsync(Request.java:1614)
org.apache.catalina.connector.RequestFacade.startAsync(RequestFacade.java:1030)
javax.servlet.ServletRequestWrapper.startAsync(ServletRequestWrapper.java:379)
play.core.server.servlet31.Play2Servlet31RequestHandler.(RequestHandler31.scala:21)
play.core.server.servlet31.Play2Servlet.getRequestHandler(Play2Servlet31.scala:21)
play.core.server.servlet31.Play2Servlet.getRequestHandler(Play2Servlet31.scala:18)
play.core.server.servlet.GenericPlay2Servlet.service(GenericPlay2Servlet.scala:34)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
net.sourceforge.spnego.SpnegoHttpFilter.doFilter(SpnegoHttpFilter.java:250)

Any suggestions how to fix it?

@dlecan
Copy link
Member

dlecan commented Mar 16, 2016

How did you configure the filter ?

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

No branches or pull requests

2 participants