Re: [appengine-java] Re: Prerelease SDK 1.3.5 is out!

2010-06-17 Thread Sudhir Ramanandi
Congratulations for the release..

But It's to sad to see no updates on datanucleus/JPA side. Really google is
giving too little attention to Datanucleus plugin

~SN

On Thu, Jun 17, 2010 at 9:19 AM, Andrei gml...@gmail.com wrote:

 What is Remote API commands?

 On Jun 16, 2:06 pm, Ikai L (Google) ika...@google.com wrote:
  Hey developers!
 What 
  We've release the prerelease SDK for 1.3.5. Get it here:
 
  http://code.google.com/p/googleappengine/downloads/list
 
  If you want to try out new features locally before they go live, here's
 your
  chance. We welcome any feedback you have. Release notes for Java are
 below:
 
  Version 1.3.5
  =
  - Ability to configure the Task Queue storage limit with the
total-storage-limit field in the queue.xml file.
  - Task Queues now support up to 50 qps per queue, up from 50 qps per app.
  - Developers can programmatically access Blobs with BlobstoreInputStream,
  which
provides an InputStream view of a blob in Blobstore
  - Content-range headers for Blobs are supported.
  - Bulkloader transform helpers for lists and hierarchical keys were
 added.
  - Remote API commands can be sent over HTTPS or HTTP.
  - Admin Console logs now include information on request time latency.
  - Fixed an issue where requesting /appstats would not properly direct to
/appstats/.
  - Fixed an issue with inconsistent URL mappings between the SDK and
  production.
 http://code.google.com/p/googleappengine/issues/detail?id=2598
 
  --
  Ikai Lan
  Developer Programs Engineer, Google App Engine
  Blog:http://googleappengine.blogspot.com
  Twitter:http://twitter.com/app_engine
  Reddit:http://www.reddit.com/r/appengine

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




-- 
Sudhir Ramanandi
http://www.ramanandi.org

-- 
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] Re: GAE commercial use!

2010-06-17 Thread Muhammad Ijaz Khan
Yeah, it seems that google is offering it for the end users systems also but
I am interested to know if there are any successful services running on GAE.
Still wondering.

On Wed, Jun 16, 2010 at 9:29 PM, Houston startup coder 
stephenh...@gmail.com wrote:

 Check this out:

 http://code.google.com/appengine/business


 Stephen



 On Jun 16, 3:07 am, Muhammad Ijaz Khan aija...@gmail.com wrote:
  Yes, I have started reading it now, it looks good :) thanks.
 
  Any comment on commercial grade system deployment using appengine for
 java?
 
  On Wed, Jun 16, 2010 at 6:33 AM, Didier Durand durand.did...@gmail.com
 wrote:
 
 
 
   Hi,
 
   Go for this book
 
  http://www.amazon.com/Programming-Google-App-Engine-Infrastructure/dp.
 ..
 
   Great (written by a googler) especially on datastore
   didier
 
   On Jun 15, 10:42 am, Muhammad Ijaz Khan aija...@gmail.com wrote:
Hi,
 
Is there a commercial big sized service running on appengine
 platform? It
will be highly appreciable if someone can link to a book for google
appengine for java too. Thanks.
 
regards,
Ijaz
 
   --
   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.comgoogle-appengine-java%2B
 unsubscr...@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: What would you recommend: Objectify or Twig?

2010-06-17 Thread David Sowerby
This is a difficult question to give a fair answer to - most of us
only have time to make a fairly quick assessment then just decide to
go with something - which means we only know one of them in any depth.

I looked at Twig and Objectify, tried Twig briefly then elected to use
Objectify - but that was because I preferred the approach of Objectify
for my application, and my way of working and not because I felt there
was anything wrong with Twig.  I cannot comment on Slim3, I have not
tried it.

Simon's suggestion above to look at some of the debate threads is
still valid I think - it is probably the philosophy which drive your
choice.  For me it was a case of keeping things simple and transparent
in case I run into performance issues.

 I can say that the Objectify documentation is excellent, and the
responses to questions fast and equally good.  Twig's documentation
was not as thorough when I looked at it but that may have changed, and
I do not know what the forum responses are like.

On Jun 16, 7:28 pm, Houston startup coder stephenh...@gmail.com
wrote:
 I'm liking Slim3 so far.  It has a fast wrapper for the low-level API
 that does not use reflection (meaning it's even faster than frameworks
 that do).  Plus it has some basic web framework helpers as well.

 Stephen

 On Jun 16, 12:34 am, nicolas melendez nfmelen...@gmail.com wrote:



  +1 Objectify

  But give a chance to twig too

  On Tue, Jun 15, 2010 at 1:56 PM, Dan Billings debil...@gmail.com wrote:
   +1 Objectify

   On Jun 15, 11:25 am, Simon qila...@gmail.com wrote:
There's a big thread athttp://
   groups.google.com/group/google-appengine-java/browse_thread/th...
where the authors of the two frameworks discuss the respective
benefits of their frameworks, for different scenarios.  It's probably
worth having a read, although it's getting a bit old now.

Personally I've found Objectify very good - very thorough
documentation and it works for me :)

On Jun 15, 9:51 am, Marcel Overdijk marceloverd...@gmail.com wrote:

 What would you recommend: Objectify or Twig?

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

  --
  Nicolás Meléndez
  Java Software Developer

  1) Google App Engine works:

  1.a)http://www.clasificad.com.ar (Local free classifieds for  housing,
  sale, services, local community, curses,jobs, and events - GAE/J + Wicket +
  YUI)

  1.b)http://www.chessk.com (Massive multiplayer chess online  GAE/J +
  Applets + Wicket)

  2) Linkedin:http://ar.linkedin.com/in/nicolasmelendez

-- 
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: What would you recommend: Objectify or Twig?

2010-06-17 Thread Toby
Hello,

I agree with what was said before and I think essentially all these
frameworks are somehow similar. You should pick what fits best in your
application.

Personally I also went for Objectify because it is so well documented.
Actually by using it I started to understand the tricky parts of the
datastore. The only thing I really regret is all the time I lost
trying to make JDO work.

Cheers,
Toby

On Jun 17, 9:13 am, David Sowerby david.sowe...@virgin.net wrote:
 This is a difficult question to give a fair answer to - most of us
 only have time to make a fairly quick assessment then just decide to
 go with something - which means we only know one of them in any depth.

 I looked at Twig and Objectify, tried Twig briefly then elected to use
 Objectify - but that was because I preferred the approach of Objectify
 for my application, and my way of working and not because I felt there
 was anything wrong with Twig.  I cannot comment on Slim3, I have not
 tried it.

 Simon's suggestion above to look at some of the debate threads is
 still valid I think - it is probably the philosophy which drive your
 choice.  For me it was a case of keeping things simple and transparent
 in case I run into performance issues.

  I can say that the Objectify documentation is excellent, and the
 responses to questions fast and equally good.  Twig's documentation
 was not as thorough when I looked at it but that may have changed, and
 I do not know what the forum responses are like.

 On Jun 16, 7:28 pm, Houston startup coder stephenh...@gmail.com
 wrote:



  I'm liking Slim3 so far.  It has a fast wrapper for the low-level API
  that does not use reflection (meaning it's even faster than frameworks
  that do).  Plus it has some basic web framework helpers as well.

  Stephen

  On Jun 16, 12:34 am, nicolas melendez nfmelen...@gmail.com wrote:

   +1 Objectify

   But give a chance to twig too

   On Tue, Jun 15, 2010 at 1:56 PM, Dan Billings debil...@gmail.com wrote:
+1 Objectify

On Jun 15, 11:25 am, Simon qila...@gmail.com wrote:
 There's a big thread athttp://
groups.google.com/group/google-appengine-java/browse_thread/th...
 where the authors of the two frameworks discuss the respective
 benefits of their frameworks, for different scenarios.  It's probably
 worth having a read, although it's getting a bit old now.

 Personally I've found Objectify very good - very thorough
 documentation and it works for me :)

 On Jun 15, 9:51 am, Marcel Overdijk marceloverd...@gmail.com wrote:

  What would you recommend: Objectify or Twig?

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

   --
   Nicolás Meléndez
   Java Software Developer

   1) Google App Engine works:

   1.a)http://www.clasificad.com.ar (Local free classifieds for  housing,
   sale, services, local community, curses,jobs, and events - GAE/J + Wicket 
   +
   YUI)

   1.b)http://www.chessk.com (Massive multiplayer chess online  GAE/J +
   Applets + Wicket)

   2) Linkedin:http://ar.linkedin.com/in/nicolasmelendez

-- 
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] memcache best practice or framework

2010-06-17 Thread Toby
Hello,

I wonder if there is a framework (such as Objectify) also for
memcache.  As memcache is not on the local machine it is rather slow,
especially for reoccurring requests. So on Google I/O they suggested
to build your own in-memory layer around that. I know that is an easy
task, still I wonder if there might already be a framework for
that :-)

Also I wonder if someone can give me some ideas about how to build an
in-memory cache. I guess it is just a static hashmap. But will it
survive multiple requests? How much can I put in there?

As the problem of memcache is apparently the high latency for the
network traffic to the server I had the idea to store the in-memory
cache in the memcache, de-serialize it and then use it?

Do you have other ideas how to speed up caching?

Thank you for your advice,

Toby

-- 
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] Are there any problems with GAE at the moment?

2010-06-17 Thread Szymon Malok
I am still having 500 error. I can't even open admin console.

-- 
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] Inbound Message Attachment

2010-06-17 Thread paul
Hi,

Is there any way that I can get the attachment from an inbound email?
This is my first time to work with email message in app engine, using
java and MimeMessage. I really need some help, please give me any idea
on how to do this. I manage to get the email message contents, its
just the attachment part that I'm having some trouble with.

Thank you in advance guys.

-- 
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] Is app engine down or its just me?

2010-06-17 Thread TiagoP
I can't even access my dashboard.

-- 
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] Is app engine down or its just me?

2010-06-17 Thread Guillaume Laforge
Error: Server Error

The server encountered an error and could not complete your request.
If the problem persists, please report your problem and mention this
error message and the query that caused it.

You're not alone :-)

On Thu, Jun 17, 2010 at 12:33, TiagoP pix...@gmail.com wrote:
 I can't even access my dashboard.

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





-- 
Guillaume Laforge
Groovy Project Manager
Head of Groovy Development at SpringSource
http://www.springsource.com/g2one

-- 
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: GAE deployments high rate of failures

2010-06-17 Thread Jerome
Thanks. It is a nice improvement compared to 1.3.2 where we had to
deploy (and re-compile) 2 to 6 times.
With 1.3.4, it does not report an error after trying several times.
But it is still taking a lot of time, as the final stage (actual
deploy) is taking a while:

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.
Will check again in 32 seconds.
Will check again in 60 seconds.
Will check again in 60 seconds.
Will check again in 60 seconds.
Will check again in 60 seconds.
Will check again in 60 seconds.
Will check again in 60 seconds.
Will check again in 60 seconds.
Will check again in 60 seconds.
Closing update: new version is ready to start serving.

It is not a big deal, as we do not deploy often, but I just wanted to
report how it is working for me right now, post 1.3.4 update.

Cheers,

Jerome

On Jun 17, 6:34 am, Tristan tristan.slomin...@gmail.com wrote:
 had the same problem... all deployment issues went away with 1.3.4
 (and you can now have 100 versions per app - someone said ... neat)

 On Jun 16, 2:13 pm, Jerome jerome.mou...@gmail.com wrote:

  Hi Don,

  Now that is a good incentive to upgrade :-) (we are still on 1.3.2
  indeed).

  Jerome

  On Jun 16, 5:18 pm, Don Schwarz schwa...@google.com wrote:

   Try upgrading to the 1.3.4 SDK.

   On Wed, Jun 16, 2010 at 10:14 AM, Jerome jerome.mou...@gmail.com wrote:
Same here, for the past few weeks, deploying our application to GAE
often take 5 or more attempts (we are very happy when we can deploy on
the 2nd try).

The issues we are getting rotate between:
- failure after Will check again in 128 seconds
- a message that we have too many versions (even though we have been
keeping our versions to 3-5 these past few weeks)
- a 500 on the deployment

Is this a general issue acknowledged by Google, or is there something
to be tweaked on our app settings by Google?

Jerome

On Jun 11, 10:23 am, Miroslav Genov mgenov.j...@gmail.com wrote:
 Still encountering the same problem in the last 4-5 days. I don't know
 whether this is connected with the last datastore outage, but it's
 really annoying that I must wait 15 minutes to upload a new version.

 40% Uploading 0 files.
 52% Initializing precompilation...
 90% Deploying new version.
 95% Will check again in 1 seconds
 98% Will check again in 2 seconds
 99% Will check again in 4 seconds
 99% Will check again in 8 seconds
 99% Will check again in 16 seconds
 99% Will check again in 32 seconds
 99% Will check again in 64 seconds
 99% Will check again in 128 seconds
 99% Rolling back the update.

 Regards,
    Miroslav

 On 06/02/2010 10:53 PM, Miroslav Genov wrote:

  Today all day I get the same error when trying to upload an updated
  version of my application. I try to remove one existing version
  (currently I have 5 version of my app) but the administrative panel 
  is
  failing with the following error:  A server error has occurred..

  Any idea what is causing it ?

  Also I wanna mention that the upload of my application is really 
  slow
  and I have to wait several minutes to upload only 1 file change.

  Regards,
    Miroslav

  On 05/06/2010 03:20 PM, Tim Yates wrote:
  Hiya!  For the past 3 hours, been trying to update my app engine 
  java
  instance, but have been getting the error:

  Error posting to URL:
   https://appengine.google.com/api/appversion/deploy?app_id=check-email...
  403 Forbidden

  Too Many Versions (403)
  The application already has the maximum number of versions.

  I see on the system status that things are under investigation

 http://code.google.com/status/appengine/

  Is this one of the things being investigated?

  Tim

  PS:  I only have a single version deployed, and this version is 
  set to
  be the default

