[appengine-java] Channel API /disconnect inbound service not called when tabs are closed in Chrome and FF

2012-02-08 Thread mayumi
I create socket connection each time user logs into my application. This means if they open new tabs within same browser window multiple socket connections are established for each browser tabs. Problem occurs when I close these tabs; inconsistently /disconnect inbound service is called. This means

[appengine-java] Channel API reconnect after token timeout

2011-11-14 Thread Daniel Florey
Hi, I'm not able to re-open a channel after the token expired. I'm using GWT on the client side. I am creating a new channel after the onError() method is called when the token expires. Everything looks ok but I do not get any events after reopening the channel. I've read in another thread that I

Re: [appengine-java] Channel API not working on development server

2011-08-16 Thread Sébastien Tromp
I have had the Channel API working in development without any additional configuration (using 1.5.1 Java). When you say "not working", do you have any error message or exception (either on client or server side)? -- Sébastien Tromp On Tue, Aug 16, 2011 at 7:42 AM, Sekhar wrote: > Channel API i

[appengine-java] Channel API not working on development server

2011-08-15 Thread Sekhar
Channel API isn't working at all for me on development server - is there any setting that isn't default? Everything works fine when I upload. I'm using 1.5.2 Java. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this disc

[appengine-java] Channel API questions

2011-07-26 Thread Ice13ill
Hello, i have some simple questions regarding the channel api: 1. I know that after two hours, the given token for creating the channel expires and onClose() and onError() are called. When this happends, does the POST request to the path to disconnect servlet is sent ? (/_ah/channel/disconnected/)

[appengine-java] Channel API Disconnect not being hit every time.

2011-07-04 Thread Amorgos
Hey, I have created servlet which is hooked onto the POSTs for /_ah/channel/ connected/ and /_ah/channel/disconnected/. This is hit most of the time, but it does not get executed every time. Is this expected behaviour? Thanks! -- You received this message because you are subscribed to the Goog

[appengine-java] Channel API ChannelMessage sending Asynchronous?

2011-06-25 Thread Amorgos
Hey, I'm experimenting at the moment with the Channel API and I'm wondering if the ChannelService.sendMessage() call is asynchronous. This is because I am calling it within a servlet so if I need to call ChannelService.sendMessage() on potentially 100 or so channels will this be done asynchronousl

[appengine-java] Channel API (Java) doesn't work locally, but in production mode.

2011-05-30 Thread Zerot Samsa
Hey folks. I know that I'm not the first one who is facing this problem. There is a similar thread, but I don't think it's exactly the same problem. I'm working on a project including GAE + GWT. We are using gwt-gae-channel (http://code.google.com/p/gwt-gae- channel/) to send different messages fr

[appengine-java] Channel API limit

2011-05-04 Thread Sinan Yuce
Hi, I am glad that GAE team increased the channel API limits. Here are new limits: Channel API Calls [image: 0%] 0%0 of 91,995,495OkayChannels Created [image: 0%] 0%0 of 95,040OkayChannel Data Sent [image: 0%] 0%0.00 of 2,088.13 GBytesI still believe that number of channels created is too low (t

[appengine-java] Channel API

2011-04-21 Thread Ravi Sharma
Hi, I have just started using Channel API and it look to work fine. But there are few things i would like to know/clear/understand about my design. My Design: Currently when my site's page load it creates a token at server and injet into HTML page, GWT then read the token and start listening to th

[appengine-java] channel api check user connected

2011-02-24 Thread Luke
when using channel api, we need to keep track of all users so that we can loop through the list and send broadcast message to all. how to know whether user still connected without require user to frequently send ping back to server that they are still opening browser? what technique do you,gu

Re: [appengine-java] Channel API problem

2010-12-17 Thread Luis Montes
You're trying to connect with the userId in your script. You need to connect with the token. I made the same mistake the first time :) BTW, here's a collaborative whiteboard demo with the channel API : http://goo.gl/F5rb2 Luis On Thu, Dec 16, 2010 at 3:26 AM, Tarun wrote: > I have been t

[appengine-java] Channel API problem

2010-12-16 Thread Tarun
I have been trying to use the newly launched Channel API on SDK 1.4 in my project. I try to push a message to client which actually pops up a notification but I am getting the ChannelFailureException. Here is the code: TestServlet Where the token is created: public void doGet(HttpServletRequest req

[appengine-java] Channel API

2010-12-03 Thread Rus
The channel api as part of the 1.4 SDK release doesnt seem to work when running locally, the onmessage callback never gets called. All works fine when deployed though. Is there anything I need to do to get this working locally? -- You received this message because you are subscribed to the Goog

[appengine-java] Channel API ?

2010-11-24 Thread Roberto Saccon
Anybody figured out how to to use it ? Are there javadocs or any other new docs anywhere, beside of the probably now outdated dance robot ? -- Roberto -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send e

[appengine-java] Channel API still not live...

2010-09-19 Thread Daniel Guermeur
Hello there, Google announced Channel API for 1.3.6 but it is still not live in 1.3.7. It runs in dev mode but when deployed I get a 'feature not implemented' exception. Does anyone has any updated on this? Google team? Thank you. Daniel -- You received this message because you are subscribed

Re: [appengine-java] Channel api / Dance dance robot: what is ApplicationError: 2:

2010-07-26 Thread Don Schwarz
The Channel API is not yet publicly launched. However, most of the DevAppServer support was in 1.3.5. Here's a workaround if you want to test it out: Extract the "apphosting/tools/dev-channel-js.js" file from appengine-api-1.0-sdk-1.3.5.jar and move it to /_ah/channel/jsapi in your war directory

[appengine-java] Channel api / Dance dance robot: what is ApplicationError: 2:

2010-07-24 Thread Daniel Guermeur
Hello there, I am trying out the Channel API with my own project and the Google demo app Dance Dance Robot. In both cases I get ApplicationError 2 when trying to push a message. There is no doc but all libraries are available in the lastest GAE release. Here is the error: com.google.appengine.ap