Re: async per servlet 3.0

2011-10-14 Thread Konstantin Kolinko
2011/10/14 Mete BALCI : > I found the problem using new Exception().printStackTrace() > > The problem was PsiProbe application that I am using to monitor Tomcat. The > valve it is using to instrument tomcat is probably not async aware. After > undeploying it, async support works as expected. I will

Re: async per servlet 3.0

2011-10-14 Thread Mete BALCI
I found the problem using new Exception().printStackTrace() The problem was PsiProbe application that I am using to monitor Tomcat. The valve it is using to instrument tomcat is probably not async aware. After undeploying it, async support works as expected. I will notify PsiProbe team about the i

Re: async per servlet 3.0

2011-10-14 Thread Konstantin Kolinko
2011/10/14 Mete BALCI : > web.xml root is: > 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

Re: async per servlet 3.0

2011-10-14 Thread Mete BALCI
I want to clarify the situation with a simpler example. I have created a war with 2 servlets, without a web.xml. So war contains only 2 classes (for each servlet). One servlet is annotated as: @WebServlet(value = "/async", asyncSupported = true) Other is annotated as: @WebServlet(value = "/sync"

Re: async per servlet 3.0

2011-10-14 Thread Mete BALCI
web.xml root is: 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. A

Re: async per servlet 3.0

2011-10-14 Thread Konstantin Kolinko
2011/10/14 Mete BALCI : > Hello, > > I am trying to use Servlet 3 async support in Tomcat 7.0.21. I tried setting > annotation asyncSupported=true and writing this to web.xml, tried using apr > and nio, still getting false from isAsyncSupported, what am I missing ? > > Mete > > PS: There is no filt

async per servlet 3.0

2011-10-14 Thread Mete BALCI
Hello, I am trying to use Servlet 3 async support in Tomcat 7.0.21. I tried setting annotation asyncSupported=true and writing this to web.xml, tried using apr and nio, still getting false from isAsyncSupported, what am I missing ? Mete PS: There is no filter, just a single servlet overriding do