--
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%2B
 unsubscr...@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] Application run in local server but don't work in Appspot...

2010-06-17 Thread Nicolas KONDRATEK
Hi,

I write an application in my local GAE server (GWT, GAE, Spring). It's
work in ma local computer but when I run this application deployed in
my appspot account, I have this error :


W 06-17 06:04AM 24.882
Failed startup of context
com.google.apphosting.utils.jetty.runtimeappenginewebappcont...@1a5e68a{/,/
base/data/home/apps/onpt-bankroll/1.342732745237524838}
java.security.AccessControlException: access denied
(java.lang.RuntimePermission modifyThreadGroup)
at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:
355)
at
java.security.AccessController.checkPermission(AccessController.java:
567)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at
com.google.apphosting.runtime.security.CustomSecurityManager.checkPermission(CustomSecurityManager.java:
45)
at
com.google.apphosting.runtime.security.CustomSecurityManager.checkAccess(CustomSecurityManager.java:
93)
at java.lang.ThreadGroup.checkAccess(Unknown Source)
at java.lang.Thread.init(Unknown Source)
at java.lang.Thread.init(Unknown Source)
at org.apache.log4j.helpers.FileWatchdog.init(FileWatchdog.java:54)
at org.apache.log4j.PropertyWatchdog.init(PropertyConfigurator.java:
709)
at
org.apache.log4j.PropertyConfigurator.configureAndWatch(PropertyConfigurator.java:
400)
at
org.springframework.util.Log4jConfigurer.initLogging(Log4jConfigurer.java:
105)
at
org.springframework.web.util.Log4jWebConfigurer.initLogging(Log4jWebConfigurer.java:
143)
at
org.springframework.web.util.Log4jConfigListener.contextInitialized(Log4jConfigListener.java:
45)
at
org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:
548)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
at
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:
1250)
at
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:
517)
at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:
467)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
50)
at
com.google.apphosting.runtime.jetty.AppVersionHandlerMap.createHandler(AppVersionHandlerMap.java:
191)
at
com.google.apphosting.runtime.jetty.AppVersionHandlerMap.getHandler(AppVersionHandlerMap.java:
168)
at
com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:
123)
at
com.google.apphosting.runtime.JavaRuntime.handleRequest(JavaRuntime.java:
250)
at com.google.apphosting.base.RuntimePb$EvaluationRuntime
$6.handleBlockingRequest(RuntimePb.java:5838)
at com.google.apphosting.base.RuntimePb$EvaluationRuntime
$6.handleBlockingRequest(RuntimePb.java:5836)
at
com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest(BlockingApplicationHandler.java:
24)
at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:
398)
at com.google.net.rpc.impl.Server$2.run(Server.java:852)
at
com.google.tracing.LocalTraceSpanRunnable.run(LocalTraceSpanRunnable.java:
56)
at
com.google.tracing.LocalTraceSpanBuilder.internalContinueSpan(LocalTraceSpanBuilder.java:
576)
at com.google.net.rpc.impl.Server.startRpc(Server.java:807)
at com.google.net.rpc.impl.Server.processRequest(Server.java:369)
at
com.google.net.rpc.impl.ServerConnection.messageReceived(ServerConnection.java:
442)
at
com.google.net.rpc.impl.RpcConnection.parseMessages(RpcConnection.java:
319)
at
com.google.net.rpc.impl.RpcConnection.dataReceived(RpcConnection.java:
290)
at com.google.net.async.Connection.handleReadEvent(Connection.java:
474)
at
com.google.net.async.EventDispatcher.processNetworkEvents(EventDispatcher.java:
831)
at
com.google.net.async.EventDispatcher.internalLoop(EventDispatcher.java:
207)
at com.google.net.async.EventDispatcher.loop(EventDispatcher.java:
103)
at
com.google.net.rpc.RpcService.runUntilServerShutdown(RpcService.java:
251)
at com.google.apphosting.runtime.JavaRuntime
$RpcRunnable.run(JavaRuntime.java:413)
at java.lang.Thread.run(Unknown Source)
C 06-17 06:04AM 24.890
Uncaught exception from servlet
javax.servlet.UnavailableException: Initialization failed.
at
com.google.apphosting.runtime.jetty.AppVersionHandlerMap.createHandler(AppVersionHandlerMap.java:
200)
at
com.google.apphosting.runtime.jetty.AppVersionHandlerMap.getHandler(AppVersionHandlerMap.java:
168)
at
com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:
123)
at
com.google.apphosting.runtime.JavaRuntime.handleRequest(JavaRuntime.java:
250)
at com.google.apphosting.base.RuntimePb$EvaluationRuntime
$6.handleBlockingRequest(RuntimePb.java:5838)
at 

[appengine-java] Is the source code for Google App Engine available?

2010-06-17 Thread Marcel Overdijk
http://code.google.com/p/googleappengine/source/browse/#svn/trunk does
not contain sources for e.g.
com.google.appengine.api.datastore.DatastoreService

-- 
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] Application run in local server but don't work in Appspot...

2010-06-17 Thread Pieter Coucke
Is it possible that you configured log4j to write to a file?  This won't
work on App Engine.
You can use the log4j ConsoleAppender instead.

-- 
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: Application run in local server but don't work in Appspot...

2010-06-17 Thread Nicolas KONDRATEK
Yes I've configue log4j.

I send you my log4j config as soon as possible.

On 17 juin, 15:45, Pieter Coucke pieter.cou...@onthoo.com wrote:
 Is it possible that you configured log4j to write to a file?  This won't
 work on App Engine.
 You can use the log4j ConsoleAppender instead.

-- 
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: Application run in local server but don't work in Appspot...

2010-06-17 Thread Nicolas KONDRATEK
My log4j.properties :

# A default log4j configuration for log4j users.
#
# To use this configuration, deploy it into your application's WEB-INF/
classes
# directory.  You are also encouraged to edit it as you like.

# Configure the console as our one appender
log4j.appender.A1=org.apache.log4j.ConsoleAppender
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%d{HH:mm:ss,SSS} %-5p [%c]
- %m%n

# tighten logging on the DataNucleus Categories
log4j.category.DataNucleus.JDO=WARN, A1
log4j.category.DataNucleus.Persistence=WARN, A1
log4j.category.DataNucleus.Cache=WARN, A1
log4j.category.DataNucleus.MetaData=WARN, A1
log4j.category.DataNucleus.General=WARN, A1
log4j.category.DataNucleus.Utility=WARN, A1
log4j.category.DataNucleus.Transaction=WARN, A1
log4j.category.DataNucleus.Datastore=WARN, A1
log4j.category.DataNucleus.ClassLoading=WARN, A1
log4j.category.DataNucleus.Plugin=WARN, A1
log4j.category.DataNucleus.ValueGeneration=WARN, A1
log4j.category.DataNucleus.Enhancer=WARN, A1
log4j.category.DataNucleus.SchemaTool=WARN, A1

In my web.xml :

?xml version=1.0 encoding=UTF-8?
!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
http://java.sun.com/dtd/web-app_2_3.dtd;

web-app

!-- Log4j Config --
context-param
param-namelog4jConfigLocation/param-name
param-value/WEB-INF/classes/log4j.properties/param-value
/context-param
context-param
   param-namelog4jRefreshInterval/param-name
   param-value1/param-value
/context-param

listener

listener-classorg.springframework.web.util.Log4jConfigListener/
listener-class
/listener

!-- Default page to serve --
welcome-file-list
welcome-fileOnptBankroll.html/welcome-file
/welcome-file-list

servlet
servlet-namedispatcher/servlet-name

servlet-classorg.springframework.web.servlet.DispatcherServlet/
servlet-class
load-on-startup1/load-on-startup
/servlet
servlet-mapping
servlet-namedispatcher/servlet-name
url-pattern/onptbankroll/greet/url-pattern
/servlet-mapping

/web-app

Any ideas ?

On 17 juin, 15:45, Pieter Coucke pieter.cou...@onthoo.com wrote:
 Is it possible that you configured log4j to write to a file?  This won't
 work on App Engine.
 You can use the log4j ConsoleAppender instead.

-- 
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] Is the source code for Google App Engine available?

2010-06-17 Thread John Patterson
No it is not open source.  It was mentioned at Google IO that more  
would be opened up over time.


On 17 Jun 2010, at 20:40, Marcel Overdijk wrote:


http://code.google.com/p/googleappengine/source/browse/#svn/trunk does
not contain sources for e.g.
com.google.appengine.api.datastore.DatastoreService

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




--
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: Is app engine down or its just me?

2010-06-17 Thread App Engine Team
App Engine experienced a brief outage this morning which would also
have affected the Admin Console and your application's dashboard.  For
more information, please see this post on downtime notify:
http://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/9bf08a279138bf45

On Jun 17, 3:35 am, Guillaume Laforge glafo...@gmail.com wrote:
 Error: Server Error

 The server encountered an error and could not complete your request.
 If the problem persists, please report your problem and mention this
 error message and the query that caused it.

 You're not alone :-)

 On Thu, Jun 17, 2010 at 12:33, TiagoP pix...@gmail.com wrote:
  I can't even access my dashboard.

  --
  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 
  athttp://groups.google.com/group/google-appengine-java?hl=en.

 --
 Guillaume Laforge
 Groovy Project Manager
 Head of Groovy Development at SpringSourcehttp://www.springsource.com/g2one

-- 
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: Are there any problems with GAE at the moment?

2010-06-17 Thread App Engine Team
App Engine experienced a brief outage this morning which also affected
the admin console.  For more information, please see this post on
downtime notify: 
http://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/9bf08a279138bf45

On Jun 17, 3:12 am, Szymon Malok szym...@gmail.com wrote:
 I am still having 500 error. I can't even open admin console.

-- 
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] Re: GAE deployments high rate of failures

2010-06-17 Thread Don Schwarz
Yes, that is expected for large applications right now.  Let us know if it
becomes more of a problem for you.

On Thu, Jun 17, 2010 at 7:38 AM, Jerome jerome.mou...@gmail.com wrote:

 Thanks. It is a nice improvement compared to 1.3.2 where we had to
 deploy (and re-compile) 2 to 6 times.
 With 1.3.4, it does not report an error after trying several times.
 But it is still taking a lot of time, as the final stage (actual
 deploy) is taking a while:

 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.
 Will check again in 32 seconds.
 Will check again in 60 seconds.
 Will check again in 60 seconds.
 Will check again in 60 seconds.
 Will check again in 60 seconds.
 Will check again in 60 seconds.
 Will check again in 60 seconds.
 Will check again in 60 seconds.
 Will check again in 60 seconds.
 Closing update: new version is ready to start serving.

 It is not a big deal, as we do not deploy often, but I just wanted to
 report how it is working for me right now, post 1.3.4 update.

 Cheers,

 Jerome

 On Jun 17, 6:34 am, Tristan tristan.slomin...@gmail.com wrote:
  had the same problem... all deployment issues went away with 1.3.4
  (and you can now have 100 versions per app - someone said ... neat)
 
  On Jun 16, 2:13 pm, Jerome jerome.mou...@gmail.com wrote:
 
   Hi Don,
 
   Now that is a good incentive to upgrade :-) (we are still on 1.3.2
   indeed).
 
   Jerome
 
   On Jun 16, 5:18 pm, Don Schwarz schwa...@google.com wrote:
 
Try upgrading to the 1.3.4 SDK.
 
