[appengine-java] SAP SECKEY generation procedure required in java
can i validate the sap url seckey in java, using the url parameters Thanks in advance chandrashaker gattu -- 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: open source pdf engine for GAE
Hello In App Engine, You can't write a file to the file system. Otherwise the save method can't be used in GAE. Use this code to send the pdf to the navigator : pdf.wrap(); String fileName = Example_03.pdf; resp.setContentType(application/pdf); resp.setHeader(Content-Disposition, attachment; filename=\ + fileName + \); ServletOutputStream outs = resp.getOutputStream(); pdf.getData().writeTo(outs); Or to save to the datastore : new Blob(pdf.getData().toByteArray()); Bests Regards Patrice On Apr 20, 4:18 am, jeno jeno...@gmail.com wrote: Hi François , Thanks for your help. I have used PDFjet (PDFJet.jar version 2.72) PDF class missing save method So i cant call pdf.save(d.pdf) method. Cheers jeno On Apr 19, 6:48 pm, François Masurel fm2...@mably.com wrote: Hi Jeno, You can try the PDFjet Open Source Edition :http://pdfjet.com/os/edition.html François On 19 avr, 01:55, jeno jeno...@gmail.com wrote: Hi Guys, Anyone know open source java pdf engine for GAE. Thanks Jeno -- 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. -- 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. -- 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. -- 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] Can not send mails
Hello mods, I subscribed since two days, Still my messages aren't delivered to group. Please do the needful and approve my message. SN -- 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: Slow app JVM wake - even with no data store access?
Would it make a difference to trim the jar files? I've noted that twig has a dependency on google collections, a jar file measuring 500k. It is possible to reduce that jar file and only include the needed classes. I guess it could be done for the rest of the jar files too. On 20 Apr, 05:13, Blake Caldwell blakecaldw...@gmail.com wrote: I guess it is what it is. I don't consider myself lucky though, because I spent three weeks migrating from JDO :). Yeah, Spring is great and all, and would work just fine on a huge site on App Engine, but the documentation should be clear about how much time should be expected for each of the common frameworks out there. That would leave a lot fewer OMGWTFBBQ!!! responses from developers that sack weeks/months of their time into their projects. Sent from my iPad On Apr 19, 2010, at 11:07 PM, Jeff Schnitzer j...@infohazard.org wrote: 3-4s is pretty close to as good as it gets to start a JVM, load your app, and begin serving pages. I've seen 2s load times but 3-4s is pretty typical. Consider yourself lucky! The poor souls running Spring apps usually wait 15s+ for cold starts... Jeff On Mon, Apr 19, 2010 at 4:58 PM, Blake blakecaldw...@gmail.com wrote: I switched from JDO to twig-persist to save load time, and it seemed to help a bit, but I'm still seeing 3-4 second load times on servlet calls that don't even touch the datastore. Wow. Of course, after the JVM loads, it's super-fast... but that first hit after a few minutes of inactivity - wow... not good. -- 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. -- 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. -- 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. -- 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: One - Many Child Persistence help
if(event.getSource() == submit){ boolean error = false; if(getContent() == null || getContent() == ){ errorComment.setVisible(true); error = true; } if(!error){ Content c = content.getContent(); Comment comment = new Comment(getContent()); comment.setUser(AuthenticationInfo.getUserName()); comment.setApproved(true); //TODO this will have to be updated c.addComment(comment); contentService.saveContentWidget(c, new AsyncCallbackContent() { public void onFailure(Throwable error){ Window.alert(Comment Failed); } public void onSuccess(Content ignore){ Window.alert(Successfully added comment); } }); content.closeCommentForm(); txt_Area.setText(); errorComment.setVisible(false); Here is the server side code public Content saveContentWidget(Content content) { PersistenceManager pm = getPersistenceManager(); try{ //Content persistentContent = pm.makePersistent(content); ServerContent sc = new ServerContent(content); ServerContent persistentContent = pm.makePersistent(sc); return persistentContent.getContent(); } finally { pm.flush(); pm.close(); } } This is the code that enters the onFailure method. I don't get anything in the stack trace on the console and when I debug in the Throwable error the error only contains the error message com.google.gwt.user.client.rpc.SerializationException, the properties for stack and description are both null. The only field that is not populated is the key on the comments because they have never been saved before. -- 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: One - Many Child Persistence help
Yes, but every exception has a stack trace. Every one. Catch the exception and call e.printStackTrace(). Knowing which of your method calls results in the exception is the only answer. -- 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: One - Many Child Persistence help
[com.google.gwt.user.client.rpc.impl.SerializerBase.check(SerializerBase.java: 161), com.google.gwt.user.client.rpc.impl.SerializerBase.serialize(SerializerBase.java: 145), com.google.gwt.user.client.rpc.impl.ClientSerializationStreamWriter.serialize(ClientSerializationStreamWriter.java: 199), com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java: 129), com.google.gwt.user.client.rpc.core.java.util.Collection_CustomFieldSerializerBase.serialize(Collection_CustomFieldSerializerBase.java: 43), com.google.gwt.user.client.rpc.core.java.util.ArrayList_CustomFieldSerializer.serialize(ArrayList_CustomFieldSerializer.java: 36), sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method), sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source), sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source), java.lang.reflect.Method.invoke(Unknown Source), com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103), com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java: 71), com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java: 157), com.google.gwt.dev.shell.BrowserChannel.reactToMessagesWhileWaitingForReturn(BrowserChannel.java: 1713), com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java: 165), com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java: 120), com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java: 507), com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java: 284), com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java: 107), com.google.gwt.user.client.rpc.impl.SerializerBase$MethodMap $.serialize$(SerializerBase.java), com.google.gwt.user.client.rpc.impl.SerializerBase.serialize(SerializerBase.java: 147), com.google.gwt.user.client.rpc.impl.ClientSerializationStreamWriter.serialize(ClientSerializationStreamWriter.java: 199), com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java: 129), blogger.client.widgets.Content_FieldSerializer.serialize(Content_FieldSerializer.java: 77), sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method), sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source), sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source), java.lang.reflect.Method.invoke(Unknown Source), com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103), com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java: 71), com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java: 157), com.google.gwt.dev.shell.BrowserChannel.reactToMessagesWhileWaitingForReturn(BrowserChannel.java: 1713), com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java: 165), com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java: 120), com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java: 507), com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java: 284), com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java: 107), com.google.gwt.user.client.rpc.impl.SerializerBase$MethodMap $.serialize$(SerializerBase.java), com.google.gwt.user.client.rpc.impl.SerializerBase.serialize(SerializerBase.java: 147), com.google.gwt.user.client.rpc.impl.ClientSerializationStreamWriter.serialize(ClientSerializationStreamWriter.java: 199), com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java: 129), blogger.client.ContentService_Proxy.saveContentWidget(ContentService_Proxy.java: 90), blogger.client.widgets.CommentForm.onClick(CommentForm.java:94), com.google.gwt.event.dom.client.ClickEvent.dispatch(ClickEvent.java: 54), com.google.gwt.event.dom.client.ClickEvent.dispatch(ClickEvent.java: 1), com.google.gwt.event.shared.HandlerManager $HandlerRegistry.fireEvent(HandlerManager.java:65), com.google.gwt.event.shared.HandlerManager$HandlerRegistry.access $1(HandlerManager.java:53), com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java: 178), com.google.gwt.user.client.ui.Widget.fireEvent(Widget.java:52), com.google.gwt.event.dom.client.DomEvent.fireNativeEvent(DomEvent.java: 116), com.google.gwt.user.client.ui.Widget.onBrowserEvent(Widget.java: 100), com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:1307), com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1263), sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source), sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source), java.lang.reflect.Method.invoke(Unknown Source), com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103), com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java: 71), com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java: 157),
[appengine-java] Re: One - Many Child Persistence help
[com.google.gwt.user.client.rpc.impl.SerializerBase.check(SerializerBase.java: 161), com.google.gwt.user.client.rpc.impl.SerializerBase.serialize(SerializerBase.java: 145), com.google.gwt.user.client.rpc.impl.ClientSerializationStreamWriter.serialize(ClientSerializationStreamWriter.java: 199), com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java: 129), com.google.gwt.user.client.rpc.core.java.util.Collection_CustomFieldSerializerBase.serialize(Collection_CustomFieldSerializerBase.java: 43), com.google.gwt.user.client.rpc.core.java.util.ArrayList_CustomFieldSerializer.serialize(ArrayList_CustomFieldSerializer.java: 36), sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method), sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source), sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source), java.lang.reflect.Method.invoke(Unknown Source), com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103), com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java: 71), com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java: 157), com.google.gwt.dev.shell.BrowserChannel.reactToMessagesWhileWaitingForReturn(BrowserChannel.java: 1713), com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java: 165), com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java: 120), com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java: 507), com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java: 284), com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java: 107), com.google.gwt.user.client.rpc.impl.SerializerBase$MethodMap $.serialize$(SerializerBase.java), com.google.gwt.user.client.rpc.impl.SerializerBase.serialize(SerializerBase.java: 147), com.google.gwt.user.client.rpc.impl.ClientSerializationStreamWriter.serialize(ClientSerializationStreamWriter.java: 199), com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java: 129), blogger.client.widgets.Content_FieldSerializer.serialize(Content_FieldSerializer.java: 77), sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method), sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source), sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source), java.lang.reflect.Method.invoke(Unknown Source), com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103), com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java: 71), com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java: 157), com.google.gwt.dev.shell.BrowserChannel.reactToMessagesWhileWaitingForReturn(BrowserChannel.java: 1713), com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java: 165), com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java: 120), com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java: 507), com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java: 284), com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java: 107), com.google.gwt.user.client.rpc.impl.SerializerBase$MethodMap $.serialize$(SerializerBase.java), com.google.gwt.user.client.rpc.impl.SerializerBase.serialize(SerializerBase.java: 147), com.google.gwt.user.client.rpc.impl.ClientSerializationStreamWriter.serialize(ClientSerializationStreamWriter.java: 199), com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java: 129), blogger.client.ContentService_Proxy.saveContentWidget(ContentService_Proxy.java: 90), blogger.client.widgets.CommentForm.onClick(CommentForm.java:94), com.google.gwt.event.dom.client.ClickEvent.dispatch(ClickEvent.java: 54), com.google.gwt.event.dom.client.ClickEvent.dispatch(ClickEvent.java: 1), com.google.gwt.event.shared.HandlerManager $HandlerRegistry.fireEvent(HandlerManager.java:65), com.google.gwt.event.shared.HandlerManager$HandlerRegistry.access $1(HandlerManager.java:53), com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java: 178), com.google.gwt.user.client.ui.Widget.fireEvent(Widget.java:52), com.google.gwt.event.dom.client.DomEvent.fireNativeEvent(DomEvent.java: 116), com.google.gwt.user.client.ui.Widget.onBrowserEvent(Widget.java: 100), com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:1307), com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1263), sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source), sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source), java.lang.reflect.Method.invoke(Unknown Source), com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103), com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java: 71), com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java: 157),
[appengine-java] Re: One - Many Child Persistence help
[com.google.gwt.user.client.rpc.impl.SerializerBase.check(SerializerBase.java: 161), com.google.gwt.user.client.rpc.impl.SerializerBase.serialize(SerializerBase.java: 145), com.google.gwt.user.client.rpc.impl.ClientSerializationStreamWriter.serialize(ClientSerializationStreamWriter.java: 199), com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java: 129), com.google.gwt.user.client.rpc.core.java.util.Collection_CustomFieldSerializerBase.serialize(Collection_CustomFieldSerializerBase.java: 43), com.google.gwt.user.client.rpc.core.java.util.ArrayList_CustomFieldSerializer.serialize(ArrayList_CustomFieldSerializer.java: 36), sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method), sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source), sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source), java.lang.reflect.Method.invoke(Unknown Source), com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103), com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java: 71), com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java: 157), com.google.gwt.dev.shell.BrowserChannel.reactToMessagesWhileWaitingForReturn(BrowserChannel.java: 1713), com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java: 165), com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java: 120), com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java: 507), com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java: 284), com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java: 107), com.google.gwt.user.client.rpc.impl.SerializerBase$MethodMap $.serialize$(SerializerBase.java), com.google.gwt.user.client.rpc.impl.SerializerBase.serialize(SerializerBase.java: 147), com.google.gwt.user.client.rpc.impl.ClientSerializationStreamWriter.serialize(ClientSerializationStreamWriter.java: 199), com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java: 129), blogger.client.widgets.Content_FieldSerializer.serialize(Content_FieldSerializer.java: 77), sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method), sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source), sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source), java.lang.reflect.Method.invoke(Unknown Source), com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103), com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java: 71), com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java: 157), com.google.gwt.dev.shell.BrowserChannel.reactToMessagesWhileWaitingForReturn(BrowserChannel.java: 1713), com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java: 165), com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java: 120), com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java: 507), com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java: 284), com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java: 107), com.google.gwt.user.client.rpc.impl.SerializerBase$MethodMap $.serialize$(SerializerBase.java), com.google.gwt.user.client.rpc.impl.SerializerBase.serialize(SerializerBase.java: 147), com.google.gwt.user.client.rpc.impl.ClientSerializationStreamWriter.serialize(ClientSerializationStreamWriter.java: 199), com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java: 129), blogger.client.ContentService_Proxy.saveContentWidget(ContentService_Proxy.java: 90), blogger.client.widgets.CommentForm.onClick(CommentForm.java:94), com.google.gwt.event.dom.client.ClickEvent.dispatch(ClickEvent.java: 54), com.google.gwt.event.dom.client.ClickEvent.dispatch(ClickEvent.java: 1), com.google.gwt.event.shared.HandlerManager $HandlerRegistry.fireEvent(HandlerManager.java:65), com.google.gwt.event.shared.HandlerManager$HandlerRegistry.access $1(HandlerManager.java:53), com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java: 178), com.google.gwt.user.client.ui.Widget.fireEvent(Widget.java:52), com.google.gwt.event.dom.client.DomEvent.fireNativeEvent(DomEvent.java: 116), com.google.gwt.user.client.ui.Widget.onBrowserEvent(Widget.java: 100), com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:1307), com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1263), sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source), sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source), java.lang.reflect.Method.invoke(Unknown Source), com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103), com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java: 71), com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java: 157),
Re: [appengine-java] Re: One - Many Child Persistence help
On Tue, Apr 20, 2010 at 5:48 PM, DeliveryNinja noble1...@googlemail.comwrote: It seems that having any data in the ListComment comments in the Content.java causes the serialization error. Even when I've removed all the data from the Serializable class Comment.java. So it has nothing but a constructor. In this post, Max Ross of Google explained on serialized fields and wrapper of List. Maybe his advise can help you http://groups.google.com/group/google-appengine-java/browse_thread/thread/747ceed8396c0ed8/10ccdd1a0c376825 -- 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: One - Many Child Persistence help
I've taken a look at that code. I can't see any differences between what i'm doing and what is in that other post. Its driving me nuts lol. So i've got two serializable classes and one contains a list to the other and it just does not want to pass this to my service without throwing this error message. I may start a new project from scratch and see if I can get something to work from there. Thanks for the quick replies much appreciated. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: One - Many Child Persistence help
So i've got two serializable classes and one contains a list to the other and it just does not want to pass this to my service without throwing this error message. So raise it on the GWT group. It's their software causing the problem. -- 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: One - Many Child Persistence help
I did the tutorial project and I have that working with one-many. I guess I can work from here! Thanks 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] Re: Slow app JVM wake - even with no data store access?
Actually there are lots of jar files coming with appengine with uncompressed content what could save megabytes of data (http:// groups.google.com/group/google-appengine-java/browse_thread/thread/ 0bce0adc3ace4d94#). But I am not sure what effect this can have on JVM startup in GAE/J--if it is less expensive/faster to go use more CPU cycles to uncompress or to save CPU and use more IO for reads (I would expect some kind of IO cache being used on the machines there. Peter On Apr 20, 9:29 am, Pelle Poluha mbo...@gmail.com wrote: Would it make a difference to trim the jar files? I've noted that twig has a dependency on google collections, a jar file measuring 500k. It is possible to reduce that jar file and only include the needed classes. I guess it could be done for the rest of the jar files too. On 20 Apr, 05:13, Blake Caldwell blakecaldw...@gmail.com wrote: I guess it is what it is. I don't consider myself lucky though, because I spent three weeks migrating from JDO :). Yeah, Spring is great and all, and would work just fine on a huge site on App Engine, but the documentation should be clear about how much time should be expected for each of the common frameworks out there. That would leave a lot fewer OMGWTFBBQ!!! responses from developers that sack weeks/months of their time into their projects. Sent from my iPad On Apr 19, 2010, at 11:07 PM, Jeff Schnitzer j...@infohazard.org wrote: 3-4s is pretty close to as good as it gets to start a JVM, load your app, and begin serving pages. I've seen 2s load times but 3-4s is pretty typical. Consider yourself lucky! The poor souls running Spring apps usually wait 15s+ for cold starts... Jeff On Mon, Apr 19, 2010 at 4:58 PM, Blake blakecaldw...@gmail.com wrote: I switched from JDO to twig-persist to save load time, and it seemed to help a bit, but I'm still seeing 3-4 second load times on servlet calls that don't even touch the datastore. Wow. Of course, after the JVM loads, it's super-fast... but that first hit after a few minutes of inactivity - wow... not good. -- 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. -- 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. -- 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. -- 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. -- 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: Query for children of entity with JDO
Thanks for both suggestions. datanucleus is including the parent as an object in each child: So do a JDOQL query for the elements pm.newQuery(SELECT FROM MyElement WHERE myParent == :parent); and pass in the parent object, and add on any other filter requirements. That sounds to me like it would end up being a bidirectional relationship with the children stored in a collection property of the parent (that's what establishes the parent/child relationship), but each child also stores the parent object in a property so it can be queried. Seems like a fundamental Java issue (I should know) but is there a problem in Java to store a Child object as a property of a parent object, but then also store that parent object as a property of the child? These aren't pointers to objects, but actual objects right? Would it be better to just store the key of the parent in the child as hsjawanda suggests? I'll have to look at the examples again. I would like deleting the parent to automatically result in deleting the multiple children. But I don't want deleting the children to result in deleting the parent. Regards, Tim -- 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] What is the best way to store child object?
Hello, everybody! I have simple one to many owned relationship: ... class MyList{ @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key id; @Persistent(mappedBy=myList) @Element(dependent = true) ListItem items; ... } class Item{ @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key id; @Persistent MyList myList; ... } When I add new Item I do tx.begin(); Key key = getParentKey(); MyList myList = pm.getObjectById(MyList.class, key); Item item = new Item(); item.setMyList(myList); myList.items.add(item); tx.commit(); It works. But there are couple things which bother me. First at all, there is some extra job here. I actually don't need instance of parent class (MyList). I have the parent key. Theoretically speaking, it is the only thing needed to maintain parent child relationship. MyList class may have more fields I don't need at all. So, I'd like to avoid reading them to memory. Second concern is about line myList.items.add(item); what if MyList already has million of items? How efficient is add operation in this case? Any thoughts? Is it possible to store child object using parent key only? Thank you, Andrey -- 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] JAXB problem No Source code is available for type javax.xml.bind.JAXBContext
Hello, I create a very simple application that should be parse an xml and display some info on a popup. But when I run it on my pc I have this message: Line 114: No source code is available for type javax.xml.bind.JAXBContext; did you forget to inherit a required module? I have added all the jar libraries needed, in fact I have created a parallel project to use only the JAXB to parse the file and it works. I read also some post on this group in which there is written to use the JAXB version 2.1.12 instead of 2.2, and I did it, without success. Does anybody know the reason? Please help 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] Re: JDP, get objects by id
I tried it: ListDBObjectAccessaccessList = (ListDBObjectAccess) query.execute(user.getKey()); ArrayListKey ids = new ArrayListKey(); ... query = pm.newQuery(DBPurchaseItem.class, :idCollection.contains(id)); ListDBPurchase dPurchases = (ListDBPurchase)query.execute(ids); and catch Exception: org.datanucleus.store.appengine.query.DatastoreQuery $UnsupportedDatastoreFeatureException Problem with query SELECT FROM ru.abc_software.shoplist.server.data.DBPurchaseItem WHERE :idCollection.contains(id): Unsupported method contains while parsing expression: InvokeExpression{[ParameterExpression{idCollection}].contains(VariableExpression{id})} On 18 апр, 12:59, datanucleus andy_jeffer...@yahoo.com wrote: Is exsists any other way to get objects by one query from program, if I don't sure in exsists every of it? Errm, a JDOQL query perhaps SELECT FROM mydomain.MyClass WHERE :idCollection.contains(id) and pass in a collection containing the ids of the objects you need. -- 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. -- 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: JDP, get objects by id
It's my mistake - in my class primary key names key instead of id; On 20 апр, 19:35, Timofey Koolin timo...@koolin.ru wrote: I tried it: ListDBObjectAccessaccessList = (ListDBObjectAccess) query.execute(user.getKey()); ArrayListKey ids = new ArrayListKey(); ... query = pm.newQuery(DBPurchaseItem.class, :idCollection.contains(id)); ListDBPurchase dPurchases = (ListDBPurchase)query.execute(ids); and catch Exception: org.datanucleus.store.appengine.query.DatastoreQuery $UnsupportedDatastoreFeatureException Problem with query SELECT FROM ru.abc_software.shoplist.server.data.DBPurchaseItem WHERE :idCollection.contains(id): Unsupported method contains while parsing expression: InvokeExpression{[ParameterExpression{idCollection}].contains(VariableExpre ssion{id})} On 18 апр, 12:59, datanucleus andy_jeffer...@yahoo.com wrote: Is exsists any other way to get objects by one query from program, if I don't sure in exsists every of it? Errm, a JDOQL query perhaps SELECT FROM mydomain.MyClass WHERE :idCollection.contains(id) and pass in a collection containing the ids of the objects you need. -- 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. -- 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. -- 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] Create Google App Engine ID Programmatically
Hi, I'm trying to log in to Google App Engine with my Google Account, and I was wondering if it's possible to do this programmatically. I want to retrieve all the App ID that I have in Google App Engine (https://appengine.google.com/) through my application (written in Java). What kind of authentication would be needed to do this? Can I use ClientLogin for this? 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] Reg. Data store update query
I'm working with google app engine data store and not sure how to use update query here. I tried deleting and inserting the updated data but it is throwing an exception that primary key value being changed and no where in the docs is there any mention of query for updation of the data. If there is some document related to update query then probably I've missed that. How to update some existing data in datastore post an example or any link. -- 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: org.datanucleus.store.appengine.query.DatastoreQuery$2
Hi, I have the same problem I think its due to the result set being not serialized do not know how to serialize the result set before putting it to session any ideas thanks in advance On Apr 19, 9:52 pm, CodeMan chinu...@yahoo.com wrote: Hi, I am getting the error below in a JSF app when I try to fetch a ListTemplate. Using this code: PersistenceManager pm = PMF.get().getPersistenceManager();// String query = select from + Template.class.getName() + where owner=='+owner+' ; this.templates = (ListTemplate) pm.newQuery(query).execute(); Can you help figure out what's causing it. Thanks. # 1. 04-19 01:42PM 52.901 /pages/newcbx.faces 500 18322ms 24015cpu_ms 40api_cpu_ms 0kb Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: 1.9.0.17) Gecko/2009122116 Firefox/3.0.17 (.NET CLR 3.5.30729),gzip(gfe) See details 98.229.74.17 - - [19/Apr/2010:13:43:11 -0700] POST /pages/ newcbx.faces HTTP/1.1 500 0 http://ezcomment.appspot.com/pages/ dusers.faces Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: 1.9.0.17) Gecko/2009122116 Firefox/3.0.17 (.NET CLR 3.5.30729),gzip(gfe) ezcomment.appspot.com 2. W 04-19 01:43PM 02.874 [ezcomment/1.341368964543160070].stderr: SystemId Unknown; Line #57; Column #31; Failed calling setMethod method 3. W 04-19 01:43PM 03.367 [ezcomment/1.341368964543160070].stderr: SystemId Unknown; Line #57; Column #31; Failed calling setMethod method 4. W 04-19 01:43PM 11.177 /pages/newcbx.faces java.lang.RuntimeException: java.io.NotSerializableException: org.datanucleus.store.appengine.query.DatastoreQuery$2 at com.google.apphosting.runtime.jetty.SessionManager.serialize(SessionManager .java: 361) at com.google.apphosting.runtime.jetty.SessionManager.createEntityForSession(S essionManager.java: 341) at com.google.apphosting.runtime.jetty.SessionManager $AppEngineSession.save(SessionManager.java:162) at com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionF ilter.java: 41) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1157) at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(Trans actionCleanupFilter.java: 43) 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.runtime.jetty.AppVersionHandlerMap.handle(AppVersionH andlerMap.java: 238) 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 com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequ estParser.java: 76) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java: 404) at com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceReques t(JettyServletEngineAdapter.java: 135) at com.google.apphosting.runtime.JavaRuntime.handleRequest(JavaRuntime.java: 243) at com.google.apphosting.base.RuntimePb$EvaluationRuntime $6.handleBlockingRequest(RuntimePb.java:5485) at com.google.apphosting.base.RuntimePb$EvaluationRuntime $6.handleBlockingRequest(RuntimePb.java:5483) at com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest(BlockingAp plicationHandler.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(LocalTraceSpa nBuilder.java: 536) 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.j ava: 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)
[appengine-java] Re: org.datanucleus.store.appengine.query.DatastoreQuery$2
Hi, Did you figure out the problem ? I have the exact same error when i deploy my app it runs fine locally though. PersistenceManager pm = PMF.get().getPersistenceManager(); ListProject projects = null; Query query; if(key==null){ query = pm.newQuery(select from + Project.class.getName()); } else{ query = pm.newQuery(select from + Project.class.getName() + where title = '+ key +' order by createDate); } try { //TODO : This should search projects with LIKE operation projects = (ListProject) query.execute(); } finally { // pm.close(); } Planet planet = (Planet)request.getSession().getAttribute(planet); if(planet == null){ return false; } planet.setProjects(projects); get this error /searchProjects.jsp java.lang.RuntimeException: java.io.NotSerializableException: org.datanucleus.store.appengine.query.DatastoreQuery$2 at com.google.apphosting.runtime.jetty.SessionManager.serialize(SessionManager.java: 361) at com.google.apphosting.runtime.jetty.SessionManager.createEntityForSession(SessionManager.java: 341) at com.google.apphosting.runtime.jetty.SessionManager $AppEngineSession.save(SessionManager.java:162) at com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionFilter.java: 41) 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 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.runtime.jetty.AppVersionHandlerMap.handle(AppVersionHandlerMap.java: 238) 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 com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequestParser.java: 76) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java: 135) at com.google.apphosting.runtime.JavaRuntime.handleRequest(JavaRuntime.java: 243) at com.google.apphosting.base.RuntimePb$EvaluationRuntime $6.handleBlockingRequest(RuntimePb.java:5485) at com.google.apphosting.base.RuntimePb$EvaluationRuntime $6.handleBlockingRequest(RuntimePb.java:5483) 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: 536) 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:404) at java.lang.Thread.run(Unknown Source) Caused by: java.io.NotSerializableException:
[appengine-java] Re: Reg. Data store update query
How to update some existing data in datastore post an example or any link. Retrieve an object and update it perhaps ? -- 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: How to exclude the optional jars for deployment?
Hey Jake, Thanks for writing this up. Replies inline: On Thu, Apr 15, 2010 at 1:22 PM, Jake jbrooko...@cast.org wrote: Hello, Thanks for the help. This is quite a long, detailed post, but hopefully it will help generate some documentation. I started by making an exact copy of an existing Maven/GAE project that I've been working on. The pom.xml file for that project has a few build commands that run embedded ANT scripts that call the executables in the SDK direcotry that either run the instance locally or deploy it. Everything is done within Eclipse. So, I've taken that copy, Right Clicked in Eclipse, Google-App Engine Settings... I check Use Google App Engine and try to set the Application ID, but it claims that the appengine-web.xml is missing. It is currently there under src/main/webapp/WEB-INF where the standard Maven would place it. Without the ability at this point to designate where to find the file, I'm stuck unless I choose to create a new project according to the GPE FAQ. Hm, I think that if you had chosen to set the This project has a war directory setting, and set it to src/main/webapp, this error could have gone away. So, I create a new Dynamic Web Project per the FAQ. I'm not really sure what to set for Runtime or Configuration, either because I'm an eclipse newb or I'm not entirely certain how this will run in the end. I set that project up, copy over all of my code/resources and the pom.xml and enable Maven Dependency Management. At this point, it looks like a clean maven package and I pull out all of my ANT scripts from the pom.xml (since I shouldn't need them now). I think for runtime, they are referring to the server on which your application will run. The best thing was indeed to select none, because App Engine's server is not one of the choices. The default configuration is a good choice too, unless you want to add other stuff, like Web Services, JSF, etc.. We should improve the doc in our FAQ. I'm using Eclipse for Java EE. Continuing with the FAQ, it talks about enabling GWT, which I do not want to do. Elsewhere, it was suggested that I look at the FAQ for users who are not using Eclipse for Java EE. Looks like we need to have some sort of break-out in the FAQ for those users that are working with App Engine-only projects. So, I set the This project has a WAR directory (and, at this point realize I could probably have done that on my original application without starting from scratch and copying over the files). I am able to enable Google App Engine for this project, but I get a few build path errors. For example, I accidentally selected a missing SDK at first. Selecting the correct path for the SDK in the Google Screen didn't seem to remove the previous bad path, so I'm doing that manually. It also complained about the existing GAE files in my pom.xml, but did so in a roundabout way. Couldn't you have gone back to Use Specific SDK, and chosen the one listed on your build path (instead of having to use one of the SDKs that are installed with the plugin)? Can you elaborate on the pom.xml-related problem? Was this GPE reporting an error, or the Maven plugin? I tried doing a Maven Package per the FAQ, but it claimed javax.persistence did not exist. I see geronimo_jpa on the google supplied list of resources in my build path, but it's not working? Anyways, put it back in my pom.xml and it packaged into the /target/ directory. (At some point, I also removed all folders from ORM enhancement since I use Objectify). How did you end up fixing the problem? Was geronimo_jpa missing from the pom.xml? Finally, I ran as a WebApplication. On the bright side, I'm getting completely different problems now :) I'm getting files not found: javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.SAXParserFactoryImpl not found at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java: 113) at org.mortbay.xml.XmlParser.init(XmlParser.java:69) WARNING: Nested in javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.SAXParserFactoryImpl not found: java.lang.ClassNotFoundException: org/apache/xerces/jaxp/ SAXParserFactoryImpl at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:164) I'm not an expert on XML parsing - it's a small miracle I got it working in the first place under my old deployment methods. Here are my dependencies: net.sf.saxon - saxon - 9.1.0.8 net.sf.saxon - saxon-dom - 9.1.0.8 xml-resolver - 1.2 xml-apis - 1.3.03 Do I know the difference between Xerces and Saxon? Nope. Do I care what I use? Nope. Do I know if that was even a valid question? Nope. I used Saxon merely because I was getting some errors with Xerces back in the day, so I presumed GAE was somehow incompatible. I see this bug report:
Re: [appengine-java] simple JPA query too slow
Indexes aren't indexes in the relational sense - indexes mean that they'll allow your application to find the data in the non-relational datastore. Query performance locally uses a datastore stub, and the performance of a read can be dependent on the number of totally entities locally. What is the performance when deployed? On Fri, Apr 16, 2010 at 7:36 AM, Jonas Gehring jonas.gehr...@egotec.comwrote: Hello. Our app is slow. I used a profilier to find the weak point. The following query needs about 500ms on my local machine: SELECT FROM Employee WHERE account=:mail Account is a String field. Why is that query so slow? I also tried to set an index, but nothing changed: datastore-index kind=Employee ancestor=false property name=account direction=asc / /datastore-index Could you please help me? 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 http://googleappengine.blogspot.com | http://twitter.com/app_engine -- 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: Blob Store service createUploadUrl() and a Dispatcher Servlet
I'm confused. What success path is being called? In the example web.xml file you attached to the bug, you don't have a servlet mapped to /uploadComplete so invoking of your DispatcherServlet after the upload occurs is exactly what I would expect. Is the problem that once inside your DispatcherServlet, getPathInfo() and/or getRequestURI() are set to /_ah/upload/* rather than /uploadComplete? If so, that sounds like a bug and I can investigate it. On Wed, Apr 14, 2010 at 7:08 PM, Rahul Ravikumar tikura...@gmail.comwrote: On further investigation, the blobstore service actually gets called and the upload takes place. However the right success path does not seem to get called. When i log into the admin console on DevAppServer, i can see the Datastore entities of kind __BlobStore__. The same code works correctly on the App Engine environment. On Apr 14, 4:58 pm, Rahul Ravikumar tikura...@gmail.com wrote: I have verified that this does not happen on the Google App Engine environment. Blobstore service works as expected. The problem only seems to occur in the DevAppServer. Is there a servlet that i can map to _ah/upload/* as a workaround on the DevAppServer ? Any other suggestions? On Apr 13, 6:05 pm, Rahul Ravikumar tikura...@gmail.com wrote: I am seeing the problem on DevAppServer. On Apr 13, 3:08 pm, Don Schwarz schwa...@google.com wrote: Are you seeing this problem in the DevAppServer or when deployed to our servers? (Or both?) On Tue, Apr 13, 2010 at 4:27 PM, Rahul Ravikumar tikura...@gmail.com wrote: Are there any workarounds for this issue? On Apr 12, 7:48 pm, Rahul Ravikumar tikura...@gmail.com wrote: I am using DevAppServer - I have filed an issue : http://code.google.com/p/googleappengine/issues/detail?id=3083 You can reproduce the problem using a dispatch servlet and the blobstore service together. The blobstore service does not seem to handle upload in such cases. Thanks, Rahul On Apr 12, 7:21 pm, Don Schwarz schwa...@google.com wrote: It should always dispatch to the more specific URL pattern, which in this case will be the upload servlet. Are you seeing this behavior in the DevAppServer or when deployed to our servers? Can you file an issue in the issue tracker with an appengine-web.xml and web.xml for a reproducible test case? Thanks, Don On Mon, Apr 12, 2010 at 9:14 PM, Rahul Ravikumar tikura...@gmail.com wrote: I have a central dispatcher servlet that has a servlet mapping of : servlet-mapping servlet-namedispatcher/servlet-name url-pattern//url-pattern /servlet-mapping When i try to use the blob store service'screateUploadUrl(/ uploadComplete) it maps to a URL for e.g '/_ah/upload/ agp0d2VldG15cGljchsLEhVfX0Jsb2JVcGxvYWRTZXNzaW9uX18YEgw'. Before the Blob store service can handle the upload and redirect to / uploadComplete; my dispatcher gets called and i am therefore not being able to upload anything. Is there a servlet/ filter that i can map to /_ah/upload/* in my web.xml ? How do i avoid the dispatcher servlet from getting called before the Blob store service can do its thing? -- 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 athttp:// 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 athttp:// 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
Re: [appengine-java] Updating JPA Entities on AppEngine
There's no concept of a global schema for datastore entities, so entities are responsible for managing defining their own fields. For this reason, you cannot add fields if your requirement is that they are non-empty without iterating through each entity and updating it. An alternative solution could be to version new entities and grandfather old entities, updating them as they are read if they are not up to date. I wouldn't say that this isn't a scalable solution. It's only non-scalable if you are determined to have all your entities share the same fields. Distributed key-value stores are powerful precisely because they are effectively typeless, allowing for more flexible strategies to migrate entity definitions. On a relational database, it's basically doing the same thing if you set a default value - it's just that the database handles it for you. Often times this will result in downtime or a degraded state for a long period of time if you have an enormous dataset. On Tue, Apr 13, 2010 at 2:01 PM, laserjim laser...@gmail.com wrote: Hey, So, I define some entity Foo, and create a hundred thousand instances of it. Now I want to add a variable of entity type Bar, and want to specify a default value. Null may be a valid value, but is not the default. One solution I've seen around the intertubes is to write a script that iterates through all the objects in the datastore and manually performs the update operations on the untyped records. This seems non- ideal. Too much developer overhead for minor changes, not clean, and not very scalable. Are there better solutions, or is this basically the de-facto standard? 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 -- 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] com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException The response could not be deserialized
I don't believe you can reuse the same classes for both GWT and JDO/JPA. I'm not sure that you would want to, as you may be exposing some details about your persistence that a rich client doesn't really need to know. On Sun, Apr 18, 2010 at 6:19 PM, luka uluk...@gmail.com wrote: Hi All, I am trying to evaluate GAE + GWT (1.3.2) and I have some issue with the detach feature of JDO-2.0. I have a simple service which return all questions: public ListQuestion getQuestions() { PersistenceManager pm = PMF.get().getPersistenceManager(); try { Query query = pm.newQuery(Question.class); ListQuestion questions = (ListQuestion)pm.detachCopyAll((ListQuestion)query.execute()); return questions; } finally { pm.close(); } } The Question entity is a Persistent object which defined with detachable = true and has a bidirectional one to many relationship to an Answer entity (which defined in the same way. Unfortunately I started getting the IncompatibleRemoteServiceException from yesterday (till than all worked well :( ). I browsed the forums of Google groups and tried to make some changes to make things working like: - Implementing from IsSerializable instead of Serializable (on entities Question Answer) - Using detachCopyAll Nothing seems to make a different. I assume the code will work if I will create DTO for each persistent entity although I really wish to avoid code duplication, plus that's missing some of JDO 2.0 nicest feature Question Code: @PersistenceCapable (detachable = true) public class Question implements IsSerializable { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key key; @Persistent private String topic; @Persistent private String language; @Persistent private String category; @Persistent private String experience; @Persistent private String difficultLevel; // Question details @Persistent private String title; @Persistent private String body; @Persistent private String type; @Persistent private String image; @Persistent(mappedBy = question) private ListAnswer answers; //@Persistent //private Author author; // Classification properties public Question(){} public Question(String topic, String language, String category, String experience, String difficultLevel, String title, String body, String type, String image, ListAnswer answers) { super(); //this.author = author; this.topic = topic; this.language = language; this.category = category; this.experience = experience; this.difficultLevel = difficultLevel; this.title = title; this.body = body; this.type = type; this.image = image; this.answers = answers; } public Key getKey() { return key; } public void setKey(Key key) { this.key = key; } // public Author getAuthor() { // return author; // } // // public void setAuthor(Author author) { // this.author = author; // } public String getTopic() { return topic; } public void setTopic(String topic) { this.topic = topic; } public String getLanguage() { return language; } public void setLanguage(String language) { this.language = language; } public String getCategory() { return category; } public void setCategory(String category) { this.category = category; } public String getExperience() { return experience; } public void setExperience(String experience) { this.experience = experience; } public String getDifficultLevel() { return difficultLevel; } public void setDifficultLevel(String difficultLevel) { this.difficultLevel = difficultLevel; } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public String getBody() { return body; } public void setBody(String body) { this.body = body; } public String getType() { return type; } public void setType(String type) { this.type =
Re: [appengine-java] What's wrong with my JPA Entity
Are you sure that the entity is being saved? Can you post your ProfileDAO? On Mon, Apr 19, 2010 at 9:52 AM, Sudhir Ramanandi sramana...@gmail.comwrote: I have just started with GAE+JPA. However I find it difficult to grasp the primary key things. I have created a very simple entity and a test to verify that the primary key is generated automatically. Entity import java.util.Date; import javax.persistence.Basic; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Temporal; import javax.persistence.TemporalType; import com.google.appengine.api.datastore.Key; import com.szczytowski.genericdao.api.IEntity; @Entity public class Profile implements IEntityKey { @Id @GeneratedValue(strategy=GenerationType.IDENTITY) private Key _id; @Basic private int _age; @Basic @Temporal(TemporalType.DATE) private Date _dob; public Profile() { } public Key getId() { return _id; } public void setId(Key id) { _id = id; } public int getAge() { return _age; } public void setAge(int age) { _age = age; } public Date getDob() { return _dob; } public void setDob(Date dob) { _dob = dob; } } Test Class import java.util.Date; import junit.framework.TestCase; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.ramanandi.matri.infrastructure.jpa.EMF; import com.google.appengine.tools.development.testing.LocalDatastoreServiceTestConfig; import com.google.appengine.tools.development.testing.LocalServiceTestHelper; public class ProfileDaoTest extends TestCase { private final LocalServiceTestHelper helper = new LocalServiceTestHelper(new LocalDatastoreServiceTestConfig()); private ProfileDao dao = new ProfileDao(); @Before public void setUp() { helper.setUp(); } @After public void tearDown() { helper.tearDown(); } private void doTest() { dao.setEntityManager(EMF.get().createEntityManager()); Profile p = new Profile(); p.setAge(20); p.setDob(new Date()); dao.save(p); assertNotNull(p.getId()); } @Test public void testInsert1() { doTest(); } } ButassertNotNull(p.getId()); fails. Why the primary key is not generated automatically? What's wrong. Thanks SN -- 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 Relations, Google App Engine Twitter: http://twitter.com/ikai Delicious: http://delicious.com/ikailan Google App Engine links: 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.
[appengine-java] PdfBox text extraction GAE
If anyone is interested... PdfBox text extration GAE How to do text extraction from pdf files using PdfBox on Google App Engine http://fhtino.blogspot.com/2010/04/pdfbox-text-extration-gae.html fabrizio -- 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] Persistence, parents and keys
That's correct. First - you should read our documentation about entity groups. The reason you can't update parents is because the actual key of the object embeds parent information. For instance, a category key may look like this: Category(Mammal) Subcategories may have keys that decode to the following: Category(Mammal):SubCategory(Bipedal):SubCategory(Simian) If you create the categories Bipedal and Simian first, you'll have an entity with the key: SubCategory(Bipedal):SubCategory(Simian) You can't change a key once an object is persisted. It needs to become a new entity entirely, as keys are immutable. Thus - to place these under the Category with Mammal as a key, you'll have to create a new object and destroy the old object. As a design pattern, generally speaking you should try to create parent objects first, as you could have an issue where deleting an old category fails after creating a new one, or vice versa. Since you won't be able to create a transaction around these objects (they won't be in the same entity group), you'll end up with either data loss or an orphaned, duplicate category. This will be rare, though, so it may not make sense to code to avoid this. On Tue, Apr 13, 2010 at 4:54 AM, gemma gemmasilv...@googlemail.com wrote: Hello! I'm currently writing an app where the datamodel has a set of Category objects with SubCategory children which represents a classification tree. I've now gotten to the stage where I'm attempting to apply these Category and SubCategory objects as attributes of an Item object, but am getting an error that says that once an object has been persisted, you can't create or modify its parent. That's cool, I'm happy to change my Item class so that instead of having persistent Category and SubCategory items directly as attributes they have the string repesentation of the Category and SubCategory keys - but is this an acceptable design approach? Any thoughts would be greatly appreciated. Thanks! Gemma -- 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 Relations, Google App Engine Twitter: http://twitter.com/ikai Delicious: http://delicious.com/ikailan Google App Engine links: 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.
[appengine-java] Re: org.datanucleus.store.appengine.query.DatastoreQuery$2
Found the answer, Have to copy all the contents in the query result to a new list eg, projectsTemp = (ListProject) query.execute(); ListProject projects = new ArrayListProject(); projects.addAll(projectsTemp); planet.setProjects(projects); hope this helps On Apr 20, 4:29 pm, mini998 imanthasi...@gmail.com wrote: Hi, I have the same problem I think its due to the result set being not serialized do not know how to serialize the result set before putting it to session any ideas thanks in advance On Apr 19, 9:52 pm, CodeMan chinu...@yahoo.com wrote: Hi, I am getting the error below in a JSF app when I try to fetch a ListTemplate. Using this code: PersistenceManager pm = PMF.get().getPersistenceManager();// String query = select from + Template.class.getName() + where owner=='+owner+' ; this.templates = (ListTemplate) pm.newQuery(query).execute(); Can you help figure out what's causing it. Thanks. # 1. 04-19 01:42PM 52.901 /pages/newcbx.faces 500 18322ms 24015cpu_ms 40api_cpu_ms 0kb Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: 1.9.0.17) Gecko/2009122116 Firefox/3.0.17 (.NET CLR 3.5.30729),gzip(gfe) See details 98.229.74.17 - - [19/Apr/2010:13:43:11 -0700] POST /pages/ newcbx.faces HTTP/1.1 500 0 http://ezcomment.appspot.com/pages/ dusers.faces Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: 1.9.0.17) Gecko/2009122116 Firefox/3.0.17 (.NET CLR 3.5.30729),gzip(gfe) ezcomment.appspot.com 2. W 04-19 01:43PM 02.874 [ezcomment/1.341368964543160070].stderr: SystemId Unknown; Line #57; Column #31; Failed calling setMethod method 3. W 04-19 01:43PM 03.367 [ezcomment/1.341368964543160070].stderr: SystemId Unknown; Line #57; Column #31; Failed calling setMethod method 4. W 04-19 01:43PM 11.177 /pages/newcbx.faces java.lang.RuntimeException: java.io.NotSerializableException: org.datanucleus.store.appengine.query.DatastoreQuery$2 at com.google.apphosting.runtime.jetty.SessionManager.serialize(SessionManager .java: 361) at com.google.apphosting.runtime.jetty.SessionManager.createEntityForSession(S essionManager.java: 341) at com.google.apphosting.runtime.jetty.SessionManager $AppEngineSession.save(SessionManager.java:162) at com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionF ilter.java: 41) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1157) at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(Trans actionCleanupFilter.java: 43) 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.runtime.jetty.AppVersionHandlerMap.handle(AppVersionH andlerMap.java: 238) 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 com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequ estParser.java: 76) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java: 404) at com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceReques t(JettyServletEngineAdapter.java: 135) at com.google.apphosting.runtime.JavaRuntime.handleRequest(JavaRuntime.java: 243) at com.google.apphosting.base.RuntimePb$EvaluationRuntime $6.handleBlockingRequest(RuntimePb.java:5485) at com.google.apphosting.base.RuntimePb$EvaluationRuntime $6.handleBlockingRequest(RuntimePb.java:5483) at com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest(BlockingAp plicationHandler.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(LocalTraceSpa nBuilder.java: 536) at com.google.net.rpc.impl.Server.startRpc(Server.java:807)
[appengine-java] Chat Time transcript for April 7, 2010
The high-level summary and complete transcript of the April 7th edition of the IRC office hours is pasted below. Please join us on the first and third Wednesday of every month in the #appengine channel on irc.freenode.net. On the first Wednesday, we meet in the channel from 7:00-8:00 p.m. PST (evening hours), and on the third Wednesday (e.g. TOMORROW, 4/21), we're available from 9:00-10:00 a.m. PST (morning hours). - Jason --SUMMARY--- - Discussion of existing App Engine-compatible OpenID libraries and forthcoming built-in support for OpenID and OAuth [7:03-7:09] - Remember, back up your code or use a secure version control system -- we cannot help you recover your code in the event of corruption or theft, so backup early and often. Also, see http://stackoverflow.com/questions/2479087/can-i-restore-my-source-code-that-has-been-uploaded-into. [7:11-7:16] - Q: Is it feasible to push every write to the task queue instead of making the user wait for the write to complete inside a handler? A: While this should work, there are two things to keep in mind: 1) the number of task insertions is currently limited to 1M per day -- if you make more than one million writes each day, this solution will fail. 2) Tasks don't necessarily run in the order they were inserted; e.g. if a task fails and has to be re-tried, it's possible that a newer task will be processed ahead of it. Thus, you'll want to version your entities so you don't mistakenly overwrite new data with old data. [7:18-7:19, 7:21, 7:58-7:59] - Discussion on IDE/editor preference [7:21, 7:23, 7:24] - Discussion on paging using cursors and the inherent challenges of paging backwards when entities are consistently being inserted [7:24-7:30] - Q: Should I be concerned if I see a red or cold caution sign in the Admin Console indicating that CPU usage for a particular handler is high? A: In general, no. These symbols are present to show you which handlers are using the most CPU and to help point out which handlers you should optimize, but the quotas page is the definitive source on resource usage. Keep in mind that enabling billing for your application automatically boosts a lot of your quotas, regardless of whether you actually exceed any of the billable quotas. [7:31-7:35] - Discussion on SSL support, ETAs on SSL for custom domains, and a potential SSL bug affecting non-default versions of an app. [7:39-7:40] - Q: Are sessions supported in Python? A: Sessions aren't supported directly by the webapp framework, but you can build your own implementation fairly easily using cookies and memcache/datastore. [7:49, 7:51-7:53] - Q: Are keys-only queries a good way to get a simple count on the number of entities matching a query? A: Depending on your queries, this may be the only effective method. In general, we prefer pre- computation when possible -- if you have a limited number of known queries, you can just increment a counter when a new entity is written or updated. For systems where the set of possible queries is large and/ or unknown, then performing a keys-only query is a reasonable solution. Be sure to cache the result so you don't have to continually execute this query for every request. Also, remember the datastore statistics API is available if you need a straight count of every entity in your datastore or of every entity of a particular kind. [7:50-7:52, 7:54-7:59, 8:03] --FULL TRANSCRIPT--- [7:00pm] apijason_google: Good evening (or morning as the case may be)! I and a few other App Engine engineers will be here for the next hour to answer your questions, so fire away. [7:01pm] chilts: sweet, didn't realise it was now [7:01pm] chilts: (not that I have a question) [7:02pm] apijason_google: Well, just in case you have one later. [7:03pm] chilts: apijason_google: any idea if Google are working on patching the python-openid library to make it Google Apps compatible (ie. does the host-meta discovery method)? [7:04pm] chilts: it would be good so Python people on AppEngine can start doing Marketplace apps more easily for _all_ Google Apps Enterprise customers [7:04pm] AreEmmKay: I saw a commit on AEOID about that [7:04pm] • chilts goes to check it out [7:05pm] AreEmmKay: http://github.com/Arachnid/aeoid Add preliminary support for Google Apps openid [7:05pm] chilts: I did see Nick's post about putting an /openid page on your site, but that would be much better [7:05pm] chilts: ah, March 13th [7:05pm] chilts: cool, thanks AreEmmKay [7:05pm] AreEmmKay: np [7:06pm] apijason_google: I'm not positive on the implementation details, but OpenID enhancements will be added in a future release. I don't know if you caught the Built-in support for OAuth OpenID item in our latest product roadmap. [7:06pm] chilts: saw that on the roadmap yeah [7:06pm] chilts: can't wait [7:06pm] molson: Trying to view a specific class in my datastore via the datastore
Re: [appengine-java] User.nickName
Here are the Javadocs regarding this: http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/users/User.html#getNickname() http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/users/User.html#getNickname() The nickname will be a unique, human readable identifier for this user with respect to this application. It will be an email address for some users, but not all. We don't currently integrate with Google Profiles. You'll probably want to star this issue: http://code.google.com/p/googleappengine/issues/detail?id=310 On Fri, Apr 16, 2010 at 12:09 AM, Philip Tucker ptuc...@gmail.com wrote: When I access the nickName field of the userService.getCurrentUser() object, I don't get the nickName from Google profiles. For example, if I go to http://www.google.com/profiles/me/editprofile for my account (ptuc...@gmail.com) my nickName is Philip, but in AppEngine I get ptucker. -- 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 Relations, Google App Engine Twitter: http://twitter.com/ikai Delicious: http://delicious.com/ikailan Google App Engine links: 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.
[appengine-java] java.lang.RuntimeException: Version not ready.
I am trying to update shortyz-xword and am getting timeouts. I can't extract any useful info from the admin log. Is there something going on today? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Deployment Descriptor Filters: typo in example
Hi, You're correct, this sample code doesn't work. I've fixed the doc and sent it for review. It should go live shortly afterwards. Here's what the code should look like: // Pastie link for nicer formatting: http://pastie.org/926936 import java.io.IOException; import java.util.logging.Logger; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; public class LogFilterImpl implements Filter { private FilterConfig filterConfig; private static final Logger log = Logger.getLogger(LogFilterImpl.class.getName()); public void doFilter(ServletRequest request, ServletResponse response, FilterChain filterChain) throws IOException, ServletException { log.warning(Log filter processed a + getFilterConfig().getInitParameter(logType) + request); filterChain.doFilter(request, response); } public FilterConfig getFilterConfig() { return filterConfig; } public void init(FilterConfig filterConfig) { this.filterConfig = filterConfig; } public void destroy() {} } On Thu, Apr 15, 2010 at 7:09 AM, Chau Huynh cmhu...@gmail.com wrote: Hello, It looks like a typo in http://code.google.com/appengine/docs/java/config/webxml.html#Filters Code: filterConfig.doFilter(request, response); Also sample LogFilterImpl does not implement all methods defined in javax. servlet.Filter Can you please take a look and update. 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 Relations, Google App Engine Twitter: http://twitter.com/ikai Delicious: http://delicious.com/ikailan Google App Engine links: 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] Jetty servlet invoker
I can't even get this to work correctly locally - I get a NullPointerException that seems to be related to ServletFilters. Specifically - the development BlobStore servlet filter (stack trace is below). What version are you using? Can you open a feature request to support Invoker here at our issues tracker? http://code.google.com/p/googleappengine/issues/list java.lang.RuntimeException: java.lang.NullPointerException at org.mortbay.jetty.servlet.ServletHandler.updateMappings(ServletHandler.java:1057) at org.mortbay.jetty.servlet.ServletHandler.setServletMappings(ServletHandler.java:1110) at org.mortbay.jetty.servlet.ServletHandler.addServletWithMapping(ServletHandler.java:770) at org.mortbay.jetty.servlet.ServletHandler.addServletWithMapping(ServletHandler.java:731) at org.mortbay.jetty.servlet.Invoker.service(Invoker.java:175) 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) On Tue, Apr 13, 2010 at 9:10 PM, gurbieta gurbi...@gmail.com wrote: Hi everybody, y added this lines into my web.xml servlet servlet-nameinvoker/servlet-name servlet-classorg.mortbay.jetty.servlet.Invoker/servlet-class /servlet servlet-mapping servlet-nameinvoker/servlet-name url-pattern/servlet/*/url-pattern /servlet-mapping And it works on my local version of app-engine (automatically with the eclipse plugin), but when I deploy it into Google does not work, anybody knows why? Thanks in advance, Gonzalo Urbieta -- 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 Relations, Google App Engine Twitter: http://twitter.com/ikai Delicious: http://delicious.com/ikailan Google App Engine links: 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.
[appengine-java] Re: java.lang.RuntimeException: Version not ready.
+1 - I'm having issues deploying as well... I'm guessing some service is down. On Apr 20, 3:01 pm, Robert Cooper keber...@gmail.com wrote: I am trying to update shortyz-xword and am getting timeouts. I can't extract any useful info from the admin log. Is there something going on today? -- 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. -- 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] gae+twig+gwt Hello World project
Hi all, First, many thanks John for this library. I'm just getting started with twig. To get an idea of my level, it took me 0.5h to figure out that to use twig, you need to add the jars to WEB-INF/libs and use import com.vercer.engine.persist.annotation.*; (I was looking for something like com.twig, didn't know what vercer is... Docs mention only the maven setup) Is there any full small project gae+twig project available to look at and understand how to use twig? Ideally with a gwt front-end too. The code snippets on twig docs don't make much sense to me as I don't know where to add them. Is guice required too? PS: a correction in docs: http://code.google.com/p/twig-persist/wiki/Configuration @Key name; should be @Key String name; 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] Google App Engine for Java app coul dn’t find javac ?
I'm learning to use Google App Engine, I installed it in Netbeans, the project works, but when I clicked on Deploy To Google App Engine, I got the following error : Beginning server interaction for ... 0% Creating staging directory 5% Scanning for jsp files. 8% Compiling jsp files. 11% Compiling java files. Error Details: Apr 20, 2010 3:51:23 PM org.apache.jasper.JspC processFile INFO: Built File: \PayPal_Monitor.jsp java.lang.IllegalStateException: cannot find javac executable based on java.home, tried C:\Program Files (x86)\Java\jre6\bin\javac.exe and C:\Program Files (x86)\Java\bin\javac.exe Unable to update app: cannot find javac executable based on java.home, tried C:\Program Files (x86)\Java\jre6\bin\javac.exe and C:\Program Files (x86)\Java\bin\javac.exe Please see the logs [C:\Users\NM\AppData\Local\Temp \appcfg3946701335172983337.log] for further information. The file javac.exe is in : C:\Program Files (x86)\Java \jdk1.6.0_18\bin How can I add it to java.home ? I'm using Win Vista, and I tried to add it from System - Environment Variables, but there is no java.home in there. So I added JAVA_HOME to it pointing to : C: \Program Files (x86)\Java\jdk1.6.0_18\bin But it still gives me the same error. I wonder where this java.home is, and how to change it ? Frank -- 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: java.lang.RuntimeException: Version not ready.
Same issue in python.Here we go again : ( On Apr 20, 3:01 pm, Robert Cooper keber...@gmail.com wrote: I am trying to update shortyz-xword and am getting timeouts. I can't extract any useful info from the admin log. Is there something going on today? -- 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. -- 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: java.lang.RuntimeException: Version not ready.
Having same issue in python.. still On Apr 20, 3:01 pm, Robert Cooper keber...@gmail.com wrote: I am trying to update shortyz-xword and am getting timeouts. I can't extract any useful info from the admin log. Is there something going on today? -- 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. -- 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: java.lang.RuntimeException: Version not ready.
Looks like it is back up On Apr 20, 3:24 pm, bjy bradjyo...@gmail.com wrote: Having same issue in python.. still On Apr 20, 3:01 pm, Robert Cooper keber...@gmail.com wrote: I am trying to update shortyz-xword and am getting timeouts. I can't extract any useful info from the admin log. Is there something going on today? -- 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. -- 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. -- 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: java.lang.RuntimeException: Version not ready.
yeah, its backup in Java for me On Apr 20, 3:38 pm, bjy bradjyo...@gmail.com wrote: Looks like it is back up On Apr 20, 3:24 pm, bjy bradjyo...@gmail.com wrote: Having same issue in python.. still On Apr 20, 3:01 pm, Robert Cooper keber...@gmail.com wrote: I am trying to update shortyz-xword and am getting timeouts. I can't extract any useful info from the admin log. Is there something going on today? -- 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. -- 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. -- 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. -- 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] a work around for request aborted?
My app is essentially a specialized reminder tool. it has a cron job that wakes up every 15 minutes to see if anybody needs to be nagged (sent an email reminder). The cron job does a query against one entity looking for anything with a UTC time equal or before now. The query looks like: select from + ActionItem.class.getName() + where actionTime = + (hourOfDay); With that result we simply queue a task to process the actual action (which may be to send email). But that's all there is to it: read a result set and enqueue something for each item returned. This request about 1/3 of the time blows up with the dreaded Request was aborted after waiting too long to attempt to service your request. Right now that is somewhat OK because the request will run again in 15 minutes and therefore eventually pick up the work that the failed requests miss. I *thought* that I was hitting a resource limit so my first attempt to work around this was to wrap my read loop in a try/catch looking for the exceptions: }catch(com.google.apphosting.api.ApiProxy.OverQuotaException oq){ log.info(over quota! trying again); String stampStr = +gCal.getTimeInMillis(); String urlStr =/setup?hour=+stampStr+L; TaskOptions url = TaskOptions.Builder.url(urlStr); queue.add(url.method(Method.GET)); }catch(com.google.apphosting.api.DeadlineExceededException de){ log.info(out of time! trying again); String stampStr = +gCal.getTimeInMillis(); String urlStr =/setup?hour=+stampStr+L; TaskOptions url = TaskOptions.Builder.url(urlStr); queue.add(url.method(Method.GET)); And then stopping and re-queuing the task. However empirically I don't seem to ever catch these exceptions. My request just gets aborted with no warning (and apparently no log output) I am afraid that this problem will grow as the app grows so I am looking for ideas to fix it. Two approaches seem to be worth trying: 1) Cache the query results somehow to avoid need to run it if possible. 2) Use low level data store API to run the query so that I can (possibly) complete a partial read of the reminder data. (question, also I am doing something wrong here? -- It seems like a simple query should be able to at least partially complete in the time it takes to do one request - given that I am the only one using my dev version of the app.) I am hoping someone can tell me which of these ideas is more likely to help (or give me an alternate idea) 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.
Re: [appengine-java] Google App Engine for Java app couldn’t find javac ?
Please try verification step in Getting Java session from the tutorial http://code.google.com/appengine/docs/java/gettingstarted/installing.html java -version javac -version If error, it's likely you need to add {JAVA_HOME}\bin to Path variable. Typically you might need to remove bin out of your JAVA_HOME setting C: \Program Files (x86)\Java\jdk1.6.0_18\bin. Thanks. On Wed, Apr 21, 2010 at 3:56 AM, fni min...@gmail.com wrote: I'm learning to use Google App Engine, I installed it in Netbeans, the project works, but when I clicked on Deploy To Google App Engine, I got the following error : Beginning server interaction for ... 0% Creating staging directory 5% Scanning for jsp files. 8% Compiling jsp files. 11% Compiling java files. Error Details: Apr 20, 2010 3:51:23 PM org.apache.jasper.JspC processFile INFO: Built File: \PayPal_Monitor.jsp java.lang.IllegalStateException: cannot find javac executable based on java.home, tried C:\Program Files (x86)\Java\jre6\bin\javac.exe and C:\Program Files (x86)\Java\bin\javac.exe Unable to update app: cannot find javac executable based on java.home, tried C:\Program Files (x86)\Java\jre6\bin\javac.exe and C:\Program Files (x86)\Java\bin\javac.exe Please see the logs [C:\Users\NM\AppData\Local\Temp \appcfg3946701335172983337.log] for further information. The file javac.exe is in : C:\Program Files (x86)\Java \jdk1.6.0_18\bin How can I add it to java.home ? I'm using Win Vista, and I tried to add it from System - Environment Variables, but there is no java.home in there. So I added JAVA_HOME to it pointing to : C: \Program Files (x86)\Java\jdk1.6.0_18\bin But it still gives me the same error. I wonder where this java.home is, and how to change it ? Frank -- 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: open source pdf engine for GAE
Hi Patrice , Thanks for your help. How can i initialize variable of ServletResponse resp on onFormButtonClicked of robot. Thanks Jeno On Apr 20, 6:22 pm, Patou patou.de.saint.ste...@gmail.com wrote: Hello In App Engine, You can't write a file to the file system. Otherwise the save method can't be used in GAE. Use this code to send the pdf to the navigator : pdf.wrap(); String fileName = Example_03.pdf; resp.setContentType(application/pdf); resp.setHeader(Content-Disposition, attachment; filename=\ + fileName + \); ServletOutputStream outs = resp.getOutputStream(); pdf.getData().writeTo(outs); Or to save to the datastore : new Blob(pdf.getData().toByteArray()); Bests Regards Patrice On Apr 20, 4:18 am, jeno jeno...@gmail.com wrote: Hi François , Thanks for your help. I have used PDFjet (PDFJet.jar version 2.72) PDF class missing save method So i cant call pdf.save(d.pdf) method. Cheers jeno On Apr 19, 6:48 pm, François Masurel fm2...@mably.com wrote: Hi Jeno, You can try the PDFjet Open Source Edition :http://pdfjet.com/os/edition.html François On 19 avr, 01:55, jeno jeno...@gmail.com wrote: Hi Guys, Anyone know open source java pdf engine for GAE. Thanks Jeno -- 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. -- 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. -- 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. -- 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. -- 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: org.datanucleus.store.appengine.query.DatastoreQuery$2
Hi, Your thanks for your suggestion but I don't think it applies to my problem. I am not copying the list. This is the class that genarates the error. @ManagedBean() @SessionScoped public class MyTemplates implements java.io.Serializable{ Template template; String text; ListTemplate templates; String owner; public String getMyTemplates(){ this.owner=this.getUser(getMyTemplates); PersistenceManager pm = PMF.get().getPersistenceManager();// String query = select from + Template.class.getName() + where owner=='+owner+' ;//order by name this.templates = (ListTemplate) pm.newQuery(query).execute(); int n=templates.size(); if(n==0) this.text=No Templates; else this.text=; System.out.print(Got Tempaltes::+n); return viewtemp.xhtml; } --setters-- --getters-- } Template has the following defination @PersistenceCapable(identityType = IdentityType.APPLICATION) public class Template implements java.io.Serializable{ @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Long id; @Persistent String name; @Persistent String description; @Persistent String height; @Persistent String width; @Persistent String fontcolor; @Persistent String bgcolor; @Persistent String owner; --setters-- --getters-- } This code works fine on my local machine but when deployed it throws exceptions. Does anyone have any idea why this happens? Thanks! On Apr 20, 4:25 pm, mini998 imanthasi...@gmail.com wrote: Found the answer, Have to copy all the contents in the query result to a new list eg, projectsTemp = (ListProject) query.execute(); ListProject projects = new ArrayListProject(); projects.addAll(projectsTemp); planet.setProjects(projects); hope this helps On Apr 20, 4:29 pm, mini998 imanthasi...@gmail.com wrote: Hi, I have the same problem I think its due to the result set being not serialized do not know how to serialize the result set before putting it to session any ideas thanks in advance On Apr 19, 9:52 pm,CodeManchinu...@yahoo.com wrote: Hi, I am getting the error below in a JSF app when I try to fetch a ListTemplate. Using this code: PersistenceManager pm = PMF.get().getPersistenceManager();// String query = select from + Template.class.getName() + where owner=='+owner+' ; this.templates = (ListTemplate) pm.newQuery(query).execute(); Can you help figure out what's causing it. Thanks. # 1. 04-19 01:42PM 52.901 /pages/newcbx.faces 500 18322ms 24015cpu_ms 40api_cpu_ms 0kb Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: 1.9.0.17) Gecko/2009122116 Firefox/3.0.17 (.NET CLR 3.5.30729),gzip(gfe) See details 98.229.74.17 - - [19/Apr/2010:13:43:11 -0700] POST /pages/ newcbx.faces HTTP/1.1 500 0 http://ezcomment.appspot.com/pages/ dusers.faces Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: 1.9.0.17) Gecko/2009122116 Firefox/3.0.17 (.NET CLR 3.5.30729),gzip(gfe) ezcomment.appspot.com 2. W 04-19 01:43PM 02.874 [ezcomment/1.341368964543160070].stderr: SystemId Unknown; Line #57; Column #31; Failed calling setMethod method 3. W 04-19 01:43PM 03.367 [ezcomment/1.341368964543160070].stderr: SystemId Unknown; Line #57; Column #31; Failed calling setMethod method 4. W 04-19 01:43PM 11.177 /pages/newcbx.faces java.lang.RuntimeException: java.io.NotSerializableException: org.datanucleus.store.appengine.query.DatastoreQuery$2 at com.google.apphosting.runtime.jetty.SessionManager.serialize(SessionManager .java: 361) at com.google.apphosting.runtime.jetty.SessionManager.createEntityForSession(S essionManager.java: 341) at com.google.apphosting.runtime.jetty.SessionManager $AppEngineSession.save(SessionManager.java:162) at com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionF ilter.java: 41) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1157) at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(Trans actionCleanupFilter.java: 43) 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
[appengine-java] Re: open source pdf engine for GAE
robot only allow json data format. second method ok, store it on datastore and access from there cheers jeno On Apr 21, 1:02 pm, jeno jeno...@gmail.com wrote: Hi Patrice , Thanks for your help. How can i initialize variable of ServletResponse resp on onFormButtonClicked of robot. Thanks Jeno On Apr 20, 6:22 pm, Patou patou.de.saint.ste...@gmail.com wrote: Hello In App Engine, You can't write a file to the file system. Otherwise the save method can't be used in GAE. Use this code to send the pdf to the navigator : pdf.wrap(); String fileName = Example_03.pdf; resp.setContentType(application/pdf); resp.setHeader(Content-Disposition, attachment; filename=\ + fileName + \); ServletOutputStream outs = resp.getOutputStream(); pdf.getData().writeTo(outs); Or to save to the datastore : new Blob(pdf.getData().toByteArray()); Bests Regards Patrice On Apr 20, 4:18 am, jeno jeno...@gmail.com wrote: Hi François , Thanks for your help. I have used PDFjet (PDFJet.jar version 2.72) PDF class missing save method So i cant call pdf.save(d.pdf) method. Cheers jeno On Apr 19, 6:48 pm, François Masurel fm2...@mably.com wrote: Hi Jeno, You can try the PDFjet Open Source Edition :http://pdfjet.com/os/edition.html François On 19 avr, 01:55, jeno jeno...@gmail.com wrote: Hi Guys, Anyone know open source java pdf engine for GAE. Thanks Jeno -- 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. -- 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. -- 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. -- 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. -- 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. -- 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: including data file in JAR
That worked, thanks. On Apr 18, 11:55 pm, Vaclav Bartacek vaclav.barta...@spolecne.cz wrote: Better way is to use getClass().getResourceAsStream for accessing files packed in jars or for acccessing files located directly in the war you can use the following (in a servlet): ServletContext ctx = getServletContext(); InputStream is = ctx.getResourceAsStream( resourceName ); Do not forget to declare the data file as the resource file in appengine-web.xml (if it is located outside of the WEB-INF directory): resource-files include path=/resources/data-file.csv / /resource-files Vaclav On Apr 18, 4:00 am, Philip Tucker ptuc...@gmail.com wrote: I have a data file I need to access on the server. If I include it in my source path on the client I can load it via ClassLoader.getSystemResourceAsStream. But this breaks on the server (I'm not sure if the eclipse plugin is even deploying it). What's the best way to do this? I don't want to incur a DB hit if I can avoid it, and it's too much data to embed in a class (~4MB). -- 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. -- 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. -- 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] What's wrong with my JPA Entity
Yes, Dao Saves is properly. I just found that the Key will be generated on EntityManager.flush() I modified the code, and now it works fine. public void testPkGeneration() { Profile p1 = new Profile(); p1.setAge(20); p1.setDob(new Date()); EntityManager em = EMF.get().createEntityManager(); EntityTransaction tx = em.getTransaction(); dao.setEntityManager(em); tx.begin(); dao.save(p1); em.flush(); tx.commit(); ListProfile profiles = dao.getAll(); assertNotNull(profiles.get(0)); assertNotNull(p1.getId()); } On Wed, Apr 21, 2010 at 1:25 AM, Ikai L (Google) ika...@google.com wrote: Are you sure that the entity is being saved? Can you post your ProfileDAO? On Mon, Apr 19, 2010 at 9:52 AM, Sudhir Ramanandi sramana...@gmail.comwrote: I have just started with GAE+JPA. However I find it difficult to grasp the primary key things. I have created a very simple entity and a test to verify that the primary key is generated automatically. Entity import java.util.Date; import javax.persistence.Basic; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Temporal; import javax.persistence.TemporalType; import com.google.appengine.api.datastore.Key; import com.szczytowski.genericdao.api.IEntity; @Entity public class Profile implements IEntityKey { @Id @GeneratedValue(strategy=GenerationType.IDENTITY) private Key _id; @Basic private int _age; @Basic @Temporal(TemporalType.DATE) private Date _dob; public Profile() { } public Key getId() { return _id; } public void setId(Key id) { _id = id; } public int getAge() { return _age; } public void setAge(int age) { _age = age; } public Date getDob() { return _dob; } public void setDob(Date dob) { _dob = dob; } } Test Class import java.util.Date; import junit.framework.TestCase; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.ramanandi.matri.infrastructure.jpa.EMF; import com.google.appengine.tools.development.testing.LocalDatastoreServiceTestConfig; import com.google.appengine.tools.development.testing.LocalServiceTestHelper; public class ProfileDaoTest extends TestCase { private final LocalServiceTestHelper helper = new LocalServiceTestHelper(new LocalDatastoreServiceTestConfig()); private ProfileDao dao = new ProfileDao(); @Before public void setUp() { helper.setUp(); } @After public void tearDown() { helper.tearDown(); } private void doTest() { dao.setEntityManager(EMF.get().createEntityManager()); Profile p = new Profile(); p.setAge(20); p.setDob(new Date()); dao.save(p); assertNotNull(p.getId()); } @Test public void testInsert1() { doTest(); } } ButassertNotNull(p.getId()); fails. Why the primary key is not generated automatically? What's wrong. Thanks SN -- 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 Relations, Google App Engine Twitter: http://twitter.com/ikai Delicious: http://delicious.com/ikailan Google App Engine links: 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. -- 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: [google-appengine] Project name availability
i'm not from Google, but from my experience that's not the case, they are independent (for example, while there's a project on code.google.com for datanucleus-appengine there is no http://datanucleus-appengine.appspot.com/) regards 2010/4/19 Florent Georges fgeor...@gmail.com Hi, I tried to create a new project on Google App Engine, but the name I chose was not available anymore. That surprised me a bit as this is a rather uncommon name. Then I thought that maybe the name of projects on Google Code were reserved automatically on the App Engine (I have a project on Google Code with the same name). I dug into the help and the archives, but I did not find anything on that subject. Is there any chance the name I am after is reserved because of the namesake project on Google Code? Regards, -- Florent Georges http://fgeorges.org/ -- 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. -- Indifference will be the downfall of mankind, but who cares?... http://blog.opsiland.info/ -- 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] Project name availability
I tried to create a new project on Google App Engine, but the name I chose was not available anymore. I have the same question. It seems that some wordings are reserved and the forbidden table seems to be a big table. It is quite easy to get an unavailable name. -- 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: Project name availability
I don't have any official documentation to point to, but I think I read somewhere that every gmail account name stops that name being used for an app name. So if someone chose twid...@gmail.com as an email address, you can't use twiddle as an app name. -- 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] Python Documentation Missing?
On Tue, Apr 20, 2010 at 3:17 AM, Monteith, Tracy tr...@s3-systems.comwrote: I was aware of that page but was looking for some more detailed API documentation for example: PyDocs for google.appengine.ext.db. The code.google.com pages completely document all the public APIs. If you need more detail, you can consult the source and the embedded docstrings, but code.google.com forms the official documentation. All the public functionality is documented in the reference section, including expected arguments and return values. My form data is not saving properly. What document would tell me about the API methods available and the expected input/output values to help me debug this? Why don't you describe the problem you're encountering to us, and we can suggest what might be wrong? -Nick Johnson J On Mon, Apr 19, 2010 at 9:24 AM, Nick Johnson (Google) nick.john...@google.com wrote: Hi, The Python API is documented here: http://code.google.com/appengine/docs/python/ -Nick Johnson On Mon, Apr 19, 2010 at 4:04 PM, codingJoe coding...@gmail.com wrote: Where can I find PyDocs for google.appengine.ext.db? My round-trip edits on entities with the reference property aren't working properly. I can't seem to figure out why, find any lower level documentation that might help me figure it out. -- 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. -- Nick Johnson, Developer Programs Engineer, App Engine Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number: 368047 Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number: 368047 -- 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. -- Nick Johnson, Developer Programs Engineer, App Engine Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number: 368047 Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number: 368047 -- 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: Return list of dicts instead of object
Perhaps I misunderstood what you are trying to do. Have you seen the dynamic_properties() method of the Model class? http://code.google.com/appengine/docs/python/datastore/modelclass.html (at the bottom) It's pretty hard to find - I flagged a doc defect ages ago - http://groups.google.com/group/google-appengine-python/browse_thread/thread/eac9af0e9d6bb152/5138a6d61a59b749 Something easier (but less performant) than using the underlying API is just to iterate over the object properties - for object in objects_from_db: for property_name in object.dynamic_properties(): print %s:%s % (property_name, getattr(object, property_name)) Treat the above as pseudocode, as I haven't actually run it, but you get the idea. On Apr 19, 11:59 am, Lynge como...@gmail.com wrote: Many thanks, this should do nicely. I have already written a hack-job implementation to get around it, but will soon change it to something that makes use of this. On 16 Apr., 10:23, hawkett hawk...@gmail.com wrote: If you use the (undocumented) underlying datastore API you will get datastore objects as lists of dictionary-like objects. It is the higher level datastore API that converts these objects into Models. Consequently, using this API is slightly faster as well. For example from google.appengine.api import datastore q = datastore.Query(SomeKind, {name =: someName}, None, False, True, None) # Kind, query, ?, keys_only, compile, cursor q_results = q.Run() for result in q_results: print result.key() print result['name'] The only mechanism I have found to understand this API is to review the app engine code. The documentation in the code is pretty reasonable, but generally no examples. On Apr 15, 1:17 pm, Lynge como...@gmail.com wrote: Hi, I am using an Expando class and I want to sort it. It needs to be sorted according to a dynamically assigned property so it has o be done at runtime. I am using python and it could be done easily with something like: dates = sorted(datelist, key=itemgetter('comp_date')) But since the objects returned from the datastore are not iterable this is impossible. So I thought that I would just create my own list of dicts and then I can iterate and sort it, but alas that is not possible either. I can iterate over the primary just fine for date in datesfromdb: datelist.append(dict(date)) but no matter how I try to get the data out of the date object I have no luck. I dont want to name all the properties of the model since that would make it a big pain to update anything, but how then do I do it? Any help would be appreciated. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Python Documentation Missing?
On Apr 20, 3:17 am, Monteith, Tracy tr...@s3-systems.com wrote: I was aware of that page but was looking for some more detailed API documentation for example: PyDocs for google.appengine.ext.db. http://code.google.com/appengine/docs/python/datastore/functions.html The google.appengine.ext.db package provides the following functions: create_rpc(deadline=None, callback=None, read_policy=STRONG_CONSISTENCY) ... -- 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 with ~500 million rows?
1TB = 1024 GB = 1024 x 1024 MB = 1024^4 byte = 1.1x10^12 byte if you have 500x10^6 entries of 7KB you need 500x10^6 x 7x1024 = 3.584x10^12 bytes = 3.26TB But this is only the RAW data need, if you take the indices into account it would be even larger. db.TextProperty and db.BlobProperty don't use index storage. All the other properties can be given the indexed=False argument. But do you need to create all the tiles at the start of the game? It is very unlikely that all the tiles will contain something interesting. Why not only store the tiles that are not-default and if you want a not stored tile return an object with the right key_name that if modified and put() in the datastore would represent this new tile. And is the json content compressible? Then you can use a custom property that compresses the content and stores it in a db.BlobProperty. And uncompress at retrieval. 2010/4/20 Shinichi Nakanishi stouton...@gmail.com: I think 500M * 7KB = 3.5TB. Sorry if I'm wrong. -- 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] Testing the appengine cache
Hi I am impressed with how easy com.google.appengine.tools.development.testing.LocalServiceTestHelper has made writing tests for appengine code (working in Java). The one thing I find that is missing is testing interactions with the cache. How are people out there testing interactions with the cache? 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.
Re: [google-appengine] Python script Google Authentication for a GAE Application
Hi Michael, The appengine_rpc module from the SDK handles all this: http://code.google.com/p/googleappengine/source/browse/trunk/python/google/appengine/tools/appengine_rpc.py http://code.google.com/p/googleappengine/source/browse/trunk/python/google/appengine/tools/appengine_rpc.pyYou can use it directly in your app, and let it take care of authentication to an App Engine application. -Nick Johnson On Mon, Apr 19, 2010 at 9:34 PM, Michael Byrd nerdymcnerdy...@gmail.comwrote: Hi Everyone, I'm having a hard time figuring this out and I'm hoping someone can point me in the right direction for what to read. I've written an appengine app, a servlett, that will accept data from a get request, check if the user is signed in to a google account and then store the data from the request in the datastore (with a User as part of the model). All pretty standard. I'd like for a python script to be able to automate the data input (think returning the results of s...@home) but it's important that the python client be able to authenticate itself via a google account. I'm at a bit of a loss for where to even start... these seem like good places, but I don't even know enough to be sure which, if any, will work: http://code.google.com/apis/accounts/docs/OAuthForInstalledApps.html -- seems like the best shot but they say as a log in for 'one or more google service' which I'm not sure my app counts as.. http://code.google.com/appengine/docs/python/tools/uploadingdata.html -- I think this is not so good as I would have to give every user too lenient permissions for my app I've looked through the gdata source code as well trying to authenticate with a generic service, but I'm not sure if gdata authentication is universal enough to work with an arbitrary appengine app. Ideally if someone can get me started or point me at the correct place that would be great. I'd rather not do this over email or xmpp, but I'm considering those options. Thank you anyone for your help!, Michael -- 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. -- Nick Johnson, Developer Programs Engineer, App Engine Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number: 368047 Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number: 368047 -- 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] Effectively Parallelizing Fetches (with pictures, yay!)
Hi Patrick, Good questions! On Tue, Apr 20, 2010 at 12:57 AM, Patrick Twohig patr...@namazustudios.comwrote: Hi All, As I understand it, the process of performing a single fetch (call to get()) from the dastastore using a key basically involves finding the host housing the entity, opening a socket, fetching the data, and then cleaning up the connection. So to fetch something like 30 entities from the datastore, you're repeating the process 30 times over in serial, each time incurring whatever overhead is involved. I also read that if you perform bulk fetches, (ie passing multiple keys at once) you can eliminate a great deal of that overhead. In one of the videos I watched from Google I/0 2009, the presenter (whose name I forget - d'oh) said that performing a bulk fetch actually performs the fetches in parallel from the data store and you shoudl see requests noticeably faster. Currently I have a few situations where the app performs many fetches from the data store in serially, rather than in bulk, and I believe it is the result of these requests being extremely slow and CPU intensive. Where possible, I put into place as much bulk fetches as I can but I'm a little stuck in a few places. I'm basing the fetch latency on today's numbers -- http://code.google.com/status/appengine/detail/datastore/2010/04/19. Anomalies aside, It looks like the get latency somewhere between 80ms and 160ms, let's spit difference and just say that it's 120 milliseconds. Additionally, the query latency is somewhere between 250ms and 500ms. Splitting the difference, that's 375ms. I'm just going to use those numbers as a ballpark estimate for fetching multiple entities from the data store, feel free to correct me if any of my reasoning is flawed or incorrect. The figures shown by the status site seem to be on the high side at the moment - they represent worst cases. In my own apps, gets are observed to be more on the order of 10-20ms, while queries vary widely depending on returned data, but average about 100-300ms. Example 1: http://imagepaste.nullnetwork.net/viewimage.php?id=830 Given the above example, I'm assuming that if I performed an ancestor query with Foo(A) as the ancestor it would effectively bulk-fetch the entire entity group. I could then use the result of that query to get the data I need. That would make the fetch from the datastore one query, 375 milliseconds versus (7entities * 160ms) or 1120ms. So long as you need 3 or more entities (3 * 160) it would stand to reason that you're just better off just fetching the whole thing. In some simple tests I did, that seemed to be the case, the query approach was faster, and that's great if you know everything is in the same entity group. Example 2: http://imagepaste.nullnetwork.net/viewimage.php?id=831 Given the above example, none of the entities are in the same entity group, but I would want to try to perform bulk fetches wherever possible. I would first fetch Foo(A). I would then see that it has two key properties pointing to Bar(B) and Bar(C), perform a fetch of those two entities at once. Finally, I would see that Bar(B) and Bar(C) each reference two more entities -- Baz(D), Baz(E), Baz(F), and Baz(G) for a total of four. In the worst case, I would fetch each entity individually taking, once again, 1120ms. In the best case and I perform 3 fetches, (fetch A first, then fetch B and C, then lastly fetch D, E, F, and G), it would be more in the neighborhood of 480 milliseconds. It's still an improvement over fetching each entity individually, but not much. Very similar to this is the 'referenceproperty prefetching' pattern - see http://blog.notdot.net/2010/01/ReferenceProperty-prefetching-in-App-Engine http://blog.notdot.net/2010/01/ReferenceProperty-prefetching-in-App-Engine So I was thinking of ways to improve this, the second example in particular, because I have a few places in my app where that exact thing is happening. Right now it's actually implemented with individual fetches, but it backed by memcache in many circumstances so that definitely helps. So given that, here's my questions... - When serializing the objects, would it be worthwhile adding some sort of metadata in the entity that would tell me what other entities it references (either directly or indirectly) so that I could fetch the whole thing with one or two API calls? I was thinking that an entity could have child entities with all the keys it references directly or indirectly. This would be a huge pain to implement, and I'm not sure it would make a noticeable performance boost. Certainly, if you experience serial gets as a significant problem that isn't solved with simple prefetching, this could be worth doing. I would avoid using child entities, however, and simply have a list of keys instead. - Is there something under the covers of the API that actually makes more
[google-appengine] The API call mail.Send() required more quota than is available.
Hi, I am using free google app engine service. I am trying to use queue to send mail as background process. But queue is able to send mail to only 11 email-ids and then it raise exception as like given below OverQuotaError: The API call mail.Send() required more quota than is available. -- 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: System Performance
Thanks, I found my issues. App Engine Utilities had grown the session database store to over 5000 records. It appears the code is not optimized for lots of sessions. I deleted all of the records and my app is running fast again. Thanks On Apr 19, 10:57 pm, Ray Malone rayish...@gmail.com wrote: I have code that is running poorly all of a sudden today. Normally it runs well, i've listed the normal and the current stats below. But 2 our of 3 today are running like this 200 22765ms 22234cpu_ms 18617api_cpu_ms With no other activity on the app I can refresh the page and 2 out of 3 run pooryly and the 1 out of 3 runs within normal ranges. I know it's not my app. I'm about to see some spike in my app's usage and random Deadline Exceeded errors and other random errors don't look good on my part. I'm also getting deadline exceeded errors and random odd errors like The API call user.CreateLoginURL() was explicitly cancelled. Normal 200 16957ms 2750cpu_ms 1291api_cpu_ms Currently: 200 22765ms 22234cpu_ms 18617api_cpu_ms -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: Google IO Tickets
Hi, I missed to purchase in time. I'm looking for 2 tickets. Is there anyone else that has 1 or 2 tickets left? Is transferring/selling of tickets allowed by google? ..fredrik On 20 apr 2010, at 04.18, Kimchy wrote: I unfortunately will not be able to attend the Google IO event due to unforeseen circumstances and have to sadly put my Google IO ticket up for sale on eBay if you are interested. http://bit.ly/bS14xR Regards, Kim On Mar 30, 5:17 pm, Koen Bok k...@madebysofa.com wrote: Sorry to ask for this here, but we decided we wanted to go to Google IO last week and are looking for two tickets. Anyone knows a way to still get them? We have a pretty big AppEngine project (enstore.com) and we would hate to miss out on this :-/ -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- 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: Python Documentation Missing?
Great... Thanks guys. Also in the process of explaining the the datastore problem, I figured it out. I wasn't correclty mapping my form to the instance and creating new/rogue entries with every edit. Assign new references to those rogue elements and chaos ensues. Joe On Tue, Apr 20, 2010 at 3:59 AM, Stephen sdea...@gmail.com wrote: On Apr 20, 3:17 am, Monteith, Tracy tr...@s3-systems.com wrote: I was aware of that page but was looking for some more detailed API documentation for example: PyDocs for google.appengine.ext.db. http://code.google.com/appengine/docs/python/datastore/functions.html The google.appengine.ext.db package provides the following functions: create_rpc(deadline=None, callback=None, read_policy=STRONG_CONSISTENCY) ... -- 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: The API call mail.Send() required more quota than is available.
On Apr 20, 10:01 am, suri suresh1d...@gmail.com wrote: Hi, I am using free google app engine service. I am trying to use queue to send mail as background process. But queue is able to send mail to only 11 email-ids and then it raise exception as like given below OverQuotaError: The API call mail.Send() required more quota than is available. You'll probably need to make your queue run more slowly if you want to stay within the free quota. You're limited to 8 recipients per minute; enabling billing will increase that to 5,100 per minute. -- 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] will GAE support private cloud?
just like Amazon, custom can control his own resource, especially database. in fact the most important thing is database in GAE, say I have an app deployed on GAE, then all customers' information will be saved in 'my' database, and I have full control on customers data, a lot of customers will complain that, so I'm wondering wether GAE will support private cloud, for example, for each customer domain, my app will save data to a database that customer has full control, but I have no control, is it possible? -- 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: will GAE support private cloud?
On Apr 20, 11:37 am, disorderdev disorder...@gmail.com wrote: just like Amazon, custom can control his own resource, especially database. in fact the most important thing is database in GAE, say I have an app deployed on GAE, then all customers' information will be saved in 'my' database, and I have full control on customers data, a lot of customers will complain that, so I'm wondering wether GAE will support private cloud, for example, for each customer domain, my app will save data to a database that customer has full control, but I have no control, is it possible? You can sell your code to the customer and have them deploy it to an application instance you're not an admin of. Of course, this still requires your customer to either review all of the code or trust you not to build backdoors into it, so your hypothetical paranoid customer might still be unhappy. -- 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: Comcast not accepting outgoing emails
I have resolved my problem with comcast.net and other hosts. It was NOT the underscore issue. It was (you guessed it) my SPF record. The _correct_ SPF entry for AppEngine apps that use a custom domain and send mail is; v=spf1 include:aspmx.googlemail.com ~all There are a number of discussions in this group that point to a Google Apps Admin Help page that shows SPF entry that looks like this: v=spf1 include:_spf.google.com ~all That is NOT a correct entry. When I removed that entry and added the one above, the issue resolved itself. If found the correct entry by examining tweetdeck.com's DNS records. The are heavy users on AppEngine's mail service, so I figured that they would have it right, and they did. Thank you tweetdeck. The underscore issue is still a real issue, but is was not my issue. On Apr 19, 11:05 am, emur...@conceptuamath.com emur...@conceptuamath.com wrote: I've added a separate issue for the fact that the reply-address has an illegal character that causes some email host to reject the email. it issue number 3114. Please Star this issue and add a comment so it get's attention. Ed On Apr 19, 9:12 am, Jody Belka j...@jj79.org wrote: There is indeed a serious. Google is including an _ as part of a dns label in (I assume) the return path. An _ is not valid as part of a dns label. The only valid things are letters, numbers, and a dash (-). This is something that Google should urgently fix, as any servers that check the return path for validity will reject mail. On 19 April 2010 15:38, Mabuse stefan.urban...@web.de wrote: Hello, I've the same issue. The german mail provider web.de rejects all mails from the app engine. It seems there is a syntax error in the mail header. See: http://code.google.com/p/googleappengine/issues/detail?id=1800#c15 It's an blocker for serious apps with GAE. -- 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 athttp://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Datastore Viewer + lists?
Any responses? Still puzzled by this! Thanks Gemma On Apr 18, 8:07 pm, gemma gemmasilv...@googlemail.com wrote: Hello chaps I have a persistent class which has aListString which is marked @Persistent. I get no errors when persisting/updating the object in thedatastore, but the localdatastoreviewer shows nothing in the column which corresponds to theListString field. Is this normal, or is something (silently) going wrong? Thanks! gemma -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Receiving email problem
I am writing an app that is supposed to receive emails in this form: addcontact.some...@my-app.appspotmail.com (some_id will be an alphanumeric id that I generate) I have this in my web.xml thinking it would catch emails that start with addcontact servlet servlet-nameaddNewContactServlet/servlet-name servlet-classcom.mycompany.server.AddNewContactServlet/servlet- class /servlet servlet-mapping servlet-nameaddNewContactServlet/servlet-name url-pattern/_ah/mail/addcontact*/url-pattern /servlet-mapping However, both on my dev machine and on google's servers email is not received. On the dev machine I get this message (I get a similar error in the deployed log) Message send failure HTTP ERROR 404 Problem accessing /_ah/mail/ addcontact.z1vnq3p2bvtfsuzbxg13sfon...@myapp.appspotmail.com. Reason: NOT_FOUND Am I not using the wildcard correctly? Can this be done somehow? -- 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] Macro question about getting video conference functionality in a custom Web App
What are you thinking of using the App Engine piece for? You can definitely use it for accounts and chat via XMPP, but you won't be able to use App Engine to stream video. You'll have to go with a peer to peer solution, in which case it doesn't matter that App Engine can't run this library, since you won't have App Engine doing anything with the video streams. App Engine's role will be to match users. On Sun, Apr 18, 2010 at 12:50 PM, Keller keller.rina...@gmail.com wrote: Hi all, I'm working with a few friends to design a desktop client that will have Skype-like functionality (think Chat roulette). We are planning on leveraging the App Engine to build it since we are so much more familiar with web programming anyway, then we're going to package it as a desktop client using Adobe Air. In general, I am trying to get a sense for the easiest and fastest ways to build XMPP chat and video functionality into an App Engine app. I would really appreciate any ideas you guys might be able to throw our way. I've looked at libjingle (Google's videoconfereincing code), but am worried about how hard it will be to plug it into the App engine considering the fact that libjingle is C++. Is there some other kind of plug-in or add-on that would give us the ability to set up video conferences in a web app? Thanks very much for your help! Keller -- 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 Relations, Google App Engine Twitter: http://twitter.com/ikai Delicious: http://delicious.com/ikailan Google App Engine links: 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] Problem with Google App Email and Google App Engine
Is your new address an administrator on your App Engine app? What's your application ID and email you are using? On Mon, Apr 19, 2010 at 7:23 AM, d3f3nd3r d3f3n...@d3f3nd3r.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hallo, I'm using Google Apps for my domain and added an email address to Google Apps. I changed the email address of my Google Account (which is connected with Google App Engine) to my new Google Apps powered email. Every Google Service works fine with the new email, but when I try to update an app of my Google Account, App Engine says I don't have the permissions to modify the app: Application: gaeapp123; version: 1. Server: appengine.google.com. Scanning files on local disk. Scanned 500 files. Scanned 1000 files. Initiating update. Password for d3f3n...@d3f3nd3r.com: Error 403: --- begin server output --- You do not have permission to modify this app (app_id=u'gaeapp123'). - --- end server output --- Any ideas? Thanks -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJLzGdVAAoJECGFYnroAHFZVPcP/A1f5TUjadIZ6/ls7YNuxLHk YuRs7+eaf60WkZNADSMdMNMPDTr51ML4GukegRgjnR5XMVoaxgoErBwgTmoRTNtF gJiwIAUmHxtw7gkWSFoHIrjroeOa3FQweoFLCqgCP/hJS5P8O+KN2J8mq3N0sAz0 W3KVvRtId2khguZWKwCS0fc4p+ollY1LnHFd9ulyLMO02r8MhgqA9nQ2C8mtoVp7 0eOzQFD4ZXLZ/EBjDzJhTWcTqi1d65xNPcsfyXw98s6Le6PtchsRYmCfiAGWB5FE qD6J7z0dCz6GLHeeraV3LrhI0+HjYZOUcW0KkMkInoO/np1csRmEgP/kNP9EhNJS NsekYerx0KtpXS9ZpnFbLwUHBV8pASBam9b7lTg7Ula5Pu4XY00Dn+5ow/LWwVUm jsN8QY1HfiT+Y2zPC3FSJcyqN41yuUuBdcOC3tEKSwek7Z5KSij/ed9RoL1suaIW f8pwV/l4avhFF0eNDGFOjdCqSg4IKFGCAIBb+g+2aE0bXFs097HeE54RLBEdr6df 1y7EOWNUHo6Totu8DW98/04HslDeNB0msCu3zm3DSNdk6xqRhz946rn2qFV0n1mV kzVNqGz2aZobYI7KOHDzyHhAnCi6723Wma/z9BpPOXJzg4lFWJaIKidOEOsNX6UK 76m66AwO0Ndb0eCpuZt1 =/9z8 -END PGP SIGNATURE- -- 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 Relations, Google App Engine Twitter: http://twitter.com/ikai Delicious: http://delicious.com/ikailan Google App Engine links: 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] I can't update my applications
What's your app ID and old/new emails? On Sun, Apr 18, 2010 at 4:05 PM, y...@8-89.com y...@8-89.com wrote: I changed my email. now I can't update my applications and create application. -- 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 Relations, Google App Engine Twitter: http://twitter.com/ikai Delicious: http://delicious.com/ikailan Google App Engine links: 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] is it possible to use stored records with JDO from another own applications.
You will not be able to access another application's datastore. You'll have to build a REST or XMPP API for it. Is there a reason you have two applications instead of just one? On Mon, Apr 19, 2010 at 7:09 PM, mimogon tatsuya.miya...@gmail.com wrote: Hello All. I would like to know How to handle BIGTABLE records with JDO from another own application. Both application are own my account. i could not find the way in official GAE documentation. if you have a time to help me, please tell me solutions or URL. I'm sorry about my poor English skill. Must be need your imagination what I want to say. Am I making a sense? I hope you understand what i wanna say... -- 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 Relations, Google App Engine Twitter: http://twitter.com/ikai Delicious: http://delicious.com/ikailan Google App Engine links: 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] Stuck indexes.
Your indexes are likely stuck because you have hit/exceeded the 100 index limit. You can either increase this number to 200 by enabling billing, or delete unused indexes. I've gone ahead and moved your indexes into error status. Go ahead and run vacuum_indexes on them. On Mon, Apr 19, 2010 at 11:18 AM, SiDen siden...@gmail.com wrote: Hi all, I have a problem, there are few indexes in my GAE application in frozen state (building). They have beed building few days already. Can you drop them or help somehow with it? Application name: sidentdv Thank you. -- 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 Relations, Google App Engine Twitter: http://twitter.com/ikai Delicious: http://delicious.com/ikailan Google App Engine links: 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] java.io.IOException: Error posting to URL: http://appengine.google.com/api/appversion/create?app_id=9905107version=1
This application doesn't exist. Do you see it in your admin console? Perhaps there is a typo. I'm looking at application with id: 9905107 On Tue, Apr 20, 2010 at 4:59 AM, Roshni Basu roshni...@gmail.com wrote: I had an app engine id which i had got long time back . Now i tried using the same id for deploying a new application to appengine. This did not work. I'm getting the following exception: java.io.IOException: Error posting to URL: http://appengine.google.com/api/appversion/create?app_id=xxversion=1; 404 Not Found This application does not exist (app_id=u'xx'). -- 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 Relations, Google App Engine Twitter: http://twitter.com/ikai Delicious: http://delicious.com/ikailan Google App Engine links: 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: Project name availability
On Apr 20, 7:44 am, Juan González wrote: i'm not from Google, but from my experience that's not the case, they are independent (for example, while there's a project on code.google.com for datanucleus-appengine there is nohttp://datanucleus-appengine.appspot.com/) Well, if I go to https://appengine.google.com/start/createapp and check its availability, I get Sorry, 'datanucleus-appengine' is not available. Which is quite a good clue ;-) That seems sensible, but then, how could we use this name if we are the project owner on Google Code? Thanks all for your response. Regards, -- Florent Georges http://fgeorges.org -- 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] Chat Time transcript for April 7, 2010
The high-level summary and complete transcript of the April 7th edition of the IRC office hours is pasted below. Please join us on the first and third Wednesday of every month in the #appengine channel on irc.freenode.net. On the first Wednesday, we meet in the channel from 7:00-8:00 p.m. PST (evening hours), and on the third Wednesday (e.g. TOMORROW, 4/21), we're available from 9:00-10:00 a.m. PST (morning hours). - Jason --SUMMARY--- - Discussion of existing App Engine-compatible OpenID libraries and forthcoming built-in support for OpenID and OAuth [7:03-7:09] - Remember, back up your code or use a secure version control system -- we cannot help you recover your code in the event of corruption or theft, so backup early and often. Also, see http://stackoverflow.com/questions/2479087/can-i-restore-my-source-code-that-has-been-uploaded-into. [7:11-7:16] - Q: Is it feasible to push every write to the task queue instead of making the user wait for the write to complete inside a handler? A: While this should work, there are two things to keep in mind: 1) the number of task insertions is currently limited to 1M per day -- if you make more than one million writes each day, this solution will fail. 2) Tasks don't necessarily run in the order they were inserted; e.g. if a task fails and has to be re-tried, it's possible that a newer task will be processed ahead of it. Thus, you'll want to version your entities so you don't mistakenly overwrite new data with old data. [7:18-7:19, 7:21, 7:58-7:59] - Discussion on IDE/editor preference [7:21, 7:23, 7:24] - Discussion on paging using cursors and the inherent challenges of paging backwards when entities are consistently being inserted [7:24-7:30] - Q: Should I be concerned if I see a red or cold caution sign in the Admin Console indicating that CPU usage for a particular handler is high? A: In general, no. These symbols are present to show you which handlers are using the most CPU and to help point out which handlers you should optimize, but the quotas page is the definitive source on resource usage. Keep in mind that enabling billing for your application automatically boosts a lot of your quotas, regardless of whether you actually exceed any of the billable quotas. [7:31-7:35] - Discussion on SSL support, ETAs on SSL for custom domains, and a potential SSL bug affecting non-default versions of an app. [7:39-7:40] - Q: Are sessions supported in Python? A: Sessions aren't supported directly by the webapp framework, but you can build your own implementation fairly easily using cookies and memcache/datastore. [7:49, 7:51-7:53] - Q: Are keys-only queries a good way to get a simple count on the number of entities matching a query? A: Depending on your queries, this may be the only effective method. In general, we prefer pre- computation when possible -- if you have a limited number of known queries, you can just increment a counter when a new entity is written or updated. For systems where the set of possible queries is large and/ or unknown, then performing a keys-only query is a reasonable solution. Be sure to cache the result so you don't have to continually execute this query for every request. Also, remember the datastore statistics API is available if you need a straight count of every entity in your datastore or of every entity of a particular kind. [7:50-7:52, 7:54-7:59, 8:03] --FULL TRANSCRIPT--- [7:00pm] apijason_google: Good evening (or morning as the case may be)! I and a few other App Engine engineers will be here for the next hour to answer your questions, so fire away. [7:01pm] chilts: sweet, didn't realise it was now [7:01pm] chilts: (not that I have a question) [7:02pm] apijason_google: Well, just in case you have one later. [7:03pm] chilts: apijason_google: any idea if Google are working on patching the python-openid library to make it Google Apps compatible (ie. does the host-meta discovery method)? [7:04pm] chilts: it would be good so Python people on AppEngine can start doing Marketplace apps more easily for _all_ Google Apps Enterprise customers [7:04pm] AreEmmKay: I saw a commit on AEOID about that [7:04pm] • chilts goes to check it out [7:05pm] AreEmmKay: http://github.com/Arachnid/aeoid Add preliminary support for Google Apps openid [7:05pm] chilts: I did see Nick's post about putting an /openid page on your site, but that would be much better [7:05pm] chilts: ah, March 13th [7:05pm] chilts: cool, thanks AreEmmKay [7:05pm] AreEmmKay: np [7:06pm] apijason_google: I'm not positive on the implementation details, but OpenID enhancements will be added in a future release. I don't know if you caught the Built-in support for OAuth OpenID item in our latest product roadmap. [7:06pm] chilts: saw that on the roadmap yeah [7:06pm] chilts: can't wait [7:06pm] molson: Trying to view a specific class in my datastore via the datastore
[google-appengine] stuck in loop, deploying
i've deployed and am getting messages rolling back, to keep waiting: Will check again in 16 seconds. Checking if new version is ready to serve. Will check again in 32 seconds. Checking if new version is ready to serve. Will check again in 60 seconds. Checking if new version is ready to serve. Will check again in 60 seconds. Checking if new version is ready to serve. Will check again in 60 seconds. Checking if new version is ready to serve. Will check again in 60 seconds. Checking if new version is ready to serve. Will check again in 60 seconds. Checking if new version is ready to serve. Will check again in 60 seconds. anyone know how to unstick? - martin - id: xinbox-crm -- 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: stuck in loop, deploying
Same problem here also reported in the Java forum On Apr 20, 3:00 pm, martinfcasey martinfca...@gmail.com wrote: i've deployed and am getting messages rolling back, to keep waiting: Will check again in 16 seconds. Checking if new version is ready to serve. Will check again in 32 seconds. Checking if new version is ready to serve. Will check again in 60 seconds. Checking if new version is ready to serve. Will check again in 60 seconds. Checking if new version is ready to serve. Will check again in 60 seconds. Checking if new version is ready to serve. Will check again in 60 seconds. Checking if new version is ready to serve. Will check again in 60 seconds. Checking if new version is ready to serve. Will check again in 60 seconds. anyone know how to unstick? - martin - id: xinbox-crm -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: stuck in loop, deploying
I'm experiencing exactly the same problem. On Apr 21, 12:00 am, martinfcasey martinfca...@gmail.com wrote: i've deployed and am getting messages rolling back, to keep waiting: Will check again in 16 seconds. Checking if new version is ready to serve. Will check again in 32 seconds. Checking if new version is ready to serve. Will check again in 60 seconds. Checking if new version is ready to serve. Will check again in 60 seconds. Checking if new version is ready to serve. Will check again in 60 seconds. Checking if new version is ready to serve. Will check again in 60 seconds. Checking if new version is ready to serve. Will check again in 60 seconds. Checking if new version is ready to serve. Will check again in 60 seconds. anyone know how to unstick? - martin - id: xinbox-crm -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Having trouble updating my app
Hi, I am running appcfg.py and the credentials are correct. It seems to have uploaded the new files but continuously is stuck with the message Checking if new version is ready to serve. Will check again in 60 seconds. Can you help on this? Thank you for your hard work on App Engine. Application: thevinci88; version: 4. Server: appengine.google.com. Scanning files on local disk. Initiating update. Cloning 12 static files. Cloning 49 application files. Uploading 1 files and blobs. Uploaded 1 files and blobs Deploying new version. Checking if new version is ready to serve. Will check again in 1 seconds. Checking if new version is ready to serve. Will check again in 2 seconds. Checking if new version is ready to serve. Will check again in 4 seconds. Checking if new version is ready to serve. Will check again in 8 seconds. Checking if new version is ready to serve. Will check again in 16 seconds. Checking if new version is ready to serve. Will check again in 32 seconds. Checking if new version is ready to serve. Will check again in 60 seconds. Checking if new version is ready to serve. Will check again in 60 seconds. Checking if new version is ready to serve. Will check again in 60 seconds. Checking if new version is ready to serve. Will check again in 60 seconds. Checking if new version is ready to serve. Will check again in 60 seconds. Checking if new version is ready to serve. Will check again in 60 seconds. ... ... ... Will -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Calculating datastore usage per user of app
Hi, i'd like to implement user-based quotas in my app, something like 100 mb per user, for example. Are there any good methods for going about this? Each of my persisted objects have a userid field. So, optimally I'd like a means of asking How much datastorage space is user xxx currently using? I'd also like to know per-user the blob storage. (My app will be on the Google App Marketplace.) I'm not 100% familar with AppEngine's functionality so if this functionality is described somewhere already a link will suffice. Thanks -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: stuck in loop, deploying
I have the same problem. After awhile it does this: 2010-04-20 15:05:02,479 WARNING appcfg.py:1428 Version still not ready to serve, aborting. 2010-04-20 15:05:02,479 ERROR appcfg.py:1568 An unexpected error occurred. Aborting. Traceback (most recent call last): File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py, line 1557, in DoUpload self.Commit() File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py, line 1429, in Commit raise Exception('Version not ready.') Exception: Version not ready. Rolling back the update. Traceback (most recent call last): File /usr/local/bin/appcfg.py, line 68, in module run_file(__file__, globals()) File /usr/local/bin/appcfg.py, line 64, in run_file execfile(script_path, globals_) File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py, line 2709, in module main(sys.argv) File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py, line 2700, in main result = AppCfgApp(argv).Run() File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py, line 1763, in Run self.action(self) File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py, line 2580, in __call__ return method() File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py, line 2070, in Update lambda path: open(os.path.join(basepath, path), 'rb')) File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py, line 1557, in DoUpload self.Commit() File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py, line 1429, in Commit raise Exception('Version not ready.') Exception: Version not ready. On Apr 20, 3:00 pm, martinfcasey martinfca...@gmail.com wrote: i've deployed and am getting messages rolling back, to keep waiting: Will check again in 16 seconds. Checking if new version is ready to serve. Will check again in 32 seconds. Checking if new version is ready to serve. Will check again in 60 seconds. Checking if new version is ready to serve. Will check again in 60 seconds. Checking if new version is ready to serve. Will check again in 60 seconds. Checking if new version is ready to serve. Will check again in 60 seconds. Checking if new version is ready to serve. Will check again in 60 seconds. Checking if new version is ready to serve. Will check again in 60 seconds. anyone know how to unstick? - martin - id: xinbox-crm -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Python script Google Authentication for a GAE Application
That is exactly what I was looking for. In retrospect, looking through the SDK probably should have come sooner. I'll do that in the future. Thank you very much, Nick. On Apr 20, 4:12 am, Nick Johnson (Google) nick.john...@google.com wrote: Hi Michael, The appengine_rpc module from the SDK handles all this:http://code.google.com/p/googleappengine/source/browse/trunk/python/g... http://code.google.com/p/googleappengine/source/browse/trunk/python/g...You can use it directly in your app, and let it take care of authentication to an App Engine application. -Nick Johnson On Mon, Apr 19, 2010 at 9:34 PM, Michael Byrd nerdymcnerdy...@gmail.comwrote: Hi Everyone, I'm having a hard time figuring this out and I'm hoping someone can point me in the right direction for what to read. I've written an appengine app, a servlett, that will accept data from a get request, check if the user is signed in to a google account and then store the data from the request in the datastore (with a User as part of the model). All pretty standard. I'd like for a python script to be able to automate the data input (think returning the results of s...@home) but it's important that the python client be able to authenticate itself via a google account. I'm at a bit of a loss for where to even start... these seem like good places, but I don't even know enough to be sure which, if any, will work: http://code.google.com/apis/accounts/docs/OAuthForInstalledApps.html -- seems like the best shot but they say as a log in for 'one or more google service' which I'm not sure my app counts as.. http://code.google.com/appengine/docs/python/tools/uploadingdata.html -- I think this is not so good as I would have to give every user too lenient permissions for my app I've looked through the gdata source code as well trying to authenticate with a generic service, but I'm not sure if gdata authentication is universal enough to work with an arbitrary appengine app. Ideally if someone can get me started or point me at the correct place that would be great. I'd rather not do this over email or xmpp, but I'm considering those options. Thank you anyone for your help!, Michael -- 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. -- Nick Johnson, Developer Programs Engineer, App Engine Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number: 368047 Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number: 368047 -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: stuck in loop, deploying
Can you guys let us know if this is still happening? We were pushing a backend service, which may have caused deploys to take longer than usual. On Tue, Apr 20, 2010 at 3:06 PM, Will Tran will.leafmed...@gmail.comwrote: I have the same problem. After awhile it does this: 2010-04-20 15:05:02,479 WARNING appcfg.py:1428 Version still not ready to serve, aborting. 2010-04-20 15:05:02,479 ERROR appcfg.py:1568 An unexpected error occurred. Aborting. Traceback (most recent call last): File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py, line 1557, in DoUpload self.Commit() File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py, line 1429, in Commit raise Exception('Version not ready.') Exception: Version not ready. Rolling back the update. Traceback (most recent call last): File /usr/local/bin/appcfg.py, line 68, in module run_file(__file__, globals()) File /usr/local/bin/appcfg.py, line 64, in run_file execfile(script_path, globals_) File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py, line 2709, in module main(sys.argv) File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py, line 2700, in main result = AppCfgApp(argv).Run() File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py, line 1763, in Run self.action(self) File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py, line 2580, in __call__ return method() File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py, line 2070, in Update lambda path: open(os.path.join(basepath, path), 'rb')) File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py, line 1557, in DoUpload self.Commit() File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py, line 1429, in Commit raise Exception('Version not ready.') Exception: Version not ready. On Apr 20, 3:00 pm, martinfcasey martinfca...@gmail.com wrote: i've deployed and am getting messages rolling back, to keep waiting: Will check again in 16 seconds. Checking if new version is ready to serve. Will check again in 32 seconds. Checking if new version is ready to serve. Will check again in 60 seconds. Checking if new version is ready to serve. Will check again in 60 seconds. Checking if new version is ready to serve. Will check again in 60 seconds. Checking if new version is ready to serve. Will check again in 60 seconds. Checking if new version is ready to serve. Will check again in 60 seconds. Checking if new version is ready to serve. Will check again in 60 seconds. anyone know how to unstick? - martin - id: xinbox-crm -- 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 athttp:// groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Relations, Google App Engine Twitter: http://twitter.com/ikai Delicious: http://delicious.com/ikailan Google App Engine links: 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] java.io.IOException: Error posting to URL: http://appengine.google.com/api/appversion/create?app_id=9905107version=1
Yeah my appication id is id: 9905107 and tried with it. I could see it in console. On Wed, Apr 21, 2010 at 1:33 AM, Ikai L (Google) ika...@google.com wrote: This application doesn't exist. Do you see it in your admin console? Perhaps there is a typo. I'm looking at application with id: 9905107 On Tue, Apr 20, 2010 at 4:59 AM, Roshni Basu roshni...@gmail.com wrote: I had an app engine id which i had got long time back . Now i tried using the same id for deploying a new application to appengine. This did not work. I'm getting the following exception: java.io.IOException: Error posting to URL: http://appengine.google.com/api/appversion/create?app_id=xxversion=1; 404 Not Found This application does not exist (app_id=u'xx'). -- 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 Relations, Google App Engine Twitter: http://twitter.com/ikai Delicious: http://delicious.com/ikailan Google App Engine links: 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.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] my domains not work in GAE, 通过GAE安装的域名无法访问了
Yes, your guess is correct, it is because of GFW. Will 2010/4/20 时空之蕊 skzr@gmail.com 以前可以通过自己的域名访问GAE程序,目前在中国大陆无法通过自己的域名访问GAE程序 难道是伟大的GFW? in china now we can't visit my gae(http://cms4gae.appspot.com/) with my domain: http://extjs.cms4g.org but i can visit my domain http://extjs.cms4g.org with a proxy! Why? -- 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] Warning: This request caused a new process to be started for your application
I'm seeing a ton of these warnings today: This request caused a new process to be started for your application, and thus caused your application code to be loaded for the first time. This request may thus take longer and use more CPU than a typical request for your application. This is the first time ever. No code changes. I feel like it might be on the gae side??? [This guy too apparently http://gaengine.blogspot.com/2010/04/new-warning-message-in-logs.html ] -Kyle -- 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] Access from China on and off again
Access from China to yourapp.appspot.com is on and off again since yesterday, seemingly because google started to rotate one server, 74.125.127.141, which is blocked by GFW, behind its DNS cluster serving China. Access to www.yourdomain.com has been denied in China for a long time. Can Google support team here pass the message to the appropriate unit? If not, where can I raise the issue to? Thanks, Will -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Inbound emails on own domain
You'll need to setup your domain to forward the relevant emails to your appspotmail.com address. On Apr 20, 7:42 pm, akakunin akaku...@gmail.com wrote: Hi! I'mcurrently testing inbound email handling and may process emails sent to some email like u...@appid..appspotmail.com In case I will use my own domain name for this application (so, web UI will be available atwww.mydomain.com) - will I be able to handle emails sent to u...@mydomain.com? Should I do any settings for it in Google Apps account (used for managing mydomain.com)? Thanks for 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 athttp://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] java.io.IOException: Error posting to URL: http://appengine.google.com/api/appversion/create?app_id=9905107version=1
How to solve this issue? On Wed, Apr 21, 2010 at 8:10 AM, Roshni Basu roshni...@gmail.com wrote: Yeah my appication id is id: 9905107 and tried with it. I could see it in console. On Wed, Apr 21, 2010 at 1:33 AM, Ikai L (Google) ika...@google.comwrote: This application doesn't exist. Do you see it in your admin console? Perhaps there is a typo. I'm looking at application with id: 9905107 On Tue, Apr 20, 2010 at 4:59 AM, Roshni Basu roshni...@gmail.com wrote: I had an app engine id which i had got long time back . Now i tried using the same id for deploying a new application to appengine. This did not work. I'm getting the following exception: java.io.IOException: Error posting to URL: http://appengine.google.com/api/appversion/create?app_id=xxversion=1; 404 Not Found This application does not exist (app_id=u'xx'). -- 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 Relations, Google App Engine Twitter: http://twitter.com/ikai Delicious: http://delicious.com/ikailan Google App Engine links: 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.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: Sign in to Google App Engine Programmatically
Does anyone know if it's possible to do this? I am also trying to create Google App Engine ID programmatically. On Apr 19, 10:22 pm, Joe form.manager.tes...@gmail.com wrote: Hi, I'm trying to log in to Google App Engine with my Google Account, and I was wondering if it's possible to do this programmatically. I want to retrieve all the App ID that I have in Google App Engine (https://appengine.google.com/) through my application (written in Java). What kind of authentication would be needed to do this? Can I use ClientLogin for this? 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 athttp://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: The API call mail.Send() required more quota than is available.
Thanks Wooble for reply, actually I made speed to 1/m but then also it raised same exception On Apr 20, 8:37 pm, Wooble geoffsp...@gmail.com wrote: On Apr 20, 10:01 am, suri suresh1d...@gmail.com wrote: Hi, I am using free google app engine service. I am trying to use queue to send mail as background process. But queue is able to send mail to only 11 email-ids and then it raise exception as like given below OverQuotaError: The API call mail.Send() required more quota than is available. You'll probably need to make your queue run more slowly if you want to stay within the free quota. You're limited to 8 recipients per minute; enabling billing will increase that to 5,100 per minute. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] impersonation in task queue
In my application i need to send mail to more than 1000 people,so for this i used task queue.but now my problem is other than admin no one can send mail from my application. the errror ' unauthorised sender ' is raising. Even the person who is in that application also is not able to send mails.pls help me out. -- 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] Inbound emails on own domain
ok, you could read this blog , some summary here: http://www.hapeblog.com/blog.shtml?id=20001 On Wed, Apr 21, 2010 at 7:42 AM, akakunin akaku...@gmail.com wrote: Hi! I'mcurrently testing inbound email handling and may process emails sent to some email like u...@appid..appspotmail.com In case I will use my own domain name for this application (so, web UI will be available at www.mydomain.com) - will I be able to handle emails sent to u...@mydomain.com? Should I do any settings for it in Google Apps account (used for managing mydomain.com)? Thanks for 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.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: Chat Time transcript for April 7, 2010
BTW, the task queue uses the datastore for tasks that are bigger than 10k or so. (The SDK code tries to add the task queue entry, but that fails for large task queue items, so it stores them in the datastore and then writes a task queue entry that reads from the datastore and deletes what it stored when the task succeeds.) In other words, you can't necessarily use the task queue to avoid making the user wait for datastore writes. On Apr 20, 2:07 pm, Jason (Google) apija...@google.com wrote: The high-level summary and complete transcript of the April 7th edition of the IRC office hours is pasted below. Please join us on the first and third Wednesday of every month in the #appengine channel on irc.freenode.net. On the first Wednesday, we meet in the channel from 7:00-8:00 p.m. PST (evening hours), and on the third Wednesday (e.g. TOMORROW, 4/21), we're available from 9:00-10:00 a.m. PST (morning hours). - Jason --SUMMARY--- - Discussion of existing App Engine-compatible OpenID libraries and forthcoming built-in support for OpenID and OAuth [7:03-7:09] - Remember, back up your code or use a secure version control system -- we cannot help you recover your code in the event of corruption or theft, so backup early and often. Also, seehttp://stackoverflow.com/questions/2479087/can-i-restore-my-source-co [7:11-7:16] - Q: Is it feasible to push every write to the task queue instead of making the user wait for the write to complete inside a handler? A: While this should work, there are two things to keep in mind: 1) the number of task insertions is currently limited to 1M per day -- if you make more than one million writes each day, this solution will fail. -- 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.