[appengine-java] Re: Python url fetch against java appengine servlet
Just found this thread from a Google search. I was running into the same problem; after switching to Python 2.7 this problem seems to have gone away. -- 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] using getObjectByIds in SDK 1.3.6
Hi, I am trying to use PersistenceManager.getObjectByIds() method in order fetch multiple object at once. 1. Is it supported by appengine? 2. If yes, which keys should I pass to the collection? For the single object I use the following call: pm.getObjectById(A.class, name) 3. Is it possible to convert low-level api Entity object if that represents class A into the object of class A (which is PersistenceCapable)? In other words, is it possible to use JDO enhancement if I used a low-level API for loading the object from the storage? 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] inconsistent behavior of jdoPostLoad in appengine
Hi, I am using SDK 1.3.6. I noticed the following inconsistencies when using JDO. Consider the following example: @PersistenceCapable public class A implements LoadCallback { @Persistent @PrimaryKey public String key; @Persistent public String payload; @NotPersistent public String derivedData = null; public A() { } @Override public void jdoPostLoad() { derivedData = key; } }; @Test public void testLoadCallback() { PersistenceManager pm = PMF.get().getPersistenceManager(); A a = new A(); a.key = "foo"; pm.makePersistent(a); pm.close(); pm = PMF.get().getPersistenceManager(); A a2 = pm.getObjectById(A.class, "foo"); assertEquals("foo", a2.derivedData); //ASSERT 1 pm.close(); pm = PMF.get().getPersistenceManager(); Extent extent = pm.getExtent(A.class, false); for (A a3 : extent) { assertEquals("foo", a3.derivedData); //ASSERT 2 } pm.close(); } 1. When 'payload' field in A is missing then ASSERT 1 fails, i.e. jdoPostLoad is not called for classes that have only key as their persistent data member. 2. Another problem is that ASSERT 2 always fails (even if payload is defined), i.e. jdoPostLoad is not called when objects are loaded via query/extent interface. Why does it happen? -- 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: hijacked domain
I just fixed it and my site http://www.dailydev.org is back! What I did was, that I disabled Web Pages service in Google Apps, which is already not supported and Google is just trying to get rid of it migrating existing web pages to Sites. Then I was able to remove www mapping in Sites without error and also was able to create it once more. After few minutes it started to work again. br, Roman On Dec 24, 6:36 pm, atomi wrote: > Thanks Didier that is a better place for this discussion. Vik I'll do my > best to answer your question there. > > On Thu, Dec 24, 2009 at 12:21 AM, Didier Girard > wrote: > > > > > I have the same problem, but I'm not able to solve it. > > I have open a discussion on the Apps Forum : > > >http://www.google.com/support/forum/p/Google+Apps/thread?tid=22a420ff... > > > Didier > > > On Dec 24, 8:48 am, atomi wrote: > > > Yes, I disabled the Google Sites App and removed my App Engine App. After > > > about an hour I added the App Engine App again and mapped it to my > > domain. > > > The App Engine app works on my domain just fine now. > > > > On Wed, Dec 23, 2009 at 8:53 PM, Vik wrote: > > > > Did disabling worked for u? > > > > > For me it still redirects me to google sites... and i am unable to > > resolve > > > > it. > > > > > Thankx and Regards > > > > > Vik > > > > Founder > > > >www.sakshum.com > > > >www.sakshum.blogspot.com > > > > > On Thu, Dec 24, 2009 at 6:40 AM, atomi wrote: > > > > >> Apologies, please disregard my previous message. > > > >> For posterity's sake, it seems if you have an appengine application > > > >> mapped to a domain and "Google Sites" is activated, your domain will > > > >> redirect to the Google Sites application and not your appengine > > > >> application. > > > >> This was something I wasn't aware of, thanks. > > > > >> On Dec 23, 4:31 pm, atomi wrote: > > > >> > Hi could someone from Google contact me off list in regards to a > > > >> > serious security issue? > > > >> > Or direct me to someone I can speak to (privately of course) ? > > > > >> -- > > > > >> 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 > > >> unsubscr...@googlegroups.com> > 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 > > > unsubscr...@googlegroups.com> > 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 > 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: wrong redirection to google sites
I just fixed it and my site http://www.dailydev.org is back! What I did was, that I disabled Web Pages service in Google Apps, which is already not supported and Google is just trying to get rid of it migrating existing web pages to Sites. Then I was able to remove www mapping in Sites without error and also was able to create it once more. After few minutes it started to work again. br, Roman On Dec 24, 12:33 pm, Didier Girard wrote: > Hello Don, > I have the same problem for my web site:www.onGWT.com. > I hope you can find the team that can help us to solve this problem... > Thanks in advance, > Didier > > On Dec 23, 6:53 pm, Don Schwarz wrote: > > > > > I've forwarded this on to another team internally. > > > In the mean time, you might try reading through and/or posting to the Google > > Apps support forum: > > >http://www.google.com/support/forum/p/Google+Apps/label?lid=71f36fd9e... > > > This issue in particular looks useful: > > >http://www.google.com/support/forum/p/Google+Apps/thread?tid=48924e49... > > > On Wed, Dec 23, 2009 at 11:45 AM, spaceman wrote: > > > I'm having the same problem. > > > > This was working till 1-2 days ago. > > > Here's my site:www.paint-smart.biz > > > now its redirecting me to :http://sites.google.com/a/paint-smart.biz/www/ > > > > what is going on? > > > > -- > > > > 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 > > 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] Cron job fired up twice
Hi All, My crontab is defined in the following way: /cron/sendnotifs Send notification at 9 every Mon, Tue, Wed, Thu, Fri every mon,tue,wed,thu,fri 09:00 Europe/Sarajevo /cron/sendnotifs Send notification at 10 every Sat, Sun every sat,sun 10:00 Europe/Sarajevo The problem is that it is fired up twice. Unfortunately I don't know how big is the problem because I don't receive notifications every time when cron hits the /cron/sendnotifs URL, but if the conditions for notification in my app are met, I receive two notifications. That leads me to the conclusion that cron was started twice. Today, cron was executed at 9 as it suppouse to, and at 09:05:09. Where is the problem? Am I missing something? Thanks in advance for any help. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---