On Wed, Jun 16, 2010 at 10:14 AM, Jerome jerome.mou...@gmail.com
 wrote:
 Same here, for the past few weeks, deploying our application to GAE
 often take 5 or more attempts (we are very happy when we can deploy
 on
 the 2nd try).
 
 The issues we are getting rotate between:
 - failure after Will check again in 128 seconds
 - a message that we have too many versions (even though we have
 been
 keeping our versions to 3-5 these past few weeks)
 - a 500 on the deployment
 
 Is this a general issue acknowledged by Google, or is there
 something
 to be tweaked on our app settings by Google?
 
 Jerome
 
 On Jun 11, 10:23 am, Miroslav Genov mgenov.j...@gmail.com wrote:
  Still encountering the same problem in the last 4-5 days. I don't
 know
  whether this is connected with the last datastore outage, but
 it's
  really annoying that I must wait 15 minutes to upload a new
 version.
 
  40% Uploading 0 files.
  52% Initializing precompilation...
  90% Deploying new version.
  95% Will check again in 1 seconds
  98% Will check again in 2 seconds
  99% Will check again in 4 seconds
  99% Will check again in 8 seconds
  99% Will check again in 16 seconds
  99% Will check again in 32 seconds
  99% Will check again in 64 seconds
  99% Will check again in 128 seconds
  99% Rolling back the update.
 
  Regards,
 Miroslav
 
  On 06/02/2010 10:53 PM, Miroslav Genov wrote:
 
   Today all day I get the same error when trying to upload an
 updated
   version of my application. I try to remove one existing version
   (currently I have 5 version of my app) but the administrative
 panel is
   failing with the following error:  A server error has
 occurred..
 
   Any idea what is causing it ?
 
   Also I wanna mention that the upload of my application is
 really slow
   and I have to wait several minutes to upload only 1 file
 change.
 
   Regards,
 Miroslav
 
   On 05/06/2010 03:20 PM, Tim Yates wrote:
   Hiya!  For the past 3 hours, been trying to update my app
 engine java
   instance, but have been getting the error:
 
   Error posting to URL:

 https://appengine.google.com/api/appversion/deploy?app_id=check-email...
   403 Forbidden
 
   Too Many Versions (403)
   The application already has the maximum number of versions.
 
   I see on the system status that things are under investigation
 
  http://code.google.com/status/appengine/
 
   Is this one of the things being investigated?
 
   Tim
 
   PS:  I only have a single version deployed, and this version
 is set to
   be the default
 
 --
 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.comgoogle-appengine-java%2B
 unsubscr...@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 

Re: [appengine-java] Are there any problems with GAE at the moment?

2010-06-17 Thread luis lu
Same here.

On Thu, Jun 17, 2010 at 6:12 PM, Szymon Malok szym...@gmail.com wrote:

 I am still having 500 error. I can't even open admin console.

 --
 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] To use single big table for multiple applications

2010-06-17 Thread MANISH DHIMAN
Dear All,
Is it possible to use single big table for multiple applications.

-- 
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] about blobstore

2010-06-17 Thread Madhuri
Hello,

I am new to App Engine. I just tried sample applications of App Engine
services.

I dont want to deploy my application on Google App Engine but I want
to use Blobstore as Image Storage.

Since Blobstore is payable, Is it possible to use blobstore service/
API outside the Google App Engine?

If yes, then let me know possible ways of it.

Please guide me.

Thanks in advance.

-- 
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] Single BigTable for multiple Application

2010-06-17 Thread MANISH DHIMAN
Is it possible to use a single big table for multiple application .

-- 
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] Unable to URL Fetch Google chart

2010-06-17 Thread Ikai Lan
This looks like a clue:


On Wed, Jun 16, 2010 at 10:07 PM, brianl licht...@gmail.com wrote:

 A URL Fetch of a Google chart fails.   Attempting w/ the low level API
 in the development environment...

 String chart = http://chart.apis.google.com/chart?chs=250x100chd=t:
 60,40cht=p3chl=Hello|World;
 FetchOptions options =
 FetchOptions.Builder.disallowTruncate().followRedirects();
 HTTPRequest request = new HTTPRequest(new URL(chart), HTTPMethod.GET,
 options);
 HTTPResponse response =
 URLFetchServiceFactory.getURLFetchService().fetch(request);

 [java] java.lang.IllegalArgumentException: Invalid uri 'http://
 chart.apis.google.com/chart?chs=250x100chd=t:60,40cht=p3chl=Hello|
 World': Invalid query
 [java] at
 org.apache.commons.httpclient.HttpMethodBase.init(Unknown Source)
 [java] at
 org.apache.commons.httpclient.methods.GetMethod.init(Unknown Source)


 What am I'm missing?   Or perhaps this is a known issue or
 limitation?

 thanks!

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




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

-- 
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] Unable to URL Fetch Google chart

2010-06-17 Thread Ikai L (Google)
I meant to say - try escaping the URI.

On Thu, Jun 17, 2010 at 9:33 AM, Ikai Lan i...@google.com wrote:

 This looks like a clue:


 On Wed, Jun 16, 2010 at 10:07 PM, brianl licht...@gmail.com wrote:

 A URL Fetch of a Google chart fails.   Attempting w/ the low level API
 in the development environment...

 String chart = http://chart.apis.google.com/chart?chs=250x100chd=t:
 60,40cht=p3chl=Hello|World;
 FetchOptions options =
 FetchOptions.Builder.disallowTruncate().followRedirects();
 HTTPRequest request = new HTTPRequest(new URL(chart), HTTPMethod.GET,
 options);
 HTTPResponse response =
 URLFetchServiceFactory.getURLFetchService().fetch(request);

 [java] java.lang.IllegalArgumentException: Invalid uri 'http://
 chart.apis.google.com/chart?chs=250x100chd=t:60,40cht=p3chl=Hello|http://chart.apis.google.com/chart?chs=250x100chd=t:60,40cht=p3chl=Hello%7C
 World': Invalid query
 [java] at
 org.apache.commons.httpclient.HttpMethodBase.init(Unknown Source)
 [java] at
 org.apache.commons.httpclient.methods.GetMethod.init(Unknown Source)


 What am I'm missing?   Or perhaps this is a known issue or
 limitation?

 thanks!

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




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




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

-- 
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] Re: Prerelease SDK 1.3.5 is out!

2010-06-17 Thread Ikai L (Google)
The plugin is open source:

http://code.google.com/p/datanucleus-appengine/

If there's a feature you're looking for, you are more than welcome to
contribute a patch.

On Wed, Jun 16, 2010 at 11:25 PM, Sudhir Ramanandi sramana...@gmail.comwrote:

 Congratulations for the release..

 But It's to sad to see no updates on datanucleus/JPA side. Really google is
 giving too little attention to Datanucleus plugin

 ~SN


 On Thu, Jun 17, 2010 at 9:19 AM, Andrei gml...@gmail.com wrote:

 What is Remote API commands?

 On Jun 16, 2:06 pm, Ikai L (Google) ika...@google.com wrote:
  Hey developers!
 What 
  We've release the prerelease SDK for 1.3.5. Get it here:
 
  http://code.google.com/p/googleappengine/downloads/list
 
  If you want to try out new features locally before they go live, here's
 your
  chance. We welcome any feedback you have. Release notes for Java are
 below:
 
  Version 1.3.5
  =
  - Ability to configure the Task Queue storage limit with the
total-storage-limit field in the queue.xml file.
  - Task Queues now support up to 50 qps per queue, up from 50 qps per
 app.
  - Developers can programmatically access Blobs with
 BlobstoreInputStream,
  which
provides an InputStream view of a blob in Blobstore
  - Content-range headers for Blobs are supported.
  - Bulkloader transform helpers for lists and hierarchical keys were
 added.
  - Remote API commands can be sent over HTTPS or HTTP.
  - Admin Console logs now include information on request time latency.
  - Fixed an issue where requesting /appstats would not properly direct to
/appstats/.
  - Fixed an issue with inconsistent URL mappings between the SDK and
  production.
 http://code.google.com/p/googleappengine/issues/detail?id=2598
 
  --
  Ikai Lan
  Developer Programs Engineer, Google App Engine
  Blog:http://googleappengine.blogspot.com
  Twitter:http://twitter.com/app_engine
  Reddit:http://www.reddit.com/r/appengine

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




 --
 Sudhir Ramanandi
 http://www.ramanandi.org

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




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

-- 
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] Re: GAE commercial use!

2010-06-17 Thread Ikai L (Google)
There are several. Off the top of my head:

http://www.webfilings.com
https://the-deadline.appspot.com/login?continue=/list/
http://www.socialwok.com

The backend for the popular Android game Pocket Empires runs on App Engine.

... many, many more.

On Thu, Jun 17, 2010 at 12:07 AM, Muhammad Ijaz Khan aija...@gmail.comwrote:

 Yeah, it seems that google is offering it for the end users systems also
 but I am interested to know if there are any successful services running on
 GAE.
 Still wondering.


 On Wed, Jun 16, 2010 at 9:29 PM, Houston startup coder 
 stephenh...@gmail.com wrote:

 Check this out:

 http://code.google.com/appengine/business


 Stephen



 On Jun 16, 3:07 am, Muhammad Ijaz Khan aija...@gmail.com wrote:
  Yes, I have started reading it now, it looks good :) thanks.
 
  Any comment on commercial grade system deployment using appengine for
 java?
 
  On Wed, Jun 16, 2010 at 6:33 AM, Didier Durand durand.did...@gmail.com
 wrote:
 
 
 
   Hi,
 
   Go for this book
 
  http://www.amazon.com/Programming-Google-App-Engine-Infrastructure/dp.
 ..
 
   Great (written by a googler) especially on datastore
   didier
 
   On Jun 15, 10:42 am, Muhammad Ijaz Khan aija...@gmail.com wrote:
Hi,
 
Is there a commercial big sized service running on appengine
 platform? It
will be highly appreciable if someone can link to a book for google
appengine for java too. Thanks.
 
regards,
Ijaz
 
   --
   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.comgoogle-appengine-java%2B
 unsubscr...@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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.




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

-- 
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] memcache best practice or framework

2010-06-17 Thread Ikai L (Google)
What aspect of Memcache is too slow? Have you run AppStats yet?

The overhead of Memcache is low enough for many of the top sites on the
internet to use. Some sites are listed on the main page here:

http://memcached.org/

As you move closer and closer to local memory, the volatility of your cache
will increase, so the only items I would store in local memory are items
that are okay to lose. If you want, you can probably layer your application
to fetch from memcache - fetch from authoritative source and place into
local memory on a cache miss. Just be aware that there are process memory
limits, and exceeding these will force a restart.

On Thu, Jun 17, 2010 at 2:30 AM, Toby toby.ro...@gmail.com wrote:

 Hello,

 I wonder if there is a framework (such as Objectify) also for
 memcache.  As memcache is not on the local machine it is rather slow,
 especially for reoccurring requests. So on Google I/O they suggested
 to build your own in-memory layer around that. I know that is an easy
 task, still I wonder if there might already be a framework for
 that :-)

 Also I wonder if someone can give me some ideas about how to build an
 in-memory cache. I guess it is just a static hashmap. But will it
 survive multiple requests? How much can I put in there?

 As the problem of memcache is apparently the high latency for the
 network traffic to the server I had the idea to store the in-memory
 cache in the memcache, de-serialize it and then use it?

 Do you have other ideas how to speed up caching?

 Thank you for your advice,

 Toby

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




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

-- 
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] Re: GAE commercial use!

2010-06-17 Thread Wilson MacGyver
Neptune's Pride a online game is done using GAE

http://googleappengine.blogspot.com/2010/04/games-on-app-engine-interview-with-jay.html

On Thu, Jun 17, 2010 at 3:07 AM, Muhammad Ijaz Khan aija...@gmail.com wrote:
 Yeah, it seems that google is offering it for the end users systems also but
 I am interested to know if there are any successful services running on GAE.
 Still wondering.

 On Wed, Jun 16, 2010 at 9:29 PM, Houston startup coder
 stephenh...@gmail.com wrote:

 Check this out:

 http://code.google.com/appengine/business


 Stephen



 On Jun 16, 3:07 am, Muhammad Ijaz Khan aija...@gmail.com wrote:
  Yes, I have started reading it now, it looks good :) thanks.
 
  Any comment on commercial grade system deployment using appengine for
  java?
 
  On Wed, Jun 16, 2010 at 6:33 AM, Didier Durand
  durand.did...@gmail.comwrote:
 
 
 
   Hi,
 
   Go for this book
 
 
   http://www.amazon.com/Programming-Google-App-Engine-Infrastructure/dp...
 
   Great (written by a googler) especially on datastore
   didier
 
   On Jun 15, 10:42 am, Muhammad Ijaz Khan aija...@gmail.com wrote:
Hi,
 
Is there a commercial big sized service running on appengine
platform? It
will be highly appreciable if someone can link to a book for google
appengine for java too. Thanks.
 
regards,
Ijaz
 
   --
   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%2B
   unsubscr...@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.


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




-- 
Omnem crede diem tibi diluxisse supremum.

-- 
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] Inbound Message Attachment

2010-06-17 Thread Ikai L (Google)
There are a few threads in the groups about this. Here's an older one. To
the best of my knowledge nothing has changed:

http://groups.google.com/group/google-appengine-java/browse_thread/thread/34fc6354a923e6af/3292bcd1535394a4?lnk=gstq=attachment+incoming#3292bcd1535394a4

And here's the search:

http://groups.google.com/group/google-appengine-java/search?group=google-appengine-javaq=attachment+incomingqt_g=Search+this+group

On Thu, Jun 17, 2010 at 3:14 AM, paul pjorti...@gmail.com wrote:

 Hi,

 Is there any way that I can get the attachment from an inbound email?
 This is my first time to work with email message in app engine, using
 java and MimeMessage. I really need some help, please give me any idea
 on how to do this. I manage to get the email message contents, its
 just the attachment part that I'm having some trouble with.

 Thank you in advance guys.

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




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

-- 
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] Single BigTable for multiple Application

2010-06-17 Thread Ikai L (Google)
Technically several applications use the same Bigtable:

http://code.google.com/appengine/articles/storage_breakdown.html

That being said, you are probably asking if it is possible to use the same
datastore for multiple applications: the answer is no. There are several
threads about how workarounds if this is a requirement:

http://groups.google.com/group/google-appengine/search?group=google-appengineq=share+datastoreqt_g=Search+this+group

