[appengine-java] Massive delete (mapreduce based) Datastore viewer Datastore statistics unavailable

2010-12-09 Thread Cyrille Vincey
My problem:
1. I execute a massive delete over a large number of entities (30 million),
using a mapreduce-based job similar to Ikai's one (*)
2. Then both the datastore viewer and the datastore statistics in the
dashboard become unavailable: I get this famous the server encountered an
error (blahblah) page.

Yet, servlet-based queries against the datastore are ok, and the datastore
indexes viewer do not show any error.
Any clue ?

(*) 
http://ikaisays.com/2010/07/09/using-the-java-mapper-framework-for-app-engin
e/



-- 
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.



[appengine-java] Re: AppEngine 1.4.0 now supports jsp-config in web.xml

2010-12-09 Thread George Moschovitis
Interesting,


I love seeing uncool but still useful features added in the SDK.


-g.

-- 
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.



[appengine-java] Problem switching to 1.4.0 - JSP compilation fails

2010-12-09 Thread l.denardo
Hello,
I'm having trouble switching to 1.4.0 SDK.

Development server starts regularly, but when I try to load my login
page (a jsp file) I get the following error:

[WARN] /_ah/login_required
org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: 1 in the generated java file
The type javax.servlet.jsp.PageContext cannot be resolved. It is
indirectly referenced from required .class files

An error occurred at line: 1 in the generated java file
The type javax.servlet.jsp.tagext.TagSupport cannot be resolved. It is
indirectly referenced from required .class files

[more similar entries follow]

An error occurred at line: 1,079 in the generated java file
javax.servlet.jsp.tagext.JspTag cannot be resolved to a type

Stacktrace:
at
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:
92)
at
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:
330)
at
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:
439)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:349)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:327)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:314)
at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:
592)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:
317)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
313)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
at com.google.appengine.tools.development.PrivilegedJspServlet.access
$101(PrivilegedJspServlet.java:23)
at com.google.appengine.tools.development.PrivilegedJspServlet
$2.run(PrivilegedJspServlet.java:59)
at java.security.AccessController.doPrivileged(Native Method)
at
com.google.appengine.tools.development.PrivilegedJspServlet.service(PrivilegedJspServlet.java:
57)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
511)
at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1166)
at
com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:
58)
at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1157)
at
com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:
43)
at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1157)
at
com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:
122)
at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1157)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
388)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:
216)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
182)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
418)
at
com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:
70)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
152)
at com.google.appengine.tools.development.JettyContainerService
$ApiProxyHandler.handle(JettyContainerService.java:349)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
542)
at org.mortbay.jetty.HttpConnection
$RequestHandler.headerComplete(HttpConnection.java:923)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:
409)
at org.mortbay.thread.QueuedThreadPool
$PoolThread.run(QueuedThreadPool.java:582)

Looks like the jsp-api.jar in the SDK is getting ignored, but it's
there and is also visible by Eclipse (auto-completion imports
correctly the missing classes if you try to use them from the
editor).
Is anyone facing the same? Do you know if there's any configuration I
have to check to see if everything's fine?

I'm running on Ubuntu, Eclipse Helios, GWT 2.1.0 and of course GAE
1.4.0 (from 1.3.8), Google Plugin for Eclipse v.1.4.0.

Thenk you very much
regards
Lorenzo

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send 

[appengine-java] Massive Problems with CPU/Guice Servlet and Channel API

2010-12-09 Thread Flori
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.



[appengine-java] Server error when deleting a version

2010-12-09 Thread dleshem
Hello,

I'm getting an error when trying to delete versions 2 and 3 of my
application (id = implied2).
Attempting to delete these versions using AppEngine's control panel
displays A server error has occurred.

Any suggestions?
Danny

-- 
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.



[appengine-java] AppEngine-java-sdk-1.4.0 Eclipse plugin for Mac

2010-12-09 Thread Sumi
Is the AppEngine-java-sdk-1.4.0 Eclipse plugin for Mac available ?

if so from where can it be downloaded...I searched everywhere and non of the
available ones worked..

If it is not available yet, anyone knows what is the expected date of
availability?

Our launch date has come to a halt due the unable to deploy problem ...

so any help is highly appreciated.

-- 
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.



Re: [appengine-java] migrating to 1.4 task queues

2010-12-09 Thread A. Stevko
The only other surprise was when I upgrade the eclipse project to using 1.4,
it _silently failed_ to copy the 1.4 jar files into my project.
This resulted in class not found exceptions during startup.
I've seen other posts that stated this happened when the files where
manually put into place but that is not my case. I've always relied on the
eclipse project tool for managing the gae  gwt versions.

Manually deleting the various 1.3.8 jars and resetting the project's app
engine version to 1.4.0 put the whole thing back on track.

One other thing that is bothering me now although it may or may not be
related to the 1.4 upgrade migration,
Many UI 500 responses are context startup initialization failures like:

12-09 10:22AM 56.796

Failed startup of context
com.google.apphosting.utils.jetty.runtimeappenginewebappcont...@1cc5461{/,/base/data/home/apps/ninuku-archivist/1-0-6d.346785216597395753}
com.google.apphosting.api.DeadlineExceededException: This request
(96acdaff3e9f45cd) started at 2010/12/09 18:22:28.108 UTC and was
still executing at 2010/12/09 18:22:56.787 UTC.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at java.lang.Class.newInstance0(Class.java:372)
at java.lang.Class.newInstance(Class.java:325)



 and -
12-09 09:58AM 28.574

Failed startup of context
com.google.apphosting.utils.jetty.runtimeappenginewebappcont...@15780d9{/,/base/data/home/apps/ninuku-archivist/1-0-6d.346785216597395753}
com.google.inject.CreationException: Guice creation errors:

1) Error injecting method,
com.google.inject.internal.ComputationException:
com.google.inject.internal.ComputationException:
java.lang.SecurityException: Unable to get members for class
com.ninuku.memories.server.handler.journal.DeletePhotoChapterHandler
  at 
net.customware.gwt.dispatch.server.guice.ActionHandlerLinker.linkHandlers(ActionHandlerLinker.java:30)

1 error
at 
com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:354)
at 
com.google.inject.InjectorBuilder.injectDynamically(InjectorBuilder.java:173)
at com.google.inject.InjectorBuilder.build(InjectorBuilder.java:113)
at com.google.inject.Guice.createInjector(Guice.java:92)





On Wed, Dec 8, 2010 at 12:39 PM, Stevko andy.ste...@gmail.com wrote:

 I'm dealing with the change in task queue apis away from .labs.

 One change I've encoutered that is not mentioned in the release notes:
 http://code.google.com/p/googleappengine/wiki/SdkForJavaReleaseNotes

 import static
 com.google.appengine.api.labs.taskqueue.TaskOptions.Builder.url;
 is now undefined.

 I suspect this is the proper replacement method
 import static
 com.google.appengine.api.taskqueue.TaskOptions.Builder.withUrl;

 Any other surprises with migrating to 1.4 task queues?

 --
 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.



-- 
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.



Re: [appengine-java] DEPLOYMENT FAILING AGAIN

2010-12-09 Thread Ikai Lan (Google)
Is this with the 1.4.0 SDK? Are you mapping URLs to JSP files? There's
another thread about this issue - we're looking into it.

--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blogger: http://googleappengine.blogspot.com
Reddit: http://www.reddit.com/r/appengine
Twitter: http://twitter.com/app_engine



On Wed, Dec 8, 2010 at 12:56 PM, Sumi sumi...@gmail.com wrote:

 Unable to update app: Failed to compile jsp files.


 See the deployment console for more details

 Unable to update app: Failed to compile jsp files.

 ===


 I DIDN'T MAKE ANY CHANGES TO JSP PAGES

 --
 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.


-- 
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.



Re: [appengine-java] Server error when deleting a version

2010-12-09 Thread Ikai Lan (Google)
I've cleared out these versions for you.

--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blogger: http://googleappengine.blogspot.com
Reddit: http://www.reddit.com/r/appengine
Twitter: http://twitter.com/app_engine



On Thu, Dec 9, 2010 at 9:21 AM, dleshem dles...@gmail.com wrote:

 Hello,

 I'm getting an error when trying to delete versions 2 and 3 of my
 application (id = implied2).
 Attempting to delete these versions using AppEngine's control panel
 displays A server error has occurred.

 Any suggestions?
 Danny

 --
 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.



-- 
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.



Re: [appengine-java] migrating to 1.4 task queues

2010-12-09 Thread Ikai Lan (Google)
Thanks for the update, Andy. I'm not sure what the 500s you're seeing are
yet, but I'll keep an eye out for reports.

--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blogger: http://googleappengine.blogspot.com
Reddit: http://www.reddit.com/r/appengine
Twitter: http://twitter.com/app_engine



On Thu, Dec 9, 2010 at 12:36 PM, A. Stevko andy.ste...@gmail.com wrote:

 The only other surprise was when I upgrade the eclipse project to using
 1.4, it _silently failed_ to copy the 1.4 jar files into my project.
 This resulted in class not found exceptions during startup.
 I've seen other posts that stated this happened when the files where
 manually put into place but that is not my case. I've always relied on the
 eclipse project tool for managing the gae  gwt versions.

 Manually deleting the various 1.3.8 jars and resetting the project's app
 engine version to 1.4.0 put the whole thing back on track.

 One other thing that is bothering me now although it may or may not be
 related to the 1.4 upgrade migration,
 Many UI 500 responses are context startup initialization failures like:

 12-09 10:22AM 56.796


 Failed startup of context 
 com.google.apphosting.utils.jetty.runtimeappenginewebappcont...@1cc5461{/,/base/data/home/apps/ninuku-archivist/1-0-6d.346785216597395753}
 com.google.apphosting.api.DeadlineExceededException: This request 
 (96acdaff3e9f45cd) started at 2010/12/09 18:22:28.108 UTC and was still 
 executing at 2010/12/09 18:22:56.787 UTC.
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at 
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
   at 
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
   at java.lang.Class.newInstance0(Class.java:372)
   at java.lang.Class.newInstance(Class.java:325)



  and -
 12-09 09:58AM 28.574


 Failed startup of context 
 com.google.apphosting.utils.jetty.runtimeappenginewebappcont...@15780d9{/,/base/data/home/apps/ninuku-archivist/1-0-6d.346785216597395753}
 com.google.inject.CreationException: Guice creation errors:

 1) Error injecting method, com.google.inject.internal.ComputationException: 
 com.google.inject.internal.ComputationException: java.lang.SecurityException: 
 Unable to get members for class 
 com.ninuku.memories.server.handler.journal.DeletePhotoChapterHandler
   at 
 net.customware.gwt.dispatch.server.guice.ActionHandlerLinker.linkHandlers(ActionHandlerLinker.java:30)

 1 error
   at 
 com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:354)
   at 
 com.google.inject.InjectorBuilder.injectDynamically(InjectorBuilder.java:173)
   at com.google.inject.InjectorBuilder.build(InjectorBuilder.java:113)
   at com.google.inject.Guice.createInjector(Guice.java:92)





 On Wed, Dec 8, 2010 at 12:39 PM, Stevko andy.ste...@gmail.com wrote:

 I'm dealing with the change in task queue apis away from .labs.

 One change I've encoutered that is not mentioned in the release notes:
 http://code.google.com/p/googleappengine/wiki/SdkForJavaReleaseNotes

 import static
 com.google.appengine.api.labs.taskqueue.TaskOptions.Builder.url;
 is now undefined.

 I suspect this is the proper replacement method
 import static
 com.google.appengine.api.taskqueue.TaskOptions.Builder.withUrl;

 Any other surprises with migrating to 1.4 task queues?

 --
 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.


  --
 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.


-- 
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.



Re: [appengine-java] AppEngine-java-sdk-1.4.0 for mac corrupted

2010-12-09 Thread Tatyana
Actually it is ok on Mac 10.6.5
Should you check 'Downloads' directory? Screenshot indicates few downloads
of the same file.

On Thu, Dec 9, 2010 at 7:23 PM, Sumi sumi...@gmail.com wrote:


 I downloaded it from here
 http://code.google.com/appengine/downloads.html

 and getting the error  it cannot be unarchived


 can someone help with the location for the correct sdk 1.4.0 for java

 --
 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.


-- 
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.



Re: [appengine-java] AppEngine-java-sdk-1.4.0 for mac corrupted

2010-12-09 Thread Sumi
Thanks! I reinstalled al my eclipse plugins and now i am able to deploy.



On Thu, Dec 9, 2010 at 4:43 PM, Tatyana kel2...@gmail.com wrote:

 Actually it is ok on Mac 10.6.5
 Should you check 'Downloads' directory? Screenshot indicates few downloads
 of the same file.

 On Thu, Dec 9, 2010 at 7:23 PM, Sumi sumi...@gmail.com wrote:


 I downloaded it from here
 http://code.google.com/appengine/downloads.html

 and getting the error  it cannot be unarchived


 can someone help with the location for the correct sdk 1.4.0 for java

 --
 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.


  --
 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.


-- 
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.



Re: [appengine-java] DEPLOYMENT FAILING AGAIN

2010-12-09 Thread Sumi
I reinstalled all the eclipse plugins and now able to deploy.




