I've tried to replace Jersey in rest-chat sample by using Apache CXF 2.7.8 . The changes involved the following files:
pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<groupId>org.atmosphere.samples</groupId>
<artifactId>atmosphere-samples</artifactId>
<version>2.1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.atmosphere.samples</groupId>
<artifactId>atmosphere-cxf-chat</artifactId>
<packaging>war</packaging>
<version>2.1.0-SNAPSHOT</version>
<name>cxf-rest-chat</name>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-jaxrs</artifactId>
<version>1.9.13</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${logback-version}</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<version>${logback-version}</version>
</dependency>
<dependency>
<groupId>org.atmosphere</groupId>
<artifactId>atmosphere-annotations</artifactId>
<version>${atmosphere-version}</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-bundle-jaxrs</artifactId>
<version>2.7.8</version>
</dependency>
</dependencies>
</project>
web.xml
<?xml version="1.0" encoding="UTF-8"?>
<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">
<description>Atmosphere REST Chat</description>
<display-name>Atmosphere REST Chat</display-name>
<servlet>
<description>AtmosphereServlet</description>
<servlet-name>AtmosphereServlet</servlet-name>
<servlet-class>org.atmosphere.cpr.AtmosphereServlet</servlet-class>
<init-param>
<param-name>jaxrs.serviceClasses</param-name>
<param-value>
org.atmosphere.samples.chat.cxf.ChatResource
</param-value>
</init-param>
<init-param>
<param-name>jaxrs.providers</param-name>
<param-value>org.codehaus.jackson.jaxrs.JacksonJsonProvider</param-value>
</init-param>
<init-param>
<param-name>org.atmosphere.websocket.messageContentType</param-name>
<param-value>application/json</param-value>
</init-param>
<load-on-startup>0</load-on-startup>
<async-supported>true</async-supported>
</servlet>
<servlet-mapping>
<servlet-name>AtmosphereServlet</servlet-name>
<url-pattern>/chat/*</url-pattern>
</servlet-mapping>
</web-app>
atmosphere.xml
<atmosphere-handlers>
<!-- CXF -->
<atmosphere-handler support-session="false"
context-root="/*"
class-name="org.atmosphere.handler.ReflectorServletProcessor">
<property name="servletClassName"
value="org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet"/>
</atmosphere-handler>
</atmosphere-handlers>
Besides, I removed the JerseyBroadcaster dependency used in @AtmosphereService.
When I run the sample with Jetty 8.1.3 everything looks fine, but when I entered the url http://localhost:8080 the chat sample show the message Sorry, but there's some problem with your socket or the server is down
The log prints the following trace:
22:01:04.962 [qtp938857350-20] DEBUG o.a.c.r.DefaultResourceManager - resolving resource <> type
22:01:04.962 [qtp938857350-20] DEBUG o.a.c.t.servlet.ServletController - Service http request on thread: Thread[qtp938857350-20,5,main]
22:01:04.962 [qtp938857350-20] DEBUG o.a.c.t.http.AbstractHTTPDestination - Create a new message for processing
22:01:04.963 [qtp938857350-20] DEBUG o.apache.cxf.transport.http.Headers - Request Headers: {Cache-Control=[no-cache], connection=[Upgrade], content-type=[application/json], Cookie=[JSESSIONID=02270813-7ad9-456b-becc-9ef103db4960; rememberMe=x1oyQd8NdPcmEcKhMDjFzvpkIO54DTPzRg+URGhmT8XnPoQOlwoS12XWHkZzSBUmF4dNnmnLX3vOo3hDEKXgv3PO2VfML+k/Mi3gjH9fmDrucND/hWbtJLmPOpNVox5KToY1aQt4dbS5mkWJsWF41L4w7SHWcg9jP6nhJbWufAvD66tSMlKXRfxEKEAVCyhf39s96jXiDLzkvGNmQrms1nzlPIKs1mH2wpmPSjyXbLogcpsEyTSbMaT9LRd+MplE8q+m4RegkBxiph09rfnAvt/HAjBW1VwTdngFojW4rJZQEzOoCpSmsF2O6V6HXue9/kMW3a/WI4GMNRHsAUTBSC++m4EV1t4CKWmHXiRmOBbQJvaOZIGMlGOIX5/GH1+T1B8AiFRnYWvnM+PdTnEz5nfMH+E+3u1gCOykqLfGJkv/tb4JzPKwTGUtZ2nw/alqgjk/APr30fDbDDECfj3LuK4/5z2EzBMx1ypl54FEfFlFKCtkE8l7pwFUao8+c5Agj4TpAkmP4J3Twoaw+oEyF+8rGxCAUb+qN8mSuptgnvkySS+xsVzkSvCqtYWlqALm], Host=[localhost:8080], Origin=[http://localhost:8080], Pragma=[no-cache], Sec-WebSocket-Extensions=[x-webkit-deflate-frame], Sec-WebSocket-Key=[8BVo8MaKpyC3dHnUiowdmA==], Sec-WebSocket-Version=[13], Upgrade=[websocket], User-Agent=[Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36], X-atmo-protocol=[], X-Atmosphere-Framework=[2.0.0-jquery], X-Atmosphere-tracking-id=[0], X-Atmosphere-TrackMessageSize=[true], X-Atmosphere-Transport=[websocket], X-Cache-Date=[0]}
22:01:04.964 [qtp938857350-20] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Adding interceptor org.apache.cxf.transport.https.CertConstraintsInterceptor@438d460 to phase pre-stream
22:01:04.964 [qtp938857350-20] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Chain org.apache.cxf.phase.PhaseInterceptorChain@29b22d99 was created. Current flow:
pre-stream [CertConstraintsInterceptor]
unmarshal [JAXRSInInterceptor]
pre-logical [OneWayProcessorInterceptor]
invoke [ServiceInvokerInterceptor]
post-invoke [OutgoingChainInterceptor]
22:01:04.964 [qtp938857350-20] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.transport.https.CertConstraintsInterceptor@438d460
22:01:04.964 [qtp938857350-20] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor@22e85825
22:01:04.964 [qtp938857350-20] DEBUG o.apache.cxf.jaxrs.utils.JAXRSUtils - Trying to select a resource class, request path : /
22:01:04.964 [qtp938857350-20] DEBUG o.apache.cxf.jaxrs.utils.JAXRSUtils - Trying to select a resource operation on the resource class org.atmosphere.samples.chat.cxf.ChatResource
22:01:04.965 [qtp938857350-20] DEBUG o.apache.cxf.jaxrs.utils.JAXRSUtils - Resource operation suspend may get selected
22:01:04.965 [qtp938857350-20] DEBUG o.apache.cxf.jaxrs.utils.JAXRSUtils - No method match, method name : broadcast, request path : /, method @Path : /, HTTP Method : GET, method HTTP Method : POST, ContentType : */*, method @Consumes : */*,, Accept : */*,, method @Produces : application/json,.
22:01:04.965 [qtp938857350-20] DEBUG o.apache.cxf.jaxrs.utils.JAXRSUtils - Resource operation suspend on the resource class org.atmosphere.samples.chat.cxf.ChatResource has been selected
22:01:04.965 [qtp938857350-20] DEBUG o.a.c.j.i.JAXRSInInterceptor - Request path is: /
22:01:04.965 [qtp938857350-20] DEBUG o.a.c.j.i.JAXRSInInterceptor - Request HTTP method is: GET
22:01:04.965 [qtp938857350-20] DEBUG o.a.c.j.i.JAXRSInInterceptor - Request contentType is: application/json
22:01:04.965 [qtp938857350-20] DEBUG o.a.c.j.i.JAXRSInInterceptor - Accept contentType is: */*
22:01:04.965 [qtp938857350-20] DEBUG o.a.c.j.i.JAXRSInInterceptor - Found operation: suspend
22:01:04.965 [qtp938857350-20] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.interceptor.OneWayProcessorInterceptor@67de0c09
22:01:04.966 [qtp938857350-20] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.interceptor.ServiceInvokerInterceptor@127e5130
22:01:04.966 [qtp938857350-20] DEBUG o.a.c.s.invoker.AbstractInvoker - Invoking method public java.lang.String org.atmosphere.samples.chat.cxf.ChatResource.suspend() on object org.atmosphere.samples.chat.cxf.ChatResource@c45aa2c with params [].
22:01:04.966 [qtp938857350-20] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.interceptor.OutgoingChainInterceptor@23042fcc
22:01:04.966 [qtp938857350-20] DEBUG o.a.c.i.OutgoingChainInterceptor - Interceptors contributed by bus: []
22:01:04.966 [qtp938857350-20] DEBUG o.a.c.i.OutgoingChainInterceptor - Interceptors contributed by service: []
22:01:04.966 [qtp938857350-20] DEBUG o.a.c.i.OutgoingChainInterceptor - Interceptors contributed by endpoint: [org.apache.cxf.interceptor.MessageSenderInterceptor@390e4fd7]
22:01:04.966 [qtp938857350-20] DEBUG o.a.c.i.OutgoingChainInterceptor - Interceptors contributed by binding: [org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@5a9bc984]
22:01:04.967 [qtp938857350-20] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Chain org.apache.cxf.phase.PhaseInterceptorChain@70cfad31 was created. Current flow:
prepare-send [MessageSenderInterceptor]
marshal [JAXRSOutInterceptor]
22:01:04.967 [qtp938857350-20] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.interceptor.MessageSenderInterceptor@390e4fd7
22:01:04.967 [qtp938857350-20] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Adding interceptor org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor@36e3ffdf to phase prepare-send-ending
22:01:04.967 [qtp938857350-20] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Chain org.apache.cxf.phase.PhaseInterceptorChain@70cfad31 was modified. Current flow:
prepare-send [MessageSenderInterceptor]
marshal [JAXRSOutInterceptor]
prepare-send-ending [MessageSenderEndingInterceptor]
22:01:04.967 [qtp938857350-20] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@5a9bc984
22:01:04.968 [qtp938857350-20] DEBUG o.a.c.j.i.JAXRSOutInterceptor - Response content type is: application/octet-stream
22:01:04.968 [qtp938857350-20] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor@36e3ffdf
22:01:04.969 [qtp938857350-20] DEBUG o.a.c.t.servlet.ServletController - Finished servicing http request on thread: Thread[qtp938857350-20,5,main]
22:01:04.969 [qtp938857350-20] WARN o.a.w.DefaultWebSocketProcessor - AtmosphereResource was null
22:01:05.048 [qtp938857350-21] DEBUG o.a.c.r.DefaultResourceManager - resolving resource <> type
22:01:05.049 [qtp938857350-21] DEBUG o.a.c.t.servlet.ServletController - Service http request on thread: Thread[qtp938857350-21,5,main]
22:01:05.049 [qtp938857350-21] DEBUG o.a.c.t.http.AbstractHTTPDestination - Create a new message for processing
22:01:05.049 [qtp938857350-21] DEBUG o.apache.cxf.transport.http.Headers - Request Headers: {Cache-Control=[no-cache], connection=[Upgrade], content-type=[application/json], Cookie=[JSESSIONID=02270813-7ad9-456b-becc-9ef103db4960; rememberMe=x1oyQd8NdPcmEcKhMDjFzvpkIO54DTPzRg+URGhmT8XnPoQOlwoS12XWHkZzSBUmF4dNnmnLX3vOo3hDEKXgv3PO2VfML+k/Mi3gjH9fmDrucND/hWbtJLmPOpNVox5KToY1aQt4dbS5mkWJsWF41L4w7SHWcg9jP6nhJbWufAvD66tSMlKXRfxEKEAVCyhf39s96jXiDLzkvGNmQrms1nzlPIKs1mH2wpmPSjyXbLogcpsEyTSbMaT9LRd+MplE8q+m4RegkBxiph09rfnAvt/HAjBW1VwTdngFojW4rJZQEzOoCpSmsF2O6V6HXue9/kMW3a/WI4GMNRHsAUTBSC++m4EV1t4CKWmHXiRmOBbQJvaOZIGMlGOIX5/GH1+T1B8AiFRnYWvnM+PdTnEz5nfMH+E+3u1gCOykqLfGJkv/tb4JzPKwTGUtZ2nw/alqgjk/APr30fDbDDECfj3LuK4/5z2EzBMx1ypl54FEfFlFKCtkE8l7pwFUao8+c5Agj4TpAkmP4J3Twoaw+oEyF+8rGxCAUb+qN8mSuptgnvkySS+xsVzkSvCqtYWlqALm], Host=[localhost:8080], Origin=[http://localhost:8080], Pragma=[no-cache], Sec-WebSocket-Extensions=[x-webkit-deflate-frame], Sec-WebSocket-Key=[k94YBXHpZW/PaMkWmKATpw==], Sec-WebSocket-Version=[13], Upgrade=[websocket], User-Agent=[Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36], X-atmo-protocol=[true], X-Atmosphere-Framework=[2.0.0-jquery], X-Atmosphere-tracking-id=[], X-Atmosphere-TrackMessageSize=[true], X-Atmosphere-Transport=[websocket], X-Cache-Date=[88]}
22:01:05.050 [qtp938857350-21] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Adding interceptor org.apache.cxf.transport.https.CertConstraintsInterceptor@438d460 to phase pre-stream
22:01:05.050 [qtp938857350-21] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Chain org.apache.cxf.phase.PhaseInterceptorChain@26cd2192 was created. Current flow:
pre-stream [CertConstraintsInterceptor]
unmarshal [JAXRSInInterceptor]
pre-logical [OneWayProcessorInterceptor]
invoke [ServiceInvokerInterceptor]
post-invoke [OutgoingChainInterceptor]
22:01:05.050 [qtp938857350-21] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.transport.https.CertConstraintsInterceptor@438d460
22:01:05.050 [qtp938857350-21] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor@22e85825
22:01:05.050 [qtp938857350-21] DEBUG o.apache.cxf.jaxrs.utils.JAXRSUtils - Trying to select a resource class, request path : /
22:01:05.051 [qtp938857350-21] DEBUG o.apache.cxf.jaxrs.utils.JAXRSUtils - Trying to select a resource operation on the resource class org.atmosphere.samples.chat.cxf.ChatResource
22:01:05.051 [qtp938857350-21] DEBUG o.apache.cxf.jaxrs.utils.JAXRSUtils - Resource operation suspend may get selected
22:01:05.051 [qtp938857350-21] DEBUG o.apache.cxf.jaxrs.utils.JAXRSUtils - No method match, method name : broadcast, request path : /, method @Path : /, HTTP Method : GET, method HTTP Method : POST, ContentType : */*, method @Consumes : */*,, Accept : */*,, method @Produces : application/json,.
22:01:05.051 [qtp938857350-21] DEBUG o.apache.cxf.jaxrs.utils.JAXRSUtils - Resource operation suspend on the resource class org.atmosphere.samples.chat.cxf.ChatResource has been selected
22:01:05.052 [qtp938857350-21] DEBUG o.a.c.j.i.JAXRSInInterceptor - Request path is: /
22:01:05.052 [qtp938857350-21] DEBUG o.a.c.j.i.JAXRSInInterceptor - Request HTTP method is: GET
22:01:05.052 [qtp938857350-21] DEBUG o.a.c.j.i.JAXRSInInterceptor - Request contentType is: application/json
22:01:05.052 [qtp938857350-21] DEBUG o.a.c.j.i.JAXRSInInterceptor - Accept contentType is: */*
22:01:05.052 [qtp938857350-21] DEBUG o.a.c.j.i.JAXRSInInterceptor - Found operation: suspend
22:01:05.052 [qtp938857350-21] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.interceptor.OneWayProcessorInterceptor@67de0c09
22:01:05.052 [qtp938857350-21] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.interceptor.ServiceInvokerInterceptor@127e5130
22:01:05.052 [qtp938857350-21] DEBUG o.a.c.s.invoker.AbstractInvoker - Invoking method public java.lang.String org.atmosphere.samples.chat.cxf.ChatResource.suspend() on object org.atmosphere.samples.chat.cxf.ChatResource@c45aa2c with params [].
22:01:05.052 [qtp938857350-21] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.interceptor.OutgoingChainInterceptor@23042fcc
22:01:05.052 [qtp938857350-21] DEBUG o.a.c.i.OutgoingChainInterceptor - Interceptors contributed by bus: []
22:01:05.052 [qtp938857350-21] DEBUG o.a.c.i.OutgoingChainInterceptor - Interceptors contributed by service: []
22:01:05.053 [qtp938857350-21] DEBUG o.a.c.i.OutgoingChainInterceptor - Interceptors contributed by endpoint: [org.apache.cxf.interceptor.MessageSenderInterceptor@390e4fd7]
22:01:05.053 [qtp938857350-21] DEBUG o.a.c.i.OutgoingChainInterceptor - Interceptors contributed by binding: [org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@5a9bc984]
22:01:05.053 [qtp938857350-21] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Chain org.apache.cxf.phase.PhaseInterceptorChain@6405ce40 was created. Current flow:
prepare-send [MessageSenderInterceptor]
marshal [JAXRSOutInterceptor]
22:01:05.053 [qtp938857350-21] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.interceptor.MessageSenderInterceptor@390e4fd7
22:01:05.053 [qtp938857350-21] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Adding interceptor org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor@36e3ffdf to phase prepare-send-ending
22:01:05.053 [qtp938857350-20] DEBUG o.a.c.r.DefaultResourceManager - resolving resource <> type
22:01:05.053 [qtp938857350-21] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Chain org.apache.cxf.phase.PhaseInterceptorChain@6405ce40 was modified. Current flow:
prepare-send [MessageSenderInterceptor]
marshal [JAXRSOutInterceptor]
prepare-send-ending [MessageSenderEndingInterceptor]
22:01:05.053 [qtp938857350-21] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@5a9bc984
22:01:05.053 [qtp938857350-20] DEBUG o.a.c.t.servlet.ServletController - Service http request on thread: Thread[qtp938857350-20,5,main]
22:01:05.053 [qtp938857350-20] DEBUG o.a.c.t.http.AbstractHTTPDestination - Create a new message for processing
22:01:05.054 [qtp938857350-21] DEBUG o.a.c.j.i.JAXRSOutInterceptor - Response content type is: application/octet-stream
22:01:05.054 [qtp938857350-20] DEBUG o.apache.cxf.transport.http.Headers - Request Headers: {Cache-Control=[no-cache], connection=[Upgrade], content-type=[application/json], Cookie=[JSESSIONID=02270813-7ad9-456b-becc-9ef103db4960; rememberMe=x1oyQd8NdPcmEcKhMDjFzvpkIO54DTPzRg+URGhmT8XnPoQOlwoS12XWHkZzSBUmF4dNnmnLX3vOo3hDEKXgv3PO2VfML+k/Mi3gjH9fmDrucND/hWbtJLmPOpNVox5KToY1aQt4dbS5mkWJsWF41L4w7SHWcg9jP6nhJbWufAvD66tSMlKXRfxEKEAVCyhf39s96jXiDLzkvGNmQrms1nzlPIKs1mH2wpmPSjyXbLogcpsEyTSbMaT9LRd+MplE8q+m4RegkBxiph09rfnAvt/HAjBW1VwTdngFojW4rJZQEzOoCpSmsF2O6V6HXue9/kMW3a/WI4GMNRHsAUTBSC++m4EV1t4CKWmHXiRmOBbQJvaOZIGMlGOIX5/GH1+T1B8AiFRnYWvnM+PdTnEz5nfMH+E+3u1gCOykqLfGJkv/tb4JzPKwTGUtZ2nw/alqgjk/APr30fDbDDECfj3LuK4/5z2EzBMx1ypl54FEfFlFKCtkE8l7pwFUao8+c5Agj4TpAkmP4J3Twoaw+oEyF+8rGxCAUb+qN8mSuptgnvkySS+xsVzkSvCqtYWlqALm], Host=[localhost:8080], Origin=[http://localhost:8080], Pragma=[no-cache], Sec-WebSocket-Extensions=[x-webkit-deflate-frame], Sec-WebSocket-Key=[/XbdHPM5/8zXOjrbOfsUAw==], Sec-WebSocket-Version=[13], Upgrade=[websocket], User-Agent=[Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36], X-atmo-protocol=[true], X-Atmosphere-Framework=[2.0.0-jquery], X-Atmosphere-tracking-id=[], X-Atmosphere-TrackMessageSize=[true], X-Atmosphere-Transport=[websocket], X-Cache-Date=[96]}
22:01:05.054 [qtp938857350-20] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Adding interceptor org.apache.cxf.transport.https.CertConstraintsInterceptor@438d460 to phase pre-stream
22:01:05.054 [qtp938857350-20] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Chain org.apache.cxf.phase.PhaseInterceptorChain@3927ff0d was created. Current flow:
pre-stream [CertConstraintsInterceptor]
unmarshal [JAXRSInInterceptor]
pre-logical [OneWayProcessorInterceptor]
invoke [ServiceInvokerInterceptor]
post-invoke [OutgoingChainInterceptor]
22:01:05.054 [qtp938857350-20] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.transport.https.CertConstraintsInterceptor@438d460
22:01:05.054 [qtp938857350-20] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor@22e85825
22:01:05.055 [qtp938857350-20] DEBUG o.apache.cxf.jaxrs.utils.JAXRSUtils - Trying to select a resource class, request path : /
22:01:05.055 [qtp938857350-21] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor@36e3ffdf
22:01:05.055 [qtp938857350-20] DEBUG o.apache.cxf.jaxrs.utils.JAXRSUtils - Trying to select a resource operation on the resource class org.atmosphere.samples.chat.cxf.ChatResource
22:01:05.055 [qtp938857350-20] DEBUG o.apache.cxf.jaxrs.utils.JAXRSUtils - Resource operation suspend may get selected
22:01:05.056 [qtp938857350-21] DEBUG o.a.c.t.servlet.ServletController - Finished servicing http request on thread: Thread[qtp938857350-21,5,main]
22:01:05.056 [qtp938857350-21] WARN o.a.w.DefaultWebSocketProcessor - AtmosphereResource was null
22:01:05.056 [qtp938857350-20] DEBUG o.apache.cxf.jaxrs.utils.JAXRSUtils - No method match, method name : broadcast, request path : /, method @Path : /, HTTP Method : GET, method HTTP Method : POST, ContentType : */*, method @Consumes : */*,, Accept : */*,, method @Produces : application/json,.
22:01:05.056 [qtp938857350-20] DEBUG o.apache.cxf.jaxrs.utils.JAXRSUtils - Resource operation suspend on the resource class org.atmosphere.samples.chat.cxf.ChatResource has been selected
2013-12-23 22:01:05.056:WARN:oeji.nio:java.io.IOException: Broken pipe22:01:05.056 [qtp938857350-20] DEBUG o.a.c.j.i.JAXRSInInterceptor - Request path is: /
22:01:05.056 [qtp938857350-20] DEBUG o.a.c.j.i.JAXRSInInterceptor - Request HTTP method is: GET
22:01:05.057 [qtp938857350-20] DEBUG o.a.c.j.i.JAXRSInInterceptor - Request contentType is: application/json
22:01:05.057 [qtp938857350-20] DEBUG o.a.c.j.i.JAXRSInInterceptor - Accept contentType is: */*
22:01:05.057 [qtp938857350-20] DEBUG o.a.c.j.i.JAXRSInInterceptor - Found operation: suspend
22:01:05.057 [qtp938857350-20] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.interceptor.OneWayProcessorInterceptor@67de0c09
22:01:05.057 [qtp938857350-20] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.interceptor.ServiceInvokerInterceptor@127e5130
22:01:05.057 [qtp938857350-20] DEBUG o.a.c.s.invoker.AbstractInvoker - Invoking method public java.lang.String org.atmosphere.samples.chat.cxf.ChatResource.suspend() on object org.atmosphere.samples.chat.cxf.ChatResource@c45aa2c with params [].
22:01:05.057 [qtp938857350-20] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.interceptor.OutgoingChainInterceptor@23042fcc
22:01:05.057 [qtp938857350-20] DEBUG o.a.c.i.OutgoingChainInterceptor - Interceptors contributed by bus: []
22:01:05.057 [qtp938857350-20] DEBUG o.a.c.i.OutgoingChainInterceptor - Interceptors contributed by service: []
22:01:05.057 [qtp938857350-20] DEBUG o.a.c.i.OutgoingChainInterceptor - Interceptors contributed by endpoint: [org.apache.cxf.interceptor.MessageSenderInterceptor@390e4fd7]
22:01:05.058 [qtp938857350-20] DEBUG o.a.c.i.OutgoingChainInterceptor - Interceptors contributed by binding: [org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@5a9bc984]
22:01:05.058 [qtp938857350-20] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Chain org.apache.cxf.phase.PhaseInterceptorChain@7bf52460 was created. Current flow:
prepare-send [MessageSenderInterceptor]
marshal [JAXRSOutInterceptor]
22:01:05.058 [qtp938857350-20] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.interceptor.MessageSenderInterceptor@390e4fd7
22:01:05.058 [qtp938857350-20] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Adding interceptor org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor@36e3ffdf to phase prepare-send-ending
22:01:05.058 [qtp938857350-20] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Chain org.apache.cxf.phase.PhaseInterceptorChain@7bf52460 was modified. Current flow:
prepare-send [MessageSenderInterceptor]
marshal [JAXRSOutInterceptor]
prepare-send-ending [MessageSenderEndingInterceptor]
22:01:05.058 [qtp938857350-20] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@5a9bc984
22:01:05.059 [qtp938857350-22] DEBUG o.a.c.r.DefaultResourceManager - resolving resource <> type
22:01:05.059 [qtp938857350-22] DEBUG o.a.c.t.servlet.ServletController - Service http request on thread: Thread[qtp938857350-22,5,main]
22:01:05.059 [qtp938857350-22] DEBUG o.a.c.t.http.AbstractHTTPDestination - Create a new message for processing
22:01:05.059 [qtp938857350-20] DEBUG o.a.c.j.i.JAXRSOutInterceptor - Response content type is: application/octet-stream
22:01:05.060 [qtp938857350-20] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor@36e3ffdf
22:01:05.060 [qtp938857350-22] DEBUG o.apache.cxf.transport.http.Headers - Request Headers: {Cache-Control=[no-cache], connection=[Upgrade], content-type=[application/json], Cookie=[JSESSIONID=02270813-7ad9-456b-becc-9ef103db4960; rememberMe=x1oyQd8NdPcmEcKhMDjFzvpkIO54DTPzRg+URGhmT8XnPoQOlwoS12XWHkZzSBUmF4dNnmnLX3vOo3hDEKXgv3PO2VfML+k/Mi3gjH9fmDrucND/hWbtJLmPOpNVox5KToY1aQt4dbS5mkWJsWF41L4w7SHWcg9jP6nhJbWufAvD66tSMlKXRfxEKEAVCyhf39s96jXiDLzkvGNmQrms1nzlPIKs1mH2wpmPSjyXbLogcpsEyTSbMaT9LRd+MplE8q+m4RegkBxiph09rfnAvt/HAjBW1VwTdngFojW4rJZQEzOoCpSmsF2O6V6HXue9/kMW3a/WI4GMNRHsAUTBSC++m4EV1t4CKWmHXiRmOBbQJvaOZIGMlGOIX5/GH1+T1B8AiFRnYWvnM+PdTnEz5nfMH+E+3u1gCOykqLfGJkv/tb4JzPKwTGUtZ2nw/alqgjk/APr30fDbDDECfj3LuK4/5z2EzBMx1ypl54FEfFlFKCtkE8l7pwFUao8+c5Agj4TpAkmP4J3Twoaw+oEyF+8rGxCAUb+qN8mSuptgnvkySS+xsVzkSvCqtYWlqALm], Host=[localhost:8080], Origin=[http://localhost:8080], Pragma=[no-cache], Sec-WebSocket-Extensions=[x-webkit-deflate-frame], Sec-WebSocket-Key=[PzeMB9dQeTQlUHNn3WL4Nw==], Sec-WebSocket-Version=[13], Upgrade=[websocket], User-Agent=[Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36], X-atmo-protocol=[true], X-Atmosphere-Framework=[2.0.0-jquery], X-Atmosphere-tracking-id=[], X-Atmosphere-TrackMessageSize=[true], X-Atmosphere-Transport=[websocket], X-Cache-Date=[101]}
22:01:05.060 [qtp938857350-22] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Adding interceptor org.apache.cxf.transport.https.CertConstraintsInterceptor@438d460 to phase pre-stream
22:01:05.061 [qtp938857350-20] DEBUG o.a.c.t.servlet.ServletController - Finished servicing http request on thread: Thread[qtp938857350-20,5,main]
22:01:05.061 [qtp938857350-22] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Chain org.apache.cxf.phase.PhaseInterceptorChain@3987f9f1 was created. Current flow:
pre-stream [CertConstraintsInterceptor]
unmarshal [JAXRSInInterceptor]
pre-logical [OneWayProcessorInterceptor]
invoke [ServiceInvokerInterceptor]
post-invoke [OutgoingChainInterceptor]
22:01:05.061 [qtp938857350-20] WARN o.a.w.DefaultWebSocketProcessor - AtmosphereResource was null
22:01:05.061 [qtp938857350-22] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.transport.https.CertConstraintsInterceptor@438d460
22:01:05.061 [qtp938857350-22] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor@22e85825
2013-12-23 22:01:05.061:WARN:oeji.nio:java.io.IOException: Broken pipe
22:01:05.061 [qtp938857350-22] DEBUG o.apache.cxf.jaxrs.utils.JAXRSUtils - Trying to select a resource class, request path : /
22:01:05.061 [qtp938857350-22] DEBUG o.apache.cxf.jaxrs.utils.JAXRSUtils - Trying to select a resource operation on the resource class org.atmosphere.samples.chat.cxf.ChatResource
22:01:05.062 [qtp938857350-22] DEBUG o.apache.cxf.jaxrs.utils.JAXRSUtils - Resource operation suspend may get selected
22:01:05.062 [qtp938857350-22] DEBUG o.apache.cxf.jaxrs.utils.JAXRSUtils - No method match, method name : broadcast, request path : /, method @Path : /, HTTP Method : GET, method HTTP Method : POST, ContentType : */*, method @Consumes : */*,, Accept : */*,, method @Produces : application/json,.
22:01:05.062 [qtp938857350-22] DEBUG o.apache.cxf.jaxrs.utils.JAXRSUtils - Resource operation suspend on the resource class org.atmosphere.samples.chat.cxf.ChatResource has been selected
22:01:05.062 [qtp938857350-22] DEBUG o.a.c.j.i.JAXRSInInterceptor - Request path is: /
22:01:05.062 [qtp938857350-22] DEBUG o.a.c.j.i.JAXRSInInterceptor - Request HTTP method is: GET
22:01:05.062 [qtp938857350-22] DEBUG o.a.c.j.i.JAXRSInInterceptor - Request contentType is: application/json
22:01:05.062 [qtp938857350-22] DEBUG o.a.c.j.i.JAXRSInInterceptor - Accept contentType is: */*
22:01:05.062 [qtp938857350-22] DEBUG o.a.c.j.i.JAXRSInInterceptor - Found operation: suspend
22:01:05.063 [qtp938857350-22] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.interceptor.OneWayProcessorInterceptor@67de0c09
22:01:05.063 [qtp938857350-22] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.interceptor.ServiceInvokerInterceptor@127e5130
22:01:05.063 [qtp938857350-23] DEBUG o.a.c.r.DefaultResourceManager - resolving resource <> type
22:01:05.063 [qtp938857350-22] DEBUG o.a.c.s.invoker.AbstractInvoker - Invoking method public java.lang.String org.atmosphere.samples.chat.cxf.ChatResource.suspend() on object org.atmosphere.samples.chat.cxf.ChatResource@c45aa2c with params [].
22:01:05.063 [qtp938857350-22] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.interceptor.OutgoingChainInterceptor@23042fcc
22:01:05.063 [qtp938857350-22] DEBUG o.a.c.i.OutgoingChainInterceptor - Interceptors contributed by bus: []
22:01:05.063 [qtp938857350-22] DEBUG o.a.c.i.OutgoingChainInterceptor - Interceptors contributed by service: []
22:01:05.063 [qtp938857350-23] DEBUG o.a.c.t.servlet.ServletController - Service http request on thread: Thread[qtp938857350-23,5,main]
22:01:05.063 [qtp938857350-22] DEBUG o.a.c.i.OutgoingChainInterceptor - Interceptors contributed by endpoint: [org.apache.cxf.interceptor.MessageSenderInterceptor@390e4fd7]
22:01:05.063 [qtp938857350-23] DEBUG o.a.c.t.http.AbstractHTTPDestination - Create a new message for processing
22:01:05.063 [qtp938857350-22] DEBUG o.a.c.i.OutgoingChainInterceptor - Interceptors contributed by binding: [org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@5a9bc984]
22:01:05.064 [qtp938857350-22] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Chain org.apache.cxf.phase.PhaseInterceptorChain@1c87093 was created. Current flow:
prepare-send [MessageSenderInterceptor]
marshal [JAXRSOutInterceptor]
22:01:05.064 [qtp938857350-22] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.interceptor.MessageSenderInterceptor@390e4fd7
22:01:05.065 [qtp938857350-23] DEBUG o.apache.cxf.transport.http.Headers - Request Headers: {Cache-Control=[no-cache], connection=[Upgrade], content-type=[application/json], Cookie=[JSESSIONID=02270813-7ad9-456b-becc-9ef103db4960; rememberMe=x1oyQd8NdPcmEcKhMDjFzvpkIO54DTPzRg+URGhmT8XnPoQOlwoS12XWHkZzSBUmF4dNnmnLX3vOo3hDEKXgv3PO2VfML+k/Mi3gjH9fmDrucND/hWbtJLmPOpNVox5KToY1aQt4dbS5mkWJsWF41L4w7SHWcg9jP6nhJbWufAvD66tSMlKXRfxEKEAVCyhf39s96jXiDLzkvGNmQrms1nzlPIKs1mH2wpmPSjyXbLogcpsEyTSbMaT9LRd+MplE8q+m4RegkBxiph09rfnAvt/HAjBW1VwTdngFojW4rJZQEzOoCpSmsF2O6V6HXue9/kMW3a/WI4GMNRHsAUTBSC++m4EV1t4CKWmHXiRmOBbQJvaOZIGMlGOIX5/GH1+T1B8AiFRnYWvnM+PdTnEz5nfMH+E+3u1gCOykqLfGJkv/tb4JzPKwTGUtZ2nw/alqgjk/APr30fDbDDECfj3LuK4/5z2EzBMx1ypl54FEfFlFKCtkE8l7pwFUao8+c5Agj4TpAkmP4J3Twoaw+oEyF+8rGxCAUb+qN8mSuptgnvkySS+xsVzkSvCqtYWlqALm], Host=[localhost:8080], Origin=[http://localhost:8080], Pragma=[no-cache], Sec-WebSocket-Extensions=[x-webkit-deflate-frame], Sec-WebSocket-Key=[NPEMoX/35gAxm9fgjvoqdA==], Sec-WebSocket-Version=[13], Upgrade=[websocket], User-Agent=[Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36], X-atmo-protocol=[true], X-Atmosphere-Framework=[2.0.0-jquery], X-Atmosphere-tracking-id=[], X-Atmosphere-TrackMessageSize=[true], X-Atmosphere-Transport=[websocket], X-Cache-Date=[106]}
22:01:05.065 [qtp938857350-22] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Adding interceptor org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor@36e3ffdf to phase prepare-send-ending
22:01:05.065 [qtp938857350-23] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Adding interceptor org.apache.cxf.transport.https.CertConstraintsInterceptor@438d460 to phase pre-stream
22:01:05.065 [qtp938857350-22] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Chain org.apache.cxf.phase.PhaseInterceptorChain@1c87093 was modified. Current flow:
prepare-send [MessageSenderInterceptor]
marshal [JAXRSOutInterceptor]
prepare-send-ending [MessageSenderEndingInterceptor]
22:01:05.065 [qtp938857350-22] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@5a9bc984
22:01:05.065 [qtp938857350-23] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Chain org.apache.cxf.phase.PhaseInterceptorChain@6789b939 was created. Current flow:
pre-stream [CertConstraintsInterceptor]
unmarshal [JAXRSInInterceptor]
pre-logical [OneWayProcessorInterceptor]
invoke [ServiceInvokerInterceptor]
post-invoke [OutgoingChainInterceptor]
22:01:05.065 [qtp938857350-23] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.transport.https.CertConstraintsInterceptor@438d460
22:01:05.065 [qtp938857350-23] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor@22e85825
22:01:05.065 [qtp938857350-23] DEBUG o.apache.cxf.jaxrs.utils.JAXRSUtils - Trying to select a resource class, request path : /
22:01:05.065 [qtp938857350-23] DEBUG o.apache.cxf.jaxrs.utils.JAXRSUtils - Trying to select a resource operation on the resource class org.atmosphere.samples.chat.cxf.ChatResource
22:01:05.066 [qtp938857350-23] DEBUG o.apache.cxf.jaxrs.utils.JAXRSUtils - Resource operation suspend may get selected
22:01:05.066 [qtp938857350-22] DEBUG o.a.c.j.i.JAXRSOutInterceptor - Response content type is: application/octet-stream
22:01:05.066 [qtp938857350-23] DEBUG o.apache.cxf.jaxrs.utils.JAXRSUtils - No method match, method name : broadcast, request path : /, method @Path : /, HTTP Method : GET, method HTTP Method : POST, ContentType : */*, method @Consumes : */*,, Accept : */*,, method @Produces : application/json,.
22:01:05.066 [qtp938857350-23] DEBUG o.apache.cxf.jaxrs.utils.JAXRSUtils - Resource operation suspend on the resource class org.atmosphere.samples.chat.cxf.ChatResource has been selected
22:01:05.066 [qtp938857350-23] DEBUG o.a.c.j.i.JAXRSInInterceptor - Request path is: /
22:01:05.066 [qtp938857350-23] DEBUG o.a.c.j.i.JAXRSInInterceptor - Request HTTP method is: GET
22:01:05.066 [qtp938857350-23] DEBUG o.a.c.j.i.JAXRSInInterceptor - Request contentType is: application/json
22:01:05.066 [qtp938857350-22] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor@36e3ffdf
22:01:05.066 [qtp938857350-23] DEBUG o.a.c.j.i.JAXRSInInterceptor - Accept contentType is: */*
22:01:05.066 [qtp938857350-23] DEBUG o.a.c.j.i.JAXRSInInterceptor - Found operation: suspend
22:01:05.067 [qtp938857350-23] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.interceptor.OneWayProcessorInterceptor@67de0c09
22:01:05.067 [qtp938857350-23] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.interceptor.ServiceInvokerInterceptor@127e5130
22:01:05.067 [qtp938857350-22] DEBUG o.a.c.t.servlet.ServletController - Finished servicing http request on thread: Thread[qtp938857350-22,5,main]
22:01:05.067 [qtp938857350-23] DEBUG o.a.c.s.invoker.AbstractInvoker - Invoking method public java.lang.String org.atmosphere.samples.chat.cxf.ChatResource.suspend() on object org.atmosphere.samples.chat.cxf.ChatResource@c45aa2c with params [].
22:01:05.067 [qtp938857350-22] WARN o.a.w.DefaultWebSocketProcessor - AtmosphereResource was null
22:01:05.067 [qtp938857350-23] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.interceptor.OutgoingChainInterceptor@23042fcc
22:01:05.067 [qtp938857350-23] DEBUG o.a.c.i.OutgoingChainInterceptor - Interceptors contributed by bus: []
2013-12-23 22:01:05.067:WARN:oeji.nio:java.io.IOException: Broken pipe22:01:05.067 [qtp938857350-23] DEBUG o.a.c.i.OutgoingChainInterceptor - Interceptors contributed by service: []
22:01:05.069 [qtp938857350-23] DEBUG o.a.c.i.OutgoingChainInterceptor - Interceptors contributed by endpoint: [org.apache.cxf.interceptor.MessageSenderInterceptor@390e4fd7]
22:01:05.069 [qtp938857350-23] DEBUG o.a.c.i.OutgoingChainInterceptor - Interceptors contributed by binding: [org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@5a9bc984]
22:01:05.069 [qtp938857350-23] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Chain org.apache.cxf.phase.PhaseInterceptorChain@39edd9b3 was created. Current flow:
prepare-send [MessageSenderInterceptor]
marshal [JAXRSOutInterceptor]
22:01:05.069 [qtp938857350-20] DEBUG o.a.c.r.DefaultResourceManager - resolving resource <> type
22:01:05.069 [qtp938857350-23] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.interceptor.MessageSenderInterceptor@390e4fd7
22:01:05.069 [qtp938857350-23] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Adding interceptor org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor@36e3ffdf to phase prepare-send-ending
22:01:05.070 [qtp938857350-23] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Chain org.apache.cxf.phase.PhaseInterceptorChain@39edd9b3 was modified. Current flow:
prepare-send [MessageSenderInterceptor]
marshal [JAXRSOutInterceptor]
prepare-send-ending [MessageSenderEndingInterceptor]
22:01:05.070 [qtp938857350-23] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@5a9bc984
22:01:05.070 [qtp938857350-20] DEBUG o.a.c.t.servlet.ServletController - Service http request on thread: Thread[qtp938857350-20,5,main]
22:01:05.070 [qtp938857350-20] DEBUG o.a.c.t.http.AbstractHTTPDestination - Create a new message for processing
22:01:05.070 [qtp938857350-20] DEBUG o.apache.cxf.transport.http.Headers - Request Headers: {Cache-Control=[no-cache], connection=[Upgrade], content-type=[application/json], Cookie=[JSESSIONID=02270813-7ad9-456b-becc-9ef103db4960; rememberMe=x1oyQd8NdPcmEcKhMDjFzvpkIO54DTPzRg+URGhmT8XnPoQOlwoS12XWHkZzSBUmF4dNnmnLX3vOo3hDEKXgv3PO2VfML+k/Mi3gjH9fmDrucND/hWbtJLmPOpNVox5KToY1aQt4dbS5mkWJsWF41L4w7SHWcg9jP6nhJbWufAvD66tSMlKXRfxEKEAVCyhf39s96jXiDLzkvGNmQrms1nzlPIKs1mH2wpmPSjyXbLogcpsEyTSbMaT9LRd+MplE8q+m4RegkBxiph09rfnAvt/HAjBW1VwTdngFojW4rJZQEzOoCpSmsF2O6V6HXue9/kMW3a/WI4GMNRHsAUTBSC++m4EV1t4CKWmHXiRmOBbQJvaOZIGMlGOIX5/GH1+T1B8AiFRnYWvnM+PdTnEz5nfMH+E+3u1gCOykqLfGJkv/tb4JzPKwTGUtZ2nw/alqgjk/APr30fDbDDECfj3LuK4/5z2EzBMx1ypl54FEfFlFKCtkE8l7pwFUao8+c5Agj4TpAkmP4J3Twoaw+oEyF+8rGxCAUb+qN8mSuptgnvkySS+xsVzkSvCqtYWlqALm], Host=[localhost:8080], Origin=[http://localhost:8080], Pragma=[no-cache], Sec-WebSocket-Extensions=[x-webkit-deflate-frame], Sec-WebSocket-Key=[SpJtINRdjXEgCXIX9qhr+g==], Sec-WebSocket-Version=[13], Upgrade=[websocket], User-Agent=[Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36], X-atmo-protocol=[true], X-Atmosphere-Framework=[2.0.0-jquery], X-Atmosphere-tracking-id=[], X-Atmosphere-TrackMessageSize=[true], X-Atmosphere-Transport=[websocket], X-Cache-Date=[110]}
22:01:05.071 [qtp938857350-20] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Adding interceptor org.apache.cxf.transport.https.CertConstraintsInterceptor@438d460 to phase pre-stream
22:01:05.071 [qtp938857350-23] DEBUG o.a.c.j.i.JAXRSOutInterceptor - Response content type is: application/octet-stream
22:01:05.071 [qtp938857350-20] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Chain org.apache.cxf.phase.PhaseInterceptorChain@2e6f947b was created. Current flow:
pre-stream [CertConstraintsInterceptor]
unmarshal [JAXRSInInterceptor]
pre-logical [OneWayProcessorInterceptor]
invoke [ServiceInvokerInterceptor]
post-invoke [OutgoingChainInterceptor]
22:01:05.071 [qtp938857350-20] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.transport.https.CertConstraintsInterceptor@438d460
22:01:05.071 [qtp938857350-20] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor@22e85825
22:01:05.071 [qtp938857350-20] DEBUG o.apache.cxf.jaxrs.utils.JAXRSUtils - Trying to select a resource class, request path : /
22:01:05.071 [qtp938857350-23] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor@36e3ffdf
22:01:05.071 [qtp938857350-20] DEBUG o.apache.cxf.jaxrs.utils.JAXRSUtils - Trying to select a resource operation on the resource class org.atmosphere.samples.chat.cxf.ChatResource
22:01:05.071 [qtp938857350-20] DEBUG o.apache.cxf.jaxrs.utils.JAXRSUtils - Resource operation suspend may get selected
22:01:05.072 [qtp938857350-20] DEBUG o.apache.cxf.jaxrs.utils.JAXRSUtils - No method match, method name : broadcast, request path : /, method @Path : /, HTTP Method : GET, method HTTP Method : POST, ContentType : */*, method @Consumes : */*,, Accept : */*,, method @Produces : application/json,.
22:01:05.072 [qtp938857350-23] DEBUG o.a.c.t.servlet.ServletController - Finished servicing http request on thread: Thread[qtp938857350-23,5,main]
22:01:05.072 [qtp938857350-20] DEBUG o.apache.cxf.jaxrs.utils.JAXRSUtils - Resource operation suspend on the resource class org.atmosphere.samples.chat.cxf.ChatResource has been selected
22:01:05.072 [qtp938857350-23] WARN o.a.w.DefaultWebSocketProcessor - AtmosphereResource was null
22:01:05.072 [qtp938857350-20] DEBUG o.a.c.j.i.JAXRSInInterceptor - Request path is: /
22:01:05.072 [qtp938857350-20] DEBUG o.a.c.j.i.JAXRSInInterceptor - Request HTTP method is: GET
22:01:05.072 [qtp938857350-20] DEBUG o.a.c.j.i.JAXRSInInterceptor - Request contentType is: application/json
22:01:05.072 [qtp938857350-20] DEBUG o.a.c.j.i.JAXRSInInterceptor - Accept contentType is: */*
22:01:05.072 [qtp938857350-20] DEBUG o.a.c.j.i.JAXRSInInterceptor - Found operation: suspend
2013-12-23 22:01:05.072:WARN:oeji.nio:java.io.IOException: Broken pipe
22:01:05.072 [qtp938857350-20] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.interceptor.OneWayProcessorInterceptor@67de0c09
22:01:05.072 [qtp938857350-20] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.interceptor.ServiceInvokerInterceptor@127e5130
22:01:05.072 [qtp938857350-20] DEBUG o.a.c.s.invoker.AbstractInvoker - Invoking method public java.lang.String org.atmosphere.samples.chat.cxf.ChatResource.suspend() on object org.atmosphere.samples.chat.cxf.ChatResource@c45aa2c with params [].
22:01:05.072 [qtp938857350-20] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.interceptor.OutgoingChainInterceptor@23042fcc
22:01:05.073 [qtp938857350-20] DEBUG o.a.c.i.OutgoingChainInterceptor - Interceptors contributed by bus: []
22:01:05.073 [qtp938857350-20] DEBUG o.a.c.i.OutgoingChainInterceptor - Interceptors contributed by service: []
22:01:05.073 [qtp938857350-20] DEBUG o.a.c.i.OutgoingChainInterceptor - Interceptors contributed by endpoint: [org.apache.cxf.interceptor.MessageSenderInterceptor@390e4fd7]
22:01:05.073 [qtp938857350-20] DEBUG o.a.c.i.OutgoingChainInterceptor - Interceptors contributed by binding: [org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@5a9bc984]
22:01:05.073 [qtp938857350-20] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Chain org.apache.cxf.phase.PhaseInterceptorChain@815a3a1 was created. Current flow:
prepare-send [MessageSenderInterceptor]
marshal [JAXRSOutInterceptor]
22:01:05.073 [qtp938857350-20] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.interceptor.MessageSenderInterceptor@390e4fd7
22:01:05.073 [qtp938857350-20] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Adding interceptor org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor@36e3ffdf to phase prepare-send-ending
22:01:05.073 [qtp938857350-20] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Chain org.apache.cxf.phase.PhaseInterceptorChain@815a3a1 was modified. Current flow:
prepare-send [MessageSenderInterceptor]
marshal [JAXRSOutInterceptor]
prepare-send-ending [MessageSenderEndingInterceptor]
22:01:05.073 [qtp938857350-20] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@5a9bc984
22:01:05.074 [qtp938857350-20] DEBUG o.a.c.j.i.JAXRSOutInterceptor - Response content type is: application/octet-stream
22:01:05.076 [qtp938857350-20] DEBUG o.a.cxf.phase.PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor@36e3ffdf
22:01:05.077 [qtp938857350-20] DEBUG o.a.c.t.servlet.ServletController - Finished servicing http request on thread: Thread[qtp938857350-20,5,main]
22:01:05.077 [qtp938857350-20] WARN o.a.w.DefaultWebSocketProcessor - AtmosphereResource was null
2013-12-23 22:01:05.078:WARN:oeji.nio:java.io.IOException: Broken pipe