2011/10/14 Mete BALCI <meteba...@gmail.com>: > web.xml root is: > <web-app xmlns="http://java.sun.com/xml/ns/javaee" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://java.sun.com/xml/ns/javaee > http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" > version="3.0"> > > I tried mapping both with annotation and web.xml. Annotation itself works, I > can use it without async, but isAsyncSupported returns false (both with > annotation and web.xml mapping) so I cannot startAsync (raises IllegalState)
1. If you were mapping it explicitly, were you using the following for the servlet as the examples webapp does? <async-supported>true</async-supported> 2. Try (new Exception().printStackTrace()) in your servlet, so that it prints stacktrace with all Filters and Valves that are in the chain that serves your request. Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org