This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ManagedService(path = "/chat", atmosphereConfig = MAX_INACTIVE + "=120000") | |
public class InjectChat { | |
private final Logger logger = LoggerFactory.getLogger(InjectChat.class); | |
// Normally Encoder and Decoder are managed by the @Message annotation, but for this sample we inject them instead. | |
@Inject | |
private Decoder<String, Message> decoder; | |
@Inject | |
private Encoder<Message, String> encoder; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# A fatal error has been detected by the Java Runtime Environment: | |
# | |
# SIGSEGV (0xb) at pc=0x0000000000000000, pid=38192, tid=6403 | |
# | |
# JRE version: Java(TM) SE Runtime Environment (8.0-b132) (build 1.8.0-b132) | |
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.0-b70 mixed mode bsd-amd64 compressed oops) | |
# Problematic frame: | |
# C 0x0000000000000000 | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/samples/chat/pom.xml b/samples/chat/pom.xml | |
index 21f105c..328319d 100644 | |
--- a/samples/chat/pom.xml | |
+++ b/samples/chat/pom.xml | |
@@ -20,6 +20,11 @@ | |
<type>war</type> | |
</dependency> | |
<dependency> | |
+ <groupId>org.atmosphere</groupId> | |
+ <artifactId>replicata</artifactId> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/samples/chat/pom.xml b/samples/chat/pom.xml | |
index 21f105c..328319d 100644 | |
--- a/samples/chat/pom.xml | |
+++ b/samples/chat/pom.xml | |
@@ -20,6 +20,11 @@ | |
<type>war</type> | |
</dependency> | |
<dependency> | |
+ <groupId>org.atmosphere</groupId> | |
+ <artifactId>replicata</artifactId> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[INFO] Started Jetty Server | |
[INFO] Starting scanner at interval of 1 seconds. | |
08:47:51.486 ERROR [qtp1737820907-41] i.a.p.ClientAckInterceptor [ClientAckInterceptor.java:56] Jackson has failed to parse JSON | |
com.fasterxml.jackson.databind.JsonMappingException: No content to map due to end-of-input | |
at [Source: java.io.StringReader@b3bd73; line: 1, column: 1] | |
at com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:164) ~[jackson-databind-2.3.1.jar:2.3.1] | |
at com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:3036) ~[jackson-databind-2.3.1.jar:2.3.1] | |
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:2978) ~[jackson-databind-2.3.1.jar:2.3.1] | |
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2098) ~[jackson-databind-2.3.1.jar:2.3.1] | |
at io.async.postman.ClientAckInterceptor.inspect(ClientAckInterceptor.java:54) ~[atmosphere-postman-1.0.0-SNAPSHOT.jar:na] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11:47:20.403 INFO [Thread-13] o.a.c.AtmosphereFramework [AtmosphereFramework.java:1008] | |
Current version of Atmosphere 2.2.0-RC2 | |
Newest version of Atmosphere available 2.1.5 | |
11:47:20.487 TRACE [Thread-13] o.a.u.a.HTTPGetMethod [HTTPGetMethod.java:91] JGoogleAnalytics: Tracking Successful! | |
11:47:31.490 TRACE [qtp263530079-32] o.a.c.AtmosphereFramework [AtmosphereFramework.java:2229] Query String translated to headers {X-Atmosphere-Transport=websocket, X-Atmosphere-Framework=2.2.1, Content-Type=application%2Foctet-stream, X-Atmosphere-tracking-id=0, X-atmo-protocol=true, X-Cache-Date=0} | |
11:47:31.501 TRACE [qtp263530079-32] o.a.w.DefaultWebSocketProcessor [DefaultWebSocketProcessor.java:162] Processing request AtmosphereRequest{ contextPath= servletPath=/test pathInfo=null requestURI=/test destroyable=true} | |
11:47:31.523 TRACE [qtp263530079-32] o.a.c.AtmosphereResponse [AtmosphereResponse.java:191] 1601878148 destroyed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<init-param> | |
<param-name>org.atmosphere.cpr.broadcasterClass</param-name> | |
<param-value>org.atmosphere.cpr.DefaultBroadcaster</param-value> | |
</init-param> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
T 127.0.0.1:8080 -> 127.0.0.1:61991 [AP] | |
HTTP/1.1 101 Switching Protocols. | |
X-Atmosphere-first-request: true. | |
X-Atmosphere-tracking-id: f454b387-0da6-4e49-a16e-e022e3eb2336. | |
Connection: Upgrade. | |
Sec-WebSocket-Accept: n28no35V5HSW5qEVkCLCxBGbW1s=. | |
Upgrade: WebSocket. | |
. | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11:49:12,131 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy] | |
11:49:12,131 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml] | |
11:49:12,131 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [wsjar:file:/opt/IBM/WebSphere/Liberty/usr/servers/defaultServer/dropins/atmosphere-chat.war!/WEB-INF/classes/logback.xml] | |
11:49:12,157 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@a5ae64d - URL [wsjar:file:/opt/IBM/WebSphere/Liberty/usr/servers/defaultServer/dropins/atmosphere-chat.war!/WEB-INF/classes/logback.xml] is not of type file | |
11:49:12,204 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender] | |
11:49:12,208 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT] | |
11:49:12,223 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assumin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
at org.atmosphere.cpr.AsynchronousProcessor$AsynchronousProcessorHook.timedOut(AsynchronousProcessor.java:545) | |
at org.atmosphere.websocket.DefaultWebSocketProcessor.close(DefaultWebSocketProcessor.java:495) | |
at org.atmosphere.container.TomcatWebSocketHandler.onClose(TomcatWebSocketHandler.java:82) | |
at org.apache.catalina.websocket.StreamInbound.doOnClose(StreamInbound.java:226) | |
at org.apache.catalina.websocket.WsOutbound.writeTextMessage(WsOutbound.java:229) | |
at org.atmosphere.container.version.TomcatWebSocket.write(TomcatWebSocket.java:53) | |
at org.atmosphere.websocket.WebSocket.write(WebSocket.java:217) | |
at org.atmosphere.websocket.WebSocket.write(WebSocket.java:185) |