Hey all,

I try to use the new Channel API. On localhost i've no problems, but
the deployed version, unfortunately, does not work at all.

There are two different problems:

1) High CPU Avg after calling a Guice Managed servlet:

>The servlet which builds the token has a very high (not normal) CPU Avg:
>12-09 07:46AM 31.531 /token?_dc=1291909591556 200 2330ms 5080cpu_ms 
>2770api_cpu_ms 0kb Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.10 
>(KHTML, like Gecko) >Chrome/8.0.552.215 Safari/534.10,gzip(gfe)
>217.119.50.53 - FloOnWeb [09/Dec/2010:07:46:33 -0800] "GET 
>/token?_dc=1291909591556 HTTP/1.1" 200 199 - "Mozilla/5.0 (X11; U; Linux i686; 
>en-US) AppleWebKit/534.10 (KHTML, >like Gecko) Chrome/8.0.552.215 
>Safari/534.10,gzip(gfe)" - ms=2331 cpu_ms=5080 api_cpu_ms=2770 
>cpm_usd=0.141237 loading_request=1 pending_ms=451
>I 12-09 07:46AM 33.860
>This request caused a new process to be started for your application, and thus 
>caused your application code to be loaded for the first time. This request may 
>thus take longer and use >more CPU than a typical request for your application.

Current Load Table Overview: /token  5   3323 (3323)!    79%

Hmm okay the request caused a new process, but this message appears
after every refresh! So can anyone give me a hint what's going wrong?
It takes about 5-7 seconds until the page appears and the servlet
responses. You can find the (not much) Servlet source here:
http://code.google.com/p/phone-messenger/source/browse/trunk/src/de/rentoudu/chat/server/servlet/ChannelTokenServlet.java

So it's not really much code...

2) Channel API Error
After deploy, I get the following javascript error (console):

> Uncaught Error
> h  jsapi:1
> Ed  jsapi:80
> $  jsapi:75
> Gd.open  jsapi:81
> loadApplication  application.js:158

You can try it here: https://phone-messenger.appspot.com/  - just
login, wait, open console and you'll get the same error
The call happens in: 
http://code.google.com/p/phone-messenger/source/browse/trunk/war/javascripts/application.js
(about line 156)

I really hope someone can help me, so thanks in advance for any
helpful hints!

-- 
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 google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to