[appengine-java] Re: Unable to restore the previous TimeZone - cannot run my GAE app localy

2012-02-20 Thread datanucleus
http://code.google.com/p/googleappengine/issues/detail?id=6928 -- 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

[appengine-java] locking

2012-02-20 Thread Thisum Buddhika
Hi all, I'm working with a app that has both online datastore(GAE) and an offline datastore(HTML5 websql). So to resolve synchronizing problems, i'm trying to implement a locking mechanism. It should work like a semaphore, or as master-slave mechanism. User can get the lock, and if not

[appengine-java] Help, error from example - java.lang.NoClassDefFoundError: Could not initialize class guestbook.PMF

2012-02-20 Thread Vaso
2 kind errors: java.lang.NoClassDefFoundError: Could not initialize class guestbook.PMF or javax.servlet.ServletException: java.lang.ExceptionInInitializerError All code from example guestbook! -- You received this message because you are subscribed to the Google Groups Google App Engine for

Re: [appengine-java] Is it safe for one ancestor to have millions of children in one List object?

2012-02-20 Thread Amy Unruh
With millions of children, you don't want to model the 1:m relationship with a parent list property. Instead, you can include in the child entities a Key property pointing to the parent. Then, to find children of a given parent, you can do a query on the children that filters on that parent

[appengine-java] Internal exception during session-handling

2012-02-20 Thread Mos
Hello, I have enabled async-session-persistence enabled=true / for performance reasons. There seems to be problem / bug in the implementation? I'm getting many ClassCastException com.google.apphosting.runtime.jetty.DeferredSessionTasks$DeferredDelete cannot be cast to

[appengine-java] Re: app engine with google cloud sql

2012-02-20 Thread Norman Osaruyi
There are a lot things that could trigger an error. You could have use * resp.getWriter().println(e.getMessage());* instead of * resp.getWriter().println(SQLException, world);* * *to see the actual error. A few things below might trigger an error. 1.

[appengine-java] Re: Help, error from example - java.lang.NoClassDefFoundError: Could not initialize class guestbook.PMF

2012-02-20 Thread datanucleus
If you have a NoClassDefFoundError then you need to mention what is the class ... likely the cause of that error. -- 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

[appengine-java] Re: GAE High Replication datastore (HRD) with transaction

2012-02-20 Thread Mike Lawrence
since hrd is eventually consistent, you need to restructure your app to not immediately query the newly commited data after a transaction. welcome to nosql my app builds its own result page that assumes the committed data is there. by the time the user refreshes the page the data is there and

Re: [appengine-java] Re: Is it safe for one ancestor to have millions of children in one List object?

2012-02-20 Thread Jeff Schnitzer
The biggest question is why would you want to do this? From the low-level api perspective, you can't have a list property with more than 5k items. But maybe JDO models this list as a proxy to a query. When you try to load that proxy it's going to load all 5m items out of the datastore and you

[appengine-java] scheduling 1000 emails

2012-02-20 Thread marco
Goal: - Transform a request to send ~1000 emails by sending one each X seconds. Problems found: - Cron doesn't allow scheduling for every second (and has to be one all the time; not just when requested;) - Using recursive deferred tasks (the first launching the second after a

Re: [appengine-java] scheduling 1000 emails

2012-02-20 Thread Jeff Schnitzer
You can schedule tasks to execute in the future. It doesn't guarantee that the task will be executed then, however. You might find the queue backed up, in which case you'll get a long delay then all the tasks executing rapidly. Alternatively, you can throttle the task queue to execute once per

[appengine-java] how to beata open to certain country

2012-02-20 Thread Luke
may i know what technique do you folks use to open the application to particular countries users only during beta stage? -- 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

[appengine-java] start stop server within eclipse

2012-02-20 Thread Jesper Nyqvist
I am using Eclipse Helios with the Google Plugin to develop my web page. But how do i start the server from Eclipse? It says it should show up in the console view but i can't find it. Is there anybody out there who could help me with this setup so i can start and stop my server from Eclipse?

[appengine-java] memcache data after down

2012-02-20 Thread Luke
May i know if memcache down and back to normal service. Will the data inside memcache still remain or everything will be refresh to blank ? -- 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

[appengine-java] Re: Help, error from example - java.lang.NoClassDefFoundError: Could not initialize class guestbook.PMF

2012-02-20 Thread datanucleus
So fix your file permissions. The following message cannot be more clear access denied (java.io.FilePermission C:\ read) Why C:\ is in the CLASSPATH only you would know -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to

[appengine-java] Re: start stop server within eclipse

2012-02-20 Thread Richard Berger
I have a project that I created as a Google Web Application project. To start my server, I select that project, right click, and choose Run As - Web Application. To see the console, you can go to the Window menu, choose Show View - Console. Once the server has started, the console will have a

[appengine-java] Re: memcache data after down

2012-02-20 Thread Simon Knott
Hi, Even if MemCache doesn't go down, there is no guarantee that MemCache data will be there from one (milli)second to the next - it's a cache and its data should be treated as entirely transitory. To answer your original question, if MemCache went down then when it came back it would be

[appengine-java] Mail send from AppEngine application not received by any recipient from past few days

2012-02-20 Thread Gaurav Sharma
Hello Everyone, We have two Business application running on AppEngine one of which we have upgraded into HRD instance a couple of months before and other one was upgraded into HRD instance a week before.Everything was working fine on them but from past few days(after Friday) no mail is sending