Skip to content

Instantly share code, notes, and snippets.

[INFO] 21 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.912s
[INFO] Finished at: Wed Apr 02 08:46:13 EDT 2014
[INFO] Final Memory: 13M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project prime-showcase: Compilation failure: Compilation failure:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000000000000000, pid=4879, 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
#
(function () {
"use strict";
var content = $('#content');
var input = $('#input');
var status = $('#status');
var myName = false;
var author = null;
var logged = false;
var socket = $.atmosphere;
/*
* Copyright 2014 Jeanfrancois Arcand
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
T 127.0.0.1:54091 -> 127.0.0.1:8080 [AP]
GET /invoke HTTP/1.1.
Host: 127.0.0.1:8080.
Connection: keep-alive.
Accept: */*.
User-Agent: NING/1.0.
Cookie: =man.
<profiles>
<profile>
<id>sonatype-oss-release</id>
<properties>
<gpg.passphrase>XXXXXXX</gpg.passphrase>
<skipTests>true</skipTests>
</properties>
</profile>
<profile>
<id>release-profile</id>
Caused by: java.lang.IllegalStateException: Blocking message pending 10000 for BLOCKING
at org.eclipse.jetty.websocket.common.WebSocketRemoteEndpoint.lockMsg(WebSocketRemoteEndpoint.java:120) ~[websocket-common-9.1.2.v20140210.jar:9.1.2.v20140210]
at org.eclipse.jetty.websocket.common.WebSocketRemoteEndpoint.sendString(WebSocketRemoteEndpoint.java:372) ~[websocket-common-9.1.2.v20140210.jar:9.1.2.v20140210]
at org.atmosphere.container.version.Jetty9WebSocket.write(Jetty9WebSocket.java:41) ~[atmosphere-runtime-2.1.0.jar:2.1.0]
@ManagedService(path = "/pubsub{uc:/[A-Z]{3}[0-9]{4}}")
public class EventSocket {
@Message
public void onMessage(AtmosphereResponse response, String message) throws IOException {
response.write(message);
}
}
diff --git a/modules/javascript/src/main/webapp/javascript/atmosphere.js b/modules/javascript/src/main/webapp/javascript/atmosphere.js
index c519583..2ffcb01 100644
--- a/modules/javascript/src/main/webapp/javascript/atmosphere.js
+++ b/modules/javascript/src/main/webapp/javascript/atmosphere.js
@@ -1227,7 +1227,6 @@
}
if (!_request.enableProtocol) {
- webSocketOpened = true;
if (reopening) {
@jfarcand
jfarcand / Atmosphere_Framework.md
Last active August 29, 2015 13:56
Atmosphere Framework

Atmosphere - Realtime Client Server Framework for the JVM, supporting WebSockets and Cross-Browser Fallbacks Support

  • Lightweight API for writing portable asynchronous applications
  • Use WebSockets when available, either by using Native WebSocket API or jsr 356, and fallback to HTTP when not. All transparent for application. Developers focus on business logic, not the protocol!!
  • Ship with Native Javascript and JQuery clients side library for websockets and fallback transports like Server Side Events, Streaming, JSONP, HTMLFILE and long-polling. Also have built in support for Javascript's library like Sockjs, Socket.IO, Cometd, GWT
  • An Atmosphere Application can be used with IE 6+, Opera 10+, Firefox 3.5+, Chrome 4+, Safari 3+ and server like JBoss 7+, GlassFish 2+, Tomcat 4+, Jetty 6+, Vert.x 1.0+, Netty 3.2+ TRANSPARENTLY, e.g without any change r