On Thu, Dec 9, 2010 at 2:49 PM, Ikai Lan (Google)
ikai.l+gro...@google.comikai.l%2bgro...@google.com
 wrote:

 Is this with the 1.4.0 SDK? Are you mapping URLs to JSP files? There's
 another thread about this issue - we're looking into it.

 --
 Ikai Lan
 Developer Programs Engineer, Google App Engine
 Blogger: http://googleappengine.blogspot.com
 Reddit: http://www.reddit.com/r/appengine
 Twitter: http://twitter.com/app_engine



 On Wed, Dec 8, 2010 at 12:56 PM, Sumi sumi...@gmail.com wrote:

 Unable to update app: Failed to compile jsp files.


 See the deployment console for more details

 Unable to update app: Failed to compile jsp files.

 ===


 I DIDN'T MAKE ANY CHANGES TO JSP PAGES

 --
 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.


  --
 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.


-- 
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.



[appengine-java] Re: Problem switching to 1.4.0 - JSP compilation fails

2010-12-09 Thread Starman
I was using a servlet mapping to make my url nicer. Instead of
appid.appspot.com/MyApp.jsp, I had appid.appspot.com/servletname. And
I was using the jsp-file tag to map the servlet to the jsp file.

I have commented out the servlet definition and just let the jsp auto
mapping do its thing. And everything works fine, albeit with uglier
urls.

Btw, I'm using a jsp for my GWT host file instead of an html file so
that I can secure the app host file. Html being statically deployed
makes it impossible to secure at the servlet layer.

R.

On Dec 9, 6:03 pm, Ikai Lan (Google) ikai.l+gro...@google.com
wrote:
 We're reproduced this. It seems to happen when you map a URL to a JSP, and
 only on the development server.

 --
 Ikai Lan
 Developer Programs Engineer, Google App Engine
 Blogger:http://googleappengine.blogspot.com
 Reddit:http://www.reddit.com/r/appengine
 Twitter:http://twitter.com/app_engine



 On Thu, Dec 9, 2010 at 8:36 AM, l.denardo lorenzo.dena...@gmail.com wrote:
  Hello,
  I'm having trouble switching to 1.4.0 SDK.

  Development server starts regularly, but when I try to load my login
  page (a jsp file) I get the following error:

  [WARN] /_ah/login_required
  org.apache.jasper.JasperException: Unable to compile class for JSP:

  An error occurred at line: 1 in the generated java file
  The type javax.servlet.jsp.PageContext cannot be resolved. It is
  indirectly referenced from required .class files

  An error occurred at line: 1 in the generated java file
  The type javax.servlet.jsp.tagext.TagSupport cannot be resolved. It is
  indirectly referenced from required .class files

  [more similar entries follow]

  An error occurred at line: 1,079 in the generated java file
  javax.servlet.jsp.tagext.JspTag cannot be resolved to a type

  Stacktrace:
         at

  org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:
  92)
         at
  org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:
  330)
         at
  org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:
  439)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:349)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:327)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:314)
         at
  org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:
  592)
         at
  org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:
  317)
         at
  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
  313)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
         at
  com.google.appengine.tools.development.PrivilegedJspServlet.access
  $101(PrivilegedJspServlet.java:23)
         at com.google.appengine.tools.development.PrivilegedJspServlet
  $2.run(PrivilegedJspServlet.java:59)
         at java.security.AccessController.doPrivileged(Native Method)
         at

  com.google.appengine.tools.development.PrivilegedJspServlet.service(PrivilegedJspServlet.java:
  57)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at
  org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
  511)
         at org.mortbay.jetty.servlet.ServletHandler
  $CachedChain.doFilter(ServletHandler.java:1166)
         at

  com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:
  58)
         at org.mortbay.jetty.servlet.ServletHandler
  $CachedChain.doFilter(ServletHandler.java:1157)
         at

  com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:
  43)
         at org.mortbay.jetty.servlet.ServletHandler
  $CachedChain.doFilter(ServletHandler.java:1157)
         at

  com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:
  122)
         at org.mortbay.jetty.servlet.ServletHandler
  $CachedChain.doFilter(ServletHandler.java:1157)
         at
  org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
  388)
         at
  org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:
  216)
         at
  org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
  182)
         at
  org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
  765)
         at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
  418)
         at

  com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:
  70)
         at
  org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
  152)
         at com.google.appengine.tools.development.JettyContainerService
  $ApiProxyHandler.handle(JettyContainerService.java:349)
         at
  org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
  152)
         at org.mortbay.jetty.Server.handle(Server.java:326)
         at
  

Re: [google-appengine] Access from China dead

2010-12-09 Thread yinhm
On Thu, Dec 9, 2010 at 11:23 AM, Will vocalster@gmail.com wrote:
 Accesses from China mainland to xxx.appspot.com are all dead, I've tried 3
 different apps.


I can confirm this issue, it has been GFWed(http and https).
Also some of my friends confirmed this too.


-- 
Regards,
@yinhm
Friendfeed: http://friendfeed.com/yinhm
有微码头:http://yinhm.appspot.com
github: http://github.com/yinhm

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Access from China dead

2010-12-09 Thread Will
Oh, for more than 6 hours. Imagine the heat I've got from my users...

Using ping, I found the IP address of xxx.appspot.com changed during this
period. Now pinging gets 'Destination specified is invalid', previously, it
was 'time out'.

Well, I understand google might not change anything, but is there anything
can be done? Before, the IPs resolved had been 'harmony', to Chinese
authority's eyes.

Will

On Thu, Dec 9, 2010 at 11:23 AM, Will vocalster@gmail.com wrote:

 Accesses from China mainland to xxx.appspot.com are all dead, I've tried 3
 different apps.

 Will


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Google App Engine's SMS Verification

2010-12-09 Thread Brandon Baranowski
It is not that I cannot receive an SMS message, because I can and
have... it's that for some odd reason google apps thinks that I
haven't activated my account, even though I obviously have because I
have an app made.  But I will fill out the form anyway.

On Dec 8, 4:09 pm, Robert Kluin robert.kl...@gmail.com wrote:
 If you have been to the groups home page, then you probably also saw
 the note that said: If you are unable to verify your account using SMS, 
 please fill out the this form. (This is also listed in our Frequently Asked 
 Questions.)

 https://appengine.google.com/waitlist/sms_issues

 On Wed, Dec 8, 2010 at 14:29, Brandon Baranowski

 bran...@paranormail.com wrote:
  well, I am accessing google apps through my domain, that's the point
  I'm making here, and obviously I've been to the groups main page in
  order to post this.  So, uh... thanks for the advice?

  On Dec 8, 2:25 pm, Barry Hunter barrybhun...@gmail.com wrote:
  if you signed up via a 'Google Apps' domain - eg your 'paranormail.com' 
  domain

  then usehttp://appengine.google.com/a/yourdomain.com/

  See also the groups 
  homepage:http://groups.google.com/group/google-appengine/
  for more advice.

  On 8 December 2010 08:47, Brandon Baranowski bran...@paranormail.com 
  wrote:

   I am fairly new to the google apps deal, and am working on figuring
   everything out.  However, I repeatedly see that you can make 10 apps
   per account, and only 1 account per phone number.  Well, I have
   verified my account via SMS, and created an application.  It then said
   I had 9 more left, and I am able to access this application fine.  But
   when I try to create another application, it asks me to verify my
   account again via SMS.  If I try to put in my number again, I get an
   error saying I've already used that number to activate an account.
   And since Google is the most difficult service possibly out of any I
   have ever used to contact someone, I am posting here.  However, I
   don't know if this is just peer-reviewed and answered by other people
   who use google's products (which probably is of no use to me), or if
   google actually looks at these.

   On that note, I had verified an account a while back via my other
   phone and I cannot remember any of the information, I don't suppose
   there is anyway to cancel whatever is on that number and start over or
   even get the information to get access to those accounts again?

   Yours Truly.

   --
   You received this message because you are subscribed to the Google 
   Groups Google App Engine group.
   To post to this group, send email to google-appeng...@googlegroups.com.
   To unsubscribe from this group, send email to 
   google-appengine+unsubscr...@googlegroups.com.
   For more options, visit this group 
   athttp://groups.google.com/group/google-appengine?hl=en.

  --
  You received this message because you are subscribed to the Google Groups 
  Google App Engine group.
  To post to this group, send email to google-appeng...@googlegroups.com.
  To unsubscribe from this group, send email to 
  google-appengine+unsubscr...@googlegroups.com.
  For more options, visit this group 
  athttp://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Google App Engine's SMS Verification

2010-12-09 Thread Brandon Baranowski
It is not that I cannot receive an SMS message, because I can and
have... it's that for some odd reason google apps thinks that I
haven't activated my account, even though I obviously have because I
have an app made.  But I will fill out the form anyway.

On Dec 8, 4:09 pm, Robert Kluin robert.kl...@gmail.com wrote:
 If you have been to the groups home page, then you probably also saw
 the note that said: If you are unable to verify your account using SMS, 
 please fill out the this form. (This is also listed in our Frequently Asked 
 Questions.)

 https://appengine.google.com/waitlist/sms_issues

 On Wed, Dec 8, 2010 at 14:29, Brandon Baranowski

 bran...@paranormail.com wrote:
  well, I am accessing google apps through my domain, that's the point
  I'm making here, and obviously I've been to the groups main page in
  order to post this.  So, uh... thanks for the advice?

  On Dec 8, 2:25 pm, Barry Hunter barrybhun...@gmail.com wrote:
  if you signed up via a 'Google Apps' domain - eg your 'paranormail.com' 
  domain

  then usehttp://appengine.google.com/a/yourdomain.com/

  See also the groups 
  homepage:http://groups.google.com/group/google-appengine/
  for more advice.

  On 8 December 2010 08:47, Brandon Baranowski bran...@paranormail.com 
  wrote:

   I am fairly new to the google apps deal, and am working on figuring
   everything out.  However, I repeatedly see that you can make 10 apps
   per account, and only 1 account per phone number.  Well, I have
   verified my account via SMS, and created an application.  It then said
   I had 9 more left, and I am able to access this application fine.  But
   when I try to create another application, it asks me to verify my
   account again via SMS.  If I try to put in my number again, I get an
   error saying I've already used that number to activate an account.
   And since Google is the most difficult service possibly out of any I
   have ever used to contact someone, I am posting here.  However, I
   don't know if this is just peer-reviewed and answered by other people
   who use google's products (which probably is of no use to me), or if
   google actually looks at these.

   On that note, I had verified an account a while back via my other
   phone and I cannot remember any of the information, I don't suppose
   there is anyway to cancel whatever is on that number and start over or
   even get the information to get access to those accounts again?

   Yours Truly.

   --
   You received this message because you are subscribed to the Google 
   Groups Google App Engine group.
   To post to this group, send email to google-appeng...@googlegroups.com.
   To unsubscribe from this group, send email to 
   google-appengine+unsubscr...@googlegroups.com.
   For more options, visit this group 
   athttp://groups.google.com/group/google-appengine?hl=en.

  --
  You received this message because you are subscribed to the Google Groups 
  Google App Engine group.
  To post to this group, send email to google-appeng...@googlegroups.com.
  To unsubscribe from this group, send email to 
  google-appengine+unsubscr...@googlegroups.com.
  For more options, visit this group 
  athttp://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] ascending ordering vs. descending ordering

2010-12-09 Thread ping
Hi :)

What could be the reason that following query works fine with asc
ordering and not with desc ???

Query query = pm.newQuery(Purchase.class);
query.setFilter(groupname == groupnameParameter);
query.declareParameters(String groupnameParameter);
query.setOrdering(date asc);

in the log of the gae i read the following exception when i run the
code with descending ordering :

com.google.appengine.api.datastore.DatastoreNeedIndexException: no
matching index found..  datastore-index kind=Purchase
ancestor=false source=manual
property name=groupname direction=asc/
property name=date direction=desc/
/datastore-index

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] ascending ordering vs. descending ordering

2010-12-09 Thread ping2ravi
You have ascending index but not desc, so just create(submit) those index 
definition and wait while index will be created. Once created ur both query 
will run fine.

Sent from my BlackBerry® wireless device

-Original Message-
From: ping bernd.warm...@gmail.com
Sender: google-appengine@googlegroups.com
Date: Thu, 9 Dec 2010 02:45:26 
To: Google App Enginegoogle-appengine@googlegroups.com
Reply-To: google-appengine@googlegroups.com
Subject: [google-appengine] ascending ordering vs. descending ordering

Hi :)

What could be the reason that following query works fine with asc
ordering and not with desc ???

Query query = pm.newQuery(Purchase.class);
query.setFilter(groupname == groupnameParameter);
query.declareParameters(String groupnameParameter);
query.setOrdering(date asc);

in the log of the gae i read the following exception when i run the
code with descending ordering :

com.google.appengine.api.datastore.DatastoreNeedIndexException: no
matching index found..  datastore-index kind=Purchase
ancestor=false source=manual
property name=groupname direction=asc/
property name=date direction=desc/
/datastore-index

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: ascending ordering vs. descending ordering

2010-12-09 Thread ping
Hi, Thank you...

 And how can i change the index to descending then ???
 The query works just fine on my local machine. There the following
datastore-indexes-auto.xml is generated:

!-- Indices written at Thu, 9 Dec 2010 11:00:36 UTC --