On Thu, Jun 17, 2010 at 5:05 AM, MANISH DHIMAN manisd...@gmail.com wrote:

 Is it possible to use a single big table for multiple application .

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




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

-- 
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] AppEngineConfigException: XML error validating on Uploading files using Deploy App Enginer Project

2010-06-17 Thread Ikai L (Google)
Can you post your XML file?

On Wed, Jun 16, 2010 at 3:20 PM, Nick lgfr...@gmail.com wrote:

 Hi,

 What steps will reproduce the problem?
 1.   On my local machine,
  I have a text ssma_stud.txt under folder WEB-INF/
 ssma_std.txt.
  I read this text file, validate data. Its working fine.

 2.  After successful testing on local machine,
 while deploying it using Deploy App Enginer Project , plug-in
 on
 eclipse, I got following error


 What is the expected output? What do you see instead?

Here is the error logs...

 com.google.apphosting.utils.config.AppEngineConfigException: XML error
 validating C:\NC\Eclipse_Proj\LGDesign\war\WEB-INF\appengine-web.xml
 against C:\eclipse_Galileo\plugins
 \com.google.appengine.eclipse.sdkbundle.
 1.3.4_1.3.4.v201005212032\appengine-java-sdk-1.3.4\docs\appengine-
 web.xsd
 at
 com.google.appengine.tools.admin.Application.validateXml(Application.java:
 336)
 at
 com.google.appengine.tools.admin.Application.init(Application.java:
 89)
 at

 com.google.appengine.tools.admin.Application.readApplication(Application.java:
 127)
 at

 com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.createAppAdmin(AppEngineBridgeImpl.java:
 204)
 at

 com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy(AppEngineBridgeImpl.java:
 265)
 at

 com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace(DeployProjectJob.java:
 145)
 at

 org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:
 38)
 at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
 Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a:
 Invalid content was found starting with element 'system-properties'.
 One of '{http://appengine.google.com/ns/1.0:static-files, http://
 appengine.google.com/ns/1.0:resource-files, http://
 appengine.google.com/ns/1.0:env-variables, http://
 appengine.google.com/ns/1.0:ssl-enabled, http://
 appengine.google.com/
 ns/1.0:sessions-enabled, http://appengine.google.com/ns/1.0:user-
 permissions, http://appengine.google.com/ns/1.0:public-root,
 http://
 appengine.google.com/ns/1.0:inbound-services, http://
 appengine.google.com/ns/1.0:precompilation-enabled, http://
 appengine.google.com/ns/1.0:admin-console}' is expected.
 at

 com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:
 195)
 at

 com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:
 131)
 at

 com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:
 384)
 at

 com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:
 318)
 at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator
 $XSIErrorReporter.reportError(XMLSchemaValidator.java:410)
 at

 com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError(XMLSchemaValidator.java:
 3165)
 at

 com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:
 1777)
 at

 com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:
 685)
 at

 com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:
 400)
 at
 com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl
 $FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2747)
 at

 com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:
 648)
 at

 com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:
 140)
 at

 com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:
 510)
 at

 com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:
 807)
 at

 com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:
 737)
 at

 com.sun.org.apache.xerces.internal.jaxp.validation.StreamValidatorHelper.validate(StreamValidatorHelper.java:
 144)
 at

 com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorImpl.validate(ValidatorImpl.java:
 107)
 at javax.xml.validation.Validator.validate(Validator.java:127)
 at
 com.google.appengine.tools.admin.Application.validateXml(Application.java:
 333)
 ... 7 more




 What version of the product are you using? On what operating system?

 -  App Engine SDK-1.3.4,
 -  whereas same application was previously uploaded to
 websteeldes...@gmail.com with SDK-1.3.2 ( older
 application was without reading text file)



 Additional information:
   Mr Ikai from google help me read text filem where he asked to move
 text file from folder war to WEB-INF
(Re: [appengine-java] Need help on
 java.security.AccessControlException: access denied)


 --
 You received this message because you are subscribed to the Google 

[appengine-java] Unit test multiple users concurrent access using LocalServiceTestHelper

2010-06-17 Thread Billy
Hi, I'm looking for advice on doing unit tests for multi threaded user
access to my server side code.

In particular, I have a section of server-side code that updatse an
entity using JDO that I expect to potentially be executed by multiple
users at the same time.  If this were to happen I except a
JDOCanRetryException to be thrown and the need for code to loop and
retry.  This is all fine and I have written this code, however I've
having a hard time testing it.

It seems as though if I create a LocalServiceTestHelper in one thread
and then call UserService.getCurrentUser() in another thread, it
throws a NullPointerException.  So I tried creating a
LocalServiceTestHelper in each thread and this lets me get the active
user, but then the object I insert in one thread is not visible to
other thread.  The key what I'm trying to test is having two different
threads attempt to update the same entity at the same time so I think
I need multiple threads to share the same LocalServiceTestHelper, but
I'm not sure if this is possible.

I haven't found much out there on this topic so any advice
appreciated.
Thanks

-- 
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] Mavenizing an eclipse SDK GAE Project

2010-06-17 Thread Jan-Hendrik Lendholt
Hi there,

I created an app engine project (without GWT). All looks good: Folders
created, servlet there, startup, it runs.

Now I have m2eclipse and enabled the dependency resolution. I don't
necessarily need the GAE libraries as from maven, but Spring, webflow
and so on would be cool.

m2eclipse downloads the jars and adds them as a library to my project.
But those don't get copied to war/WEB-INF/lib so the app crashes.

Are there any secrets on how to let these jars be synced with the war/
WEB-INF/lib folder?

Thanks in advance!

-- 
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] Exception while dispatching incoming RPC call

2010-06-17 Thread stalker48
SEVERE: [1276796568732000] javax.servlet.ServletContext log:
com.google.gwt.user.server.rpc.UnexpectedException: Service method
'public abstract myproject.client.DefLevel[]
myproject.client.ProviderService.getDefLevels() throws
myproject.client.NotLoggedInException' threw an unexpected exception:
javax.jdo.JDOFatalUserException: No meta data for
myproject.client.DefLevel.  Perhaps you need to run the enhancer on
this class?

Please, any help?

Eclipse 3.5.2,
App Engine SDK 1.3.4
GWT 2.0.3
LDK 1.6.0_20

-- 
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] Group Google App Appengine

2010-06-17 Thread Julien
Hello everyone,

Someone know how can i get the group and role for an given user
defined in the users and groups, with the google app engine api ?

Thx :)

-- 
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] Mavenizing an eclipse SDK GAE Project

2010-06-17 Thread Romain Pelisse
Well, this is only my opinion, but I wouldn't go this way. I think a simple
Ant file with Ivy perhaps will be a better approach than using Maven. It
does not feel (to me) that a GAE is really a maven app, it actually look a
lot more like an Ant application... (but again, only my opinion here)

On 17 June 2010 21:34, Jan-Hendrik Lendholt jan.lendh...@googlemail.comwrote:

 Hi there,

 I created an app engine project (without GWT). All looks good: Folders
 created, servlet there, startup, it runs.

 Now I have m2eclipse and enabled the dependency resolution. I don't
 necessarily need the GAE libraries as from maven, but Spring, webflow
 and so on would be cool.

 m2eclipse downloads the jars and adds them as a library to my project.
 But those don't get copied to war/WEB-INF/lib so the app crashes.

 Are there any secrets on how to let these jars be synced with the war/
 WEB-INF/lib folder?

 Thanks in advance!

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




-- 
Romain PELISSE,
The trouble with having an open mind, of course, is that people will insist
on coming along and trying to put things in it -- Terry Pratchett
http://belaran.eu/

-- 
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] Using the prepackaged json classes in com.google.appengine.repackaged.org.json?

2010-06-17 Thread Mark
Hi,

I'm using the 1.3.4 version of app engine. I noticed that now we have:

 com.google.appengine.repackaged.org.json.*

available. I can use the json classes and compilation is fine, but at
runtime loading of the json classes fails, I think:

 java.lang.UnsupportedClassVersionError: Bad version number
in .class file

not sure what's causing this, is it possible that the repackaged
classes were compiled using a different jdk version than what I'm
using? I'm using java compatibility = 1.5. I can just include the json
files from json.org myself, but would be more convenient to use the
ones already provided,

Thanks

-- 
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] jdo custom fetch group

2010-06-17 Thread Owen Powell
Hello group,

How do I write a custom fetch group for my GAE project?

I have a class A that contains two fields, B and C. Sometimes I only
want to retrieve A + B, sometimes A + B + C. I have a feeling a custom
fetch group would be the answer to this (http://www.jpox.org/docs/1_1/
fetchgroup.html), but I'm not seeing how to do this in GAE (for
example, I can't seem to find any files with the JDO class metadata).
B and C are both direct children of A, so I don't think
setMaxFetchDepth helps in this case.

Any help finding the metadata or another solution would be much
appreciated.

Best,

~Owen

-- 
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: Intermittent Issue with Datastore Writes

2010-06-17 Thread shaz
I was able to replicate the error in the local dev environment, and
got this stack trace:


Jun 17, 2010 6:02:50 PM org.datanucleus.transaction.Transaction
rollback
SEVERE: Operation rollback failed on resource:
org.datanucleus.store.appengine.datastorexaresou...@1c95b4c, error
code UNKNOWN and transaction: [DataNucleus Transaction, ID=Xid=
enlisted
resources=[org.datanucleus.store.appengine.datastorexaresou...@1c95b4c]]

