{"action":"created","issue":{"url":"https://api.github.com/repos/magro/memcached-session-manager/issues/249","labels_url":"https://api.github.com/repos/magro/memcached-session-manager/issues/249/labels{/name}","comments_url":"https://api.github.com/repos/magro/memcached-session-manager/issues/249/comments","events_url":"https://api.github.com/repos/magro/memcached-session-manager/issues/249/events","html_url":"https://github.com/magro/memcached-session-manager/issues/249","id":102727509,"number":249,"title":"Add async support for tomcat8","user":{"login":"google-code-exporter","id":13935235,"avatar_url":"https://avatars.githubusercontent.com/u/13935235?v=3","gravatar_id":"","url":"https://api.github.com/users/google-code-exporter","html_url":"https://github.com/google-code-exporter","followers_url":"https://api.github.com/users/google-code-exporter/followers","following_url":"https://api.github.com/users/google-code-exporter/following{/other_user}","gists_url":"https://api.github.com/users/google-code-exporter/gists{/gist_id}","starred_url":"https://api.github.com/users/google-code-exporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google-code-exporter/subscriptions","organizations_url":"https://api.github.com/users/google-code-exporter/orgs","repos_url":"https://api.github.com/users/google-code-exporter/repos","events_url":"https://api.github.com/users/google-code-exporter/events{/privacy}","received_events_url":"https://api.github.com/users/google-code-exporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/magro/memcached-session-manager/labels/bug","name":"bug","color":"FFFFFF"},{"url":"https://api.github.com/repos/magro/memcached-session-manager/labels/imported","name":"imported","color":"FFFFFF"},{"url":"https://api.github.com/repos/magro/memcached-session-manager/labels/Milestone-1.8.2","name":"Milestone-1.8.2","color":"FFFFFF"},{"url":"https://api.github.com/repos/magro/memcached-session-manager/labels/Priority-Medium","name":"Priority-Medium","color":"FFFFFF"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-24T07:38:57Z","updated_at":"2015-08-24T07:39:00Z","closed_at":null,"body":"_From [Kartik...@gmail.com](https://code.google.com/u/103826724080458750160/) on June 01, 2014 11:48:03_\n\n<b>What steps will reproduce the problem?</b>\n&#13;\n1.On adding memcached session manager in tomcat8 or 7, long polling stopped working. Without memcached it works perfectly fine.&#13;\n&#13;\n2.I am getting following errors in tomcat logs:&#13;\njava.lang.IllegalStateException: Not supported.&#13;\n\tat org.apache.catalina.connector.Request.startAsync(Request.java:1604) ~[catalina.jar:8.0.5]&#13;\n\tat org.apache.catalina.connector.RequestFacade.startAsync(RequestFacade.java:1037) ~[catalina.jar:8.0.5]&#13;\n\tat org.atmosphere.cpr.AtmosphereRequest.startAsync(AtmosphereRequest.java:692) ~[AtmosphereRequest.class:2.1.4]&#13;\n\tat org.atmosphere.container.Servlet30CometSupport.suspend(Servlet30CometSupport.java:93) ~[Servlet30CometSupport.class:2.1.4]&#13;\n\tat org.atmosphere.container.Servlet30CometSupport.service(Servlet30CometSupport.java:68) ~[Servlet30CometSupport.class:2.1.4]&#13;\n\tat org.atmosphere.cpr.AtmosphereFramework.doCometSupport(AtmosphereFramework.java:1801) ~[AtmosphereFramework.class:2.1.4]&#13;\n\tat org.atmosphere.cpr.AtmosphereServlet.doPost(AtmosphereServlet.java:210) [AtmosphereServlet.class:2.1.4]&#13;\n\tat org.atmosphere.cpr.AtmosphereServlet.doGet(AtmosphereServlet.java:196) [AtmosphereServlet.class:2.1.4]&#13;\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:618) [servlet-api.jar:na]&#13;\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:na]&#13;\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:301) [catalina.jar:8.0.5]&#13;\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.5]&#13;\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-websocket.jar:8.0.5]&#13;\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.5]&#13;\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.5]&#13;\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) [catalina.jar:8.0.5]&#13;\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) [catalina.jar:8.0.5]&#13;\n\tat de.javakaffee.web.msm.RequestTrackingContextValve.invoke(RequestTrackingContextValve.java:99) [memcached-session-manager-1.8.1.jar:na]&#13;\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503) [catalina.jar:8.0.5]&#13;\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:136) [catalina.jar:8.0.5]&#13;\n\tat de.javakaffee.web.msm.RequestTrackingHostValve.invoke(RequestTrackingHostValve.java:124) [memcached-session-manager-1.8.1.jar:na]&#13;\n\tat de.javakaffee.web.msm.RequestTrackingHostValve.invoke(RequestTrackingHostValve.java:124) [memcached-session-manager-1.8.1.jar:na]&#13;\n\tat de.javakaffee.web.msm.RequestTrackingHostValve.invoke(RequestTrackingHostValve.java:124) [memcached-session-manager-1.8.1.jar:na]&#13;\n\tat de.javakaffee.web.msm.RequestTrackingHostValve.invoke(RequestTrackingHostValve.java:124) [memcached-session-manager-1.8.1.jar:na]&#13;\n\tat de.javakaffee.web.msm.RequestTrackingHostValve.invoke(RequestTrackingHostValve.java:124) [memcached-session-manager-1.8.1.jar:na]&#13;\n\tat de.javakaffee.web.msm.RequestTrackingHostValve.invoke(RequestTrackingHostValve.java:156) [memcached-session-manager-1.8.1.jar:na]&#13;\n\tat de.javakaffee.web.msm.RequestTrackingHostValve.invoke(RequestTrackingHostValve.java:124) [memcached-session-manager-1.8.1.jar:na]&#13;\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:74) [catalina.jar:8.0.5]&#13;\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610) [catalina.jar:8.0.5]&#13;\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) [catalina.jar:8.0.5]&#13;\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:526) [catalina.jar:8.0.5]&#13;\n\tat org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1017) [tomcat-coyote.jar:8.0.5]&#13;\n\tat org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:652) [tomcat-coyote.jar:8.0.5]&#13;\n\tat org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222) [tomcat-coyote.jar:8.0.5]&#13;\n\tat org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1575) [tomcat-coyote.jar:8.0.5]&#13;\n\tat org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1533) [tomcat-coyote.jar:8.0.5]&#13;\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_45]&#13;\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_45]&#13;\n\tat java.lang.Thread.run(Thread.java:744) [na:1.7.0_45]&#13;\n&#13;\n&#13;\n<b>What version of the product are you using? On what operating system?</b>\nmemcached-session-manager-1.8.1 on ubuntu, this issue is also coming on windows machine&#13;\n&#13;\n<b>Please provide any additional information below.</b>\nI am using atmosphere framework for long-polling and websockets. websockets works fine, but long polling fails.\n\n_Original issue: http://code.google.com/p/memcached-session-manager/issues/detail?id=208_"},"comment":{"url":"https://api.github.com/repos/magro/memcached-session-manager/issues/comments/134073582","html_url":"https://github.com/magro/memcached-session-manager/issues/249#issuecomment-134073582","issue_url":"https://api.github.com/repos/magro/memcached-session-manager/issues/249","id":134073582,"user":{"login":"google-code-exporter","id":13935235,"avatar_url":"https://avatars.githubusercontent.com/u/13935235?v=3","gravatar_id":"","url":"https://api.github.com/users/google-code-exporter","html_url":"https://github.com/google-code-exporter","followers_url":"https://api.github.com/users/google-code-exporter/followers","following_url":"https://api.github.com/users/google-code-exporter/following{/other_user}","gists_url":"https://api.github.com/users/google-code-exporter/gists{/gist_id}","starred_url":"https://api.github.com/users/google-code-exporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google-code-exporter/subscriptions","organizations_url":"https://api.github.com/users/google-code-exporter/orgs","repos_url":"https://api.github.com/users/google-code-exporter/repos","events_url":"https://api.github.com/users/google-code-exporter/events{/privacy}","received_events_url":"https://api.github.com/users/google-code-exporter/received_events","type":"User","site_admin":false},"created_at":"2015-08-24T07:39:00Z","updated_at":"2015-08-24T07:39:00Z","body":"_From [martin.grotzke](https://code.google.com/u/martin.grotzke/) on June 01, 2014 04:23:44_\n\nAsync should be basically supported, at least with reading from the session, see <a title=\"Tomcat7: check/implement support of async/comet requests\" class=\"closed_ref\" href=\"/p/memcached-session-manager/issues/detail?id=75\"> issue #75 </a> and this commit: <a href=\"https://github.com/magro/memcached-session-manager/commit/5a6b0b6d761dff086010d2d0ef0bdf29c3f418d9\" rel=\"nofollow\">https://github.com/magro/memcached-session-manager/commit/5a6b0b6d761dff086010d2d0ef0bdf29c3f418d9</a>&#13;\n&#13;\nHave you tried using tomcat7? Perhaps this is missing for tomcat8.&#13;\n&#13;\nCheers,&#13;\nMartin&#13;"}}