[google-appengine] Re: cron doesn't run the majority of the time and has no logs
Hi Mike, Try this: under the Admin Console -> Main -> Logs, on the top right hand side, you see "Show: All requests Logs with minimum severity: ". Click on "All request". See if you now see log information for your cron jobs. It worked for me when I first didn't see the logs. Hope this helps. Wen On Aug 17, 12:16 pm, Mike Schlanser wrote: > Hello, > > For one of our crons, it always says "Fails" and doesn't run. However > there are no logs for this. I confirmed that the url is available and > does the right process. I also get no log output from the actual > process that should run. Is there something that I'm missing? > > Thanks, > Mike -- 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-appengine@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: Remote API + File API
I read the doc. you pointed out as such: when "out.close()" was called, the "writeChannel" was not closed; when "readChannel.close()" was called, the "reader" itself was not closed. So, looks like you only need to do one or the other. It may have to do with how closing is implemented on the channels. So remove "out.close()", and see if the exception would go away. Wen On Aug 18, 7:05 am, André Salvati wrote: > Hi, > > Maybe I've misunderstood docs, but I thought it was possible an > external application to integrate with App Engine by creating a file > in Blobstore. Am I doing something wrong?? Any way to accomplish > this?? > > http://code.google.com/appengine/docs/java/blobstore/overview.html#Wr... > > Thanks. > > Code: > > public class RemoteAPI { > > public static void main(String[] args) throws IOException { > > String username = "x...@gmail.com"; > String password = "x"; > > RemoteApiOptions options = new RemoteApiOptions() > .server("primepartes.appspot.com", 443) > .credentials(username, password); > RemoteApiInstaller installer = new RemoteApiInstaller(); > installer.install(options); > > FileService fileService = FileServiceFactory.getFileService(); > BlobstoreService blobstoreService = > BlobstoreServiceFactory.getBlobstoreService(); > > AppEngineFile file = fileService.createNewBlobFile("text/ > plain"); > > FileWriteChannel writeChannel = > fileService.openWriteChannel(file, true); > > PrintWriter out = new > PrintWriter(Channels.newWriter(writeChannel, "UTF8")); > out.println("The woods are lovely dark and deep."); > out.println("But I have promises to keep."); > > out.close(); > writeChannel.closeFinally(); // This line throwns the excepion > bellow > > .. > > java.lang.IllegalStateException: The current request does not hold the > exclusive lock. > at > com.google.appengine.api.files.FileServiceImpl.close(FileServiceImpl.java: > 315) > at > com.google.appengine.api.files.FileWriteChannelImpl.closeFinally(FileWriteC > hannelImpl.java: > 78) > at br.com.teste.RemoteAPI.main(RemoteAPI.java:82) -- 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-appengine@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: Understand Google App Engine
Use JSP (A Java technology) with Google App Engine. A good end-to-end example at: http://code.google.com/appengine/docs/java/gettingstarted/usingjsps.html - Wen On Aug 23, 7:55 am, User4Fun wrote: > I know nothing about JAVA. > I have a website that the user enteres a request for information about a > fixed number of categories and when it is submitted, the information is > pulled from a database and displayed. > > I just got introduced to Google App Engine. My goal is to have something > that would work on smart phones. Are my goals possible to mix the two > together? can I make a java code for the form that retreives information and > it would conside with Google App Engine service? > > Am I on the right track, or am I just getting confused? > > Where do I start to learn move about making a simple form in JAVA. The form > will only have about two to three fields and a submit button. -- 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-appengine@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: upload multiple files at once
HTML5 allows you to upload multiple files at the same time, however, on most browsers it gives all the files the same name - in your case, it looks like "files" is the name. Therefore the app engine api Map blobs = blobstoreService.getUploadedBlobs(req) only returns one blob key as all the others get overwritten due to the unique keys constraint of java.util.Map. This is why the map size is 1. One workaround might be to use javascript to change all the names of the files before they are actually uploaded. There is already an issue filed and acknowledged, you can star this and follow until it's resolved: http://code.google.com/p/googleappengine/issues/detail?id=3351 - Wen On Aug 23, 3:16 pm, Jose Montes de Oca wrote: > Hi Francisco, > > check out this post on nicks > blog:http://blog.notdot.net/2010/04/Implementing-a-dropbox-service-with-th... > > Hope this helps. > > Best, > Jose Montes de Oca > Developer Support Specialist -- 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-appengine@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: JPA Version
The App Engine Java SDK includes an implementation of JPA 1.0 for the App Engine datastore. The implementation is based on DataNucleus Access Platform. JPA presents a standard interface for interacting with relational databases, but the App Engine datastore is not a relational database. As a result, there are features of JPA that the App Engine implementation simply cannot support. - Wen On Aug 22, 11:04 pm, Markus wrote: > Hello! > > I would like to know, which version of JPA is currently supported by > GAE. > > Thanks for reply! > > Regards, Markus -- 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-appengine@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: 500 entities limit for db.put() operation
maximum number of entities in a batch put or batch delete 500 entities Check out this link from Google doc.: http://www.lhelper.org/dev/google-appengine-docs-20090422/appengine/docs/java/datastore/overview.html#Quotas_and_Limits - Wen On Aug 23, 2:01 am, can wrote: > Hi, > Is there a limit of 500 entities for db.put() operation ? I read that > in a blog post but couldn' t able to find anywhere else. -- 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-appengine@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: How can I fix, not disable validation warning
This is a known issue: http://code.google.com/p/googleappengine/issues/detail?id=4665#c0 - Wen On Sep 6, 11:41 am, RRRaney wrote: > Hello, > I have the standard appengine-web.xml file suggested and created by the > Eclipse plugin.(file attached). > Whan I validate I get the following warning: > No grammar constraints (DTD or XML schema) detected for the > document. appengine-web.xml > I have looked all over and found many people asking the same question. > The answer is always change the warning to ignore > Someone at The Big G must have the real answer. > I would like to fix this warning not disable it. > > Thanks, > > Raney > > appengine-web.xml > < 1KViewDownload -- 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-appengine@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: Email feature not working
In your code, "message.setRecipients(...); " should be "setRecipient(...)", not "setRecipients()" since your arguments does not match plural. With that change, the same code works in my app. when sender is the owner of application. - Wen On Sep 6, 11:24 am, Deepak Singh wrote: > I have my gmail account deepaksingh.kr@gmail as owner. > If i use this id as a sender, even then email is not being sent. > > Thanks > > 2011/9/6 Ronoaldo José de Lana Pereira > > > > > > > > > The sender must be an admin user in your app "Permission" settings, at > > least a Viewer. > > > -Ronoaldo > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google App Engine" group. > > To view this discussion on the web visit > >https://groups.google.com/d/msg/google-appengine/-/J_U6tslmIhsJ. > > To post to this group, send email to google-appengine@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. -- 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-appengine@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.