<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Servlet 3.0 async support in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/servlet-3-0-async-support/qaa-p/9291770#M3301351</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok I've narrowed down the problem: it is the TenantValidationValve which doesn't support async operation. I've verified this locally using neo sdk tools version 1.20.0. If I replace the TenantValidationValve with a custom osgi fragment (which just does nothing but supports async operation) the application runs fine. Would be nice if this gets fixed soon.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Feb 2013 06:53:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-02-15T06:53:46Z</dc:date>
    <item>
      <title>Servlet 3.0 async support</title>
      <link>https://community.sap.com/t5/technology-q-a/servlet-3-0-async-support/qaq-p/9291769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm currently trying to make use of the servlet 3.0 async api. I have a very simple web app with a single servlet with async supported set to true. If I run this webapp on a local tomcat 7.0.30 it runs fine. But when I run the same web app on either the local or the hosted netweaver cloud I get the following exception:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;java.lang.IllegalStateException: Async support must be enabled on a servlet and for all filters involved in async request processing. This is done in Java code using the Servlet API or by adding "&amp;lt;async-supported&amp;gt;true&amp;lt;/async-supported&amp;gt;" to servlet and filter declarations in web.xml.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.springframework.util.Assert.state(Assert.java:384)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.springframework.web.context.request.async.StandardServletAsyncWebRequest.startAsync(StandardServletAsyncWebRequest.java:98)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.springframework.web.context.request.async.WebAsyncManager.startAsyncProcessing(WebAsyncManager.java:424)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.springframework.web.context.request.async.WebAsyncManager.startDeferredResultProcessing(WebAsyncManager.java:403)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.springframework.web.servlet.mvc.method.annotation.DeferredResultMethodReturnValueHandler.handleReturnValue(DeferredResultMethodReturnValueHandler.java:49)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.springframework.web.method.support.HandlerMethodReturnValueHandlerComposite.handleReturnValue(HandlerMethodReturnValueHandlerComposite.java:69)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:122)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:745)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:686)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:920)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:816)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at javax.servlet.http.HttpServlet.service(HttpServlet.java:735)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:801)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.sap.security.auth.service.webcontainer.internal.Authenticator.invoke(Authenticator.java:147)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.sap.core.tenant.valve.TenantValidationValve.invokeNextValve(TenantValidationValve.java:169)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.sap.core.tenant.valve.TenantValidationValve.invoke(TenantValidationValve.java:84)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.sap.core.js.monitoring.tomcat.valve.RequestTracingValve.invoke(RequestTracingValve.java:27)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.lang.Thread.run(Thread.java:662)|&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think its maybe one (or all) of the SAP Valves which isn't ready for async support?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Feb 2013 13:14:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/servlet-3-0-async-support/qaq-p/9291769</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-14T13:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: Servlet 3.0 async support</title>
      <link>https://community.sap.com/t5/technology-q-a/servlet-3-0-async-support/qaa-p/9291770#M3301351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok I've narrowed down the problem: it is the TenantValidationValve which doesn't support async operation. I've verified this locally using neo sdk tools version 1.20.0. If I replace the TenantValidationValve with a custom osgi fragment (which just does nothing but supports async operation) the application runs fine. Would be nice if this gets fixed soon.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2013 06:53:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/servlet-3-0-async-support/qaa-p/9291770#M3301351</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-15T06:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: Servlet 3.0 async support</title>
      <link>https://community.sap.com/t5/technology-q-a/servlet-3-0-async-support/qaa-p/9291771#M3301352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tobias, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; This is a known issue and unfortunately not that simple. We had several discussions how to fix it&amp;nbsp; and the implementation for single tenant VM-s will be provided in few weeks. &lt;/P&gt;&lt;P&gt; Since the fix for multi-tenant VM-s is more complex it will be implemented later. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards, &lt;/P&gt;&lt;P&gt;&amp;nbsp; Nikolai. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2013 08:21:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/servlet-3-0-async-support/qaa-p/9291771#M3301352</guid>
      <dc:creator>nikolai_tankov</dc:creator>
      <dc:date>2013-02-19T08:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: Servlet 3.0 async support</title>
      <link>https://community.sap.com/t5/technology-q-a/servlet-3-0-async-support/qaa-p/9291772#M3301353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nikolai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm glad that this problem is going to be fixed. I'm a little bit worried about the time frame here though. We're currently developing a product for the NWC which will make use of some server push technology. Since servlet 3.0 async isn't supported right now and also comet support doesn't seem to be available (or ever be supported? - see &lt;A _jive_internal="true" href="https://answers.sap.com/thread/3177696" title="http://scn.sap.com/thread/3177696"&gt;http://scn.sap.com/thread/3177696&lt;/A&gt; and &lt;A _jive_internal="true" href="https://answers.sap.com/thread/3260605" title="http://scn.sap.com/thread/3260605"&gt;http://scn.sap.com/thread/3260605&lt;/A&gt;) I suppose we have to fall back to normal polling. This might be ok for now or some small demos but will for sure not be sufficient for the final product.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Tobias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2013 11:11:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/servlet-3-0-async-support/qaa-p/9291772#M3301353</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-19T11:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: Servlet 3.0 async support</title>
      <link>https://community.sap.com/t5/technology-q-a/servlet-3-0-async-support/qaa-p/9291773#M3301354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tobias, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; When you plan to release your productive version ?&amp;nbsp; I will check if we can speed up the delivery of this feature at least for the single tenant VMs. I hope that you do not plan to work with different tenants(accounts) on one application instance ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards, &lt;/P&gt;&lt;P&gt;&amp;nbsp; Nikolai. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2013 07:53:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/servlet-3-0-async-support/qaa-p/9291773#M3301354</guid>
      <dc:creator>nikolai_tankov</dc:creator>
      <dc:date>2013-02-20T07:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: Servlet 3.0 async support</title>
      <link>https://community.sap.com/t5/technology-q-a/servlet-3-0-async-support/qaa-p/9291774#M3301355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nikolai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;no currently we plan to have only a single tenant scenario which means 1 customer per application instance. For development we're using the NWC starter package. It is planned to show case server push in Q1 and the final product going live in Q3 this year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Tobias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2013 09:26:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/servlet-3-0-async-support/qaa-p/9291774#M3301355</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-20T09:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: Servlet 3.0 async support</title>
      <link>https://community.sap.com/t5/technology-q-a/servlet-3-0-async-support/qaa-p/9291775#M3301356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any update on this issue? Looks like it hasn't been fixed in yesterdays nwc update / neo-sdk 1.22.0 ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2013 11:36:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/servlet-3-0-async-support/qaa-p/9291775#M3301356</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-03-01T11:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: Servlet 3.0 async support</title>
      <link>https://community.sap.com/t5/technology-q-a/servlet-3-0-async-support/qaa-p/9291776#M3301357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tobias, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; We fixed the issues this week and the fix will come with the next regular update after approximately 2 weeks. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards, &lt;/P&gt;&lt;P&gt;&amp;nbsp; Nikolai. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2013 11:41:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/servlet-3-0-async-support/qaa-p/9291776#M3301357</guid>
      <dc:creator>nikolai_tankov</dc:creator>
      <dc:date>2013-03-01T11:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Servlet 3.0 async support</title>
      <link>https://community.sap.com/t5/technology-q-a/servlet-3-0-async-support/qaa-p/9291777#M3301358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nikolai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the info. I'm really looking forward to the next release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Tobias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2013 13:02:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/servlet-3-0-async-support/qaa-p/9291777#M3301358</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-03-01T13:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: Servlet 3.0 async support</title>
      <link>https://community.sap.com/t5/technology-q-a/servlet-3-0-async-support/qaa-p/9291778#M3301359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just wanted to confirm that async is finally working in neo-sdk 1.23.1. Many thanks for fixing that!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Tobias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Mar 2013 08:02:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/servlet-3-0-async-support/qaa-p/9291778#M3301359</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-03-14T08:02:35Z</dc:date>
    </item>
  </channel>
</rss>

