[appengine-java] Mail send from AppEngine application not received by any recipient from past few days
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 from these applications.No exception is coming in code and it is showing "Mail send successfully" message but mail not receiving anywhere. We also have few other HRD and non-HRD applications running on AppEngine in same account and the same code is working fine for all of them.Only these two applications are facing this issue. I would appreciate if anyone can help or give any suggestion on this. Thanks, Gaurav Sharma -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/YJDfH_UnZ10J. 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.
[appengine-java] Re: memcache data after down
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 empty. Cheer, Simon -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/Qg2OMmgBu1MJ. 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.
[appengine-java] Re: start stop server within eclipse
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 little red button allowing you to stop the server. (Note: I am also running Helios.) Hope this helps. RB On Feb 20, 7:15 pm, Jesper Nyqvist wrote: > 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? > > -Jesper -- 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.
[appengine-java] Re: Help, error from example - java.lang.NoClassDefFoundError: Could not initialize class guestbook.PMF
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 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.
[appengine-java] memcache data after down
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 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.
[appengine-java] start stop server within eclipse
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? -Jesper -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/J1LuemE6O_cJ. 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.
[appengine-java] how to beata open to certain country
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 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.
Re: [appengine-java] scheduling 1000 emails
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 second. But that will affect the whole queue. Jeff On Mon, Feb 20, 2012 at 5:39 PM, marco wrote: > 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 Thread.sleep(X * 1000) ) seem to break the 30 seconds rule (1000 * X >seconds > 30 seconds) > > Did I miss something? Do you recommend any alternative? > > Thank you. > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-appengine-java/-/nAEat-B1qZQJ. > 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-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.
[appengine-java] scheduling 1000 emails
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 Thread.sleep(X * 1000) ) seem to break the 30 seconds rule (1000 * X seconds > 30 seconds) Did I miss something? Do you recommend any alternative? Thank you. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/nAEat-B1qZQJ. 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.
Re: [appengine-java] Re: Is it safe for one ancestor to have millions of children in one List object?
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 are going to wait a long time. It will not complete in reasonable time scales - it might take over an hour, and unless you're running in a backend you will certainly blow the request time limit. And even there you'll blow the amount of time for a single query to run, which is something like one minute. So no, you can't do this if you actually plan to load the list directly. But maybe you're just using this to model the data and plan to use filtering operations for queries, in which case you can do that as long as you never load the whole set. The real question is not whether you can store the data (presumably there's a way to make it possible) but whether you can execute whatever queries you have min mind. You should post examples of those. FWIW, it sounds like a terrible idea. Store them all in separate EG's and use normal queries to access them. Jeff On Fri, Feb 17, 2012 at 10:07 AM, hendrix.jason wrote: > Well, I plan to write in batches of 1,000. So a million items would > take 1,000 batch writes. In the worst case scenario of 1 write per > second that's about 17 minutes. That's acceptable for a once nightly > job. > > On Feb 17, 2:31 am, Cyrille Vincey wrote: > > Forget about this way : even if this having millions of children > > entities for one ancestor is theoretically feasible, you'll hit a > > write performance issue when you generate those entities : only 1 > > write / second in one given entity group (ancestor). > > > > On 17 fév, 03:16, "hendrix.jason" wrote: > > > > > > > > > > > > > > > > > If I have a @PersistenceCapable class that contains a List of another > > > @PersistenceCapable class, and that List is millions of items in size, > > > is that OK? > > > > > Does that exceed a maximum for Java's List size? > > > > > What is the best way for a parent to have millions of children and > > > still have it easy to add new ones without loading tons of data in to > > > memory? > > -- > 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-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.
[appengine-java] Re: GAE High Replication datastore (HRD) with transaction
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 queryable as normal On Feb 18, 9:27 pm, sj wrote: > I'm using HRD because I want make changes to multiple entities within a > single transaction using entity groups. > > Understand that Non transactional (non ancestor) queries may see all, some, > or none of the results of a previously committed transaction. > > The problem I facing now is: > > - After commit an transaction for adding new record to db > > Transaction tx = pm.currentTransaction(); > tx.begin(); > pm.makePersistent(object); > tx.commit(); > > - > > Follow by query the record committed, sometime it will return result and > some time just return as null > > Query q = pm.newQuery(queryStatement); > CompanyProfile result = (CompanyProfile) q.execute(); > > p/s: When turn off HRD, it work perfectly. > > Any workaround? > > Thanks > > Rgds SJ -- 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.
[appengine-java] Re: Help, error from example - java.lang.NoClassDefFoundError: Could not initialize class guestbook.PMF
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 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.
[appengine-java] Re: app engine with google cloud sql
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. DriverManager.getConnection("jdbc:google:rdbms://--/guestbook");. the - should be a valid cloud sql instance name. This could be *Example:db1. *where *Example* is the name of your cloud sql account and *db1* is the name of your instance. On local host this is not required. 2. You must add the app id of this application to the authorized ids of your cloud sql instance. 3. You must create a database guestbook in your instance and of course a table called entries. i hope this will help. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/_SuGS-sVl3sJ. 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.
[appengine-java] Internal exception during session-handling
Hello, I have enabled 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 com.google.appengine.api.taskqueue.DeferredTask"? Can somebody from Google please clarify this? >From the log: 2012-02-20 11:11:10.093 /_ah/queue/__deferred__ 415 5ms 0kb AppEngine-Google; (+http://code.google.com/appengine) 0.1.0.2 - - [20/Feb/2012:02:11:10 -0800] "POST /_ah/queue/__deferred__ HTTP/1.1" 415 0 "http://my.websitename.de/"; "AppEngine-Google; (+ http://code.google.com/appengine)" "my.websitename.de" ms=5 cpu_ms=116 api_cpu_ms=0 cpm_usd=0.003282 queue_name=default task_name=16881521221872273561 instance=00c61b117c0be7955446b3cc336b1ed00f67df I 2012-02-20 11:11:10.092 javax.servlet.ServletContext log: _ah_queue_deferred: Deferred task failed exception: com.google.apphosting.utils.servlet.DeferredTaskServlet$DeferredTaskException: java.lang.ClassCastException: com.google.apphosting.runtime.jetty.DeferredSessionTasks$DeferredDelete cannot be cast to com.google.appengine.api.taskqueue.DeferredTask Cheers Mos -- 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.
Re: [appengine-java] Is it safe for one ancestor to have millions of children in one List object?
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 key. (Note that with that many children, it most likely does not make sense to define the children as actually in the same entity group as the parent-- there could be lots of contention issues if different requests need to modify different children). On Fri, Feb 17, 2012 at 1:16 PM, hendrix.jason wrote: > If I have a @PersistenceCapable class that contains a List of another > @PersistenceCapable class, and that List is millions of items in size, > is that OK? > > Does that exceed a maximum for Java's List size? > > What is the best way for a parent to have millions of children and > still have it easy to add new ones without loading tons of data in to > memory? > > -- > 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-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.
[appengine-java] Help, error from example - java.lang.NoClassDefFoundError: Could not initialize class guestbook.PMF
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 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.
[appengine-java] locking
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 available, can request for it. (although starvation is possible, it is handled by an user-policy) So is there any facilities provided in App Engine to implementing this locking mechanism. thanks in advance... -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/5Se0A5JHRG4J. 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.
[appengine-java] Re: "Unable to restore the previous TimeZone" - cannot run my GAE app localy
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 to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.