Jun 17, 2010 6:02:55 PM com.google.apphosting.utils.jetty.JettyLogger
warn
WARNING: /SaveLoc
javax.jdo.JDODataStoreException: Datastore Failure
at
org.datanucleus.jdo.NucleusJDOHelper.getJDOExceptionForNucleusException(NucleusJDOHelper.java:
304)
at org.datanucleus.jdo.JDOTransaction.commit(JDOTransaction.java:
132)
at
org.datanucleus.store.appengine.jdo.DatastoreJDOTransaction.commit(DatastoreJDOTransaction.java:
56)
at omr.SaveLoc.doPost(SaveLoc.java:74)
at omr.SaveLoc.doGet(SaveLoc.java:24)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
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:
51)
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)
NestedThrowablesStackTrace:
com.google.appengine.api.datastore.DatastoreFailureException: handle 1
not found
at
com.google.appengine.api.datastore.DatastoreApiHelper.translateError(DatastoreApiHelper.java:
51)
at
com.google.appengine.api.datastore.DatastoreApiHelper.makeSyncCall(DatastoreApiHelper.java:
67)
at com.google.appengine.api.datastore.DatastoreServiceImpl
$2.run(DatastoreServiceImpl.java:188)
at
com.google.appengine.api.datastore.TransactionRunner.runInTransaction(TransactionRunner.java:
30)
at
com.google.appengine.api.datastore.DatastoreServiceImpl.put(DatastoreServiceImpl.java:
176)
at
com.google.appengine.api.datastore.DatastoreServiceImpl.put(DatastoreServiceImpl.java:
156)
at
com.google.appengine.api.datastore.DatastoreServiceImpl.put(DatastoreServiceImpl.java:
152)
at
org.datanucleus.store.appengine.RuntimeExceptionWrappingDatastoreService.put(RuntimeExceptionWrappingDatastoreService.java:
105)
at
org.datanucleus.store.appengine.DatastorePersistenceHandler.put(DatastorePersistenceHandler.java:
187)
at
org.datanucleus.store.appengine.DatastorePersistenceHandler.put(DatastorePersistenceHandler.java:
139)
at
org.datanucleus.store.appengine.DatastorePersistenceHandler.put(DatastorePersistenceHandler.java:
134)
at
org.datanucleus.store.appengine.DatastorePersistenceHandler.updateObject(DatastorePersistenceHandler.java:
536)
at
org.datanucleus.state.JDOStateManagerImpl.flush(JDOStateManagerImpl.java:
4576)
at
org.datanucleus.ObjectManagerImpl.flushInternal(ObjectManagerImpl.java:
2814)
at org.datanucleus.ObjectManagerImpl.flush(ObjectManagerImpl.java:
2754)
at
org.datanucleus.ObjectManagerImpl.preCommit(ObjectManagerImpl.java:

[appengine-java] Re: AppEngineConfigException: XML error validating on Uploading files using Deploy App Enginer Project

2010-06-17 Thread Nick
Hi,

Thanks for your reply.
Please note web.xlm as follows
  ?xml version=1.0 encoding=utf-8?
web-app xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xmlns=http://java.sun.com/xml/ns/javaee;
xmlns:web=http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd;
xsi:schemaLocation=http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd; version=2.5

servletservlet-nameLGDesign/servlet-name

servlet-classcom.lgframe.design.LGDesignServlet/servlet-class/
servlet
servlet-mapping
servlet-nameLGDesign/servlet-name
url-pattern/lgdesign/url-pattern/servlet-mapping

servletservlet-nameSafetyFactor/servlet-name
servlet-classcom.lgframe.design.safety_factor_servlet/
servlet-class/servlet
servlet-mapping
servlet-nameSafetyFactor/servlet-name
url-pattern/safetyfactor/url-pattern/servlet-mapping

servletservlet-nameScrewCapacity/servlet-name
servlet-classcom.lgframe.design.screw_cap_servlet/servlet-
class/servlet
servlet-mapping
servlet-nameScrewCapacity/servlet-name
url-pattern/screwcapacity/url-pattern/servlet-mapping

servletservlet-nameShearCapacity/servlet-name
servlet-classcom.lgframe.design.shear_cap_servlet/servlet-
class/servlet
servlet-mapping
servlet-nameShearCapacity/servlet-name
url-pattern/shearcapacity/url-pattern/servlet-mapping

 servletservlet-nameWebCripplingCapacity/servlet-name
servlet-classcom.lgframe.design.web_crippling_servlet/
servlet-class/servlet
servlet-mapping
servlet-nameWebCripplingCapacity/servlet-name
url-pattern/webcripplingcapacity/url-pattern/servlet-
mapping

servletservlet-nameIBC-200 Wind Load/servlet-name
servlet-classcom.lgframe.design.ibc_wind_load_servlet/
servlet-class/servlet
servlet-mapping
servlet-nameIBC-200 Wind Load/servlet-name
url-pattern/ibc2000windload/url-pattern/servlet-mapping

servletservlet-nameWindLoadCompAndCladding/servlet-name
servlet-classcom.lgframe.design.wind_load_boca_comp_clad/
servlet-class/servlet
servlet-mapping
servlet-nameWindLoadCompAndCladding/servlet-name
url-pattern/windloadcompandcladding/url-pattern/servlet-
mapping

 servletservlet-nameIBC200SecimicLoad/servlet-name
servlet-classcom.lgframe.design.ibc_seismic_load_servlet/
servlet-class/servlet
servlet-mapping
servlet-nameIBC200SecimicLoad/servlet-name
url-pattern/ibc200secimicload/url-pattern/servlet-
mapping

 servletservlet-nameC_Stud_Section_Prop/servlet-name
servlet-classcom.lgframe.design.C_Stud_Sec_Prop_Servlet/
servlet-class/servlet
servlet-mapping
servlet-nameC_Stud_Section_Prop/servlet-name
url-pattern/c_stud_section_prop/url-pattern/servlet-
mapping

 servletservlet-nameC_Stud_Design_CombineAxialBending/servlet-
name
servlet-
classcom.lgframe.design.C_Stud_Comb_Axial_Bend_Servlet/servlet-
class/servlet
servlet-mapping
servlet-nameC_Stud_Design_CombineAxialBending/servlet-name
url-pattern/axialbending/url-pattern/servlet-mapping

welcome-file-list
welcome-filelgdesign_index.html/welcome-file
/welcome-file-list
/web-app



And,  file appengine-web.xml file as follows

 ?xml version=1.0 encoding=utf-8?
appengine-web-app xmlns=http://appengine.google.com/ns/1.0;
applicationwebsteeldesign/application
version1/version

!-- Configure java.util.logging --
system-properties
property name=java.util.logging.config.file value=WEB-INF/
logging.properties/
/system-properties

system-properties
property name=com.google.gdata.DisableCookieHandler
value=true/
/system-properties

sessions-enabledtrue/sessions-enabled

/appengine-web-app


Thanks
On Jun 17, 2:13 pm, Ikai L (Google) ika...@google.com wrote:
 Can you post your XML file?



 On Wed, Jun 16, 2010 at 3:20 PM, Nick lgfr...@gmail.com wrote:
  Hi,

  What steps will reproduce the problem?
  1.   On my local machine,
       I have a text ssma_stud.txt under folder WEB-INF/
  ssma_std.txt.
       I read this text file, validate data. Its working fine.

  2.  After successful testing on local machine,
      while deploying it using Deploy App Enginer Project , plug-in
  on
      eclipse, I got following error

  What is the expected output? What do you see instead?

     Here is the error logs...

  com.google.apphosting.utils.config.AppEngineConfigException: XML error
  validating C:\NC\Eclipse_Proj\LGDesign\war\WEB-INF\appengine-web.xml
  against C:\eclipse_Galileo\plugins
  \com.google.appengine.eclipse.sdkbundle.
  1.3.4_1.3.4.v201005212032\appengine-java-sdk-1.3.4\docs\appengine-
  web.xsd
  at
  com.google.appengine.tools.admin.Application.validateXml(Application.java:
  336)
  at
  

Re: [appengine-java] jdo custom fetch group

2010-06-17 Thread Jeff Schnitzer
The GAE datastore doesn't support fetch groups for entity properties.
You get back all the properties whenever you load an entity.

Jeff

On Thu, Jun 17, 2010 at 3:32 PM, Owen Powell opow...@gmail.com wrote:
 Hello group,

 How do I write a custom fetch group for my GAE project?

 I have a class A that contains two fields, B and C. Sometimes I only
 want to retrieve A + B, sometimes A + B + C. I have a feeling a custom
 fetch group would be the answer to this (http://www.jpox.org/docs/1_1/
 fetchgroup.html), but I'm not seeing how to do this in GAE (for
 example, I can't seem to find any files with the JDO class metadata).
 B and C are both direct children of A, so I don't think
 setMaxFetchDepth helps in this case.

 Any help finding the metadata or another solution would be much
 appreciated.

 Best,

 ~Owen

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



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



[google-appengine] Re: 403 error - automated queries

2010-06-17 Thread mike
Hi, the requests are being made directly in App Engine. I am not using
makeRequest. I am using the Python gdata API with the run_on_appengine
wrapper so it utilizes the urlfetch function, directly in appspot or
in the development environment. For some reason the development
environment can post but I get the 403 error when using the production
appspot site. I include an api key and the data is authenticated.
Since my site is in development, I am just authenticating my own
account data at this time.


The site also provides other base information to a gadget. This
functionality does not use the gbase api but uses REST. That gadget
has worked fine for over a year until I started to use the gdata api
to post data. The gadget does not use makeReqeust. The gadget and new
functionality (which uses the gdata api) get 403 errors for about 4
days  after I post and thing or two. I am stumped.

Mike J.




On Jun 1, 6:52 pm, Ikai L (Google) ika...@google.com wrote:
 Are the gadgets making requests from App Engine? Or are they calling
 makeRequest to App Engine which is in turn using the GData API?



 On Sun, May 23, 2010 at 5:56 PM, mike hywaym...@gmail.com wrote:
  Hi, I have 3 gadgets that retrieve data from Google base. the gadgets
  are hosted on App Enginer. About a week ago, the gadgets started
  getting 403 errors and the gadgets are
  basically broken. I have not had a problem over the last year and
  longer. The error reads:

  We're sorry..but your computer or network may be sending automated
  queries. To protect our users, we can't process your request right
  now.
 http://www.google.com/support/bin/answer.py?answer=86640;

   I evaluated the traffic and can not identify a source of automated
  requests. There is also no evidence
  of a virus.

  How can I get the account reset? At this point I have lost a lot of
  users. Here is a link to the sites having the problem (which feed
  gadgets). For some reason, sometimes the first query shows results but
  after that the 403 error shows up.

 http://appdiner.appspot.com
 http://basestuff.appspot.com
 http://searchhomesales.appspot.com/

  Thanks,
  Mike J.

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

 --
 Ikai Lan
 Developer Programs Engineer, Google App Engine
 Blog:http://googleappengine.blogspot.com
 Twitter:http://twitter.com/app_engine
 Reddit:http://www.reddit.com/r/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: 403 error - automated queries

2010-06-17 Thread mike
Hi, the requests are being made directly in App Engine. I am not using
makeRequest. I am using the Python gdata API with the run_on_appengine
wrapper so it utilizes the urlfetch function, directly in appspot or
in the development environment. For some reason the development
environment can post but I get the 403 error when using the production
appspot site. I include an api key and the data is authenticated.
Since my site is in development, I am just authenticating my own
account data at this time.


The site also provides other base information to a gadget. This
functionality does not use the gbase api but uses REST. That gadget
has worked fine for over a year until I started to use the gdata api
to post data. The gadget does not use makeReqeust. The gadget and new
functionality (which uses the gdata api) get 403 errors for about 4
days  after I post and thing or two. I am stumped.

Mike J.




On Jun 1, 6:52 pm, Ikai L (Google) ika...@google.com wrote:
 Are the gadgets making requests from App Engine? Or are they calling
 makeRequest to App Engine which is in turn using the GData API?



 On Sun, May 23, 2010 at 5:56 PM, mike hywaym...@gmail.com wrote:
  Hi, I have 3 gadgets that retrieve data from Google base. the gadgets
  are hosted on App Enginer. About a week ago, the gadgets started
  getting 403 errors and the gadgets are
  basically broken. I have not had a problem over the last year and
  longer. The error reads:

  We're sorry..but your computer or network may be sending automated
  queries. To protect our users, we can't process your request right
  now.
 http://www.google.com/support/bin/answer.py?answer=86640;

   I evaluated the traffic and can not identify a source of automated
  requests. There is also no evidence
  of a virus.

  How can I get the account reset? At this point I have lost a lot of
  users. Here is a link to the sites having the problem (which feed
  gadgets). For some reason, sometimes the first query shows results but
  after that the 403 error shows up.

 http://appdiner.appspot.com
 http://basestuff.appspot.com
 http://searchhomesales.appspot.com/

  Thanks,
  Mike J.

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

 --
 Ikai Lan
 Developer Programs Engineer, Google App Engine
 Blog:http://googleappengine.blogspot.com
 Twitter:http://twitter.com/app_engine
 Reddit:http://www.reddit.com/r/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] Timezone in Admin logs

2010-06-17 Thread Fredrik Bonander
Is there any way to change the timezone in the admin logs? Also what timezone i 
currently used?

..fredrik


--
Fredrik Bonander
carl.fredrik.bonan...@gmail.com
+46 70 943 5441

- the infinite power of the creative mind - 

-- 
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: Request was aborted after waiting too long to attempt to service your request

2010-06-17 Thread Eduardo Perrino
My cron runs every minute because it is the minimal period that gae
supports.



2010/6/16 Tristan tristan.slomin...@gmail.com

 From my understanding this error happens when a request hits an
 application instance but is put on a queue and becomes stale before
 other requests in front of it get out of the way and execute.

 Doesn't your cron job have to fire every second in order to keep the
 application alive? I thought that 1 request per second is the keep-
 alive boundary. It's somewhere around there. How often does your cron
 execute?

 On Jun 16, 5:51 am, Eduardo Perrino eduardo.perr...@gmail.com wrote:
  I need help my application show the next error:
 
  Request was aborted after waiting too long to attempt to service your
  request. This may happen sporadically when the App Engine serving
  cluster is under unexpectedly high or uneven load. If you see this
  message frequently, please contact the App Engine team.
 
  I created a cron job to keep alive the application, but the error
  persits, i need help to fix it.
 
  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] Timezone in Admin logs

2010-06-17 Thread Jaroslav Záruba
There are at least two feature/enhancement requests for that:
http://code.google.com/p/googleappengine/issues/detail?id=76
http://code.google.com/p/googleappengine/issues/detail?id=734

Regards
  JZ

On Thu, Jun 17, 2010 at 8:33 AM, Fredrik Bonander 
carl.fredrik.bonan...@gmail.com wrote:

 Is there any way to change the timezone in the admin logs? Also what
 timezone i currently used?

 ..fredrik


 --
 Fredrik Bonander
 carl.fredrik.bonan...@gmail.com
 +46 70 943 5441

 *- **the infinite power of the creative min**d - *

  --
 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: Best practice? (to lock or not to lock)

2010-06-17 Thread Blixt
I think you should ignore the available games in list case entirely.
It doesn't matter if your datastore lists the game as available even
if it's not for 100ms. It'll still be less time than it takes for
player B to get a response just before player A joined and respond to
it anyways, so you can't avoid cases where player B gets The game has
already been filled. So just make the game unavailable separately.

However, for joining a game you should use transactions. Here's how I
would do it (using Python):
def join_game(game_id, player_id):
# Fetch game in transaction. If you fetch the game outside a
transaction,
# you can't know for sure what its state in the datastore is.
game = Game.get_by_id(game_id)
# This function presumably checks the number of participants, and
maybe
# some other things. Preferably, it shouldn't do any datastore
lookups. If
# it does, they must be on entities in the same entity group as
the game.
if not game.player_can_join(player_id):
# This exception will automatically roll back the transaction.
In this
# case, no changes were made before the exception, but it's
good to
# know. :)
raise GameNotAvailableError('Sorry, that game is not
available.')
# Increment the number of participants (this value could be used
to check
# if the game has been filled.
game.participants += 1
# You could also store a list of player ids/names in the game.
game.players.append(player_id)
game.put()

# Run the above in a transaction.
db.run_in_transaction(join_game, game_id, player_id)


On Jun 15, 4:48 pm, coltsith conla...@gmail.com wrote:
 Hi, I'm writing a simple game server where players can create games
 and browse games. I've come across the following dilemma though and
 want to see if my solution is a good idea. The dilemma:

 User A calls joinGameAndRemoveItFromList().

 User B calls fetchAvailableGamesInList() at the same time.

 I'm concerned that User B may fetch the game that User A is joining
 and removing from list (since it's no longer available)

 My solution would be to lock the game list while User A is making his
 call. That way User B would wait until User A is done with the list.

 However, I realize that this could be very slow. Say there's thousands
 of players all wanting to browse the available games (hey it could
 happen!) and they shouldn't all have to wait for A to finish,
 especially if A is slow for some reason.

 Does anyone have any advice on if this is the right way to go, or if
 there's a better solution?

 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] moving projects in GAE without changing the database from mysql to gae datastore

2010-06-17 Thread jitendra singh
Hi,
Actually we want to move around 9-10 different projects with mysql on
GAE and as these are already running projects so we can't change
database from mysql to gae datastore. so, is there any possibility of
moving these projects in GAE without changing the database.

-- 
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] 500 error

