[google-appengine] addFilter deprecated. How to replace it?
Hello, I just updated my SDK and found out that some methods I used before are deprecated now. How do I change something like ListWriteEntry entries = null; Query q2 = new Query(hiscoretable); q2.addFilter(theID, FilterOperator.EQUAL, id); q2.addFilter(ip, FilterOperator.EQUAL, myIP); q2.addFilter(timestampy,FilterOperator.GREATER_THAN_OR_EQUAL,timeDelay); so it is alright again? Best, Henning -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/groups/opt_out.
RE: [appengine-java] Billed CPU time by far too high
Hi Ikai, it's also possible that you were being *underbilled* previously and that we've corrected billing information. that is quite interesting. Google just can decide that someone is underbilled so he/she has to pay an extra 700% on CPU time. So not everyone has to pay the same for the same good. I think that this is quite ridiculous. Probably it does not make sense to invest in this platform anymore but better develop my software on another cloud service like Amazon. Henning Date: Mon, 10 May 2010 08:40:22 +0200 Subject: Re: [appengine-java] Billed CPU time by far too high From: ika...@google.com To: google-appengine-java@googlegroups.com If you are actually being billed, you'd fill out this form right here: http://code.google.com/appengine/kb/billing.html 1.3 CPU hours is still significantly under the free quota, so this probably wouldn't be an option for you. I'd advise running AppStats to profile where all the additional CPU usage is coming from. This information would be extremely helpful both to you as well as to other developers who may experience the same issues. Without knowing additional information, it's also possible that you were being *underbilled* previously and that we've corrected billing information. On Sun, May 9, 2010 at 10:08 AM, Henning henning2...@hotmail.de wrote: Hello, I posted about this topic already 2 weeks ago. The days after that my website got back to its normal levels of CPU time. But then things got even worse. What can I do now? How can I let the responsible developers at Google let know to fix it. The situation is as follows: I have a cron job that is triggered every minute. It has an average CPU usage of 56(17) according to the dash board. On the black list I cannot see any requests other than my cron job. It is nearly the only thing that needs CPU time. Normally what I got billed everyday was about 0.2 CPU hrs a day. In the meantime it is about 1.3 CPU hrs a day! That is more than 1/5 of the free quota just for this lightweight cron job! Henning -- 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. -- Ikai Lan Developer Relations, Google App EngineTwitter: http://twitter.com/ikaiDelicious: 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. _ http://redirect.gimas.net/?n=M1004xjajah2 Über Messenger günstiger telefonieren? Sagen Sie Ja zu JAJAH! -- 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] Billed CPU time by far too high
Hello, I posted about this topic already 2 weeks ago. The days after that my website got back to its normal levels of CPU time. But then things got even worse. What can I do now? How can I let the responsible developers at Google let know to fix it. The situation is as follows: I have a cron job that is triggered every minute. It has an average CPU usage of 56(17) according to the dash board. On the black list I cannot see any requests other than my cron job. It is nearly the only thing that needs CPU time. Normally what I got billed everyday was about 0.2 CPU hrs a day. In the meantime it is about 1.3 CPU hrs a day! That is more than 1/5 of the free quota just for this lightweight cron job! Henning -- 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] More errors every day
Hi, I had yesterday the following error more than 60 times: Request was aborted after waiting too long to attempt to service your request. This may happen sporadically when the App Engine serving cluster is under unexpectedly high or uneven load. If you see this message frequently, please contact the App Engine team. Does this consume so much CPU time? I can't tolerate it if my webapp does nothing all day long and I am billed 1 hour of CPU time. (A month ago for the same work I daily barely reached 0.2 CPU hours) Henning -- 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] Much more CPU time billed without any reason
Hello, my website has been running the last 2 months without any change. Basically there is one cron job that is triggered every minute every now and then. There is no data persisted. What happened during the last couple of weeks is that the billed cpu time per day tripled! How can that be? Henning -- 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] Have to load many objects vs. getObjectById()
Hello, if I have the keys for many objects and want to retrieve these object from the datastore is there some kind of batch method? I guess if I have thousands of objects and have to use getObjectById for every single one separately that would take a while and possibly even to long. Thanks, Henning -- 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] Hebrew Chat on App Engine
Hello my dears, I published today my first application run on Google App Engine. Backend is Java, de-/serialization GraniteDS, frontend Flex/Flash. It is totally free. To use it you just have to create a new account on- site. It is a state-of-the-art chat designed to be used by Hebrew students and study groups to communicate easily with each other live in English/ Hebrew. Writing in Hebrew is very easy thanks to the fully integrated virtual keyboard that can be customized in many ways. Full niqqud is supported. Everyone can create chat rooms. A room can optionally be password protected to restrict the access. It is a great tool for study groups to meet on a regular basis to practice Hebrew online together. The link to the website is: http://www.StudyHebrewOnline.com Best regards, Henning www.StudyHebrewOnline.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] App Engine Bug
Hello, if I have a servlet only the admin has access to and I logged in/ registered to App Engine with my Google apps account there is no way to run this servlet although I am an admin because it wants me to authenticate/login as admin with my regular Google account (it does not support the Google apps login) Regards, Henning -- 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] Request was aborted
Hello, I have one chron job that should be triggered every minute once. I have now the problem that about every 5 minutes the following warning occurs. I also notice that the datastore gets stuck sometimes leading to a timeout. The later happens maybe every hour or something once. Ther is really no load yet and every request should not take more than maybe 2-4 seconds. What can I do about it? What does this warning mean? Henning. Warning: # 1. 03-06 09:07AM 23.164 /cron/chatUserCleanup 500 10125ms 0cpu_ms 0kb See details 0.1.0.1 - - [06/Mar/2010:09:07:33 -0800] GET /cron/ chatUserCleanup HTTP/1.1 500 0 - - studyhebrewonline.appspot.com 2. W 03-06 09:07AM 33.289 Request was aborted after waiting too long to attempt to service your request. Most likely, this indicates that you have reached your simultaneous dynamic request limit. This is almost always due to excessively high latency in your app. Please see http://code.google.com/appengine/docs/quotas.html for more details. -- 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] Unable to deploy to App Engine Anymore
Hi, I had a connection error during a deployment so the thing did not go through. Now I have a connection again, but am not able to do any deployments anymore. It says: Scanning files on local disk. Initiating update. java.io.IOException: Error posting to URL: https://appengine.google.com/api/appversion/create?app_id=studyhebrewonlineversion=1; 409 Conflict Another transaction by user henning2...@hotmail.de is already in progress for this app and major version. That user can undo the transaction with appcfg.py's rollback command. I don't have Python. How can I rollback now ? Regards, Henning -- 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: Unable to deploy to App Engine Anymore
Problem solved. Found appcfg.sh in the sdk folder and did a rollback. Regards, Henning On 20 Feb., 14:00, Henning henning2...@hotmail.de wrote: Hi, I had a connection error during a deployment so the thing did not go through. Now I have a connection again, but am not able to do any deployments anymore. It says: Scanning files on local disk. Initiating update. java.io.IOException: Error posting to URL:https://appengine.google.com/api/appversion/create?app_id=studyhebrew... 409 Conflict Another transaction by user henning2...@hotmail.de is already in progress for this app and major version. That user can undo the transaction with appcfg.py's rollback command. I don't have Python. How can I rollback now ? Regards, Henning -- 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] ListListString
Hello, I have a class MainConfiguration I want do be persisted. In this class there is a property of type @Persistent private ListListString engRegKeyCustom; If I try to search for a MainConfiguration entity or if I try to persist one I get the following error... Is this because of my ListList... variables ?? WARNING: Nested in java.lang.ExceptionInInitializerError: java.lang.NullPointerException at org.datanucleus.store.appengine.jdo.DatastoreJDOMetaDataManager.shouldBeInDefaultFetchGroup(DatastoreJDOMetaDataManager.java: 167) at org.datanucleus.store.appengine.jdo.DatastoreJDOMetaDataManager.shouldBeInDefaultFetchGroup(DatastoreJDOMetaDataManager.java: 167) at org.datanucleus.store.appengine.jdo.DatastoreJDOMetaDataManager.populateAbstractClassMetaData(DatastoreJDOMetaDataManager.java: 153) at org.datanucleus.metadata.MetaDataManager.populateFileMetaData(MetaDataManager.java: 2148) at org.datanucleus.metadata.MetaDataManager.loadAnnotationsForClass(MetaDataManager.java: 2289) at org.datanucleus.jdo.metadata.JDOMetaDataManager.getMetaDataForClassInternal(JDOMetaDataManager.java: 369) at org.datanucleus.jdo.metadata.JDOMetaDataManager $MetaDataRegisterClassListener.registerClass(JDOMetaDataManager.java: 184) at javax.jdo.spi.JDOImplHelper.registerClass(JDOImplHelper.java:376) at persistenz.entities.MainConfiguration.clinit(MainConfiguration.java) at test.DefaultData.doGet(DefaultData.java:45) at javax.servlet.http.HttpServlet.service(HttpServlet.java:693) at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: 487) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1093) at com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java: 51) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1084) at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java: 43) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1084) at com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java: 121) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1084) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java: 360) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java: 216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java: 181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java: 712) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: 405) at com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java: 70) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 139) at com.google.appengine.tools.development.JettyContainerService $ApiProxyHandler.handle(JettyContainerService.java:352) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 139) at org.mortbay.jetty.Server.handle(Server.java:313) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: 506) at org.mortbay.jetty.HttpConnection $RequestHandler.headerComplete(HttpConnection.java:830) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java: 396) at org.mortbay.thread.BoundedThreadPool $PoolThread.run(BoundedThreadPool.java:442) -- 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: sending mail in google app engine in java
Hello, I have the same problem, but it is not about the favicon. It is about getting app engine to send through smtp.googlemail.com an email. Is this possible ? Are these props ever considered by Transport.send ?? props.put(mail.smtp.host,smtp.gmail.com); props.put(mail.smtp.username,sowji.apr10); props.put(mail.smtp.PASSWORD,smtp.gmail.com); My app only sends emails if I use setFrom(*) inserting an app admin, developer or a some...@myapp.appspot.com address. Best regards, Henning On Feb 11, 1:32 pm, Sowji sowji.ap...@gmail.com wrote: Hi, i am trying to send a mail with google app engine wuth java. My code is, Properties props =*new* Properties(); props.put(mail.smtp.host,smtp.gmail.com); props.put(mail.smtp.username,sowji.apr10); props.put(mail.smtp.PASSWORD,smtp.gmail.com); Session session = Session.*getDefaultInstance*(props, *null*); String msgBody = Hai this is my first mail through java programming; * try* { Message msg=*new* MimeMessage(session); msg.setText(hai...+msgBody); msg.setSubject(First Message from java); msg.setFrom(*new* InternetAddress(my...@gmail.com)); msg.setRecipient(Message.RecipientType.*TO*,*new*InternetAddress( my...@gmail.com)); Transport.*send*(msg); PrintWriter pw=resp.getWriter(); pw.println(html/bodymail is seding.../body/html); } * catch*(AddressException adde){ // System.*out*.print(error in address); } * catch*(MessagingException mse){ // System.*out*.print(error in messaging); } For this code i did not get any mail or any errors as reply. My console print warning like this, The server is running athttp://localhost:3624/ Feb 11, 2010 12:22:58 PM com.google.appengine.tools.development.LocalResourceFileServlet doGet WARNING: No file found for: /favicon.ico Feb 11, 2010 12:23:00 PM com.google.appengine.tools.development.LocalResourceFileServlet doGet WARNING: No file found for: /favicon.ico Please help me to solve this problem. Thanks, Lakshmi. -- 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: Google App Engine : web-app being hibernated ?
Hi, do you know the exact time ? I noticed too that sometimes a request can take up to 20 seconds. I am using for the front-end flash/flex which allows me to request a status information every 15 seconds (at the moment). I already needed this status info for proprietary session handling and the so-called maintenance shut down. After the first request which can take a lot of time, everything goes smooth. I wonder at what time intervals I should set my alive handler. The first idea was about 3 minutes but that is maybe too slow. Best regards, Henning On Feb 17, 7:40 pm, Brian bwa...@gmail.com wrote: Yes. The actual time to hibernate is really short, closer to 1-2 minutes than 1 hour. Until this is fixed in some way, you need to either be willing to accept the huge wait for free hosting, or code some kind of task to ping your app every 60 seconds... On Feb 16, 11:17 pm, netcompetency netcompete...@gmail.com wrote: Hi all, i have some labs on Google App Engine and find some strange yet consistent behaviour. My app is based on Spring/JPA. No error/ exception and working properly. The issue is with performance. If we are not using the apps for some time --- for example for an hour --- the application is like being hibernated. It needs time to response to the first request. Is this the case ? Is there an documentation on this ? Cheers, Eko Budhi S -- 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] Mail API / Sender Email Address
Hello, I have set up my own .com domain on Google apps, set the CNAME entries and I can now access my google app engine project through my own .com address rather than appspot. I set up google mail as a google app on my domain too. If I have now a google mail account like m...@mydomain.com and my app runs on www.mydomain.com how can I send with my application emails with sender address m...@mydomain.com ? In the doc there it is said that only addresses of admins or developers are valid. I tried to create a new developer m...@mydomain.com but that does not work (no invitation email ever arrives). If I send an email from hotmail to m...@mydomain.com it arrives. What can I do ? I have a registration form and the password should be sent to the user by email. I don't want to provide the user my fancy hotmail address I used to register on app engine / google accounts originally. Thank you, Henning. -- 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.
[google-appengine] Performance: Datastore writes vs. logging writes
We want to collect usage statistics with our app. Therefore, we want to track user actions somewhere on the server side. Which option is more suitable, performance-wise: 1. Track user actions in the App Engine Log, i.e. write a log entry each time. Evaluate the logs for usage statistics. 2. Track user actions in a table in the Datastore. Write an entry for each user action. Evaluate this table for usage statistics. I would guess, that log writes are much faster than Datastore writes. What are your experiences and suggestions? Thanks: Henning --~--~-~--~~~---~--~~ 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: Performance: Datastore writes vs. logging writes
Thanks, Datastore is safer and easier to handle for datamining that is for sure. But as this information is not critical, I worry more about performance. Memcache is probably fastest but also most complicated. So how do these three methods compare in terms of performance? Is it - Memcache: 1ms - Request Log: 10ms - Data Store: 50ms Or something else? On Jun 14, 8:05 pm, Sylvain sylvain.viv...@gmail.com wrote: DB Or you can store it in memcache (not safe but fast) Or you can use both : save in Memchache then use a job that checks it and store in DB. Or Google Analytics ;) It depends if you need to log a _LOT_ or not and if this info is _VERY_ important or only FI. Regards. On 14 juin, 19:27, pranny pra...@gmail.com wrote: Speaking in terms of 'data mining' that you might be doing from the user's action logs, i would recommend data store writes ! -- Pranav Prakash On Jun 14, 9:28 pm, Henning henning.boe...@googlemail.com wrote: We want to collect usage statistics with our app. Therefore, we want to track user actions somewhere on the server side. Which option is more suitable, performance-wise: 1. Track user actions in the App Engine Log, i.e. write a log entry each time. Evaluate the logs for usage statistics. 2. Track user actions in a table in the Datastore. Write an entry for each user action. Evaluate this table for usage statistics. I would guess, that log writes are much faster than Datastore writes. What are your experiences and suggestions? Thanks: Henning --~--~-~--~~~---~--~~ 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] Wishlist for App Engine
Hi, we are using the App Engine for our application for some time now. I would like to list our most pressing feature wishes for a future version of the App Engine here: 1. Data import / export tool - A simple CSV import/export tool would be sufficient for us, provided it can import and export data with references between tables. 2. HTTPS support - As our application transfers private data, HTTPS would really help us. Currently we have to implement data encryption on our own. 3. Java support - As our application grows, we feel Java would much better suit us. Especially we miss the great IDE support of Java which allows us to refactor much more efficient. Plus, the rest of our application is Java, so we won't have to write our code in two languages. 4. Unlimited Application quota with payment model - Currently we do not exceed the application quota, but this might happen very soon. So we are really longing for an unlimited application quota (where we pay if we exceed the free quota). Maybe other App Engine users would like to post their most pressing wishes here too. Cheers: Henning --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---