Questions tagged [atmosphere]

The Asynchronous WebSocket/Comet Framework

atmosphere
Filter by
Sorted by
Tagged with
1 vote
0 answers
370 views

Issue running atmosphere 2.4.0 on tomcat 7.0.42

Following the example laid out here: http://angularjstutorial.blogspot.ca/2013/10/atmosphere-and-angularjs.html#.VeewkNwrJhG I managed to make the websocket run on jetty. However, running the exact ...
SNLim's user avatar
  • 11
1 vote
0 answers
81 views

Changing language in admin panel yogiben:admin

I want to change the display language of my admin panel using yogiben:admin package. Is it possible to change it without changing my collections names and everything in my Meteor project?
Kris's user avatar
  • 23
1 vote
0 answers
136 views

MeteorServlet does not allow redirect

I use redirect in the spring controller: @RequestMapping(value = "/", method = RequestMethod.GET) public ModelAndView getView(HttpServletRequest request, HttpServletResponse response) { ...
lor1an's user avatar
  • 704
1 vote
1 answer
159 views

Atmosphere jQuery responseBody always starts with length pipe "5|"

I'm trying to work with the atmosphere-framework. Sending and receiving data works pretty well but i think there is some incompatibility or other problem when jquery reads the received message: When ...
MadRainbow's user avatar
1 vote
0 answers
159 views

Scalatra, Atmosphere, and sending messages to clients from outside the message handler

I'm currently reading through the official Scalatra documentation, particularly the guide on using Scalatra with Atmosphere. That page explains how to use Scalatra and Atmosphere to write a WebSocket ...
Ming's user avatar
  • 1,633
1 vote
1 answer
148 views

Custom guice module in atmosphere

Is there a way to define custom guice modules that are being picked up by atmosphere? I've found GuiceObjectFactory and within it the private class AtmosphereModule which does not help here. The goal ...
z00bs's user avatar
  • 7,508
1 vote
1 answer
163 views

Meteor: ReferenceError: IRC is not defined

I am trying to use mrt:meteor-node-irc. AFAIK its meteorized npm package of IRC. I have tried initializing using: client = new IRC().Client(serverURL, nickname, params); client.connect(); I ...
IvoryHeart's user avatar
1 vote
0 answers
270 views

I can not unsubscribe web socket in Firefox

I'm using atmosphere and angularJS for creating the client application. I want to unsubscribe ws when user click Back button in browser or change location page. My code was working normally in Chrome ...
Thanh Dao's user avatar
  • 1,248
1 vote
0 answers
397 views

Push error in browser console on first time connection Safari 5.1.7

I am using PrimeFaces 5.1, JSF 2.1 and tomcat 7 and my application is in AWS. atmosphere version 2.2.2. This issue occurs in Safari 5.1.7. My website is on https - self signed ssl. On connecting ...
mehere's user avatar
  • 1,526
1 vote
1 answer
1k views

Long-polling with Atmosphere issue with Servlet 2.5

I'm testing a simple chat application which is using Atmosphere framework. When I connect to the application from two browsers everything works like chat should work with Tomcat 7.0 and Websockets ...
Jakub Hesoun's user avatar
1 vote
1 answer
2k views

Example to follow for using Apache Camel Atmosphere Websocket component

Is there any example to follow for using Apache Camel Atmosphere Websocket component (atmosphere-websocket)? I am trying a basic thing; sending message from the client(Html5 Websocket) to the severe (...
user3005858's user avatar
1 vote
0 answers
119 views

Internet of Things design for jersey and atmosphere

I have a fully working Jersey/Rest application server on an embedded device and am in the process of converting it to websockets with atmosphere-jersey to make it available through a firewall. I've ...
user1442498's user avatar
1 vote
3 answers
574 views

wAsync throws ClassNotFondException

I have been trying to write an android client for the OpenHab server using wAsync. I am using android studio with sdk version 21. my code: import android.os.StrictMode; import android.support.v7....
Adarshlal's user avatar
1 vote
2 answers
696 views

PrimeFaces push with AWS

I am using PrimeFaces 5.0 and tomcat 7 and my application is in AWS. I am trying to use PrimeFaces push. I have implemented a sample application and it is working with my local system. If i deploy the ...
Vineeth NG's user avatar
1 vote
1 answer
335 views

Server push periodically using Atmosphere IO

Scenario that I'm trying to implement is as follows, 1) Suspend all incoming request in @GET handler 2) Add the incoming request resources to a broadcaster 3) Periodically post data at intervals ...
Sva's user avatar
  • 115
1 vote
0 answers
311 views

Atmosphere Client not receiving message?

I have made a jersey atmosphere service When i am trying to subscribe the topic its get connected but its not receiving messages i am trying to send messages from java client to javascript client ...
user2894595's user avatar
1 vote
1 answer
72 views

AtmosphereFramework in clustered environmet

Is it possible to replace the default AtmosphereResourceFactory and AtmosphereResourceSession in order to be able to replicate atmosphereresources and sessions in the cloud and if yes how? I'm using ...
tbo's user avatar
  • 9,558
1 vote
0 answers
397 views

Atmosphere does not invoke all callbacks for shared websocket connections

I decided to test how atmosphere framework works with shared websocket connections (shared between browser tabs). For this I used the sample chat with several little modification in client-side: I ...
user1248010's user avatar
1 vote
0 answers
247 views

Grails events-push plugin fails to respond to events

I am trying to move from events-push:1.0.M7 (latest released official version) to events-push:1.0.0.BUILD-SNAPSHOT. To obtain the latter version I cloned the https://github.com/smaldini/grails-events-...
Michael Smolyak's user avatar
1 vote
1 answer
834 views

Vaadin cannot establish Websocket connection on OpenShift

I'm using Vaadin 7.3 with Tomcat8 (built manually from sources on the server) on the OpenShift server. My other setup is Tomcat7 7.0.54 also on OpenShift. My problem appears on both those ...
Piotr Górny's user avatar
1 vote
2 answers
3k views

Primefaces Push onMessage not working

I am trying out the notify example from http://www.primefaces.org/showcase/push/notify.xhtml I am using primefaces 5 and glassfish 4. However, my onMessage code is not getting called. My web.xml &...
Lawrence Wong's user avatar
1 vote
0 answers
80 views

unable to load two page on same url using atmosphere in jhipster version 1.0.0

I have updated my project to the latest version of jhipster, that is 1.0.0 . In my project I am opening 2 different pages on the same url depending on user is logged in or not, that is, if user is ...
Charnjeet Singh's user avatar
1 vote
1 answer
770 views

AtmosphereMappingException: Integration within a JBoss application

I'm trying to add atmosphere with REST inside a JBoss apllication. The intention is to keep the web application running and add a Web Service. (Deployed application via Ant) I have added the ...
Eugenia Rossi's user avatar
1 vote
0 answers
104 views

Not able to access SpringContext after integrate Atmosphere framework with spring MVC

As I mentioned in the title that After integrating Atmosphere framework with Spring MVC, I want to access current LoggedIn User by the help of SecurityContext(Or Authentication), But gives me null ...
Chirag Patel's user avatar
1 vote
0 answers
421 views

Primefaces Two Websockets on one Page

I am devloping an Application which is very Data-Driven. Therefore I like to get my View updated from the Database-Changes. Now I try to open two Sockets with PrimeFacesPush but only one socket gets ...
Dominic Weiser's user avatar
1 vote
1 answer
597 views

Atmosphere @ManagedService Injection fails with WebSockets

I'm having a problem using websocket transport when using Atmosphere. The code is shown below: When I use long-polling as a transport, everything works fine. I'm able to call methods on the injected ...
Baldy's user avatar
  • 2,002
1 vote
1 answer
629 views

How the application architecture should be, if we want to use atmosphere-jersey for websockets?

I'm new to this, and trying to understand & implement atmosphere-jersey for my POC: TODO app. I'm not sure whether my architecture is right or wrong. Want to know how could be the architecture of ...
Siva Kumar's user avatar
1 vote
2 answers
2k views

How to configure Tomcat to support primefaces-push (atmosphere)

I'm working with liferay 6.2 (Tomcat 7) and Primefaces 5.0. I tryed to execute the counter example but not worked. More precisely, I downloaded the showcase 5.0 war from primefaces site. I read that ...
Valerio Emanuele's user avatar
1 vote
0 answers
302 views

Atmosphere Long-Polling issue with jetty

I used atmosphere with jetty 9 embeded and jersey. My server code. @Path("/{channelName}") @Singleton public class ResourceChat { @PathParam("channelName") Broadcaster groupBroadcaster; @Suspend ...
Rinat Mukhamedgaliev's user avatar
1 vote
0 answers
182 views

Iron router Meteor.user() isn't ready

The problem I'm facing is that my userId function is running before Meteor.user() is ready, therefore there is no Meteor.user()._id present and thus I get Exception in defer callback: TypeError: ...
Thomas's user avatar
  • 2,386
1 vote
0 answers
1k views

Atmosphere: Multiple Clients for Managed Service

We have an embedded Jetty 9 application that we are trying to add Amosphere support to. The goal is to provide real-time data to AngularJS-based web application. We are using Atmosphere 2.1.3 (though ...
KirEvse's user avatar
  • 307
1 vote
0 answers
756 views

atmosphere-javascript long-polling not "refreshing" every minute

Hi I'm new user to atmosphere, and set up a simple test that worked fine. We used long-polling, and the behavior was that my client would send the server a GET that would stay open until: data was ...
snuggles's user avatar
  • 318
1 vote
1 answer
418 views

Meteor - mrt add [package] with dependencies

I have weird problem with 'mrt add' for packages with dependencies. I have created new app with 'meteor create myapp' (meteor 0.7.2) I wanted to add my package with scss package as a dependency.. ...
juliancwirko's user avatar
  • 1,282
1 vote
1 answer
262 views

GWT Atmosphere - browser hangs on refresh (2.1.0-RC2)

I am using Atmosphere for GWT 2.1.0-RC2 and am experiencing the browser (Both Firefox 24+ and Chrome 30) hang when I refresh. This happens both in production and GWT dev mode. Looking at the ...
Casey Jordan's user avatar
  • 1,234
1 vote
1 answer
701 views

How to Broad Cast Message from JAVA server to JAVA Client in Atmosphere Framework

I am Using Atmosphere Framework web socket as my first preference for transmission fall back goes to long pooling , used runtime-native as atmosphere dependence for maven tool Tomcat-v8 as a server ...
kumar's user avatar
  • 2,985
1 vote
1 answer
557 views

Set PrimeFaces socket timeout

I am able to use push method using primefaces. How I can control the p:socket timeout events and its time? I mean, How I can set p:socket timeout? Besides, How to catch an event when p:socket session ...
Ahmet Karakaya's user avatar
1 vote
1 answer
767 views

Spring MVC with Atmosphere

I have recently started with Atmosphere. I need it to implement it in a Spring MVC application. Till now I've managed to integrate it with Spring MVC. I just need to perform a very simple task. I ...
techPackets's user avatar
  • 4,476
1 vote
0 answers
457 views

atmosphere javascript client - reason for AtmosphereRequest#timeout

What is the reason of timeout parameter of AtmosphereRequest? I am talking about javascript client library - see https://github.com/Atmosphere/atmosphere/wiki/jQuery.atmosphere.js-atmosphere.js-API#...
Michal Bernhard's user avatar
1 vote
1 answer
4k views

Spring + Atmosphere + Tomcat thread leak

i'm facing a strange problem with atmosphere and can't figure how to fix it. I'm trying to implement server push notifications. Notofications should be broadcasted to all connected clients (up to 10, ...
Emanuele Righetto's user avatar
1 vote
1 answer
621 views

RedisUtil shared connection pool false

I am using Atmosphere framework for my server side script on tomcat server. I am also using redis server and using jedis library for java. I am getting following log in tomcat console after which all ...
dipendra's user avatar
  • 235
1 vote
2 answers
452 views

Getting Atmosphere transport used in Java

I'm using Atmosphere for development and I need to get the transport(websocket, long-polling etc.) through which the clients are connected to the server in my back-end. Is there any method in ...
Gaurav Bhor's user avatar
  • 1,097
1 vote
1 answer
2k views

What should the path be in the @AtmosphereHandlerService

I am trying to run the chat example for atmosphere (running in glassfish). So here is my service:- @AtmosphereHandlerService( path = "/chat", interceptors = { ...
user1545858's user avatar
1 vote
0 answers
3k views

atmosphere long-polling doesn't reconnect after connection loss

After server crash or intermittent network failure, Atmosphere web socket client is able to reconnect to the server and receive messages. However, atmosphere long-polling client(IE8) fails to ...
nanaboo's user avatar
  • 385
1 vote
1 answer
2k views

Servlet 3.0 async feature and server side push

I am looking for some api which actually pushes data to the client. Right now I am using atmosphere with long polling to achieve this. I am using Glassfish 3.1.2 with comet enabled. Later I heard ...
Krishna Chaitanya's user avatar
1 vote
0 answers
250 views

Add dynamic created AtmosphereHandler to AtmosphereFramework while runtime

I would like to add dynamic created handler to framework while runtime. Dynamic created class is @ManagedService annotated. I was trying to use AtmosphereFramework.addAtmosphereHandler: Class<?&...
Walery Strauch's user avatar
1 vote
0 answers
289 views

Atmosphere - How to push some mensagem from Java Code?

I have some examples of Atmosphere working fine, but now I have the necessity to push some messages from my Java Code without firing the messages through jsp + javascript. For example,I have this ...
Gustavo Lira's user avatar
1 vote
0 answers
232 views

How can I invalidate session in resource listener's 'onDisconnect' event?

I tried to invoke session.invalidate() in AtmosphereResource's onDisconnect, but the session instance is not HttpServletSession object, it is instance of FakeHttpSession and without invalidate method ...
Xiujun Ma's user avatar
  • 2,584
1 vote
1 answer
483 views

Measuring response time for a Vaadin/Atmosphere based application

I have a Vaadin application that is using web sockets (Atmosphere) to push data to the browser. This means that there is no normal HTTP request/response cycle. From the looks of it, I do get HTTP GET ...
Thilo's user avatar
  • 260k
1 vote
1 answer
259 views

null BroadcasterFactory before Nettosphere initialization

I want to inject a BroadcasterFactory into a Publisher-style class before I have constructed my Nettosphere via it's builders. But a call to BroadcasterFactory.getDefault() returns null before it's ...
Theo's user avatar
  • 89
1 vote
1 answer
738 views

How To Resume Atmosphere Connection When User Cancel Closing Browser Window

Our application is using atmosphere as the comet implementation,we want to implement the functionality that user can choose to stay within the site after browser window is closing by prompting the ...
Lopakhin's user avatar
  • 269

1
4 5
6
7 8
11