2010-06-17 Thread Michael
I'm getting 500 server error on my app right now (and in admin console
too). Anyone experience the same problems?

app id: sovpad

-- 
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] 500 error

2010-06-17 Thread Jaroslav Záruba
same here

On Thu, Jun 17, 2010 at 12:11 PM, Michael m...@mzlab.net wrote:

 I'm getting 500 server error on my app right now (and in admin console
 too). Anyone experience the same problems?

 app id: sovpad

 --
 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] 500 Server Error - Admin console

2010-06-17 Thread François Masurel
Can't connect to admin console at the moment.

-- 
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] 500 error

2010-06-17 Thread Daniel Roberts
Yes, but only on the app so far.



2010/6/17 Jaroslav Záruba jaroslav.zar...@gmail.com

 same here


 On Thu, Jun 17, 2010 at 12:11 PM, Michael m...@mzlab.net wrote:

 I'm getting 500 server error on my app right now (and in admin console
 too). Anyone experience the same problems?

 app id: sovpad

 --
 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] 500 error

2010-06-17 Thread Miroslav Genov

On my side too. It seems that GAE is down.

Regards,
 Miroslav

On 06/17/2010 01:14 PM, Jaroslav Záruba wrote:

same here

On Thu, Jun 17, 2010 at 12:11 PM, Michael m...@mzlab.net 
mailto:m...@mzlab.net wrote:


I'm getting 500 server error on my app right now (and in admin console
too). Anyone experience the same problems?

app id: sovpad

--
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-appengine@googlegroups.com
mailto:google-appengine@googlegroups.com.
To unsubscribe from this group, send email to
google-appengine+unsubscr...@googlegroups.com
mailto:google-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.


--
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] 500 error

2010-06-17 Thread Prashant
it's gone... app up again...

-- 
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] HTTP500s once again

2010-06-17 Thread vivpuri
Wish these days were over once for all. AppEngine is throwing HTTP
500s all over once again. Admin Console. App, . Not good at all.
This is really impacting us.

-- 
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] High 500 errors rate

2010-06-17 Thread l.denardo
I'm currently facing (15m or so) 500 errors both in Administration
Console and all of my applications.

No announcements on downtime notify, system status shows 100% uptime
and no issue on Java (but anomalies in datastore and task queues).

Regards
Lorenzo

by the way also got errors from other Google Services (e.g. a Java
stack trace from google docs).

-- 
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: High 500 errors rate

2010-06-17 Thread vivpuri
Same for my app

-- 
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] 500 error

2010-06-17 Thread Prashant
same here :(

-- 
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: High 500 errors rate

2010-06-17 Thread l.denardo
Seems up again, even if apps have high response time.

On Jun 17, 12:46 pm, vivpuri v...@vivekpuri.com wrote:
 Same for my app

-- 
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: High 500 errors rate

2010-06-17 Thread Ulrich
Had similar problems, too. Very high response time for all request and
datastore writes failed. The dashboard shows a lot of errors, but I
can't see any error in the logs. Now it is working again.
When I signed up for App Engine, I thought it would be rock-solid,
because it is powered by Google. Most of the time it is just working
great, but these (datastore) problems have to be solved.

-- 
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] need an administrator here.

2010-06-17 Thread yiku
My Applications list page show You have 10 applications remaining.
but only six of them on the list, please help me find other four
missing apps make them connect with my account.

-- 
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: need an administrator here.

2010-06-17 Thread Jerome
Yiki,

AppEngine lets you create 10 apps by default. It sounds like you have
not created any app yet, but another developer gave you admin roles on
6 apps.

Therefore, you have 6 apps showing in your account, and you can still
create 10 more apps. I do not think there is anything missing based on
what you described here.

Cheers,

Jerome

On Jun 17, 1:27 pm, yiku w...@yiku.net wrote:
 My Applications list page show You have 10 applications remaining.
 but only six of them on the list, please help me find other four
 missing apps make them connect with my account.

-- 
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: moving projects in GAE without changing the database from mysql to gae datastore

2010-06-17 Thread barryhunter
There is no MySQL on appengine. Nor can Appengine apps connect to an
externally hosted mysql database (eg amazon RDS)

But you might be able to create a mysql snub that emmulates the
functionality required from mysql with the datastore. You likly wont
get full mysql support (eg not all queries will be possible, in fact
very few) - but maybe enough for your applications?


Although maybe in the future
http://code.google.com/appengine/business/#features
AppEngine for Business promises Hosted SQL - no idea if it will be
MySQL or at least compatible with.


On Jun 17, 10:59 am, jitendra singh jks...@gmail.com wrote:
 Hi,
 Actually we want to move around 9-10 different projects with mysql on
 GAE and as these are already running projects so we can't change
 database from mysql to gae datastore. so, is there any possibility of
 moving these projects in GAE without changing the database.

-- 
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: Request was aborted after waiting too long to attempt to service your request

2010-06-17 Thread Tristan
How are you keeping the application alive by running a job every
minute? Are you queueing tasks to run every second?

On Jun 17, 2:17 am, Eduardo Perrino eduardo.perr...@gmail.com wrote:
 My cron runs every minute because it is the minimal period that gae
 supports.

 2010/6/16 Tristan tristan.slomin...@gmail.com



  From my understanding this error happens when a request hits an
  application instance but is put on a queue and becomes stale before
  other requests in front of it get out of the way and execute.

  Doesn't your cron job have to fire every second in order to keep the
  application alive? I thought that 1 request per second is the keep-
  alive boundary. It's somewhere around there. How often does your cron
  execute?

  On Jun 16, 5:51 am, Eduardo Perrino eduardo.perr...@gmail.com wrote:
   I need help my application show the next error:

   Request was aborted after waiting too long to attempt to service your
   request. This may happen sporadically when the App Engine serving
   cluster is under unexpectedly high or uneven load. If you see this
   message frequently, please contact the App Engine team.

   I created a cron job to keep alive the application, but the error
   persits, i need help to fix it.

   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%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: High 500 errors rate

2010-06-17 Thread Kenneth
And yet we have Google claiming:

Investigation Complete - Issue Resolved
We have determined that this spike did not affect the performance or
uptime of applications. If you feel we have incorrectly diagnosed this
issue please inform us by posting in our developer forum. 

I know this is a canned message but it really adds insult to injury
when people are actively complaining in the forum about seeing an
issue and google does the hear no evil see no evil routine.



On Jun 17, 12:14 pm, Ulrich mierendo...@googlemail.com wrote:
 Had similar problems, too. Very high response time for all request and
 datastore writes failed. The dashboard shows a lot of errors, but I
 can't see any error in the logs. Now it is working again.
 When I signed up for App Engine, I thought it would be rock-solid,
 because it is powered by Google. Most of the time it is just working
 great, but these (datastore) problems have to be solved.

-- 
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: 500 Server Error - Admin console

2010-06-17 Thread App Engine Team
Yes, App Engine experienced a brief outage this morning that would
have also affected the admin console.  For more information, please
see this post on downtime notify:
http://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/9bf08a279138bf45

On Jun 17, 3:21 am, François Masurel fm2...@mably.com wrote:
 Can't connect to admin console at the moment.

-- 
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: HTTP500s once again

2010-06-17 Thread App Engine Team
Yes, App Engine experienced a brief outage this morning.  For more
information, please see this post on downtime notify:
http://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/9bf08a279138bf45

On Jun 17, 3:24 am, vivpuri v...@vivekpuri.com wrote:
 Wish these days were over once for all. AppEngine is throwing HTTP
 500s all over once again. Admin Console. App, . Not good at all.
 This is really impacting us.

-- 
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: 500 error

2010-06-17 Thread App Engine Team
App Engine experienced a brief outage this morning.  For more
information, please see this post on downtime notify:
http://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/9bf08a279138bf45

On Jun 17, 3:14 am, Jaroslav Záruba jaroslav.zar...@gmail.com wrote:
 same here

 On Thu, Jun 17, 2010 at 12:11 PM, Michael m...@mzlab.net wrote:
  I'm getting 500 server error on my app right now (and in admin console
  too). Anyone experience the same problems?

  app id: sovpad

  --
  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: High 500 errors rate

2010-06-17 Thread App Engine Team
Yes, App Engine experienced a brief outage this morning.  For more
information, please see this post on downtime notify:
http://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/9bf08a279138bf45

Kenneth, we corrected the Status Site to properly indicate the service
outage.

On Jun 17, 8:30 am, Kenneth goo...@kmacleod.ie wrote:
 And yet we have Google claiming:

 Investigation Complete - Issue Resolved
 We have determined that this spike did not affect the performance or
 uptime of applications. If you feel we have incorrectly diagnosed this
 issue please inform us by posting in our developer forum. 

 I know this is a canned message but it really adds insult to injury
 when people are actively complaining in the forum about seeing an
 issue and google does the hear no evil see no evil routine.

 On Jun 17, 12:14 pm, Ulrich mierendo...@googlemail.com wrote:

  Had similar problems, too. Very high response time for all request and
  datastore writes failed. The dashboard shows a lot of errors, but I
  can't see any error in the logs. Now it is working again.
  When I signed up for App Engine, I thought it would be rock-solid,
  because it is powered by Google. Most of the time it is just working
  great, but these (datastore) problems have to be solved.

-- 
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: High 500 errors rate

2010-06-17 Thread Kenneth
That was fast, thank you!

I have my warm happy app engine feeling back.

On Jun 17, 4:38 pm, App Engine Team appengine.nore...@gmail.com
wrote:
 Yes, App Engine experienced a brief outage this morning.  For more
 information, please see this post on downtime 
 notify:http://groups.google.com/group/google-appengine-downtime-notify/brows...

 Kenneth, we corrected the Status Site to properly indicate the service
 outage.

 On Jun 17, 8:30 am, Kenneth goo...@kmacleod.ie wrote:



  And yet we have Google claiming:

  Investigation Complete - Issue Resolved
  We have determined that this spike did not affect the performance or
  uptime of applications. If you feel we have incorrectly diagnosed this
  issue please inform us by posting in our developer forum. 

  I know this is a canned message but it really adds insult to injury
  when people are actively complaining in the forum about seeing an
  issue and google does the hear no evil see no evil routine.

  On Jun 17, 12:14 pm, Ulrich mierendo...@googlemail.com wrote:

   Had similar problems, too. Very high response time for all request and
   datastore writes failed. The dashboard shows a lot of errors, but I
   can't see any error in the logs. Now it is working again.
   When I signed up for App Engine, I thought it would be rock-solid,
   because it is powered by Google. Most of the time it is just working
   great, but these (datastore) problems have to be solved.

-- 
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] Datastore entities no more accessible

2010-06-17 Thread dflorey
I'm in trouble, because some of my datastore entities are not
accessible anymore. I can request them using queries, but when trying
to access certain properties, I get strange results.
When trying to open these entities from the datastore viewer I get 500
errors.
Any ideas? I've the feeling that it has to do with encoded Strings
that I'm storing. Has something in the encoding been changed recently?

-- 
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] Prerelease SDK 1.3.5 is out!

2010-06-17 Thread Bart Thate
On Wed, Jun 16, 2010 at 8:11 PM, Ikai L (Google) ika...@google.com wrote:
 Hey developers!

Hoi Ikai !

 We've release the prerelease SDK for 1.3.5. Get it here:
 http://code.google.com/p/googleappengine/downloads/list
 If you want to try out new features locally before they go live, here's your
 chance. We welcome any feedback you have.

I get the following when uploading my bot to GAE ..

Closing update: new version is ready to start serving.
Uploading index definitions.
Uploading cron entries.
Error 404: --- begin server output ---

htmlhead
meta http-equiv=content-type content=text/html;charset=utf-8
title404 Not Found/title
/head
body text=#00 bgcolor=#ff
h1Error: Not Found/h1
h2The requested URL
code/api/cron/update?version=1amp;app_id=jsoncloud/code was not
found on this server./h2
h2/h2
/body/html
--- end server output ---

Must say i have no clue as what this is ;]

Bart

-- 
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] Verify Your Account by SMS

2010-06-17 Thread Rob
Hi G Engine,

Please enable Apps Engine for us.

The Verify Your Account by SMS doesn't seem to work and shows us
errors when attempting SMS verification.

Any advice?

Thank you kindly,
Rob

-- 
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] Cache performance

2010-06-17 Thread EveningSun
Hello,

I'm new to app engine and I'm using Java, JPA. Currently I'm using the
cache API of app engine to cache the entities retrieved from
datastore. But according to AppStats every time I call cache.get()
there will be an RPC and will cost about 0.02 sec, pretty much the
same time as retrieving an entity by its key from the datastore
directly.

So my question is, am I missing something? Costing 0.02 sec every time
to get an object from cache is too slow to me...

-- 
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] Appengine 1.3.4 userService.createLoginURL for google openid causing firefox warning

2010-06-17 Thread Isdal
I considering switching my appengine app from the old google auth to
federated login using openid.