datastore-indexes

!-- Used 27 times in query history --
datastore-index kind=Purchase ancestor=false source=auto
property name=groupname direction=asc/
property name=date direction=asc/
/datastore-index

!-- Used 270 times in query history --
datastore-index kind=Item ancestor=true source=auto
property name=items_INTEGER_IDX direction=asc/
/datastore-index

!-- Used 27 times in query history --
datastore-index kind=Purchase ancestor=true source=auto
property name=purchases_INTEGER_IDX direction=asc/
/datastore-index

!-- Used 1 time in query history --
datastore-index kind=Purchase ancestor=false source=auto
property name=groupname direction=asc/
property name=date direction=desc/
/datastore-index

/datastore-indexes


On Dec 9, 11:49 am, ping2r...@gmail.com wrote:
 You have ascending index but not desc, so just create(submit) those index 
 definition and wait while index will be created. Once created ur both query 
 will run fine.

 Sent from my BlackBerry® wireless device







 -Original Message-
 From: ping bernd.warm...@gmail.com

 Sender: google-appengine@googlegroups.com
 Date: Thu, 9 Dec 2010 02:45:26
 To: Google App Enginegoogle-appengine@googlegroups.com
 Reply-To: google-appengine@googlegroups.com
 Subject: [google-appengine] ascending ordering vs. descending ordering

 Hi :)

 What could be the reason that following query works fine with asc
 ordering and not with desc ???

 Query query = pm.newQuery(Purchase.class);
 query.setFilter(groupname == groupnameParameter);
 query.declareParameters(String groupnameParameter);
 query.setOrdering(date asc);

 in the log of the gae i read the following exception when i run the
 code with descending ordering :

 com.google.appengine.api.datastore.DatastoreNeedIndexException: no
 matching index found..      datastore-index kind=Purchase
 ancestor=false source=manual
         property name=groupname direction=asc/
         property name=date direction=desc/
     /datastore-index

 --
 You received this message because you are subscribed to the Google Groups 
 Google App Engine group.
 To post to this group, send email to google-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-appengine+unsubscr...@googlegroups.com.
 For more options, visit this group 
 athttp://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: ascending ordering vs. descending ordering

2010-12-09 Thread ping2ravi
Then it must be ur recent change and indexes have not been exploded. Go to GAE 
dashboard and see if you can see all indexes there. May be status of this index 
where u want date as desc is still in pending or building.

Sent from my BlackBerry® wireless device

-Original Message-
From: ping bernd.warm...@gmail.com
Sender: google-appengine@googlegroups.com
Date: Thu, 9 Dec 2010 03:07:28 
To: Google App Enginegoogle-appengine@googlegroups.com
Reply-To: google-appengine@googlegroups.com
Subject: [google-appengine] Re: ascending ordering vs. descending ordering

Hi, Thank you...

 And how can i change the index to descending then ???
 The query works just fine on my local machine. There the following
datastore-indexes-auto.xml is generated:

!-- Indices written at Thu, 9 Dec 2010 11:00:36 UTC --

datastore-indexes

!-- Used 27 times in query history --
datastore-index kind=Purchase ancestor=false source=auto
property name=groupname direction=asc/
property name=date direction=asc/
/datastore-index

!-- Used 270 times in query history --
datastore-index kind=Item ancestor=true source=auto
property name=items_INTEGER_IDX direction=asc/
/datastore-index

!-- Used 27 times in query history --
datastore-index kind=Purchase ancestor=true source=auto
property name=purchases_INTEGER_IDX direction=asc/
/datastore-index

!-- Used 1 time in query history --
datastore-index kind=Purchase ancestor=false source=auto
property name=groupname direction=asc/
property name=date direction=desc/
/datastore-index

/datastore-indexes


On Dec 9, 11:49 am, ping2r...@gmail.com wrote:
 You have ascending index but not desc, so just create(submit) those index 
 definition and wait while index will be created. Once created ur both query 
 will run fine.

 Sent from my BlackBerry® wireless device







 -Original Message-
 From: ping bernd.warm...@gmail.com

 Sender: google-appengine@googlegroups.com
 Date: Thu, 9 Dec 2010 02:45:26
 To: Google App Enginegoogle-appengine@googlegroups.com
 Reply-To: google-appengine@googlegroups.com
 Subject: [google-appengine] ascending ordering vs. descending ordering

 Hi :)

 What could be the reason that following query works fine with asc
 ordering and not with desc ???

 Query query = pm.newQuery(Purchase.class);
 query.setFilter(groupname == groupnameParameter);
 query.declareParameters(String groupnameParameter);
 query.setOrdering(date asc);

 in the log of the gae i read the following exception when i run the
 code with descending ordering :

 com.google.appengine.api.datastore.DatastoreNeedIndexException: no
 matching index found..      datastore-index kind=Purchase
 ancestor=false source=manual
         property name=groupname direction=asc/
         property name=date direction=desc/
     /datastore-index

 --
 You received this message because you are subscribed to the Google Groups 
 Google App Engine group.
 To post to this group, send email to google-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-appengine+unsubscr...@googlegroups.com.
 For more options, visit this group 
 athttp://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: ascending ordering vs. descending ordering

2010-12-09 Thread ping
There i cannot find an index with descend ordering :/

On 9 Dez., 12:10, ping2r...@gmail.com wrote:
 Then it must be ur recent change and indexes have not been exploded. Go to 
 GAE dashboard and see if you can see all indexes there. May be status of this 
 index where u want date as desc is still in pending or building.

 Sent from my BlackBerry® wireless device







 -Original Message-
 From: ping bernd.warm...@gmail.com

 Sender: google-appengine@googlegroups.com
 Date: Thu, 9 Dec 2010 03:07:28
 To: Google App Enginegoogle-appengine@googlegroups.com
 Reply-To: google-appengine@googlegroups.com
 Subject: [google-appengine] Re: ascending ordering vs. descending ordering

 Hi, Thank you...

  And how can i change the index to descending then ???
  The query works just fine on my local machine. There the following
 datastore-indexes-auto.xml is generated:

 !-- Indices written at Thu, 9 Dec 2010 11:00:36 UTC --

 datastore-indexes

     !-- Used 27 times in query history --
     datastore-index kind=Purchase ancestor=false source=auto
         property name=groupname direction=asc/
         property name=date direction=asc/
     /datastore-index

     !-- Used 270 times in query history --
     datastore-index kind=Item ancestor=true source=auto
         property name=items_INTEGER_IDX direction=asc/
     /datastore-index

     !-- Used 27 times in query history --
     datastore-index kind=Purchase ancestor=true source=auto
         property name=purchases_INTEGER_IDX direction=asc/
     /datastore-index

     !-- Used 1 time in query history --
     datastore-index kind=Purchase ancestor=false source=auto
         property name=groupname direction=asc/
         property name=date direction=desc/
     /datastore-index

 /datastore-indexes

 On Dec 9, 11:49 am, ping2r...@gmail.com wrote:
  You have ascending index but not desc, so just create(submit) those index 
  definition and wait while index will be created. Once created ur both query 
  will run fine.

  Sent from my BlackBerry® wireless device

  -Original Message-
  From: ping bernd.warm...@gmail.com

  Sender: google-appengine@googlegroups.com
  Date: Thu, 9 Dec 2010 02:45:26
  To: Google App Enginegoogle-appengine@googlegroups.com
  Reply-To: google-appengine@googlegroups.com
  Subject: [google-appengine] ascending ordering vs. descending ordering

  Hi :)

  What could be the reason that following query works fine with asc
  ordering and not with desc ???

  Query query = pm.newQuery(Purchase.class);
  query.setFilter(groupname == groupnameParameter);
  query.declareParameters(String groupnameParameter);
  query.setOrdering(date asc);

  in the log of the gae i read the following exception when i run the
  code with descending ordering :

  com.google.appengine.api.datastore.DatastoreNeedIndexException: no
  matching index found..      datastore-index kind=Purchase
  ancestor=false source=manual
          property name=groupname direction=asc/
          property name=date direction=desc/
      /datastore-index

  --
  You received this message because you are subscribed to the Google Groups 
  Google App Engine group.
  To post to this group, send email to google-appeng...@googlegroups.com.
  To unsubscribe from this group, send email to 
  google-appengine+unsubscr...@googlegroups.com.
  For more options, visit this group 
  athttp://groups.google.com/group/google-appengine?hl=en.

 --
 You received this message because you are subscribed to the Google Groups 
 Google App Engine group.
 To post to this group, send email to google-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-appengine+unsubscr...@googlegroups.com.
 For more options, visit this group 
 athttp://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: [問題]我要用python 寫一個程式

2010-12-09 Thread 风笑雪
汗,不要在公开场合随便暴露Gmail密码…

你看看后台记录是哪句报的错吧,云端的安全设置可能和本地测试不一样。

此外,这篇文章或许会有帮助:

http://www.keakon.net/2010/11/20/在GAE上用Google日历API发短信http://www.keakon.net/2010/11/20/%E5%9C%A8GAE%E4%B8%8A%E7%94%A8Google%E6%97%A5%E5%8E%86API%E5%8F%91%E7%9F%AD%E4%BF%A1

--
keakon

My blog(Chinese): www.keakon.net
Blog source code: https://bitbucket.org/keakon/doodle/



