Re: [appengine-java] 500 Internal Server Error:Unable to update app: Error posting to URL: https://appengine.google.com/api/appversion/clonefiles?
either do I.. 7 failed retries today On Thu, Dec 16, 2010 at 9:49 PM, Sumi sumi...@gmail.com wrote: I am getting deployed error gaian...this is happening every other day and as big productivity sink...anyone knows what is going on and when this will be resolved? Unable to update app: Error posting to URL: https://appengine.google.com/api/appversion/clonefiles?app_id=Xversion=5; 500 Internal Server Error htmlhead meta http-equiv=content-type content=text/html;charset=utf-8 title500 Server Error/title /head body text=#00 bgcolor=#ff h1Error: Server Error/h1 h2The server encountered an error and could not complete your request.pIf the problem persists, please A HREF= http://code.google.com/appengine/community.html;report/A your problem and mention this error message and the query that caused it./h2 h2/h2 /body/html See the deployment console for more details Unable to update app: Error posting to URL: https://appengine.google.com/api/appversion/clonefiles?app_id=Xversion=5; 500 Internal Server Error htmlhead meta http-equiv=content-type content=text/html;charset=utf-8 title500 Server Error/title /head body text=#00 bgcolor=#ff h1Error: Server Error/h1 h2The server encountered an error and could not complete your request.pIf the problem persists, please A HREF= http://code.google.com/appengine/community.html;report/A your problem and mention this error message and the query that caused it./h2 h2/h2 /body/html -- 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. -- Guit: Elegant, beautiful, modular and *production ready* gwt applications. http://code.google.com/p/guit/ -- 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: process large file in BlobStore?
Hi, I found this great tutorial from Ikai. it explains how to use the Mapper API to import large CSV files from the blob store to the datastore. So it is essentially what I was looking for. Here the link for those who might have the same need: http://ikaisays.com/2010/08/11/using-the-app-engine-mapper-for-bulk-data-import Cheers, Toby On Dec 2, 6:53 pm, Didier Durand durand.did...@gmail.com wrote: Hi, you have to distinguish between a Blob stored in Datastore whose limit is 1 Mbyte and a blob stored in the blobstore whose limit is 2 Gbytes For the blob in the blobstore you access it by chunks via the api: see the byte range inhttp://code.google.com/appengine/docs/java/blobstore/overview.html#Se... To read those chunks, you have to use the BlobstoreInputStream and its read() method. Seehttp://code.googlecom/appengine/docs/java/javadoc/com/google/appengin... regards didier On Dec 2, 6:23 pm, Toby toby.ro...@gmail.com wrote: Hi, I am trying to figure out how to programatically process a file from the BlobStore. It is a CSV file of about 100MB. I read that the limit is 1MB but I have seen in Pyton that it can be read partially (they call it BlobReader). Is this a feature currently not available in Java? Or is there a way I can process this data step by step using the task-queue? Thank you, Toby -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] How to declare transactions type = optimistic
Hello, am developing an GAE java app using gwt and eclipse and wish to know whether all transactions in GAE app are optimistic or you need to define it somewhere? -- 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] Access to Subversion (SVN) from App Engine
Bonjour Didier Durand, Je me permets de vous solliciter via le forum, car je me pose la meme question que vous, comment utiliser SVN et Google App Engine ? Avez-vous de l'expérience de dev, test et prod ? Merci par avance de votre réponse, Maxime Mularz -- 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] Access to Subversion (SVN) from App Engine
Bonjour, Je suis en train de préparer les tests unitaires de SvnKit (c'est la meilleure librairie que j'aie trouvé) en environnement standard Java puis sur Gae: relancez moi dans qq semaines et je pourrais vous dire où j'en suis. Contactez-moi sur mon adresse et je vous donnerai plus de détails sur mon chantier actuel Bonne fin d'année 2010 et bon début 2011 ! didier Didier DURAND durand.did...@gmail.com blog: http://media-tech.blogspot.com Jougne - FR-25370 On Fri, Dec 17, 2010 at 2:10 PM, Maxime Mularz max...@mularz.fr wrote: Bonjour Didier Durand, Je me permets de vous solliciter via le forum, car je me pose la meme question que vous, comment utiliser SVN et Google App Engine ? Avez-vous de l'expérience de dev, test et prod ? Merci par avance de votre réponse, Maxime Mularz -- 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: Cannot resize a .tif image using the ImagesService on the dev app server
I see a post from Nick Johnson of Google on StackOverflow.com dated 6th July 2010 about plug-ins. He said: You're trying to work with 'ico' and 'tif' images. Neither of these are supported on App Engine - only JPG, PNG and GIF. The GAE/J documentation Images Java API Overview at: http://code.google.com/intl/en/appengine/docs/java/images/overview.html#Image_Formats states that: The service accepts image data in the JPEG, PNG, GIF (including animated GIF), BMP, TIFF and ICO formats. Does this GAE/J documentation need to be corrected? On Dec 17, 7:35 am, Ian Marshall ianmarshall...@gmail.com wrote: No ideas, anyone? On Dec 16, 11:59 am, Ian Marshall ianmarshall...@gmail.com wrote: I refer to the related post entitled WARNING: No image reader found for format ico. An ImageIO plugin must be installed to use this format with the DevAppServer. dated 7th June 2009 at: http://groups.google.com/group/google-appengine-java/browse_thread/th... where a query about the dev app server warnings below was raised, but after Jason of Google asked a supplementary question he received no response from the original poster. My web app uploads an image file from a web browser user and then, if the file is larger than around 900kB I use the GAE/J ImagesService to reduce the image data size to this level. An extract of my relevant code is: byte[] baImageSource = [...]; // Data from an uploaded image file int nNewWidth = [...]; // Calculate correct shrinkage int nNewHeight = [...]; // Calculate correct shrinkage Image imgSource = ImagesServiceFactory.makeImage(baImageSource); ImagesService isService = ImagesServiceFactory.getImagesService(); Transform tfrm = ImagesServiceFactory.makeResize(nNewWidth, nNewHeight); Image imgNew = isService.applyTransform(tfrm, imgSource); byte[] baResult = imgNew.getImageData(); // The shrunken image data When I run my ImagesService code on my GAE/J development server ((latest) version 1.4.0) I get the two warnings: 16-Dec-2010 10:40:18 com.google.appengine.api.images.dev.LocalImagesService init WARNING: No image reader found for format ico. An ImageIO plugin must be installed to use this format with the DevAppServer. 16-Dec-2010 10:40:18 com.google.appengine.api.images.dev.LocalImagesService init WARNING: No image reader found for format tif. An ImageIO plugin must be installed to use this format with the DevAppServer. My code runs well for shrinking .jpg files, but when I try this for a .tif file of size 6.11 MB I get an IllegalArgumentException on my call to ImagesService.applyTransform(...). (I set out a stack trace at the foot of this post.) I have a few questions for those interested: · How do I get a tif ImageIO plug-in for the ImagesService ()? · Should this plug-in be supplied with the GAE/J SDK in future releases? · Does this issue apply to the dev app server only (I have not yet deployed this to production)? Cheers, Ian Marshall STACK TRACE WHEN TRANSFORMING A .TIF FILE - java.lang.IllegalArgumentException: Failed to read image at com.google.appengine.api.images.ImagesServiceImpl.convertApplicationException(ImagesServiceImpl.java: 301) at com.google.appengine.api.images.ImagesServiceImpl.applyTransform(ImagesServiceImpl.java: 73) at com.google.appengine.api.images.ImagesServiceImpl.applyTransform(ImagesServiceImpl.java: 50) at com.google.appengine.api.images.ImagesServiceImpl.applyTransform(ImagesServiceImpl.java: 39) at [my package path].business.MiscellaneousBusiness.compressImage(MiscellaneousBusiness.java: 311) at [my package path].business.MiscellaneousBusiness.compressImage(MiscellaneousBusiness.java: 236) at [my package path].wicket.stuff.MyPage$5.onSubmit(MyPage.java:1348) at org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java: 1561) at org.apache.wicket.markup.html.form.Form.process(Form.java:958) at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java: 920) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.appengine.tools.development.agent.runtime.Runtime.invoke(Runtime.java: 100) at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java: 182) at org.apache.wicket.request.target.component.listener.ListenerInterfaceRequestTarget.processEvents(ListenerInterfaceRequestTarget.java: 73) at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java: 92) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java: 1250) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436) at
[appengine-java] Re: How to declare transactions type = optimistic
Hi, Everything is detailled here: http://code.google.com/appengine/docs/java/datastore/transactions.html#Isolation_and_Consistency I also deeply recommend this article: http://code.google.com/appengine/articles/transaction_isolation.html regards didier On Dec 17, 1:19 pm, sagar misal sagar1982mi...@gmail.com wrote: Hello, am developing an GAE java app using gwt and eclipse and wish to know whether all transactions in GAE app are optimistic or you need to define it somewhere? -- 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] JSP runtime errors in Eclipse plugin
When I run my project using the eclipse plugin (g Web Application) I don't get any JSP runtime errors. If there is an NPE all I get is: HTTP ERROR 500 Problem accessing /. Reason: INTERNAL_SERVER_ERROR Powered by Jetty:// Is there a setting that I can allow JSP errors to show on the error page? -- 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: Channel API problem
The Channel API is working for me, but I don't see anything you are doing wrong in your code. Here is a link to another discussion containing the code that worked for me https://groups.google.com/d/topic/google-appengine-java/GfJQsf8OQ0I/discussion On Dec 16, 5:26 am, Tarun tarun.chha...@gmail.com wrote: I have been trying to use the newly launched Channel API on SDK 1.4 in my project. I try to push a message to client which actually pops up a notification but I am getting the ChannelFailureException. Here is the code: TestServlet Where the token is created: public void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { PrintWriter out = resp.getWriter(); resp.setContentType(text/html); // Creating the userID on the basis of the session id String userId = req.getSession().getId(); // Starting the ChannelService of the channel API ChannelService channelService = ChannelServiceFactory .getChannelService(); // Creating the client token String token = channelService.createChannel(userId); req.getSession().setAttribute(token, token); out.println(html); out.println(head); out.println(titleThis is a servlet which will be used to try the new Channel API/title); out.println(/head); out.println(body); out.println(a href=\/ChannelAPI.jsp\Click Here/a to recieve a notification on the next page using channel API); out.println(/body); } } Channel API.jsp script channel = new goog.appengine.Channel('%= userId%'); socket = channel.open(); //socket.onopen = onOpened; socket.onmessage = onMessage; socket.onerror = onError; socket.onclose = onClose; onMessage = function (message){ $.pnotify({ pnotify_title: 'Regular Notice', pnotify_text: message.data }); }; onError = function (description,code){ $.pnotify({ pnotify_title: 'Uh Oh!', pnotify_text: 'something went wrong', pnotify_type: 'error', pnotify_hide: false }); }; /script Send Message servlet: public void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { String userId = (String) req.getSession().getAttribute(token); ChannelService channelService = ChannelServiceFactory.getChannelService(); channelService.sendMessage(new ChannelMessage(userId, This is the message that has been sent)); } } The stack trace I got Uncaught exception from servlet com.google.appengine.api.channel.ChannelFailureException: An unexpected error occurred. at com.google.appengine.api.channel.ChannelServiceImpl.sendMessage(ChannelServ iceImpl.java: 59) Can you tell me if there is something wrong with the code or with the Channel API? Thanks in advance, Tarun -- 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] App Engine Channel API - Cant send messages
Hi i want to use the channel api but everytime i try to send a message, i just get these exception: [ERROR] javax.servlet.ServletContext log: Exception while dispatching incoming RPC call com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract void de.dhbw.channeltest.client.GreetingService.greetServer(java.lang.String)' threw an unexpected exception: com.google.appengine.api.channel.ChannelFailureException: An unexpected error occurred. at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:378) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:581) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:207) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:243) at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) 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:58) 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.content(HttpConnection.java:938) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218) 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) Caused by: com.google.appengine.api.channel.ChannelFailureException: An unexpected error occurred. at com.google.appengine.api.channel.ChannelServiceImpl.sendMessage(ChannelServiceImpl.java:59) at de.dhbw.channeltest.server.GreetingServiceImpl.greetServer(GreetingServiceImpl.java:27) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.appengine.tools.development.agent.runtime.Runtime.invoke(Runtime.java:100) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:562) ... 30 more Caused by: com.google.apphosting.api.ApiProxy$ApplicationException: ApplicationError: 2: at com.google.appengine.api.channel.dev.LocalChannelService.sendChannelMessage(LocalChannelService.java:91) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.appengine.tools.development.ApiProxyLocalImpl$AsyncApiCall.callInternal(ApiProxyLocalImpl.java:387) at com.google.appengine.tools.development.ApiProxyLocalImpl$AsyncApiCall.call(ApiProxyLocalImpl.java:353) at com.google.appengine.tools.development.ApiProxyLocalImpl$AsyncApiCall.call(ApiProxyLocalImpl.java:332) at java.util.concurrent.Executors$PrivilegedCallable$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.util.concurrent.Executors$PrivilegedCallable.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at
Re: [appengine-java] Channel API problem
You're trying to connect with the userId in your script. You need to connect with the token. I made the same mistake the first time :) BTW, here's a collaborative whiteboard demo with the channel API : http://goo.gl/F5rb2 Luis On Thu, Dec 16, 2010 at 3:26 AM, Tarun tarun.chha...@gmail.com wrote: I have been trying to use the newly launched Channel API on SDK 1.4 in my project. I try to push a message to client which actually pops up a notification but I am getting the ChannelFailureException. Here is the code: TestServlet Where the token is created: public void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { PrintWriter out = resp.getWriter(); resp.setContentType(text/html); // Creating the userID on the basis of the session id String userId = req.getSession().getId(); // Starting the ChannelService of the channel API ChannelService channelService = ChannelServiceFactory .getChannelService(); // Creating the client token String token = channelService.createChannel(userId); req.getSession().setAttribute(token, token); out.println(html); out.println(head); out.println(titleThis is a servlet which will be used to try the new Channel API/title); out.println(/head); out.println(body); out.println(a href=\/ChannelAPI.jsp\Click Here/a to recieve a notification on the next page using channel API); out.println(/body); } } Channel API.jsp script channel = new goog.appengine.Channel('%= userId%'); socket = channel.open(); //socket.onopen = onOpened; socket.onmessage = onMessage; socket.onerror = onError; socket.onclose = onClose; onMessage = function (message){ $.pnotify({ pnotify_title: 'Regular Notice', pnotify_text: message.data }); }; onError = function (description,code){ $.pnotify({ pnotify_title: 'Uh Oh!', pnotify_text: 'something went wrong', pnotify_type: 'error', pnotify_hide: false }); }; /script Send Message servlet: public void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { String userId = (String) req.getSession().getAttribute(token); ChannelService channelService = ChannelServiceFactory.getChannelService(); channelService.sendMessage(new ChannelMessage(userId, This is the message that has been sent)); } } The stack trace I got Uncaught exception from servlet com.google.appengine.api.channel.ChannelFailureException: An unexpected error occurred. at com.google.appengine.api.channel.ChannelServiceImpl.sendMessage(ChannelServiceImpl.java: 59) Can you tell me if there is something wrong with the code or with the Channel API? Thanks in advance, Tarun -- 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: JSP compiling fails after upgrade from 1.3.8 to 1.4.0
I had the same issues with two projects after upgrade. If you are using the Eclipse Plugin, this steps may work for you: 1. Right click on Project - Build Path - Configure Build Path. 2. Go to Order and Export tab 3. Move your src folder to top, then put JRE, App Engine SDK, GWT SDK (if applicable) and Junit 4 (if applicable) above, and all other libs above them. After this, your local devserver may work as usual. Best Regards, On 16 dez, 02:57, Chris Keller xyl...@gmail.com wrote: Note that the previous post only applies to my local development environment. I just tried using the new version of the SDK on the production server, and it has no problems. -- 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] BlobstoreService has dependency on HttpServletRequest, my web framework does not
My web framework doesn't give access to the raw servlet request or response objects (stateless). This is obviously making it rather difficult to use the BlobstoreService. Is there any way to get the BlobKeys from a successful upload other than BlobstoreService.getUploadedBlobs? I suppose I could bounce the request off another server using servlets for handling but this is awfully hacky. On the flip side, can I use ByteArrayInputStream to fetch a blob and write it directly to a response without actually calling blobstoreService.serve? I know this isn't efficient, but I do not see a way to get a raw url to the blob meaning I can't access the store from a different server. It's looking like I will have to setup another GAE app to handle file uploads. -- 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: The API call mail.Send() required more quota than is available.
It's to slow down spammers. To have a higher limit, you can enable billing. You'll have up to 5,100 recipients a minute. http://code.google.com/appengine/docs/quotas.html#Mail -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Mon, Dec 13, 2010 at 7:14 PM, Ronald R. DiFrango ron.difra...@gmail.comwrote: I figured this out, even though the recipient quota per day is 2,000, you can not send an email that has more than 8 recipients within a minute. I worked around this by using a mailing list service that emails are sent to instead. Why is there such a low er email recipient total? -- 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: App Engine Channel API - Cant send messages
1. generate id on server and send to client: token = ChannelServiceFactory.getChannelService().createChannel(name); return token; 3. send message (on server) ChannelService cs = ChannelServiceFactory.getChannelService(); ChannelMessage cm = new ChannelMessage(token, message); cs.sendMessage(cm); but then i get the error :/ Any ideas? Thanks :) ChannelMessage cm = new ChannelMessage(token, message); must be ChannelMessage cm = new ChannelMessage(name, message); -- 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: process large file in BlobStore?
Glad it could be of help! I need to free up some time to write some more articles. I've got all these ideas in mind ... -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Fri, Dec 17, 2010 at 12:56 AM, Toby toby.ro...@gmail.com wrote: Hi, I found this great tutorial from Ikai. it explains how to use the Mapper API to import large CSV files from the blob store to the datastore. So it is essentially what I was looking for. Here the link for those who might have the same need: http://ikaisays.com/2010/08/11/using-the-app-engine-mapper-for-bulk-data-import Cheers, Toby On Dec 2, 6:53 pm, Didier Durand durand.did...@gmail.com wrote: Hi, you have to distinguish between a Blob stored in Datastore whose limit is 1 Mbyte and a blob stored in the blobstore whose limit is 2 Gbytes For the blob in the blobstore you access it by chunks via the api: see the byte range inhttp:// code.google.com/appengine/docs/java/blobstore/overview.html#Se... To read those chunks, you have to use the BlobstoreInputStream and its read() method. Seehttp://code.googlecom/appengine/docs/java/javadoc/com/google/appengin... regards didier On Dec 2, 6:23 pm, Toby toby.ro...@gmail.com wrote: Hi, I am trying to figure out how to programatically process a file from the BlobStore. It is a CSV file of about 100MB. I read that the limit is 1MB but I have seen in Pyton that it can be read partially (they call it BlobReader). Is this a feature currently not available in Java? Or is there a way I can process this data step by step using the task-queue? Thank you, Toby -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- 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: The API call mail.Send() required more quota than is available.
Ikai, I do understand that, but 8 seems like a somewhat arbitrary number. My site was just attempting to send an email to my immediate family which easily exceeds that number. And given my actual usage, there is no real reason for me to enable billing. Ron On Fri, Dec 17, 2010 at 12:44 PM, Ikai Lan (Google) ikai.l+gro...@google.com ikai.l%2bgro...@google.com wrote: It's to slow down spammers. To have a higher limit, you can enable billing. You'll have up to 5,100 recipients a minute. http://code.google.com/appengine/docs/quotas.html#Mail -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Mon, Dec 13, 2010 at 7:14 PM, Ronald R. DiFrango ron.difra...@gmail.com wrote: I figured this out, even though the recipient quota per day is 2,000, you can not send an email that has more than 8 recipients within a minute. I worked around this by using a mailing list service that emails are sent to instead. Why is there such a low er email recipient total? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Ron DiFrango http://rdifrango.blogspot.com/ -- 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] Entity relationship designing - best practice
i want to hear the best practice on establishing entity relationships in my case- Example, for sake of discussion:- User Exam Page Question Answer As you can see, from top, each entity has 1 - many relationship with entity immediately beneath it. Interesting case is a User can have any number of Exam and it can *scale* in whatever manner, but a Exam usually will have few Pages, a Page with few Questions, Questions with few Answers I saw this interesting post best practice to persist medium-large datahttp://www.mail-archive.com/google-appengine-java@googlegroups.com/msg06087.html (which is also a answer to this ques) and it made me to design like this: Also i plan to keep each entity in its own entity group, as recommended by AppEngine - totally eliminating Parent relationship, as far as possible class User{ String name; // ListKeyExam exams; NOT a good idea, as this will unnecessarily load bulk amt of Exam keys when i load User ... } So i would use a query to get all Exams created by any User. Fine. But class Exam{ String subject; // With this i can *quickly* retrieve all Pages with keys, but as Exam and Page are not in same Entity Group, // how do i maintain *consistency* when, say, i delete a Page and accordingly remove that Key entry in Exam. // Also as said earlier, no. of pages (hence keys) shouldn't be too high, so dont need to worry abt size ListKeyPage pages; } class Page{ String pageNo. KeyExam exam; // with this i can *only(?)* use query to get all Pages under a Exam, so *unnecessary index scan*[1] ListKeyQuestion questions; } The same extends to Page - Question - Answer [1] Retrieving via Keys are faster than queryinghttp://www.mail-archive.com/google-appengine@googlegroups.com/msg33846.html So what is your recommendation and why? I can suspect that it should be a trade-off between unnecessary loading of keys/extra scan of indices but want to get some thoughts and what about consistency? Thanks much in advance. p.s. though not relevant, most likely i will use low level framework, mainly Objectify.. -- 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: Not sending email with Javamail and no error
Straight zero utilizations means the email api is not accepting your requests rather than the message getting lost in transit. Where the error goes is not obvious due to Issue 1800 I suggest continuing to replace your fields with static values to see which one is not accepted. My gut says to check the character set - UTF-8 works fine for me. Otherwise you may be encountering a known issue with the mail server: http://code.google.com/p/googleappengine/issues/list?can=2q=component%3DMailcolspec=ID+Type+Component+Status+Stars+Summary+Language+Priority+Owner+Logcells=tiles Here is my code, I've embedded it into a queue task and it works thousands of times daily. Message msg = new MimeMessage(session); msg.setFrom(new InternetAddress(fromAddress, fromName)); msg.addRecipient(Message.RecipientType.TO, new InternetAddress( toAddress, toName )); msg.setReplyTo( ADMIN_ADDRESSES ); msg.addHeader( Return-Path , ADMIN_ADDRESS ); if ( bccSupport != null !bccSupport.isEmpty() ) { // only add support bcc if specified msg.addRecipient( Message.RecipientType.BCC, new InternetAddress( bccSupport )); } msg.setSubject(subject); msg.setText( body ); Transport.send(msg); http://code.google.com/p/googleappengine/issues/list?can=2q=component%3DMailcolspec=ID+Type+Component+Status+Stars+Summary+Language+Priority+Owner+Logcells=tiles On Thu, Dec 16, 2010 at 10:01 PM, Moretto mala...@gmail.com wrote: As you see the first time i've deployed my app, 2 email were sent. It appeared at my cota details. Now Could you post your headers details? Mail API Calls 0% 0 of 7,000 Okay Recipients Emailed 0% 0 of 2,000 Okay Admins Emailed 0% 0 of 5,000 Okay Message Body Data Sent 0% 0.00 of 0.06 GBytes Okay Attachments Sent 0% 0 of 2,000 Okay Attachment Data Sent 0% 0.00 of 0.10 GBytes Okay On Dec 17, 2:21 am, A. Stevko andy.ste...@gmail.com wrote: I have much the same code although I set more headers. How about adding yourself as a BCC and/or CC? Also, do you see any utilization in your Quota details - Mail API Calls and Recipients Emailed ? On Thu, Dec 16, 2010 at 8:12 PM, Moretto mala...@gmail.com wrote: Still no messagesand no errors Properties props = new Properties(); Session session = Session.getDefaultInstance(props, null); // UserService userService = UserServiceFactory.getUserService(); //User user = userService.getCurrentUser(); try { Message msg = new MimeMessage(session); //msg.setFrom(new InternetAddress(user.getEmail())); msg.setFrom(new InternetAddress(mala...@gmail.com, [k- share])); msg.addRecipient(Message.RecipientType.TO, new InternetAddress(email, destinatario)); msg.setSubject(titulo); msg.setText(texto); Transport.send(msg); } catch (AddressException e) { e.printStackTrace(); return false; } catch (MessagingException e) { e.printStackTrace(); return false; } catch (Exception e) { e.printStackTrace(); return false; } return true; On Dec 17, 2:03 am, Moretto mala...@gmail.com wrote: can send email messages on behalf of the app's administrators, and on behalf of users with Google Accounts. UserService userService = UserServiceFactory.getUserService(); User user = userService.getCurrentUser(); These two lines of code retrieve the current google user logged in. i'll change it and test. On Dec 17, 1:52 am, A. Stevko andy.ste...@gmail.com wrote: I now recall the conditions... http://code.google.com/appengine/docs/java/mail/overview.html App Engine applications can send email messages on behalf of the app's administrators, and on behalf of users with Google Accounts. On Thu, Dec 16, 2010 at 7:49 PM, A. Stevko andy.ste...@gmail.com wrote: Does the email address used in your From have administrator privileges for your app? msg.setFrom(new InternetAddress(user.getEmail())); I read somewhere that system could only send email from registered email addresses. On Thu, Dec 16, 2010 at 7:13 PM, Moretto mala...@gmail.com wrote: I've changed the code to initialize the Session object passing properties as a parameter. Nothing changed. Still does not send emails and doesnt throws any exception. Ideias?? Properties props = new Properties(); Session session = Session.getDefaultInstance(props, null); UserService userService = UserServiceFactory.getUserService(); User user = userService.getCurrentUser(); try {
[appengine-java] Re: Cannot resize a .tif image using the ImagesService on the dev app server
I can confirm that my testing on the GAE/J dev app server has revealed that its images service can process formats as follows: JPG: Yes PNG: Yes GIF: Yes ICO: No TIFF: No BMP: Yes. Would Google consider updating their images service documentation? Regards, Ian Marshall On Dec 17, 3:43 pm, Ian Marshall ianmarshall...@gmail.com wrote: I see a post from Nick Johnson of Google on StackOverflow.com dated 6th July 2010 about plug-ins. He said: You're trying to work with 'ico' and 'tif' images. Neither of these are supported on App Engine - only JPG, PNG and GIF. The GAE/J documentation Images Java API Overview at: http://code.google.com/intl/en/appengine/docs/java/images/overview.ht... states that: The service accepts image data in the JPEG, PNG, GIF (including animated GIF), BMP, TIFF and ICO formats. Does this GAE/J documentation need to be corrected? On Dec 17, 7:35 am, Ian Marshall ianmarshall...@gmail.com wrote: No ideas, anyone? On Dec 16, 11:59 am, Ian Marshall ianmarshall...@gmail.com wrote: I refer to the related post entitled WARNING: No image reader found for format ico. An ImageIO plugin must be installed to use this format with the DevAppServer. dated 7th June 2009 at: http://groups.google.com/group/google-appengine-java/browse_thread/th... where a query about the dev app server warnings below was raised, but after Jason of Google asked a supplementary question he received no response from the original poster. My web app uploads an image file from a web browser user and then, if the file is larger than around 900kB I use the GAE/J ImagesService to reduce the image data size to this level. An extract of my relevant code is: byte[] baImageSource = [...]; // Data from an uploaded image file int nNewWidth = [...]; // Calculate correct shrinkage int nNewHeight = [...]; // Calculate correct shrinkage Image imgSource = ImagesServiceFactory.makeImage(baImageSource); ImagesService isService = ImagesServiceFactory.getImagesService(); Transform tfrm = ImagesServiceFactory.makeResize(nNewWidth, nNewHeight); Image imgNew = isService.applyTransform(tfrm, imgSource); byte[] baResult = imgNew.getImageData(); // The shrunken image data When I run my ImagesService code on my GAE/J development server ((latest) version 1.4.0) I get the two warnings: 16-Dec-2010 10:40:18 com.google.appengine.api.images.dev.LocalImagesService init WARNING: No image reader found for format ico. An ImageIO plugin must be installed to use this format with the DevAppServer. 16-Dec-2010 10:40:18 com.google.appengine.api.images.dev.LocalImagesService init WARNING: No image reader found for format tif. An ImageIO plugin must be installed to use this format with the DevAppServer. My code runs well for shrinking .jpg files, but when I try this for a .tif file of size 6.11 MB I get an IllegalArgumentException on my call to ImagesService.applyTransform(...). (I set out a stack trace at the foot of this post.) I have a few questions for those interested: · How do I get a tif ImageIO plug-in for the ImagesService ()? · Should this plug-in be supplied with the GAE/J SDK in future releases? · Does this issue apply to the dev app server only (I have not yet deployed this to production)? Cheers, Ian Marshall STACK TRACE WHEN TRANSFORMING A .TIF FILE - java.lang.IllegalArgumentException: Failed to read image at com.google.appengine.api.images.ImagesServiceImpl.convertApplicationException(ImagesServiceImpl.java: 301) at com.google.appengine.api.images.ImagesServiceImpl.applyTransform(ImagesServiceImpl.java: 73) at com.google.appengine.api.images.ImagesServiceImpl.applyTransform(ImagesServiceImpl.java: 50) at com.google.appengine.api.images.ImagesServiceImpl.applyTransform(ImagesServiceImpl.java: 39) at [my package path].business.MiscellaneousBusiness.compressImage(MiscellaneousBusiness.java: 311) at [my package path].business.MiscellaneousBusiness.compressImage(MiscellaneousBusiness.java: 236) at [my package path].wicket.stuff.MyPage$5.onSubmit(MyPage.java:1348) at org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java: 1561) at org.apache.wicket.markup.html.form.Form.process(Form.java:958) at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java: 920) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.appengine.tools.development.agent.runtime.Runtime.invoke(Runtime.java: 100) at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java: 182) at
[appengine-java] Re: App Engine Channel API - Cant send messages
Problem solved :) Thank you ! On Dec 17, 6:46 pm, 9drag...@googlemail.com 9drag...@googlemail.com wrote: 1. generate id on server and send to client: token = ChannelServiceFactory.getChannelService().createChannel(name); return token; 3. send message (on server) ChannelService cs = ChannelServiceFactory.getChannelService(); ChannelMessage cm = new ChannelMessage(token, message); cs.sendMessage(cm); but then i get the error :/ Any ideas? Thanks :) ChannelMessage cm = new ChannelMessage(token, message); must be ChannelMessage cm = new ChannelMessage(name, message); -- 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: The API call mail.Send() required more quota than is available.
8 is fairly arbitrary, but there's always going to be a number that bothers people, be it 10, 20 or 50. You should enable billing. We only charge if you go above the daily free quota, and it raises the rate limit. That means that if you send 10 emails per minute and only do this once a month, you'll never hit this quota limit, and we'll likely not bill you since you'll still be well within our free quota. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Fri, Dec 17, 2010 at 10:28 AM, Ronald R. DiFrango ron.difra...@gmail.com wrote: Ikai, I do understand that, but 8 seems like a somewhat arbitrary number. My site was just attempting to send an email to my immediate family which easily exceeds that number. And given my actual usage, there is no real reason for me to enable billing. Ron On Fri, Dec 17, 2010 at 12:44 PM, Ikai Lan (Google) ikai.l+gro...@google.com ikai.l%2bgro...@google.com wrote: It's to slow down spammers. To have a higher limit, you can enable billing. You'll have up to 5,100 recipients a minute. http://code.google.com/appengine/docs/quotas.html#Mail -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Mon, Dec 13, 2010 at 7:14 PM, Ronald R. DiFrango ron.difra...@gmail.com wrote: I figured this out, even though the recipient quota per day is 2,000, you can not send an email that has more than 8 recipients within a minute. I worked around this by using a mailing list service that emails are sent to instead. Why is there such a low er email recipient total? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Ron DiFrango http://rdifrango.blogspot.com/ -- 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: [appengine-java] Multiple Async get vs one Sync batch get?
Interesting results! I've run similar tests with writes (put and delete) and my results indicate that in most situations, multiple async writes will perform better than one batch sync call. I can't think of any reason this wouldn't be the case for reads as well. Are your entities all in different entity groups? Thanks, Max On Fri, Dec 17, 2010 at 4:11 PM, Ikai Lan (Google) ikai.l+gro...@google.comikai.l%2bgro...@google.com wrote: Very cool. Thanks for posting! What kind of processing are you doing after you retrieve the entities? I'm surprised it made a difference. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Fri, Dec 17, 2010 at 2:48 PM, Gal Dolber gal.dol...@gmail.com wrote: Even better :) [image: Screen shot 2010-12-17 at 7.48.44 PM.png] On Fri, Dec 17, 2010 at 7:31 PM, Gal Dolber gal.dol...@gmail.com wrote: Here are my results if anyone interested. The idea was splitting a batch into multiple async gets so I could start processing each results while the others were being fetched. With the batch get I need to wait until I get all the results to do the next operations. At the end (on my situation) batching won. * * *Multiple async gets* [image: MultipleAsyncs.png] *Batching* [image: Batch.png] On Thu, Dec 16, 2010 at 4:48 PM, Gal Dolber gal.dol...@gmail.comwrote: Yes, I am talking about datastore api. I made some isolated tests and the batch always wins (no by so much). But in my app, when I break the batch into multiple async gets, I can start processing each async get result (and doing another api calls) before... and it seems to be perform better. I'll keep doing tests and post if find anything interesting. Thanks! On Thu, Dec 16, 2010 at 2:42 PM, Ikai Lan (Google) ikai.l+gro...@google.com ikai.l%2bgro...@google.com wrote: You're talking about the datastore API? Underneath the hood, synchronous gets just make asynchronous calls and block on Future.get() anyway. Making a single synchronous batch get would translate to a single asynchronous RPC with multiple keys vs. multiple asynchronous get RPCs. I suspect the single batch call will perform better from a CPU cost/quota perspective, but I'd defer to AppStats benchmarks as the authoritative answer. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Wed, Dec 15, 2010 at 3:38 AM, Gal Dolber gal.dol...@gmail.comwrote: Should I expect the similar performance? or the batch will always be better? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Guit: Elegant, beautiful, modular and *production ready* gwt applications. http://code.google.com/p/guit/ -- Guit: Elegant, beautiful, modular and *production ready* gwt applications. http://code.google.com/p/guit/ -- Guit: Elegant, beautiful, modular and *production ready* gwt applications. http://code.google.com/p/guit/ -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups
[appengine-java] Re: JSP compiling fails after upgrade from 1.3.8 to 1.4.0
Ronoaldo, that was exactly it! I went to Configure Build Path, Order and Export, and reordered the entries. I have my project's src and test folders first, then JRE System Library, App Engine SDK, GWT SDK, then my project's special libraries (google-api-client and gwt-maps). It runs great on my local server again. Thanks! On Dec 17, 4:20 am, Ronoaldo José de Lana Pereira ronoa...@gmail.com wrote: I had the same issues with two projects after upgrade. If you are using the Eclipse Plugin, this steps may work for you: 1. Right click on Project - Build Path - Configure Build Path. 2. Go to Order and Export tab 3. Move your src folder to top, then put JRE, App Engine SDK, GWT SDK (if applicable) and Junit 4 (if applicable) above, and all other libs above them. After this, your local devserver may work as usual. Best Regards, On 16 dez, 02:57, Chris Keller xyl...@gmail.com wrote: Note that the previous post only applies to my local development environment. I just tried using the new version of the SDK on the production server, and it has no problems. -- 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: Problem switching to 1.4.0 - JSP compilation fails
Hi Lorenzo, I was having this problem too. This will fix it in the development environment: 1) Open appengine-java-sdk-1.4.0.zip 2) Find el-api.jar, jsp-api.jar, servlet-api.jar and repackaged-appengine-jasper-6.0.29.jar 3) Copy them to war/WEB-INF/lib Thanks, Helder -- 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: The API call mail.Send() required more quota than is available.
... or enqueue your outgoing message on a task queue with a slow run frequency (let's say 5/minutes). I do that and I'm very happy. :) Fabrizio On Sat, Dec 18, 2010 at 1:15 AM, Ikai Lan (Google) ikai.l+gro...@google.comikai.l%2bgro...@google.com wrote: 8 is fairly arbitrary, but there's always going to be a number that bothers people, be it 10, 20 or 50. You should enable billing. We only charge if you go above the daily free quota, and it raises the rate limit. That means that if you send 10 emails per minute and only do this once a month, you'll never hit this quota limit, and we'll likely not bill you since you'll still be well within our free quota. -- 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.