I am using the new userservice api introduced in 1.3.4. I have a test
app running at http://listshuffle.appspot.com/ (sorry for the terrible
ui... and complete lack of functionality, it does show the problem
though...).

The problem I have is that in FireFox (tested on 3.6.3 on both OS X
and windows) there is an ugly warning displayed just before the
redirect back to my page from google, (after the user allows my app).
This only happens in Firefox and only for google openid: yahoo and aol
does not have the problem. In Safari and Chrome there is no warning.

The Firefox warning message says:
=
Security Warning:
Although this page is encrypted, the information you have entered is
to be sent over an unencrypted connection and could easily be read by
a third party.

Are you sure you want to continue sending this information?
=

I am using: https://www.google.com/accounts/o8/id as my provider,
setting it to null or http://www.google.com/accounts/o8/id (no https)
does not help.

Any ideas?
Thanks!
// Tomas

-- 
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] 500 Server Error

2010-06-17 Thread ed209
Hi All,
I'm looking at using app engine for a project, but during testing
there have been a couple of instances where the app engine is down -
right now in fact. How reliable is this service? Do any of you
experience regular issues?

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] stuck index

2010-06-17 Thread sc
hello -
assuming this is still the place to request assistance with stuck
indexes...

I have an index that's been stuck for like a year.

app id: rmcloudscore

one of the indexes has the status building and has had this for a
long time. I tried removing the index from my yaml file, but that
didn't help.

If you could give it a kick in the gear box that would be great.

Thanks
Scott

-- 
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] Cache performance

2010-06-17 Thread Ikai L (Google)
20ms seems pretty reasonable to me. It's not that the cache is slow; it's
that getting an object by Key is always very fast.

That being said, I remember there being some talk about us reducing the
serialization and deserialization overhead for Memcache, but the performance
will still be in the ballpark of milliseconds. Here are some memcache
benchmarks:

http://raibledesigns.com/rd/entry/performance_testing_memcached

We've got a bit of work to do before we can get to 5ms read time. If you're
performing multiple GETs and the 15ms overhead is impacting your request
rendering, you may want to look into getAll()

http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/memcache/MemcacheService.html

Finally, the last thing you may want to look into benchmarking the speed of
a Python Memcache API call. The serialization/deserialization overhead is
lower, from what I remember. That would be a good indicator of whether or
not Memcache meets your needs.

On Thu, Jun 17, 2010 at 1:06 AM, EveningSun woodl...@gmail.com wrote:

 Hello,

 I'm new to app engine and I'm using Java, JPA. Currently I'm using the
 cache API of app engine to cache the entities retrieved from
 datastore. But according to AppStats every time I call cache.get()
 there will be an RPC and will cost about 0.02 sec, pretty much the
 same time as retrieving an entity by its key from the datastore
 directly.

 So my question is, am I missing something? Costing 0.02 sec every time
 to get an object from cache is too slow to me...

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




-- 
Ikai Lan
Developer Programs Engineer, Google App Engine
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/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.



Re: [google-appengine] Prerelease SDK 1.3.5 is out!

2010-06-17 Thread Ikai L (Google)
It's a prerelease - you can't actually use these features in production yet.

I suspect the error you're seeing may be related to a brief outage we had
this morning, though, and not from a version mismatch.

On Wed, Jun 16, 2010 at 1:23 PM, Bart Thate bth...@gmail.com wrote:

 On Wed, Jun 16, 2010 at 8:11 PM, Ikai L (Google) ika...@google.com
 wrote:
  Hey developers!

 Hoi Ikai !

  We've release the prerelease SDK for 1.3.5. Get it here:
  http://code.google.com/p/googleappengine/downloads/list
  If you want to try out new features locally before they go live, here's
 your
  chance. We welcome any feedback you have.

 I get the following when uploading my bot to GAE ..

 Closing update: new version is ready to start serving.
 Uploading index definitions.
 Uploading cron entries.
 Error 404: --- begin server output ---

 htmlhead
 meta http-equiv=content-type content=text/html;charset=utf-8
 title404 Not Found/title
 /head
 body text=#00 bgcolor=#ff
 h1Error: Not Found/h1
 h2The requested URL
 code/api/cron/update?version=1amp;app_id=jsoncloud/code was not
 found on this server./h2
 h2/h2
 /body/html
 --- end server output ---

 Must say i have no clue as what this is ;]

 Bart

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




-- 
Ikai Lan
Developer Programs Engineer, Google App Engine
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/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.



Re: [google-appengine] Verify Your Account by SMS

2010-06-17 Thread Ikai L (Google)
You'll want to put yourself on the SMS waitlist:

http://groups.google.com/group/google-appengine/search?group=google-appengineq=sms+verificationqt_g=Search+this+group

http://code.google.com/appengine/kb/*sms*.html#issues

On Wed, Jun 16, 2010 at 9:57 PM, Rob rob...@zeumic.com.au wrote:

 Hi G Engine,

 Please enable Apps Engine for us.

 The Verify Your Account by SMS doesn't seem to work and shows us
 errors when attempting SMS verification.

 Any advice?

 Thank you kindly,
 Rob

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




-- 
Ikai Lan
Developer Programs Engineer, Google App Engine
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/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.



Re: [google-appengine] Datastore entities no more accessible

2010-06-17 Thread Ikai L (Google)
Can you post reproduction steps? What do you mean when you say you get
strange results?

On Thu, Jun 17, 2010 at 8:58 AM, dflorey daniel.flo...@gmail.com wrote:

 I'm in trouble, because some of my datastore entities are not
 accessible anymore. I can request them using queries, but when trying
 to access certain properties, I get strange results.
 When trying to open these entities from the datastore viewer I get 500
 errors.
 Any ideas? I've the feeling that it has to do with encoded Strings
 that I'm storing. Has something in the encoding been changed recently?

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




-- 
Ikai Lan
Developer Programs Engineer, Google App Engine
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/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.



Re: [google-appengine] Appengine 1.3.4 userService.createLoginURL for google openid causing firefox warning

2010-06-17 Thread Ikai L (Google)
Can you try supplying an HTTPS url as the continue URL? This error is likely
occurring because you are forwarding from an HTTPS page to an HTTP page.

On Wed, Jun 16, 2010 at 11:01 PM, Isdal tomas.is...@gmail.com wrote:

 I considering switching my appengine app from the old google auth to
 federated login using openid.

 I am using the new userservice api introduced in 1.3.4. I have a test
 app running at http://listshuffle.appspot.com/ (sorry for the terrible
 ui... and complete lack of functionality, it does show the problem
 though...).

 The problem I have is that in FireFox (tested on 3.6.3 on both OS X
 and windows) there is an ugly warning displayed just before the
 redirect back to my page from google, (after the user allows my app).
 This only happens in Firefox and only for google openid: yahoo and aol
 does not have the problem. In Safari and Chrome there is no warning.

 The Firefox warning message says:
 =
 Security Warning:
 Although this page is encrypted, the information you have entered is
 to be sent over an unencrypted connection and could easily be read by
 a third party.

 Are you sure you want to continue sending this information?
 =

 I am using: https://www.google.com/accounts/o8/id as my provider,
 setting it to null or http://www.google.com/accounts/o8/id (no https)
 does not help.

 Any ideas?
 Thanks!
 // Tomas

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




-- 
Ikai Lan
Developer Programs Engineer, Google App Engine
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/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.



Re: [google-appengine] Datastore entities no more accessible

2010-06-17 Thread Ikai L (Google)
From an off-list email - looks like you are having issues when you try to
view the entities, since you did an XOR on the String.

The error is happening when the String is being converted to UTF8. Can you
post the code demonstrating how you are saving the Strings?

On Thu, Jun 17, 2010 at 10:11 AM, Ikai L (Google) ika...@google.com wrote:

 Can you post reproduction steps? What do you mean when you say you get
 strange results?


 On Thu, Jun 17, 2010 at 8:58 AM, dflorey daniel.flo...@gmail.com wrote:

 I'm in trouble, because some of my datastore entities are not
 accessible anymore. I can request them using queries, but when trying
 to access certain properties, I get strange results.
 When trying to open these entities from the datastore viewer I get 500
 errors.
 Any ideas? I've the feeling that it has to do with encoded Strings
 that I'm storing. Has something in the encoding been changed recently?

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




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




-- 
Ikai Lan
Developer Programs Engineer, Google App Engine
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/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] I can only receiving mail from Gmail

2010-06-17 Thread Adam Faal
Hello, I am using the Mail Service to receive email into my app. It
works fine when I send from my Gmail address, but when I send from my
work address it never reaches the app.

I haven't found anything in the docs or faqs about this.

Cheers, Adam Faal

-- 
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] Do field name lengths impact write performance?

2010-06-17 Thread Blake
I'm curious as to whether field name lengths impact performance when
you have a high volume of writes on a very simple object type to the
datastore.

I know it's not the case for relational dbs, but for the datastore I'm
not certain how field names are stored/maintained for every object of
a particular type as those fields can vary amongst those objects.

As an example, if I have a small model, all ints like this:

class Example(db.Model):
   some_id = db.IntegerProperty()
   first_integer = db.IntegerProperty()
   second_integer = db.IntegerProperty()

Is there any performance impact (even a tiny one) when doing very
frequent writes when compared to something like this:

class Example(db.Model):
   s = db.IntegerProperty()
   i = db.IntegerProperty()
   j = db.IntegerProperty()

-- 
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: need an administrator here.

2010-06-17 Thread yiku
thinks !

-- 
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] Proper app version numbers

2010-06-17 Thread Jeff
I'd like to request that google support propper version numbering for
appengine apps. The current restriction as I understand it makes
version numbers pointless for anything other than google's own house
keeping. Something along the lines of major.minor.subminor numbering
would be a good idea though it should allow for alpha numerics. It
doesn't even have to replace your current version number - it could be
part of what you might call the application's profile information. You
can also update the eclipse appengine plugin to support this so that
when a new version is uploaded the developer can update the profile
right from one of the plugin's screens.

Thanks.

Jeff

-- 
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: Prerelease SDK 1.3.5 is out!

2010-06-17 Thread hawkett
Hi Ikai - release sounds great - I just wanted to query the HTTPS with
remote API - we were under the impression this was already the case -

remote_api_stub.ConfigureRemoteDatastore(app_id=app_id, path='/
remote_api', auth_func=auth_func, servername=host, secure=secure,
save_cookies=True)

i.e. when the secure argument is True, then HTTPS is used for remote
API - has this not been the case?  Our remote API handler specifies
'secure: optional' - from the following discussion I had assumed HTTPS
was being used for data as well

http://groups.google.com/group/google-appengine/browse_thread/thread/cec8a895d08335b4/9f474dc0848a4ca8?q=#9f474dc0848a4ca8

I'm guessing that assumption wasn't right right and secure=True only
applied to the credentials?

Cheers,

Colin

On Jun 17, 5:59 pm, Ikai L (Google) ika...@google.com wrote:
 It's a prerelease - you can't actually use these features in production yet.

 I suspect the error you're seeing may be related to a brief outage we had
 this morning, though, and not from a version mismatch.





 On Wed, Jun 16, 2010 at 1:23 PM, Bart Thate bth...@gmail.com wrote:
  On Wed, Jun 16, 2010 at 8:11 PM, Ikai L (Google) ika...@google.com
  wrote:
   Hey developers!

  Hoi Ikai !

   We've release the prerelease SDK for 1.3.5. Get it here:
  http://code.google.com/p/googleappengine/downloads/list
   If you want to try out new features locally before they go live, here's
  your
   chance. We welcome any feedback you have.

  I get the following when uploading my bot to GAE ..

  Closing update: new version is ready to start serving.
  Uploading index definitions.
  Uploading cron entries.
  Error 404: --- begin server output ---

  htmlhead
  meta http-equiv=content-type content=text/html;charset=utf-8
  title404 Not Found/title
  /head
  body text=#00 bgcolor=#ff
  h1Error: Not Found/h1
  h2The requested URL
  code/api/cron/update?version=1amp;app_id=jsoncloud/code was not
  found on this server./h2
  h2/h2
  /body/html
  --- end server output ---

  Must say i have no clue as what this is ;]

  Bart

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

 --
 Ikai Lan
 Developer Programs Engineer, Google App Engine
 Blog:http://googleappengine.blogspot.com
 Twitter:http://twitter.com/app_engine
 Reddit:http://www.reddit.com/r/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: High 500 errors rate

2010-06-17 Thread Jan Z
For whatever it's worth, a 30 minute outage is NOT brief.

Describing it as such comes across as dismissive and patronizing - as
if we were all just running fun little hobby projects here.

Yes we know it's pre-release, beta, whatever - and we support you
through the teething problems, but comms like this don't help.

J