2010/12/9 YF CAO caoyongfeng0...@gmail.com

 重新传一次试试。


 在 2010年12月9日 上午3:05,Toomore toomore0...@gmail.com写道:

 你看後端 log 有�]有�o���e�`的 line ...

  --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To post to this group, send email to google-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.


  --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To post to this group, send email to google-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Not authorized - can't log into appengine

2010-12-09 Thread Thomas Melcher
Hi,

I've got a similar issue.
I can log into the admin panel and deploy my code via appcfg.py update.
But it is not possible to use the Bulkloader with the appcfg.py script.
I am using a google enterprise domain and login information.
If the script asks for Email and password, none of our logins work.


Are there any solutions for this?


Thanks, Thomas

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: What's the red and blue bars in AppStats?

2010-12-09 Thread Stephen Johnson
As a followup to this just in case anyone was wondering. The second number
CPU Time does NOT follow the QuotaService convention of not adding the cpu
and api times together and is actually the Total CPU time (CPU time + API
cpu time). IMHO, it really should be renamed to Total CPU so as to not
conflict with the QuotaService convention.

On Tue, Dec 7, 2010 at 3:49 AM, Fredrik Bonander 
carl.fredrik.bonan...@gmail.com wrote:

 Thanks for your (both of you) info.

 In my mission to improve my application I'm on a constant hunt for
 milliseconds. But while improving on every request I find it kinda strange
 that the difference would be so huge from my development server.

 In appstats the trouble some request that show's 3275ms 9140cpu_ms
 7296api_cpu_ms is 1 memcache call, 4 db.RunQuery and 5 db.Get and in my
 development it's about 400ms. When thinking about it I would think that the
 red bar (the longest one) is time spent waiting on the request to return.
 Especially since the red bar is not present in appstats on my development
 server.

 I think it would make sense or that for some odd reason my code is so bad
 that would run that much slower on the production servers.

 Another thing that bugs me a bit is that this is my third time asking about
 how CPU/API time is calculated in different contexts but never any answers
 from Santa's Elves (in sprit of keeping to the metaphor).

 If I'm right (about the red bars) why the long waiting times for some
 requests ?

 It would be great to get some clarification in how this works so we as
 developers can know how to proceed. I don't want to spend x amount of hours
 optimizing my code if I can't to anything to help improve the CPU/API times.

 ..fredrik


 On Dec 6, 2010, at 6:39 PM, Stephen Johnson wrote:

 My understanding (please correct me if I'm wrong) of the log time numbers
 are:

 1.) Latency time - the amount of actual real world time taken to process
 the request. The App Engine infrastructure uses this time to determine if
 you are (since it's Christmas time) being naughty or nice. Different numbers
 have been thrown out as to what it means to be nice but definitely average
 latency time needs to be under 1 second but it's been noted that sub 800ms
 is preferred and even lower is better. What happens if you're naughty. Well,
 then supposedly Santa won't spin up additional instances for you. It has
 been noted on this forum by Santa's Elves (the Googlers) that this average
 latency time requirement to spin up new instances doesn't include the
 latency time for background tasks.

 2.) CPU Time - the amount of CPU time that your code has used based on a
 1.2 GHz 64-bit x86 CPU executing sequentially which equates to 1200
 megacycles equal to one second physical time. My assumption is then that if
 your code executed on a 2.4 GHz machine that real world time could be 1
 second and CPU time could be 2 seconds (assuming no API time).

 3.) API Time - the amount of API time. Time spent executing in API calls.
 This number could be very large even even if Latency Time is small. For
 example, performing a batch get of 200 keys. These could be executed in
 parallel by the API and could result in large API time but small latency
 time.

 Now, according to the QuoteService docs, the CPU Time and API Time are
 completely separate numbers and would need to be added together to get your
 Total Billed CPU time. Now, do the logs follow this convention. I'm not
 totally sure since I can't find the logs documented anywhere and I can't
 find an example in my logs of API time ever being greater than CPU time. I
 would assume that at times if I did a batch get like I mentioned above and
 very little else in my code that the API time would greatly exceed my CPU
 time, but I can't find that. It would be great if anyone can add to this and
 if they have an example log entry showing this that would be awesome. Any of
 Santa's elves wish to chime in? Also, if this is documented someplace nicely
 and I just couldn't find it then a link to it would be nice.
 Stephen


 On Mon, Dec 6, 2010 at 7:52 AM, mscwd01 mscw...@gmail.com wrote:

 I always assumed the blue was cpu time and the red api time. Please
 feel free to correct me if I am wrong though.

 While we're on the topic of appstats does anyone get a zero value
 reported for cpu and api times? I only ever get readings such as this:

 real=774ms cpu=0ms api=0ms overhead=0ms

 Not helpful at all :P


 On Dec 6, 1:43 pm, Fredrik Bonander carl.fredrik.bonan...@gmail.com
 wrote:
  In my application i saw something that kinda worries me a bit.
 
  In the logs for on specific request it takes 3275ms 9140cpu_ms
 7296api_cpu_ms for the request to complete.  The request started a new
 process and saved the request to appstats.
 
  A typical request to the same URL generates for example this: 384ms
 2306cpu_ms 1630api_cpu_ms in terms of time to process the request.
 
  Inspecting this a bit further I realized that in appstats the 

Re: [google-appengine] Re: What's the red and blue bars in AppStats?

2010-12-09 Thread Stephen Johnson
Fredrik, one of the reasons your going to see discrepancies in the numbers
on production is that if your request starts up a new instance than that
request is going to incur the CPU time cost of loading the libraries that
the request uses. Subsequent requests to that instance then won't have that
CPU cost and will show much smaller CPU time but API time should remain
fairly constant except for some possible caching of data on Google's end. If
you implement the warmup request handlers than you can minimize some of that
time by having your request handler do some datastore/memcache call to get
those libraries loaded in to that instance memory.

On Thu, Dec 9, 2010 at 9:37 AM, Stephen Johnson onepagewo...@gmail.comwrote:

 As a followup to this just in case anyone was wondering. The second number
 CPU Time does NOT follow the QuotaService convention of not adding the cpu
 and api times together and is actually the Total CPU time (CPU time + API
 cpu time). IMHO, it really should be renamed to Total CPU so as to not
 conflict with the QuotaService convention.


 On Tue, Dec 7, 2010 at 3:49 AM, Fredrik Bonander 
 carl.fredrik.bonan...@gmail.com wrote:

 Thanks for your (both of you) info.

 In my mission to improve my application I'm on a constant hunt for
 milliseconds. But while improving on every request I find it kinda strange
 that the difference would be so huge from my development server.

 In appstats the trouble some request that show's 3275ms 9140cpu_ms
 7296api_cpu_ms is 1 memcache call, 4 db.RunQuery and 5 db.Get and in my
 development it's about 400ms. When thinking about it I would think that the
 red bar (the longest one) is time spent waiting on the request to return.
 Especially since the red bar is not present in appstats on my development
 server.

 I think it would make sense or that for some odd reason my code is so bad
 that would run that much slower on the production servers.

 Another thing that bugs me a bit is that this is my third time asking
 about how CPU/API time is calculated in different contexts but never any
 answers from Santa's Elves (in sprit of keeping to the metaphor).

 If I'm right (about the red bars) why the long waiting times for some
 requests ?

 It would be great to get some clarification in how this works so we as
 developers can know how to proceed. I don't want to spend x amount of hours
 optimizing my code if I can't to anything to help improve the CPU/API times.

 ..fredrik


 On Dec 6, 2010, at 6:39 PM, Stephen Johnson wrote:

 My understanding (please correct me if I'm wrong) of the log time numbers
 are:

 1.) Latency time - the amount of actual real world time taken to process
 the request. The App Engine infrastructure uses this time to determine if
 you are (since it's Christmas time) being naughty or nice. Different numbers
 have been thrown out as to what it means to be nice but definitely average
 latency time needs to be under 1 second but it's been noted that sub 800ms
 is preferred and even lower is better. What happens if you're naughty. Well,
 then supposedly Santa won't spin up additional instances for you. It has
 been noted on this forum by Santa's Elves (the Googlers) that this average
 latency time requirement to spin up new instances doesn't include the
 latency time for background tasks.

 2.) CPU Time - the amount of CPU time that your code has used based on a
 1.2 GHz 64-bit x86 CPU executing sequentially which equates to 1200
 megacycles equal to one second physical time. My assumption is then that if
 your code executed on a 2.4 GHz machine that real world time could be 1
 second and CPU time could be 2 seconds (assuming no API time).

 3.) API Time - the amount of API time. Time spent executing in API calls.
 This number could be very large even even if Latency Time is small. For
 example, performing a batch get of 200 keys. These could be executed in
 parallel by the API and could result in large API time but small latency
 time.

 Now, according to the QuoteService docs, the CPU Time and API Time are
 completely separate numbers and would need to be added together to get your
 Total Billed CPU time. Now, do the logs follow this convention. I'm not
 totally sure since I can't find the logs documented anywhere and I can't
 find an example in my logs of API time ever being greater than CPU time. I
 would assume that at times if I did a batch get like I mentioned above and
 very little else in my code that the API time would greatly exceed my CPU
 time, but I can't find that. It would be great if anyone can add to this and
 if they have an example log entry showing this that would be awesome. Any of
 Santa's elves wish to chime in? Also, if this is documented someplace nicely
 and I just couldn't find it then a link to it would be nice.
 Stephen


 On Mon, Dec 6, 2010 at 7:52 AM, mscwd01 mscw...@gmail.com wrote:

 I always assumed the blue was cpu time and the red api time. Please
 feel free to correct me if I am wrong though.

 While 

[google-appengine] Re: AlwaysOn and WarmUpRequests working poorly?

2010-12-09 Thread Darien Caldwell
It sounds wrong.

But it brings me back to a question i've been wondering to myself for
awhile now: what constitutes an Instance, exactly? Is it the bulk of
all the code uploaded, or just whatever modules were las used?

For instance, I have several separate sections to my app, and
depending on which URL a request is received on, different code paths
are executed, each loading different modules. If I have a warm
instance, exactly what is being kept warm? All of the modules for all
of the URLs, or what exactly?

How does the system decided what to keep warm?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: AlwaysOn and WarmUpRequests working poorly?

2010-12-09 Thread Stephen Johnson
My assumption would be and this is for Java (not a python person) that if
you have an empty handler at the very least you would get the JVM up and
running and some of the basic libraries that are required. Then, depending
on what you do in the warmup request and/or your web.xml would load
additional libraries. For example, if you use the load-on-startup with a
integer = 0 then the servlet would be loaded when the request handler is
called regardless of whether or not it is used. Also, if a datastore or
memcache request were made in the handler that those additional libraries
would be loaded. I haven't implemented one yet but my intention is to use it
to load as much of these additional libraries as possible.

On Thu, Dec 9, 2010 at 9:45 AM, Darien Caldwell
darien.caldw...@gmail.comwrote:

 It sounds wrong.

 But it brings me back to a question i've been wondering to myself for
 awhile now: what constitutes an Instance, exactly? Is it the bulk of
 all the code uploaded, or just whatever modules were las used?

 For instance, I have several separate sections to my app, and
 depending on which URL a request is received on, different code paths
 are executed, each loading different modules. If I have a warm
 instance, exactly what is being kept warm? All of the modules for all
 of the URLs, or what exactly?

 How does the system decided what to keep warm?

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To post to this group, send email to google-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Can't deploy to appengine

2010-12-09 Thread nacho
I'm trying to deploy my app to appengine but i can't. Any idea what
could it be?

Deploying new version.
Will check again in 1 seconds.
Will check again in 2 seconds.
Will check again in 4 seconds.
Will check again in 8 seconds.
Will check again in 16 seconds.
Rolling back the update.
javax.net.ssl.SSLHandshakeException: Remote host closed connection
during handshake

Debugging information may be found in .../appengine-
deploy6077282167615956391.log

This is my log out:

Unable to update:
javax.net.ssl.SSLHandshakeException: Remote host closed connection
during handshake
at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:
817)
at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:
1138)
at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:
1165)
at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:
1149)
at
sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:
434)
at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:
166)
at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:
1019)
at
sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:
230)
at
com.google.appengine.tools.admin.ServerConnection.connect(ServerConnection.java:
337)
at
com.google.appengine.tools.admin.ServerConnection.send(ServerConnection.java:
133)
at
com.google.appengine.tools.admin.ServerConnection.post(ServerConnection.java:
82)
at
com.google.appengine.tools.admin.AppVersionUpload.send(AppVersionUpload.java:
582)
at
com.google.appengine.tools.admin.AppVersionUpload.isReady(AppVersionUpload.java:
554)
at com.google.appengine.tools.admin.AppVersionUpload.access
$100(AppVersionUpload.java:38)
at com.google.appengine.tools.admin.AppVersionUpload
$1.call(AppVersionUpload.java:508)
at com.google.appengine.tools.admin.AppVersionUpload
$1.call(AppVersionUpload.java:506)
at
com.google.appengine.tools.admin.AppVersionUpload.retryWithBackoff(AppVersionUpload.java:
629)
at
com.google.appengine.tools.admin.AppVersionUpload.commit(AppVersionUpload.java:
506)
at
com.google.appengine.tools.admin.AppVersionUpload.doUpload(AppVersionUpload.java:
129)
at
com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java:
56)
at
com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy(AppEngineBridgeImpl.java:
271)
at
com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace(DeployProjectJob.java:
146)
at
org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:
38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.io.EOFException: SSL peer shut down incorrectly
at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:
333)
at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:
798)
... 23 more

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: AlwaysOn and WarmUpRequests working poorly?

2010-12-09 Thread Sergio Lopes
That's right, I use GAEJ. In Java, the instance concept and the
startup momento are all well defined. My problem here is that the
loading_requests rarely are /_ah/warmup requests. Most loading
requests are user requests, even with AlwaysOn enabled. It doesn't
seem right...



On Dec 9, 3:17 pm, Stephen Johnson onepagewo...@gmail.com wrote:
 My assumption would be and this is for Java (not a python person) that if
 you have an empty handler at the very least you would get the JVM up and
 running and some of the basic libraries that are required. Then, depending
 on what you do in the warmup request and/or your web.xml would load
 additional libraries. For example, if you use the load-on-startup with a
 integer = 0 then the servlet would be loaded when the request handler is
 called regardless of whether or not it is used. Also, if a datastore or
 memcache request were made in the handler that those additional libraries
 would be loaded. I haven't implemented one yet but my intention is to use it
 to load as much of these additional libraries as possible.

 On Thu, Dec 9, 2010 at 9:45 AM, Darien Caldwell
 darien.caldw...@gmail.comwrote:







  It sounds wrong.

  But it brings me back to a question i've been wondering to myself for
  awhile now: what constitutes an Instance, exactly? Is it the bulk of
  all the code uploaded, or just whatever modules were las used?

  For instance, I have several separate sections to my app, and
  depending on which URL a request is received on, different code paths
  are executed, each loading different modules. If I have a warm
  instance, exactly what is being kept warm? All of the modules for all
  of the URLs, or what exactly?

  How does the system decided what to keep warm?

  --
  You received this message because you are subscribed to the Google Groups
  Google App Engine group.
  To post to this group, send email to google-appeng...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2Bunsubscrib 
  e...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: single property index required for composite indexes ?

2010-12-09 Thread valyala
On Oct 22, 10:00 pm, Robert Kluin robert.kl...@gmail.com wrote:
 I know this discussion has came up before, but I could not find an
 issue (if there is one) for it.  If you create one I'll star it.

See the issue http://code.google.com/p/googleappengine/issues/detail?id=4231
.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] any good solution to SMS verification policy?

2010-12-09 Thread knifenomad
I already have my google app engine verified with my mobile phone and
it was just my testing-purpose trial.

of course i didn't know about one-per-mobile-phone's lifetime policy
of google app engine.

now i'm trying to do something real after I've signed up for google
apps with my new domain such as xxx.net.

but I can't verify myself with my mobile phone because it's already
been used. must i stick with my trial one when I create new
application?

it's not very efficient for me to switch between 2 accounts whenever I
do something related to appengine.

is there any clever solution already been made for this?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] single property index required for composite indexes ?

2010-12-09 Thread Alexander Valyalkin
Hi Robert,

see the http://code.google.com/p/googleappengine/issues/detail?id=4231 .

On Fri, Oct 22, 2010 at 11:00 PM, Robert Kluin robert.kl...@gmail.com wrote:
 I know this discussion has came up before, but I could not find an
 issue (if there is one) for it.  If you create one I'll star it.



 Robert






 On Fri, Oct 22, 2010 at 14:13, leo leo.ant...@gmail.com wrote:
 Hi,
 my understanding is that when you put an entity in the datastore you
 decide which properties are indexed and which ones are unindexed so
 that instance won´t be found when searching (using single or composite
 indexes) by a unindexed property.

 My problem is that I have many queries using a single property with
 ancestors, so that mean I have to index the instance and that will
 appear in 3 indexes (the two built-in indexes for the property and the
 composite index with the property and ancestors). But I´ll be really
 be using just one index.

 Is there any way to avoid this, i.e. be able to use properties in
 composite indexes without these properties being used in single
 property indexes ?

 Is this a limitation on the platform/bigtable or it might change in
 the future ?  (for instance, allow to disable some single property
 indexes in a kind).


 Thanks.

 --
 You received this message because you are subscribed to the Google Groups 
 Google App Engine group.
 To post to this group, send email to google-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-appengine+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/google-appengine?hl=en.



 --
 You received this message because you are subscribed to the Google Groups 
 Google App Engine group.
 To post to this group, send email to google-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-appengine+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/google-appengine?hl=en.





-- 
regards,

Alexander

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Access from China dead

2010-12-09 Thread darasion!
Confirmed.





On Dec 9, 11:23 am, Will vocalster@gmail.com wrote:
 Accesses from China mainland to xxx.appspot.com are all dead, I've tried 3
 different apps.

 Will

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Access from China dead

2010-12-09 Thread lifi ow
Y,New,what should we do?

On 12月9日, 上午11时23分, Will vocalster@gmail.com wrote:
 Accesses from China mainland to xxx.appspot.com are all dead, I've tried 3
 different apps.

 Will

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Access from China dead

2010-12-09 Thread zhang yu
appspot.com被墙了 http://www.douban.com/group/topic/8928422/

在 2010年12月9日 下午3:04,Will vocalster@gmail.com写道:

 你的appspot可以访问吗?我的三个都不行。我在浙江。

 Will

 2010/12/9 YF CAO caoyongfeng0...@gmail.com

 使用自己的Domain才会无法访问,
 appspot目前为止未发现被屏的现象,
 可能是你上传的应用有问题,当然也有可能某些地区将appspot屏了。


 2010/12/9 Will vocalster@gmail.com

 Accesses from China mainland to xxx.appspot.com are all dead, I've tried
 3 different apps.

 Will

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To post to this group, send email to google-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.


 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To post to this group, send email to google-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.


 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To post to this group, send email to google-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] URGENT: billing stuck with This request may take up seven days to complete

2010-12-09 Thread Warren Konkel
In an attempt to change the credit card on file, I clicked the Disable
Billing assuming that I could then re-enable it with a different
credit card. As expected, my quotas reverted to the free levels. The
completely unexpected part is the billing section on my account is now
stuck with Awaiting Recurring Charge Cancellation (This request may
take up seven days to complete.). This is absurd! I'm at 50% of my
quota already and the day has barely begun and I have no way to
increase the quota from the free levels.


Is there any way to get the billing on my account reset so I can put in
a credit card and increase my quotas? I've already submitted a request
via the app engine billing support form, but haven't heard anything
back.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Java server side i18n?

2010-12-09 Thread nacho
How can i use internationalization over appengine (java) on the server
side?

Does any one have any idea?

I've been googling but all the posts that i find are for python
appengine.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Access from China dead

2010-12-09 Thread Satoshi
I am wondering if this issue is related to this:

China Blocks News Websites In Protest Of Nobel Nominee
http://www.itproportal.com/2010/12/9/china-blocks-news-websites-protest-nobel-nominee/

Satoshi

On Dec 8, 11:31 pm, zhang yu zhangyu...@gmail.com wrote:
 appspot.com被墙了 http://www.douban.com/group/topic/8928422/

 在 2010年12月9日 下午3:04,Will vocalster@gmail.com写道:



  你的appspot可以访问吗?我的三个都不行。我在浙江。

  Will

  2010/12/9 YF CAO caoyongfeng0...@gmail.com

  使用自己的Domain才会无法访问,
  appspot目前为止未发现被屏的现象,
  可能是你上传的应用有问题,当然也有可能某些地区将appspot屏了。

  2010/12/9 Will vocalster@gmail.com

  Accesses from China mainland to xxx.appspot.com are all dead, I've tried
  3 different apps.

  Will

  --
  You received this message because you are subscribed to the Google Groups
  Google App Engine group.
  To post to this group, send email to google-appeng...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2Bunsubscrib
   e...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.

  --
  You received this message because you are subscribed to the Google Groups
  Google App Engine group.
  To post to this group, send email to google-appeng...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2Bunsubscrib
   e...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.

  --
  You received this message because you are subscribed to the Google Groups
  Google App Engine group.
  To post to this group, send email to google-appeng...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2Bunsubscrib 
  e...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Java server side i18n?

2010-12-09 Thread Erick Fleming
Java has a fair amount of i18n built-in [1], are you using JSPs or
some other template engine?

[1] http://java.sun.com/javase/technologies/core/basic/intl/

On Thu, Dec 9, 2010 at 12:48 PM, nacho vela.igna...@gmail.com wrote:
 How can i use internationalization over appengine (java) on the server
 side?

 Does any one have any idea?

 I've been googling but all the posts that i find are for python
 appengine.

 --
 You received this message because you are subscribed to the Google Groups 
 Google App Engine group.
 To post to this group, send email to google-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-appengine+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/google-appengine?hl=en.





-- 
Erick Fleming

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: any good solution to SMS verification policy?

2010-12-09 Thread Calvin
Get a Google Voice number and send the verification message to that
number.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Can't deploy to appengine

2010-12-09 Thread dudu
I think there are problems with your cached credentials. Try to clean
it.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Problem with Google App Engine Login

2010-12-09 Thread Ikai Lan (Google)
I see the pending invites. I've forced added you as a developer. Give it a
shot now.

--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blogger: http://googleappengine.blogspot.com
Reddit: http://www.reddit.com/r/appengine
Twitter: http://twitter.com/app_engine



On Tue, Dec 7, 2010 at 6:50 PM, Ploy ploy.tangtulyang...@uwa.edu.au wrote:

 uwa-request and uwa-istats

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To post to this group, send email to google-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Availability of GAE app for Google Apps users

2010-12-09 Thread Glenn Blackler
Hi -
I'm sure this question is answered somewhere, but I haven't been able
to dig through all the information to find anything definitive.

Here's the situation and the problem:

We have built a GAE application that is up and running. It's
registered on the Marketplace, but is not 'installable'. (Not sure if
that is important or not).

When new customers come to the site, they are asked to provide their
Google account credentials, or to create a new Google account. This is
a personal Google account vs. an Apps acct.

If a new customer approaches our site and attempts to use an existing
Google Apps e-mail address to register, it won't let them (says the e-
mail/password is incorrect). Their only alternative would be to use a
different e-mail address and create a new personal Google account
around that address. (Most companies won't want to do this, which is
my problem). My understanding is that if you try to create an personal
acct on top of an Apps address, it causes various permissions issues.

(I understand the difference between an Apps account and a peronal
account, and that they are being merged, to a certain extent).

I also own a domain that uses Google Apps, so I went to the control
panel for that domain and added my GAE app as a service with the hope
that that change would allow users in this domain to use their
company addresses to use the GAE app. This process seemed to work
fine, but when my users go to their Apps home page they don't see the
GAE app as an option. If they go directly to the URL, they have the
same old authentication problem.

So the question is, is it possible for existing Google Apps users to
access my GAE app with their Apps e-mail addresses ... and if so, what
do I need to do to make that happen?

Sorry for my long-windedness. I appreciate any help :)
Glenn

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] BlobInfo objects and unittests

2010-12-09 Thread andreas schmid
hi,

i need to test my app and i need to have BlobInfo objects to test my functions. 
is it possible to create a BlobInfo object 'manually' to add it to attach it to 
my entity with the BlobReferenceProperty()?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Deploys everyday fail at the same time range

2010-12-09 Thread Jairo Vasquez
Hi,

Every day at 2:00 PM PST more or less deploys to Google App Engine fails:

Error 503: --- begin server output ---

Try Again (503)
An unexpected failure has occurred. Please try again.

What is it? why is that? please.

Thanks

--
Jairo Vasquez
www.paymentez.com.br

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Main type not specified

2010-12-09 Thread Ikai Lan (Google)
Hi,

You probably want to ask this question in the GWT forums:

http://groups.google.com/group/Google-Web-Toolkit

--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blogger: http://googleappengine.blogspot.com
Reddit: http://www.reddit.com/r/appengine
Twitter: http://twitter.com/app_engine



On Tue, Dec 7, 2010 at 9:04 PM, Chintala getmoonr...@gmail.com wrote:

 Hi,

 I am new to GWT application development. I have problem for running
 gwt application

 I have configured one of the gwt project in Eclipse. whenever I am
 running the application it is giving error is  Main type not
 specified.

 Can you please tell me what is the problem?


 Thanks in advance.

 Thanks and Regards,
 Ravi Chintala,
 +91 98499 19039.

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To post to this group, send email to google-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] How to force urllib2 to fetch newly files.

2010-12-09 Thread Ikai Lan (Google)
Which URL are you fetching? Could it be possible they are caching this on
their side?

--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blogger: http://googleappengine.blogspot.com
Reddit: http://www.reddit.com/r/appengine
Twitter: http://twitter.com/app_engine



On Wed, Dec 8, 2010 at 11:25 AM, Toomore toomore0...@gmail.com wrote:

 I have a problem about useing urllib2 to fetch files.
 If I use urllib2 to fetch a file more times in one day, when the files is
 update, useing urllib2 is still fetch old files.

 So how do I force urllib2 to fetch newly files.
 Now I have added random no. at the end of URL, but it still fetch old
 files.

 Thanks.

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To post to this group, send email to google-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Deployment Failing with 500 error.

2010-12-09 Thread Ikai Lan (Google)
When there's a deploy failure, it helps us if you let us know the exact
error. With a 503, one thing to try is to disable precompilation and let us
know. We're monitoring these services, but you can help us more quickly
diagnose the problem with this information.

--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blogger: http://googleappengine.blogspot.com
Reddit: http://www.reddit.com/r/appengine
Twitter: http://twitter.com/app_engine



On Wed, Dec 8, 2010 at 2:27 PM, dloomer dloo...@gmail.com wrote:

 I see the title of the thread was changed to reflect 500 instead of
 503, but the log dump I get, and which I assume the OP gets, is:

 Error 503: --- begin server output ---
 Try Again (503)
 An unexpected failure has occurred. Please try again.
 --- end server output ---
 2010-12-08 16:25:24 (Process exited with code 1)


 On Dec 8, 3:32 pm, Nick Renny nickre...@gmail.com wrote:
  Not getting anything through with deploy. failing at pre-compilation
  with 500 errors - for the last 2 hours

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To post to this group, send email to google-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: having trouble with uploading app

2010-12-09 Thread Ikai Lan (Google)
Thanks for the reports guys. The precompilation service has been having
issues. We're working on addressing these.

--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blogger: http://googleappengine.blogspot.com
Reddit: http://www.reddit.com/r/appengine
Twitter: http://twitter.com/app_engine



On Wed, Dec 8, 2010 at 3:23 PM, David Mora dla.m...@gmail.com wrote:

 meanwhile and in urge to deploy new versions, the -no_precompilation
 is the way to get around this annoying error

 On 8 December 2010 16:50, Jason Spitkoski spitko...@gmail.com wrote:
  Seems hit and miss. But when it fails, its always during
 precompilation...
 
  On Tue, Dec 7, 2010 at 4:28 PM, homunq jameson.qu...@gmail.com wrote:
 
  My partner and I are both getting this 503-unexpected problem,
  repeatedly, on different platforms, with 1.3.8. (We're in different
  countries, too.)
 
  We've done nothing with error handlers, and it was working for both of
  us as of yesterday.
 
  --
  You received this message because you are subscribed to the Google
 Groups
  Google App Engine group.
  To post to this group, send email to google-appeng...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com
 .
  For more options, visit this group at
  http://groups.google.com/group/google-appengine?hl=en.
 
 
  --
  You received this message because you are subscribed to the Google Groups
  Google App Engine group.
  To post to this group, send email to google-appeng...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com
 .
  For more options, visit this group at
  http://groups.google.com/group/google-appengine?hl=en.
 

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To post to this group, send email to google-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Memcache expirity and get-for-update

2010-12-09 Thread Ikai Lan (Google)
1. From what I remember, no. The initial expiry time is the set expiration.
That being said, accessing a value pushes the key/value pair to the head of
the LRU queue, so at the very least, the values won't be LRU expired when
more Memcache capacity is required.

2. If I understand you correctly, the operation you're looking for is
probably CAS - Memcache check-and-set. Unfortunately, we don't support this
operation right now. There are ways to implement similar functionality with
INCR/DECR (atomic operations).

--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blogger: http://googleappengine.blogspot.com
Reddit: http://www.reddit.com/r/appengine
Twitter: http://twitter.com/app_engine



On Wed, Dec 8, 2010 at 6:23 PM, Thomas Wiradikusuma
wiradikus...@gmail.comwrote:

 Hi guys,

 Is memcache's expire strategy work like http session's?

 In http session, if you set it to expire in 30 minutes and you access
 a page in minute 29th, it will be prolonged for another 30 minutes.
 Is this also the case for memcache? If not, is there any atomic way
 to do it? (i.e. not by doing get-and-put)

 Second question, I have an entry that will be updated by lots of
 users,
 is there any get-for-update for memcache?

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To post to this group, send email to google-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] BlobInfo objects and unittests

2010-12-09 Thread Ikai Lan (Google)
You should be able to. Here's the Javadoc for BlobInfo:

http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/blobstore/BlobInfo.html

Just use the standard constructor.

--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blogger: http://googleappengine.blogspot.com
Reddit: http://www.reddit.com/r/appengine
Twitter: http://twitter.com/app_engine



On Thu, Dec 9, 2010 at 1:07 PM, andreas schmid a.schmi...@gmail.com wrote:

 hi,

 i need to test my app and i need to have BlobInfo objects to test my
 functions.
 is it possible to create a BlobInfo object 'manually' to add it to attach
 it to my entity with the BlobReferenceProperty()?

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To post to this group, send email to google-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Deploys everyday fail at the same time range

2010-12-09 Thread Ikai Lan (Google)
It's strange that this happens at 2pm. I'll see if we've made any progress
on this.

Do you know if you're able to deploy if you disable precompilation?

--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blogger: http://googleappengine.blogspot.com
Reddit: http://www.reddit.com/r/appengine
Twitter: http://twitter.com/app_engine



On Thu, Dec 9, 2010 at 2:26 PM, Jairo Vasquez jairo.vasq...@gmail.comwrote:

 Hi,

 Every day at 2:00 PM PST more or less deploys to Google App Engine fails:

 Error 503: --- begin server output ---

 Try Again (503)
 An unexpected failure has occurred. Please try again.

 What is it? why is that? please.

 Thanks

 --
 Jairo Vasquez
 www.paymentez.com.br

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To post to this group, send email to google-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Amazon AWS vs Google App Engine

2010-12-09 Thread nickmilon
Burry,
Yes that was the original question.


On Dec 8, 2:04 am, Barry Hunter barrybhun...@gmail.com wrote:
 Blocking is nothing new. China of course has been doing it for a long
 time - but they are by no means the only country.

 Surely in this thread you asking if Google would do anything themselves?

 On 7 December 2010 22:36, nickmilon nickmi...@gmail.com wrote:







  It seems the question is not hypothetical any more and a new
  government request is coming soon:

  The Tunisian government, known for its restriction on freedom of
  expression, rapidly blocked the access to Tunileaks. They first
  blockedhttp://tunileaks.appspot.com/( without the https). One day
  later, they blocked Google App Engine’s IP address (209.85.229.141) in
  order to block Tunileaks under https, making appspot.com partially
  unavailable in the country .
  (http://elitestv.com/pub/2010/12/tunisia-censorship-continues-as-wikil...
  )

  On Dec 6, 10:10 pm, Ikai Lan (Google) ikai.l+gro...@google.com
  wrote:
  I don't have anything to add to this discussion except that we're
  always thinking of our users first. We recently published something
  called the Transparency Report which shows which governments ask us
  to take things down:

 http://www.google.com/transparencyreport/governmentrequests

  --
  Ikai Lan
  Developer Programs Engineer, Google App Engine
  Blogger: http://googleappengine.blogspot.com
  Reddit: http://www.reddit.com/r/appengine
  Twitter: http://twitter.com/app_engine

  On Sat, Dec 4, 2010 at 6:30 AM, Jeff Schwartz jefftschwa...@gmail.com 
  wrote:
   Freedom of speech is always a worthwhile subject and its defense is the
   ethical and moral obligation of every freedom loving individual but 
   perhaps
   this is best discussed in a dedicated blog on the subject.

   On Sat, Dec 4, 2010 at 9:11 AM, nickmilon nickmi...@gmail.com wrote:

   Philip +1
   Still I am not sure that G would surrender so easily as Amazon did,
   there is a precedence: G vs Lieberman story:

  http://googlepublicpolicy.blogspot.com/2008/05/dialogue-with-sen-lieb...
   when G stood to its values.

   By the way ...
  http://wikileaks.org/support.html doesn't work for me

  http://213.251.145.96/support.html is working (for the time been)

   On Dec 4, 3:15 pm, Philip philip.mates...@driggle.com wrote:
It's sad that Amazon does not support customers that exercise the
right of free speech. But I'd also assume that Google would not stand
up against the us government for offending the first amendment. :-(

However, I will still donate to Wikileaks and I would suggest anyone
else to do the same:http://wikileaks.org/support.html

Our liberty depends on the freedom of the press, and that cannot be
limited without being lost.
Thomas Jefferson

If the freedom of speech is taken away then dumb and silent we may be
led, like sheep to the slaughter.
George Washington

On Dec 4, 1:34 am, supercobra superco...@gmail.com wrote:

 Amazon and Google have been long-time partisans of freedom of 
 speech.

 However in this case, the pressure coming from the government must 
 be
 incredible. Amazon is not the only victim of these intimidations. US
 government employees have been forbidden to visit Wikileaks sites 
 and
 to discuss these matters on Facebook. At least one US university has
 been 'persuaded' to ask their students not to reference any 
 Wikileaks
 documents in their research papers... (how is that for doing 
 thorough
 research!).

 Even crounties bend under US pressure. We have seen it to be the 
 case
 with Spain  Germany which dropped their lawsuits, investigations 
 and
 enforcement of arrest warrants for torture and kidnappings
 (renditions) after the US pressured them (source Wikileaks cables).

 So I would assume that Google or any organization would probably
 comply as well.

 To ensure free speech can not be prevented by taking down web sites,
 we need to create a totally distributed website hosting technology
 based on BitTorrent or something similar.

 Happy coding. ;-)

 Daniel Guermeur

 -- superco...@gmail.com

 Co-author of App Engine Java and GWT 
 Development:http://bit.ly/hdTHyB
 Blog:http://supercobrablogger.blogspot.com/

 On Fri, Dec 3, 2010 at 5:18 PM, nickmilon nickmi...@gmail.com 
 wrote:
  There is a lot of talk and flame wars going on AWS vs GAE topic,
  up
  to now all this talk was concentrated on technical and economic
  issues.
  News of Amazon throwing  away the WikiLeaks website has raised new
  arguments on the cloud battlefront.
  So I want to raise here the hypothetical question what would be 
  the
  fate of WikiLeaks if it was hosted on App Engine ?
  (For obvious reasons I do not expect a definite yes/no answer from
  Google's team, but may be I am wrong)

  Happy coding:-)

  

Re: [google-appengine] URGENT: billing stuck with This request may take up seven days to complete

2010-12-09 Thread Ikai Lan
Hi Warren,

I looked into this, but there isn't much I can do for the time being. The
earliest we'll be able to reenable billing for you is 12/11 since there is a
delay between when billing is changed and when we can make a change.

We'll need to update the documentation to make it more clear that the
correct way to change billing settings is via checkout, not by disabling
billing. In the meantime, I'll keep an eye on your application. It still
looks like you are well under quota, though I understand the need for some
breathing room. The application was only created 2 days ago, so fortunately
it's not like there's a huge amount of traffic filling up your quotas yet.

--
Ikai



On Thu, Dec 9, 2010 at 10:40 AM, Warren Konkel wkon...@gmail.com wrote:

 In an attempt to change the credit card on file, I clicked the Disable
 Billing assuming that I could then re-enable it with a different credit
 card.  As expected, my quotas reverted to the free levels.  The completely
 unexpected part is the billing section on my account is now stuck with
 Awaiting Recurring Charge Cancellation (This request may take up seven days
 to complete.).  This is absurd!  I'm at 50% of my quota already and the day
 has barely begun and I have no way to increase the quota from the free
 levels.

 Is there any way to get the billing on my account reset so I can put in a
 credit card and increase my quotas?  I've already submitted a request via
 the app engine billing support form, but haven't heard anything back.

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To post to this group, send email to google-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] please add sub domain binding for any of the appengines.

2010-12-09 Thread ajaxer
since china's gfw has blocked *.appspot.com
chinese users can no longer use appengine directly.

i hope app engine can add subdomain bind to help chinese users
overcome the difficulties set by the government.
and we can bind the domain once through vps or proxy and visit for a
long time.

thanks.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Problem with Google App Engine Login

2010-12-09 Thread Ploy
Hi Ikai,

I have tried still the same. I couldn't access the dashboard and ended
up in the redirect loop.
I have also accepted all invitations sent from another administrator.

Ploy

On Dec 10, 4:17 am, Ikai Lan (Google) ikai.l+gro...@google.com
wrote:
 I see the pending invites. I've forced added you as a developer. Give it a
 shot now.

 --
 Ikai Lan
 Developer Programs Engineer, Google App Engine
 Blogger:http://googleappengine.blogspot.com
 Reddit:http://www.reddit.com/r/appengine
 Twitter:http://twitter.com/app_engine

 On Tue, Dec 7, 2010 at 6:50 PM, Ploy ploy.tangtulyang...@uwa.edu.au wrote:
  uwa-request and uwa-istats

  --
  You received this message because you are subscribed to the Google Groups
  Google App Engine group.
  To post to this group, send email to google-appeng...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Amazon AWS vs Google App Engine

2010-12-09 Thread ajaxer
yes,I think we may need a new technology to rebuild the online web
system,
where domains, hosts and files are distributed all over the world,
and can not be blocked, cancelled, deleted.


that will be a new epoch for the freedom of grass roots 

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Using closure with channel API

2010-12-09 Thread Mark Jen
Hi,


Has anyone been using the closure library/compiler with GAE channel
API?


Can we have the uncompiled file(s) for
http://talkgadget.google.com/talkgadget/channel.js so they can be
compiled together with other JS code using closure compiler?


And/or is it possible to use goog.net.BrowserChannel or other closure
library classes to communicate with the GAE channel API backend?


Thanks!
Mark

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Access from China dead

2010-12-09 Thread Will
The issue still not resolved. If it doesn't get back to normal soon and
binding static IP is far far away, I have no choice but seriously consider
moving elsewhere.

Hope China never export revolution, haha.

Will

On Thu, Dec 9, 2010 at 11:23 AM, Will vocalster@gmail.com wrote:

 Accesses from China mainland to xxx.appspot.com are all dead, I've tried 3
 different apps.

 Will


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] BlobInfo objects and unittests

2010-12-09 Thread andreas schmid
hi ikai,

thx for the link. im using python but i guess its the same. ill try it out 
tomorrow.


On Dec 9, 2010, at 6:16 PM, Ikai Lan (Google) wrote:

 You should be able to. Here's the Javadoc for BlobInfo:
 
 http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/blobstore/BlobInfo.html
 
 Just use the standard constructor.
 
 --
 Ikai Lan 
 Developer Programs Engineer, Google App Engine
 Blogger: http://googleappengine.blogspot.com
 Reddit: http://www.reddit.com/r/appengine
 Twitter: http://twitter.com/app_engine
 
 
 
 On Thu, Dec 9, 2010 at 1:07 PM, andreas schmid a.schmi...@gmail.com wrote:
 hi,
 
 i need to test my app and i need to have BlobInfo objects to test my 
 functions.
 is it possible to create a BlobInfo object 'manually' to add it to attach it 
 to my entity with the BlobReferenceProperty()?
 
 --
 You received this message because you are subscribed to the Google Groups 
 Google App Engine group.
 To post to this group, send email to google-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-appengine+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/google-appengine?hl=en.
 
 
 
 -- 
 You received this message because you are subscribed to the Google Groups 
 Google App Engine group.
 To post to this group, send email to google-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-appengine+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Memcache expirity and get-for-update

2010-12-09 Thread Thomas Wiradikusuma
Hi Ikai,

Thanks for your answer.


 1. From what I remember, no. The initial expiry time is the set expiration.

I tested and confirmed. So I simply:

obj = memcache.get(key)
if (obj not null) memcache.put(key, obj, 30min)


 2. If I understand you correctly, the operation you're looking for is
 probably CAS - Memcache check-and-set. Unfortunately, we don't support this
 operation right now. There are ways to implement similar functionality with
 INCR/DECR (atomic operations).

I want to keep a list of recipients for channel api purpose. Every
time somebody logs in, the list will be fetched from memcache, put the
user inside and push back the list to memcache. Is there any better
way to do this since memcache doesn't support check-and-set?


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Access from China dead

2010-12-09 Thread Will
Google, I don't ask you to solve the problem, it is beyond your control and
may beyond your capability, but I need you to tell me if you are doing
something, how much chance you have and if you plan to do something about
the similar cases, so I can make my decision.

Best,

Will

On Fri, Dec 10, 2010 at 10:11 AM, Will vocalster@gmail.com wrote:

 The issue still not resolved. If it doesn't get back to normal soon and
 binding static IP is far far away, I have no choice but seriously consider
 moving elsewhere.

 Hope China never export revolution, haha.

 Will


 On Thu, Dec 9, 2010 at 11:23 AM, Will vocalster@gmail.com wrote:

 Accesses from China mainland to xxx.appspot.com are all dead, I've tried
 3 different apps.

 Will




-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Amazon AWS vs Google App Engine

2010-12-09 Thread Will
Not hypothetical at all. People using GAE in China have been fighting for
their rights almost since day 1 of GAE, first yourdomain.com is blocked, now
appspot.com has fallen...

Will

On Wed, Dec 8, 2010 at 6:36 AM, nickmilon nickmi...@gmail.com wrote:

 It seems the question is not hypothetical any more and a new
 government request is coming soon:

 The Tunisian government, known for its restriction on freedom of
 expression, rapidly blocked the access to Tunileaks. They first
 blocked http://tunileaks.appspot.com/ ( without the https). One day
 later, they blocked Google App Engine’s IP address (209.85.229.141) in
 order to block Tunileaks under https, making appspot.com partially
 unavailable in the country .
 (
 http://elitestv.com/pub/2010/12/tunisia-censorship-continues-as-wikileaks-cables-make-the-rounds
 )



 On Dec 6, 10:10 pm, Ikai Lan (Google) 
 ikai.l+gro...@google.comikai.l%2bgro...@google.com
 
 wrote:
  I don't have anything to add to this discussion except that we're
  always thinking of our users first. We recently published something
  called the Transparency Report which shows which governments ask us
  to take things down:
 
  http://www.google.com/transparencyreport/governmentrequests
 
  --
  Ikai Lan
  Developer Programs Engineer, Google App Engine
  Blogger: http://googleappengine.blogspot.com
  Reddit: http://www.reddit.com/r/appengine
  Twitter: http://twitter.com/app_engine
 
 
 
 
 
 
 
  On Sat, Dec 4, 2010 at 6:30 AM, Jeff Schwartz jefftschwa...@gmail.com
 wrote:
   Freedom of speech is always a worthwhile subject and its defense is the
   ethical and moral obligation of every freedom loving individual but
 perhaps
   this is best discussed in a dedicated blog on the subject.
 
   On Sat, Dec 4, 2010 at 9:11 AM, nickmilon nickmi...@gmail.com wrote:
 
   Philip +1
   Still I am not sure that G would surrender so easily as Amazon did,
   there is a precedence: G vs Lieberman story:
 
  http://googlepublicpolicy.blogspot.com/2008/05/dialogue-with-sen-lieb.
 ..
   when G stood to its values.
 
   By the way ...
  http://wikileaks.org/support.html doesn't work for me
 
  http://213.251.145.96/support.html  is working (for the time been)
 
   On Dec 4, 3:15 pm, Philip philip.mates...@driggle.com wrote:
It's sad that Amazon does not support customers that exercise the
right of free speech. But I'd also assume that Google would not
 stand
up against the us government for offending the first amendment. :-(
 
However, I will still donate to Wikileaks and I would suggest anyone
else to do the same:http://wikileaks.org/support.html
 
Our liberty depends on the freedom of the press, and that cannot be
limited without being lost.
Thomas Jefferson
 
If the freedom of speech is taken away then dumb and silent we may
 be
led, like sheep to the slaughter.
George Washington
 
On Dec 4, 1:34 am, supercobra superco...@gmail.com wrote:
 
 Amazon and Google have been long-time partisans of freedom of
 speech.
 
 However in this case, the pressure coming from the government must
 be
 incredible. Amazon is not the only victim of these intimidations.
 US
 government employees have been forbidden to visit Wikileaks sites
 and
 to discuss these matters on Facebook. At least one US university
 has
 been 'persuaded' to ask their students not to reference any
 Wikileaks
 documents in their research papers... (how is that for doing
 thorough
 research!).
 
 Even crounties bend under US pressure. We have seen it to be the
 case
 with Spain  Germany which dropped their lawsuits, investigations
 and
 enforcement of arrest warrants for torture and kidnappings
 (renditions) after the US pressured them (source Wikileaks
 cables).
 
 So I would assume that Google or any organization would probably
 comply as well.
 
 To ensure free speech can not be prevented by taking down web
 sites,
 we need to create a totally distributed website hosting technology
 based on BitTorrent or something similar.
 
 Happy coding. ;-)
 
 Daniel Guermeur
 
 -- superco...@gmail.com
 
 Co-author of App Engine Java and GWT Development:
 http://bit.ly/hdTHyB
 Blog:http://supercobrablogger.blogspot.com/
 
 On Fri, Dec 3, 2010 at 5:18 PM, nickmilon nickmi...@gmail.com
 wrote:
  There is a lot of talk and flame wars going on AWS vs GAE
 topic,
  up
  to now all this talk was concentrated on technical and economic
  issues.
  News of Amazon throwing  away the WikiLeaks website has raised
 new
  arguments on the cloud battlefront.
  So I want to raise here the hypothetical question what would be
 the
  fate of WikiLeaks if it was hosted on App Engine ?
  (For obvious reasons I do not expect a definite yes/no answer
 from
  Google's team, but may be I am wrong)
 
  Happy coding:-)
 
  Nick
 
  --
  You received this message because you are subscribed 

[google-appengine] Multitenancy Application

2010-12-09 Thread Nick
Hi,

I have a multitenancy application with tenants creating their own
contents and store them in datastore using different namespaces. I'd
like to analyze data across tenants, for example total number of
contents created. Can this be done? If yes, what is the namespace to be
used to access the data across all tenants?

Thanks,
--Wong Liong Hung

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: any good solution to SMS verification policy?

2010-12-09 Thread Robert Kluin
That won't work -- I've tried it.

Submit a request using the SMS wait-list, they approve the second account.
  http://appengine.google.com/waitlist/sms_issues


Robert





On Thu, Dec 9, 2010 at 14:35, Calvin calvin.r...@gmail.com wrote:
 Get a Google Voice number and send the verification message to that number.

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To post to this group, send email to google-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Java server side i18n?

2010-12-09 Thread Jonas Gehring
hi.
there is a way to use the gwt constants/messages on the server side. I
use it so:

Checkout http://code.google.com/p/gwt-i18n-server/ from SVN.

Then you have to patch it for the GAE like I did it (see down).

You have to copy your CONSTANTS.properties + MESSAGES to the folder
war/nls_server.


-- PATCH --
Index: GenericX.java
===
--- GenericX.java   (revision 1317)
+++ GenericX.java   (revision 1676)
@@ -21,9 +21,9 @@
 import java.io.FileNotFoundException;
 import java.io.IOException;
 import java.io.InputStream;
+import java.io.InputStreamReader;
 import java.lang.reflect.InvocationHandler;
 import java.lang.reflect.Method;
-import java.security.AccessControlException;
 import java.security.InvalidParameterException;
 import java.util.Properties;

@@ -31,11 +31,17 @@
  *
  */
 public abstract class GenericX implements InvocationHandler {
+   /**
+* @param c1 c
+* @param c2 c
+* @return r
+*/
+   public static boolean isA(Class? c1, Class? c2) {
+   return c2.isAssignableFrom(c1);
+   }
protected final Properties properties = new Properties();
-   protected final Class? itf;

-   @Override
-   public abstract Object invoke(Object proxy, Method method, Object[]
args) throws Throwable;
+   protected final Class? itf;

/**
 * @param _itf _itf
@@ -48,6 +54,11 @@
fillProperties(itf, lang);
}

+   @Override
+   public boolean equals(Object obj) {
+   return obj == this;
+   }
+
protected void fillProperties(Class? itf, String lang) throws
IOException {
for (Class? superItf : itf.getInterfaces()) {
fillProperties(superItf, lang);
@@ -59,35 +70,22 @@
in = load(baseName + .properties);
}
if (in != null) {
-   properties.load(in);
+   properties.load(new InputStreamReader(in, UTF-8));
}
}
+
+   @Override
+   public int hashCode() {
+   return properties.size();
+   }
+
+   @Override
+   public abstract Object invoke(Object proxy, Method method, Object[]
args) throws Throwable;
+
protected InputStream load(String s) throws FileNotFoundException {
InputStream in = null;
in = loadPropertiesGAE(s);

-   ClassLoader cl;
-   cl = Thread.currentThread().getContextClassLoader();
-   if (cl != null) {
-   in = cl.getResourceAsStream(s);
-   }
-   if (in == null) {
-   cl = getClass().getClassLoader();
-   if (cl != null) {
-   in = 
getClass().getClassLoader().getResourceAsStream(s);
-   }
-   if (in == null) {
-   try {
-   cl = ClassLoader.getSystemClassLoader();
-   } catch (AccessControlException e) {
-   /* GAE compatibility */
-   in = loadPropertiesGAE(s);
-   }
-   if (cl != null) {
-   in = cl.getResourceAsStream(s);
-   }
-   }
-   }

return in;
}
@@ -99,23 +97,4 @@
return null;
}
}
-
-   @Override
-   public boolean equals(Object obj) {
-   return obj == this;
-   }
-
-   @Override
-   public int hashCode() {
-   return properties.size();
-   }
-
-   /**
-* @param c1 c
-* @param c2 c
-* @return r
-*/
-   public static boolean isA(Class? c1, Class? c2) {
-   return c2.isAssignableFrom(c1);
-   }
 }




On 9 Dez., 20:30, Erick Fleming efleming...@gmail.com wrote:
 Java has a fair amount of i18n built-in [1], are you using JSPs or
 some other template engine?

 [1]http://java.sun.com/javase/technologies/core/basic/intl/









 On Thu, Dec 9, 2010 at 12:48 PM, nacho vela.igna...@gmail.com wrote:
  How can i use internationalization over appengine (java) on the server
  side?

  Does any one have any idea?

  I've been googling but all the posts that i find are for python
  appengine.

  --
  You received this message because you are subscribed to the Google Groups 
  Google App Engine group.
  To post to this group, send email to google-appeng...@googlegroups.com.
  To unsubscribe from this group, send email to 
  google-appengine+unsubscr...@googlegroups.com.
  For more options, visit this group 
  athttp://groups.google.com/group/google-appengine?hl=en.


[google-appengine] Re: AlwaysOn and WarmUpRequests working poorly?

2010-12-09 Thread Tomas Alaeus
I have a similar issue. After having tested my app with thousands of
users it now fails (performance wise) when serving just a few users.
Even if I just have 1 QPS incoming, it will boot up 10 instances and
all of the loading requests are user facing (note that 1 instance
would be more than enough to handle the traffic). When all those
instances are busy it will boot up new ones, and it will use the
warmup requests only sometimes for that.

It seems to me that the algorithm App Engine uses to determine how
many instances are needed for the current traffic is somewhat
flawed...

On 9 Dec, 18:44, Sergio Lopes slo...@gmail.com wrote:
 That's right, I use GAEJ. In Java, the instance concept and the
 startup momento are all well defined. My problem here is that the
 loading_requests rarely are /_ah/warmup requests. Most loading
 requests are user requests, even with AlwaysOn enabled. It doesn't
 seem right...

 On Dec 9, 3:17 pm, Stephen Johnson onepagewo...@gmail.com wrote:



  My assumption would be and this is for Java (not a python person) that if
  you have an empty handler at the very least you would get the JVM up and
  running and some of the basic libraries that are required. Then, depending
  on what you do in the warmup request and/or your web.xml would load
  additional libraries. For example, if you use the load-on-startup with a
  integer = 0 then the servlet would be loaded when the request handler is
  called regardless of whether or not it is used. Also, if a datastore or
  memcache request were made in the handler that those additional libraries
  would be loaded. I haven't implemented one yet but my intention is to use it
  to load as much of these additional libraries as possible.

  On Thu, Dec 9, 2010 at 9:45 AM, Darien Caldwell
  darien.caldw...@gmail.comwrote:

   It sounds wrong.

   But it brings me back to a question i've been wondering to myself for
   awhile now: what constitutes an Instance, exactly? Is it the bulk of
   all the code uploaded, or just whatever modules were las used?

   For instance, I have several separate sections to my app, and
   depending on which URL a request is received on, different code paths
   are executed, each loading different modules. If I have a warm
   instance, exactly what is being kept warm? All of the modules for all
   of the URLs, or what exactly?

   How does the system decided what to keep warm?

   --
   You received this message because you are subscribed to the Google Groups
   Google App Engine group.
   To post to this group, send email to google-appeng...@googlegroups.com.
   To unsubscribe from this group, send email to
   google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2Bunsubscrib
e...@googlegroups.com
   .
   For more options, visit this group at
  http://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: How to handle user page URLs if usernames are not unique?

2010-12-09 Thread Tomas Alaeus
The usernames are still unique, but the slugs used for URLs (and on
other places where uniqueness is a must) are unique.

But yeah, most people consider usernames unique. If your usernames
aren't unique you might want to call them something else, like display
name as Robert said.

You also could assign every user an id. If you save the data as
entities in the datastore (which you probably do) without any
explicitly defined Key, then you could fetch the entity id and use
that one. That id will definitely be unique.

On 9 Dec, 02:11, Tim Hoffman zutes...@gmail.com wrote:
 Well then usernames are unique ;-) ross, ross1

 T

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Java server side i18n?

2010-12-09 Thread Jonas Gehring
sorry the patch wasn't complete.
I posted the complete classes on my page:
http://www.jjoe64.com/java-coding/gwt-i18n-server-side

On 10 Dez., 08:13, Jonas Gehring gehr...@egotec.com wrote:
 hi.
 there is a way to use the gwt constants/messages on the server side. I
 use it so:

 Checkouthttp://code.google.com/p/gwt-i18n-server/from SVN.

 Then you have to patch it for the GAE like I did it (see down).

 You have to copy your CONSTANTS.properties + MESSAGES to the folder
 war/nls_server.

 -- PATCH --
 Index: GenericX.java
 ===
 --- GenericX.java       (revision 1317)
 +++ GenericX.java       (revision 1676)
 @@ -21,9 +21,9 @@
  import java.io.FileNotFoundException;
  import java.io.IOException;
  import java.io.InputStream;
 +import java.io.InputStreamReader;
  import java.lang.reflect.InvocationHandler;
  import java.lang.reflect.Method;
 -import java.security.AccessControlException;
  import java.security.InvalidParameterException;
  import java.util.Properties;

 @@ -31,11 +31,17 @@
   *
   */
  public abstract class GenericX implements InvocationHandler {
 +       /**
 +        * @param c1 c
 +        * @param c2 c
 +        * @return r
 +        */
 +       public static boolean isA(Class? c1, Class? c2) {
 +               return c2.isAssignableFrom(c1);
 +       }
         protected final Properties properties = new Properties();
 -       protected final Class? itf;

 -       @Override
 -       public abstract Object invoke(Object proxy, Method method, Object[]
 args) throws Throwable;
 +       protected final Class? itf;

         /**
          * @param _itf _itf
 @@ -48,6 +54,11 @@
                 fillProperties(itf, lang);
         }

 +       @Override
 +       public boolean equals(Object obj) {
 +               return obj == this;
 +       }
 +
         protected void fillProperties(Class? itf, String lang) throws
 IOException {
                 for (Class? superItf : itf.getInterfaces()) {
                         fillProperties(superItf, lang);
 @@ -59,35 +70,22 @@
                         in = load(baseName + .properties);
                 }
                 if (in != null) {
 -                       properties.load(in);
 +                       properties.load(new InputStreamReader(in, UTF-8));
                 }
         }
 +
 +       @Override
 +       public int hashCode() {
 +               return properties.size();
 +       }
 +
 +       @Override
 +       public abstract Object invoke(Object proxy, Method method, Object[]
 args) throws Throwable;
 +
         protected InputStream load(String s) throws FileNotFoundException {
                 InputStream in = null;
                 in = loadPropertiesGAE(s);

 -               ClassLoader cl;
 -               cl = Thread.currentThread().getContextClassLoader();
 -               if (cl != null) {
 -                       in = cl.getResourceAsStream(s);
 -               }
 -               if (in == null) {
 -                       cl = getClass().getClassLoader();
 -                       if (cl != null) {
 -                               in = 
 getClass().getClassLoader().getResourceAsStream(s);
 -                       }
 -                       if (in == null) {
 -                               try {
 -                                       cl = 
 ClassLoader.getSystemClassLoader();
 -                               } catch (AccessControlException e) {
 -                                       /* GAE compatibility */
 -                                       in = loadPropertiesGAE(s);
 -                               }
 -                               if (cl != null) {
 -                                       in = cl.getResourceAsStream(s);
 -                               }
 -                       }
 -               }

                 return in;
         }
 @@ -99,23 +97,4 @@
                         return null;
                 }
         }
 -
 -       @Override
 -       public boolean equals(Object obj) {
 -               return obj == this;
 -       }
 -
 -       @Override
 -       public int hashCode() {
 -               return properties.size();
 -       }
 -
 -       /**
 -        * @param c1 c
 -        * @param c2 c
 -        * @return r
 -        */
 -       public static boolean isA(Class? c1, Class? c2) {
 -               return c2.isAssignableFrom(c1);
 -       }
  }

 On 9 Dez., 20:30, Erick Fleming efleming...@gmail.com wrote:







  Java has a fair amount of i18n built-in [1], are you using JSPs or
  some other template engine?

  [1]http://java.sun.com/javase/technologies/core/basic/intl/

  On Thu, Dec 9, 2010 at 12:48 PM, nacho vela.igna...@gmail.com wrote:
   How can i use internationalization over appengine (java) on the server
   side?

   Does any one have any idea?

   I've been googling but all the posts that i find are for python
   appengine.

   --
   You received this message because you are 

Re: [google-appengine] Re: Amazon AWS vs Google App Engine

2010-12-09 Thread Jeff Schnitzer
The solution to this sort of thing is really remarkably simple... set
up a reverse proxy on any of the zillions of other cloud providers.  A
256MB rackspace cloud instance costs $11/mo, runs apache/mod_proxy
just fine, and is 12ms to ghs.google.com.

That IP address gets banned?  Set up a new instance.  Keep getting
banned?  Automate the process.

Jeff

On Thu, Dec 9, 2010 at 7:43 PM, Will vocalster@gmail.com wrote:
 Not hypothetical at all. People using GAE in China have been fighting for
 their rights almost since day 1 of GAE, first yourdomain.com is blocked, now
 appspot.com has fallen...

 Will

 On Wed, Dec 8, 2010 at 6:36 AM, nickmilon nickmi...@gmail.com wrote:

 It seems the question is not hypothetical any more and a new
 government request is coming soon:

 The Tunisian government, known for its restriction on freedom of
 expression, rapidly blocked the access to Tunileaks. They first
 blocked http://tunileaks.appspot.com/ ( without the https). One day
 later, they blocked Google App Engine’s IP address (209.85.229.141) in
 order to block Tunileaks under https, making appspot.com partially
 unavailable in the country .
 (
 http://elitestv.com/pub/2010/12/tunisia-censorship-continues-as-wikileaks-cables-make-the-rounds
 )



 On Dec 6, 10:10 pm, Ikai Lan (Google) ikai.l+gro...@google.com
 wrote:
  I don't have anything to add to this discussion except that we're
  always thinking of our users first. We recently published something
  called the Transparency Report which shows which governments ask us
  to take things down:
 
  http://www.google.com/transparencyreport/governmentrequests
 
  --
  Ikai Lan
  Developer Programs Engineer, Google App Engine
  Blogger: http://googleappengine.blogspot.com
  Reddit: http://www.reddit.com/r/appengine
  Twitter: http://twitter.com/app_engine
 
 
 
 
 
 
 
  On Sat, Dec 4, 2010 at 6:30 AM, Jeff Schwartz jefftschwa...@gmail.com
  wrote:
   Freedom of speech is always a worthwhile subject and its defense is
   the
   ethical and moral obligation of every freedom loving individual but
   perhaps
   this is best discussed in a dedicated blog on the subject.
 
   On Sat, Dec 4, 2010 at 9:11 AM, nickmilon nickmi...@gmail.com wrote:
 
   Philip +1
   Still I am not sure that G would surrender so easily as Amazon did,
   there is a precedence: G vs Lieberman story:
 
 
   http://googlepublicpolicy.blogspot.com/2008/05/dialogue-with-sen-lieb...
   when G stood to its values.
 
   By the way ...
  http://wikileaks.org/support.html doesn't work for me
 
  http://213.251.145.96/support.html  is working (for the time been)
 
   On Dec 4, 3:15 pm, Philip philip.mates...@driggle.com wrote:
It's sad that Amazon does not support customers that exercise the
right of free speech. But I'd also assume that Google would not
stand
up against the us government for offending the first amendment. :-(
 
However, I will still donate to Wikileaks and I would suggest
anyone
else to do the same:http://wikileaks.org/support.html
 
Our liberty depends on the freedom of the press, and that cannot
be
limited without being lost.
Thomas Jefferson
 
If the freedom of speech is taken away then dumb and silent we may
be
led, like sheep to the slaughter.
George Washington
 
On Dec 4, 1:34 am, supercobra superco...@gmail.com wrote:
 
 Amazon and Google have been long-time partisans of freedom of
 speech.
 
 However in this case, the pressure coming from the government
 must be
 incredible. Amazon is not the only victim of these intimidations.
 US
 government employees have been forbidden to visit Wikileaks sites
 and
 to discuss these matters on Facebook. At least one US university
 has
 been 'persuaded' to ask their students not to reference any
 Wikileaks
 documents in their research papers... (how is that for doing
 thorough
 research!).
 
 Even crounties bend under US pressure. We have seen it to be the
 case
 with Spain  Germany which dropped their lawsuits, investigations
 and
 enforcement of arrest warrants for torture and kidnappings
 (renditions) after the US pressured them (source Wikileaks
 cables).
 
 So I would assume that Google or any organization would probably
 comply as well.
 
 To ensure free speech can not be prevented by taking down web
 sites,
 we need to create a totally distributed website hosting
 technology
 based on BitTorrent or something similar.
 
 Happy coding. ;-)
 
 Daniel Guermeur
 
 -- superco...@gmail.com
 
 Co-author of App Engine Java and GWT
 Development:http://bit.ly/hdTHyB
 Blog:http://supercobrablogger.blogspot.com/
 
 On Fri, Dec 3, 2010 at 5:18 PM, nickmilon nickmi...@gmail.com
 wrote:
  There is a lot of talk and flame wars going on AWS vs GAE
  topic,
  up
  to now all this talk was concentrated on technical and economic
  

Re: [google-appengine] Re: Amazon AWS vs Google App Engine

2010-12-09 Thread Will
Jeff, can you point me to a more detailed explanation of reverse proxy and
its setup?

Thanks,

Will

On Fri, Dec 10, 2010 at 3:34 PM, Jeff Schnitzer j...@infohazard.org wrote:

 The solution to this sort of thing is really remarkably simple... set
 up a reverse proxy on any of the zillions of other cloud providers.  A
 256MB rackspace cloud instance costs $11/mo, runs apache/mod_proxy
 just fine, and is 12ms to ghs.google.com.

 That IP address gets banned?  Set up a new instance.  Keep getting
 banned?  Automate the process.

 Jeff

 On Thu, Dec 9, 2010 at 7:43 PM, Will vocalster@gmail.com wrote:
  Not hypothetical at all. People using GAE in China have been fighting for
  their rights almost since day 1 of GAE, first yourdomain.com is blocked,
 now
  appspot.com has fallen...
 
  Will
 
  On Wed, Dec 8, 2010 at 6:36 AM, nickmilon nickmi...@gmail.com wrote:
 
  It seems the question is not hypothetical any more and a new
  government request is coming soon:
 
  The Tunisian government, known for its restriction on freedom of
  expression, rapidly blocked the access to Tunileaks. They first
  blocked http://tunileaks.appspot.com/ ( without the https). One day
  later, they blocked Google App Engine’s IP address (209.85.229.141) in
  order to block Tunileaks under https, making appspot.com partially
  unavailable in the country .
  (
 
 http://elitestv.com/pub/2010/12/tunisia-censorship-continues-as-wikileaks-cables-make-the-rounds
  )
 
 
 
  On Dec 6, 10:10 pm, Ikai Lan (Google) 
  ikai.l+gro...@google.comikai.l%2bgro...@google.com
 
  wrote:
   I don't have anything to add to this discussion except that we're
   always thinking of our users first. We recently published something
   called the Transparency Report which shows which governments ask us
   to take things down:
  
   http://www.google.com/transparencyreport/governmentrequests
  
   --
   Ikai Lan
   Developer Programs Engineer, Google App Engine
   Blogger: http://googleappengine.blogspot.com
   Reddit: http://www.reddit.com/r/appengine
   Twitter: http://twitter.com/app_engine
  
  
  
  
  
  
  
   On Sat, Dec 4, 2010 at 6:30 AM, Jeff Schwartz 
 jefftschwa...@gmail.com
   wrote:
Freedom of speech is always a worthwhile subject and its defense is
the
ethical and moral obligation of every freedom loving individual but
perhaps
this is best discussed in a dedicated blog on the subject.
  
On Sat, Dec 4, 2010 at 9:11 AM, nickmilon nickmi...@gmail.com
 wrote:
  
Philip +1
Still I am not sure that G would surrender so easily as Amazon did,
there is a precedence: G vs Lieberman story:
  
  

 http://googlepublicpolicy.blogspot.com/2008/05/dialogue-with-sen-lieb...
when G stood to its values.
  
By the way ...
   http://wikileaks.org/support.html doesn't work for me
  
   http://213.251.145.96/support.html  is working (for the time been)
  
On Dec 4, 3:15 pm, Philip philip.mates...@driggle.com wrote:
 It's sad that Amazon does not support customers that exercise the
 right of free speech. But I'd also assume that Google would not
 stand
 up against the us government for offending the first amendment.
 :-(
  
 However, I will still donate to Wikileaks and I would suggest
 anyone
 else to do the same:http://wikileaks.org/support.html
  
 Our liberty depends on the freedom of the press, and that cannot
 be
 limited without being lost.
 Thomas Jefferson
  
 If the freedom of speech is taken away then dumb and silent we
 may
 be
 led, like sheep to the slaughter.
 George Washington
  
 On Dec 4, 1:34 am, supercobra superco...@gmail.com wrote:
  
  Amazon and Google have been long-time partisans of freedom of
  speech.
  
  However in this case, the pressure coming from the government
  must be
  incredible. Amazon is not the only victim of these
 intimidations.
  US
  government employees have been forbidden to visit Wikileaks
 sites
  and
  to discuss these matters on Facebook. At least one US
 university
  has
  been 'persuaded' to ask their students not to reference any
  Wikileaks
  documents in their research papers... (how is that for doing
  thorough
  research!).
  
  Even crounties bend under US pressure. We have seen it to be
 the
  case
  with Spain  Germany which dropped their lawsuits,
 investigations
  and
  enforcement of arrest warrants for torture and kidnappings
  (renditions) after the US pressured them (source Wikileaks
  cables).
  
  So I would assume that Google or any organization would
 probably
  comply as well.
  
  To ensure free speech can not be prevented by taking down web
  sites,
  we need to create a totally distributed website hosting
  technology
  based on BitTorrent or something similar.
  
  Happy coding. ;-)
  
  Daniel Guermeur
  
  -- superco...@gmail.com