Hello,
I tried following your technique (on AppEngine 1.3.7), but it does not
seem to help...
if i view the source of the page, i do see that it attempts to load
the jsapi file, but i still get

 SEVERE: Failed to push the message
com.google.appengine.demos.dda.shared.dancebeginmess...@145d7f2 to
client dance-dance-android-
ahFkYW5jZS1kYW5jZS1yb2JvdHIWCxIER2FtZRgHDAsSBlBsYXllchgRDA
     [java] com.google.appengine.api.channel.ChannelFailureException:
An unexpected error occurred.
     [java]     at
com.google.appengine.api.channel.ChannelServiceImpl.sendMessage(ChannelServiceImpl.java:
59)
     [java]     at
com.google.appengine.demos.dda.server.PushServer.sendMessageByKey(Unknown
Source)
     ........
     [java] Caused by: com.google.apphosting.api.ApiProxy
$ApplicationException: ApplicationError: 2:
     [java]     at
com.google.appengine.api.channel.dev.LocalChannelService.sendChannelMessage(LocalChannelService.java:
91)
     ........

I would really like to get this to work, so i can mess around more
with channels from java/gwt.

thanks,
shlomi


On Jul 28, 11:31 am, Daniel Guermeur <[email protected]> wrote:
> Thanks Don. Works perfectly.
>
> Here is a recap to summarize all the steps so others can do it too:
>
> 1. Extract the "apphosting/tools/dev-channel-js.js" file from
> appengine-api-1.0-sdk-1.3.5.jar
> 2. Create a directory _ah/channel in your war directory
> 3. Rename dev-channel-js.js to jsapi and place it in _ah/channel dir.
> 4. In your main html file include this jsapi file with <script src="/
> _ah/channel/jsapi">.
>
> Daniel

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to