On Jun 18, 3:38 am, App Engine Team appengine.nore...@gmail.com
wrote:
 Yes, App Engine experienced a brief outage this morning.  For more
 information, please see this post on downtime 
 notify:http://groups.google.com/group/google-appengine-downtime-notify/brows...

 Kenneth, we corrected the Status Site to properly indicate the service
 outage.

 On Jun 17, 8:30 am, Kenneth goo...@kmacleod.ie wrote:

  And yet we have Google claiming:

  Investigation Complete - Issue Resolved
  We have determined that this spike did not affect the performance or
  uptime of applications. If you feel we have incorrectly diagnosed this
  issue please inform us by posting in our developer forum. 

  I know this is a canned message but it really adds insult to injury
  when people are actively complaining in the forum about seeing an
  issue and google does the hear no evil see no evil routine.

  On Jun 17, 12:14 pm, Ulrich mierendo...@googlemail.com wrote:

   Had similar problems, too. Very high response time for all request and
   datastore writes failed. The dashboard shows a lot of errors, but I
   can't see any error in the logs. Now it is working again.
   When I signed up for App Engine, I thought it would be rock-solid,
   because it is powered by Google. Most of the time it is just working
   great, but these (datastore) problems have to be solved.

-- 
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: High 500 errors rate

2010-06-17 Thread Jeff Schwartz
You've got to wonder how long Google intends to maintain the beta label for
AppEngine. It does give them some an out for these sort of issues but then
again many developers are already paying them to go over quota. Perhaps
Google might want to rethink this policy and make AppEngine totally free
until the time they can stabilize it to the point of it being reliable
enough to host commercial and professional sites. I understand that it costs
them to provide this service to us but one can argue that it isn't a service
until it is reliable.

Just my humble opinion of course and your mileage may vary.

Jeff
i-emote.appspot.com


On Thu, Jun 17, 2010 at 6:02 PM, Jan Z jan.zawad...@gmail.com wrote:

 For whatever it's worth, a 30 minute outage is NOT brief.

 Describing it as such comes across as dismissive and patronizing - as
 if we were all just running fun little hobby projects here.

 Yes we know it's pre-release, beta, whatever - and we support you
 through the teething problems, but comms like this don't help.

 J



 On Jun 18, 3:38 am, App Engine Team appengine.nore...@gmail.com
 wrote:
  Yes, App Engine experienced a brief outage this morning.  For more
  information, please see this post on downtime notify:
 http://groups.google.com/group/google-appengine-downtime-notify/brows...
 
  Kenneth, we corrected the Status Site to properly indicate the service
  outage.
 
  On Jun 17, 8:30 am, Kenneth goo...@kmacleod.ie wrote:
 
   And yet we have Google claiming:
 
   Investigation Complete - Issue Resolved
   We have determined that this spike did not affect the performance or
   uptime of applications. If you feel we have incorrectly diagnosed this
   issue please inform us by posting in our developer forum. 
 
   I know this is a canned message but it really adds insult to injury
   when people are actively complaining in the forum about seeing an
   issue and google does the hear no evil see no evil routine.
 
   On Jun 17, 12:14 pm, Ulrich mierendo...@googlemail.com wrote:
 
Had similar problems, too. Very high response time for all request
 and
datastore writes failed. The dashboard shows a lot of errors, but I
can't see any error in the logs. Now it is working again.
When I signed up for App Engine, I thought it would be rock-solid,
because it is powered by Google. Most of the time it is just working
great, but these (datastore) problems have to be solved.

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




-- 
--
Jeff

-- 
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: Appengine 1.3.4 userService.createLoginURL for google openid causing firefox warning

2010-06-17 Thread Isdal
Hi Ikai and thanks for the prompt response.

I think I found a couple bugs in the 1.3.4 openid implementation, let
me know if I should file a bug report for each of them:
I am using appengine 1.3.4 in eclipse on OS X 10.6. Note that this is
a pain to debug since it has to be done on a live appengine install
because of the UserService emulation when in development mode.

===
1: UserServiceFactory.getUserService().createLoginURL(
https://listshuffle.appspot.com/#q=abc123;, google.com,
https://www.google.com/accounts/o8/id;, new HashSetString());
returns
http://listshuffle.appspot.com/_ah/login_redir?claimid=https://www.google.com/accounts/o8/idcontinue=http://listshuffle.appspot.com/

Note the lack of https in the continue parameter. Instead it seems to
pick http if the page is loaded from http and https if the page is
loaded from https.

===
2: Logging in to google openid using the url provided by
UserService.createLoginUrl() will cause Firefox (tested on 3.6.3 and
3.5.6) to display an ugly warning message, see message 1 in this
thread.
All sample pages of 1.3.4 based google-openid show the same problem,
these are the ones I found:
Java: http://listshuffle.appspot.com/
Java: http://super-easy.appspot.com/
Python: http://your-move.appspot.com/

Signing in to AOL or yahoo does not trigger the problem, using Safari
(5), Chrome (5) or IE (8) does not display any errors as well.
If I allow myself to speculate it seems like the javascript POST from
a https to a http on the google redirect page
https://www.google.com/accounts/o8/ud?openid.ns=http%3A%2F%... that is
triggering this. (maybe yahoo and aol are using 302 redirects?)

===
3: Manually specifying a https continue parameter
http://listshuffle.appspot.com/_ah/login_redir?claimid=https://www.google.com/accounts/o8/idcontinue=https://listshuffle.appspot.com/
Does not help, the same Firefox warning is displayed (but the return
url is honored, the page is loaded as https when returning). The post
is to
http://listshuffle.appspot.com/_ah/openid_verify?...
no matter if the continue is set to https (since the continue is just
a parameter forwarded to the openid_verify page).

===
4: When initiating the openid authentication from an appspot page
loaded using https you will get:
Secure Connection Failed

The javascript post is for some reason to 
https://listshuffle.appspot.com:80/_ah/openid_verify?
confusing the browser since it expects SSL on a https url and there is
no ssl on port 80. This seems to happen in all browsers.

Removing port 80 does not help, instead it will trigger a 500 Server
Error.
===

This is what I noticed so far, let me know how you want me to
proceed.

// Tomas Isdal


On Jun 17, 10:20 am, Ikai L (Google) ika...@google.com wrote:
 Can you try supplying an HTTPS url as the continue URL? This error is likely
 occurring because you are forwarding from an HTTPS page to an HTTP page.



 On Wed, Jun 16, 2010 at 11:01 PM, Isdal tomas.is...@gmail.com wrote:
  I considering switching my appengine app from the old google auth to
  federated login using openid.

  I am using the new userservice api introduced in 1.3.4. I have a test
  app running athttp://listshuffle.appspot.com/(sorry for the terrible
  ui... and complete lack of functionality, it does show the problem
  though...).

  The problem I have is that in FireFox (tested on 3.6.3 on both OS X
  and windows) there is an ugly warning displayed just before the
  redirect back to my page from google, (after the user allows my app).
  This only happens in Firefox and only for google openid: yahoo and aol
  does not have the problem. In Safari and Chrome there is no warning.

  The Firefox warning message says:
  =
  Security Warning:
  Although this page is encrypted, the information you have entered is
  to be sent over an unencrypted connection and could easily be read by
  a third party.

  Are you sure you want to continue sending this information?
  =

  I am using:https://www.google.com/accounts/o8/idas my provider,
  setting it to null orhttp://www.google.com/accounts/o8/id(no https)
  does not help.

  Any ideas?
  Thanks!
  // Tomas

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

 --
 Ikai Lan
 Developer Programs Engineer, Google App Engine
 Blog:http://googleappengine.blogspot.com
 Twitter:http://twitter.com/app_engine
 Reddit:http://www.reddit.com/r/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 

Re: [google-appengine] Re: Appengine 1.3.4 userService.createLoginURL for google openid causing firefox warning

2010-06-17 Thread Rajkumar Radhakrishnan
Hi,

Wanted to add that the issue that Tomas Isdal has reported (first post in
this thread), is affecting my app's users too.

The default URL for App Engine apps (or services) from the Google Apps
dashboard is with https://; which will be used in the login URL, resulting
in this error. If this were just http://; there are no issues. Since SSL
support is only for appspot domains and anyway not possible for custom
domain mapping, I am OK with not having to use https for appspot too and
have redirected users to http://; to avoid the issue.

Regards,
R.Rajkumar

On Fri, Jun 18, 2010 at 5:50 AM, Isdal tomas.is...@gmail.com wrote:

 Hi Ikai and thanks for the prompt response.

 I think I found a couple bugs in the 1.3.4 openid implementation, let
 me know if I should file a bug report for each of them:
 I am using appengine 1.3.4 in eclipse on OS X 10.6. Note that this is
 a pain to debug since it has to be done on a live appengine install
 because of the UserService emulation when in development mode.

 ===
 1: UserServiceFactory.getUserService().createLoginURL(
 https://listshuffle.appspot.com/#q=abc123;, google.com,
 https://www.google.com/accounts/o8/id;, new HashSetString());
 returns

 http://listshuffle.appspot.com/_ah/login_redir?claimid=https://www.google.com/accounts/o8/idcontinue=http://listshuffle.appspot.com/

 Note the lack of https in the continue parameter. Instead it seems to
 pick http if the page is loaded from http and https if the page is
 loaded from https.

 ===
 2: Logging in to google openid using the url provided by
 UserService.createLoginUrl() will cause Firefox (tested on 3.6.3 and
 3.5.6) to display an ugly warning message, see message 1 in this
 thread.
 All sample pages of 1.3.4 based google-openid show the same problem,
 these are the ones I found:
 Java: http://listshuffle.appspot.com/
 Java: http://super-easy.appspot.com/
 Python: http://your-move.appspot.com/

 Signing in to AOL or yahoo does not trigger the problem, using Safari
 (5), Chrome (5) or IE (8) does not display any errors as well.
 If I allow myself to speculate it seems like the javascript POST from
 a https to a http on the google redirect page
 https://www.google.com/accounts/o8/ud?openid.ns=http%3A%2F%... that is
 triggering this. (maybe yahoo and aol are using 302 redirects?)

 ===
 3: Manually specifying a https continue parameter

 http://listshuffle.appspot.com/_ah/login_redir?claimid=https://www.google.com/accounts/o8/idcontinue=https://listshuffle.appspot.com/
 Does not help, the same Firefox warning is displayed (but the return
 url is honored, the page is loaded as https when returning). The post
 is to
 http://listshuffle.appspot.com/_ah/openid_verify?...
 no matter if the continue is set to https (since the continue is just
 a parameter forwarded to the openid_verify page).

 ===
 4: When initiating the openid authentication from an appspot page
 loaded using https you will get:
 Secure Connection Failed

 The javascript post is for some reason to
 https://listshuffle.appspot.com:80/_ah/openid_verify?
 confusing the browser since it expects SSL on a https url and there is
 no ssl on port 80. This seems to happen in all browsers.

 Removing port 80 does not help, instead it will trigger a 500 Server
 Error.
 ===

 This is what I noticed so far, let me know how you want me to
 proceed.

 // Tomas Isdal


 On Jun 17, 10:20 am, Ikai L (Google) ika...@google.com wrote:
  Can you try supplying an HTTPS url as the continue URL? This error is
 likely
  occurring because you are forwarding from an HTTPS page to an HTTP page.
 
 
 
  On Wed, Jun 16, 2010 at 11:01 PM, Isdal tomas.is...@gmail.com wrote:
   I considering switching my appengine app from the old google auth to
   federated login using openid.
 
   I am using the new userservice api introduced in 1.3.4. I have a test
   app running athttp://listshuffle.appspot.com/(sorry for the terrible
   ui... and complete lack of functionality, it does show the problem
   though...).
 
   The problem I have is that in FireFox (tested on 3.6.3 on both OS X
   and windows) there is an ugly warning displayed just before the
   redirect back to my page from google, (after the user allows my app).
   This only happens in Firefox and only for google openid: yahoo and aol
   does not have the problem. In Safari and Chrome there is no warning.
 
   The Firefox warning message says:
   =
   Security Warning:
   Although this page is encrypted, the information you have entered is
   to be sent over an unencrypted connection and could easily be read by
   a third party.
 
   Are you sure you want to continue sending this information?
   =
 
   I am using:https://www.google.com/accounts/o8/idas my provider,
   setting it to null orhttp://www.google.com/accounts/o8/id(no https)
   does not help.
 
   Any ideas?
   Thanks!
   // Tomas
 
   --
   You received this message because you are subscribed to the Google
 Groups
   Google App Engine 

[google-appengine] Re: Proper app version numbers

2010-06-17 Thread gops
i know in python , you can have any version number. its just a string.
( and not number. )

so , latest1, latest2, daily, onceinmonth can also work i think.
google just add timestamp to it to caculate minor version.

i.e.  daily.234552352323

On Jun 18, 2:15 am, Jeff jefftschwa...@gmail.com wrote:
 I'd like to request that google support propper version numbering for
 appengine apps. The current restriction as I understand it makes
 version numbers pointless for anything other than google's own house
 keeping. Something along the lines of major.minor.subminor numbering
 would be a good idea though it should allow for alpha numerics. It
 doesn't even have to replace your current version number - it could be
 part of what you might call the application's profile information. You
 can also update the eclipse appengine plugin to support this so that
 when a new version is uploaded the developer can update the profile
 right from one of the plugin's screens.

 Thanks.

 Jeff

-- 
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] simulating two users with dev_appserver / gaesessions

2010-06-17 Thread Ryan
I am using gaesessions to keep track of sessions in my app.  I am
trying to simulate two users using my app simultaneously.  I have
tried using different browsers, incognito mode, and a browser running
in virtual box.  In every case, the messages get crossed and sometimes
go to one browser, sometimes to another.

Is this possible to simulate with dev_appserver / gaesessions?

Thanks for any help.

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