[appengine-java] Re: Python url fetch against java appengine servlet
Just found this thread from a Google search. I was running into the same problem; after switching to Python 2.7 this problem seems to have gone away. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Eclipse Plugin not showing 1.4.3
Good morning fellow Google'ers ... I noticed the Eclipse plugin site is still giving out 1.4.2 and has not yet been upgraded to 1.4.3. Small oversight? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Eclipse Plugin not showing 1.4.3
In general a new version takes one or two days to appear on the plugin. You can download the new version and add it. On Thu, Mar 31, 2011 at 3:32 AM, Alan Williamson goo...@alanwilliamson.orgwrote: Good morning fellow Google'ers ... I noticed the Eclipse plugin site is still giving out 1.4.2 and has not yet been upgraded to 1.4.3. Small oversight? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- 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-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Required user role for sending e-mail
Hi, The page http://code.google.com/appengine/docs/java/mail/overview.html#Sending_Mail mentions For security purposes, the sender address of a message must be the email address of an administrator for the application Now that we have roles for users, should I set this user (which is called nore...@mydomain.com and only used for sending e-mail) to Owner, Developer or Viewer on the permissions page? Will all of these roles work? Thanks, Pieter -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] GAE implementation of java.util.concurrent....
I see that the java.util.concurrent... classes are on the whitelist ( http://code.google.com/intl/hr/appengine/docs/java/jrewhitelist.html). Are they implemented properly or as empty (do nothing) implementations. With the new *Concurrent Requests* feature I might need some locking classes. Thanks for Your time. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Are Java static initializers thread safe on GAE ?
I think that final question is will 2 parallel web requests in same GAE instance use same class loader or different class loaders ? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Are Java static initializers thread safe on GAE ?
Static initializers will be thread-safe, but you've got to remember that that class may be loaded in multiple JVMs, depending on how many instances get spun up for your application. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Unable to open the link to the deployed gae app
Since last day, i could not open the link to the deployed app on GAE platform. I'm wondering if any others having the same issues. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] How do I run my Junit test suite on the server?
Is there a standard way to do this or do I have to write a servlet or something? If I have to write something, how am I going to get the log output from the tests onto the UI or the logs in the dashboard? Thanks. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: How do I run my Junit test suite on the server?
Hi, Yes, you can run your tests on the GAE server itself and it's very useful to dig out the last errors that the run on the dev server didn't show. It saved me days. For that, you have to write you own Junit TesRunner as as servlet: you can start simply by using the TextRunner of Junit and then get more sophisticated if you want to embed your tests in a nice UI like GWT. Let me know if you need more info. regards didier On Mar 31, 5:28 pm, Eliot Stock 1...@eliotstock.com wrote: Is there a standard way to do this or do I have to write a servlet or something? If I have to write something, how am I going to get the log output from the tests onto the UI or the logs in the dashboard? Thanks. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Are Java static initializers thread safe on GAE ?
The consequence of what Simon says is that you have to be prepared to have a separate init for each jvm and this can cause issue if your application relies on the semantics of a single init (singleton, etc..) regards didier On Mar 31, 1:55 pm, Simon Knott knott.si...@gmail.com wrote: Static initializers will be thread-safe, but you've got to remember that that class may be loaded in multiple JVMs, depending on how many instances get spun up for your application. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: GAE implementation of java.util.concurrent....
The GAE SDK uses java.util.concurrent classes internally so I guess they do work. However, I've never used them because when I need locking, it should be application-wide. With java.util.concurrent you can only achieve locking within an instance. Or am I wrong here? On Mar 31, 12:55 pm, dilbert dilbert.elbo...@gmail.com wrote: I see that the java.util.concurrent... classes are on the whitelist (http://code.google.com/intl/hr/appengine/docs/java/jrewhitelist.html). Are they implemented properly or as empty (do nothing) implementations. With the new *Concurrent Requests* feature I might need some locking classes. Thanks for Your time. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Re: GAE implementation of java.util.concurrent....
All of the atomic and locking primitives and data structures should work normally. The thread-related classes (e.g. ExecutorService) will not work because you are still not allowed to do your own thread creation/manipulation. On Thu, Mar 31, 2011 at 6:28 AM, Thomas Visser thomas.vis...@gmail.comwrote: The GAE SDK uses java.util.concurrent classes internally so I guess they do work. However, I've never used them because when I need locking, it should be application-wide. With java.util.concurrent you can only achieve locking within an instance. Or am I wrong here? On Mar 31, 12:55 pm, dilbert dilbert.elbo...@gmail.com wrote: I see that the java.util.concurrent... classes are on the whitelist ( http://code.google.com/intl/hr/appengine/docs/java/jrewhitelist.html). Are they implemented properly or as empty (do nothing) implementations. With the new *Concurrent Requests* feature I might need some locking classes. Thanks for Your time. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Re: GAE implementation of java.util.concurrent....
Thanks Don for the quick answer. I was also wandering about the GAE servlet container implementation. If two requests arrive to the same JVM instance will they be processed by the same servlet (object) or will the runtime spawn two servlet objects? This is important because in the first case I need to secure the servlet's member variables. Thank You for your time. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: What are my options in implementing a video upload/streaming functionality in GAE
I didn't use it with appengine (I used it with PHP), but take a look to Kaltura Video Uploader. http://corp.kaltura.com/wiki/index.php/Guides:Upload#Uploading_Using_the_Kaltura_Contribution_Wizard I think that couldn't be so hard to translate the demo to Java. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Are Java static initializers thread safe on GAE ?
Thanks Simon and Didier for the answer. I am aware of the singleton issue. Also I'd like someone from Google to confirm (no offence Simon and Didier) what Simon and Didier are saying because Googlers are the only ones that can see the code :(. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: GAE implementation of java.util.concurrent....
I do not think You are wrong. However, sometimes You do not need application-wide but instance-wide locking. For example let's assume this: class SomeClass{ static SomeObject someObject = null; SomeObject getSomeObject(){ if(someObject == null){ //Long Initialization someObject = ...; } return someObject; } } If the initialization is long it is possible that many threads will enter the if(someObject == null) block. I'd like to avoid that. After all long processing can cost me money. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Re: GAE implementation of java.util.concurrent....
I believe that we follow the servlet spec here -- concurrent requests will share the same instance of the servlet. We may or may not support the SingleThreadModel interface, but it is deprecated in Servlet 2.5 so I would strongly suggest doing your own synchronization rather than depending on it. On Thu, Mar 31, 2011 at 11:55 AM, dilbert dilbert.elbo...@gmail.com wrote: Thanks Don for the quick answer. I was also wandering about the GAE servlet container implementation. If two requests arrive to the same JVM instance will they be processed by the same servlet (object) or will the runtime spawn two servlet objects? This is important because in the first case I need to secure the servlet's member variables. Thank You for your time. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Jetty terminating just after starting (Eclipse SDK)
Hi there, I'm new to GAE/J, so I'm starting with a bulk of silly questions... Well, my Jetty seems to be terminating just after starting... That is, in Eclipse, I right click the project Run as Web Application. The output is printed in the terminal, as normal and without any error: 2011-03-31 16:01:25.594 java[58217:903] [Java CocoaComponent compatibility mode]: Enabled 2011-03-31 16:01:25.596 java[58217:903] [Java CocoaComponent compatibility mode]: Setting timeout for SWT to 0.10 Mar 31, 2011 7:01:25 PM com.google.apphosting.utils.jetty.JettyLogger info INFO: Logging to JettyLogger(null) via com.google.apphosting.utils.jetty.JettyLogger Mar 31, 2011 7:01:26 PM com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml INFO: Successfully processed /Users/lorenooliveira/dev/workspaces/pennypile/PennyPileEngine/war/WEB-INF/appengine-web.xml Mar 31, 2011 7:01:26 PM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml INFO: Successfully processed /Users/lorenooliveira/dev/workspaces/pennypile/PennyPileEngine/war/WEB-INF/web.xml log4j:WARN No appenders could be found for logger (br.com.caelum.vraptor.config.BasicConfiguration). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. Mar 31, 2011 4:01:29 PM com.google.appengine.tools.development.DevAppServerImpl start INFO: The server is running at http://localhost:/ However, the process dies two or three seconds after the last previous message be printed... Any idea of what is going wrong here? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Re: GAE implementation of java.util.concurrent....
Thank you Don for sharing valuable information. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Re: Are Java static initializers thread safe on GAE ?
Yes, Java static intiaiizers are thread safe on GAE. On Thu, Mar 31, 2011 at 1:22 PM, dilbert dilbert.elbo...@gmail.com wrote: Thanks Simon and Didier for the answer. I am aware of the singleton issue. Also I'd like someone from Google to confirm (no offence Simon and Didier) what Simon and Didier are saying because Googlers are the only ones that can see the code :(. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Jetty terminating just after starting (Eclipse SDK)
Please update to the latest App Engine SDK. It has a workaround for this issue with Apple's latest JVM update. On Thu, Mar 31, 2011 at 3:03 PM, lorenoolive...@gmail.com lorenoolive...@gmail.com wrote: Hi there, I'm new to GAE/J, so I'm starting with a bulk of silly questions... Well, my Jetty seems to be terminating just after starting... That is, in Eclipse, I right click the project Run as Web Application. The output is printed in the terminal, as normal and without any error: 2011-03-31 16:01:25.594 java[58217:903] [Java CocoaComponent compatibility mode]: Enabled 2011-03-31 16:01:25.596 java[58217:903] [Java CocoaComponent compatibility mode]: Setting timeout for SWT to 0.10 Mar 31, 2011 7:01:25 PM com.google.apphosting.utils.jetty.JettyLogger info INFO: Logging to JettyLogger(null) via com.google.apphosting.utils.jetty.JettyLogger Mar 31, 2011 7:01:26 PM com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml INFO: Successfully processed /Users/lorenooliveira/dev/workspaces/pennypile/PennyPileEngine/war/WEB-INF/appengine-web.xml Mar 31, 2011 7:01:26 PM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml INFO: Successfully processed /Users/lorenooliveira/dev/workspaces/pennypile/PennyPileEngine/war/WEB-INF/web.xml log4j:WARN No appenders could be found for logger (br.com.caelum.vraptor.config.BasicConfiguration). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. Mar 31, 2011 4:01:29 PM com.google.appengine.tools.development.DevAppServerImpl start INFO: The server is running at http://localhost:/ However, the process dies two or three seconds after the last previous message be printed... Any idea of what is going wrong here? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Re: Are Java static initializers thread safe on GAE ?
Toby, thank You very much for Your help. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Re: Are Java static initializers thread safe on GAE ?
More details here: http://googleappengine.blogspot.com/2011/03/announcing-app-engine-143-release_30.html and particularly here: http://code.google.com/appengine/docs/java/config/appconfig.html#Using_Concurrent_Requests -- Arthur Kalmenson On Thu, Mar 31, 2011 at 3:43 PM, dilbert dilbert.elbo...@gmail.com wrote: Toby, thank You very much for Your help. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] The JRE Class White List suggestion
It would be useful if developers could see if the whitelist class ( http://code.google.com/intl/hr/appengine/docs/java/jrewhitelist.html) is really implemented or just faked so that we know which we can use and which are only for show. e.g. java.lang.String - implemented java.util.concurrent.ThreadPoolExecutor - fake -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Source Code?
Are there any plans to make the source code for JAVA GAE available? The python source is available, and having the Java source could be helpful in certain situations. Thanks, Brian -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] How do I run my Junit test suite on the server?
Hi Elio, See Kotori Web JUnit Runner: http://code.google.com/p/ktrwjr/ On Fri, Apr 1, 2011 at 12:28 AM, Eliot Stock 1...@eliotstock.com wrote: Is there a standard way to do this or do I have to write a servlet or something? If I have to write something, how am I going to get the log output from the tests onto the UI or the logs in the dashboard? Thanks. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Consolidated logs via email
We want to be somewhat proactive about warnings or higher in our logs so we're looking at a way of being notified if they occur. First thought was to use log4j and the email appender. This is fine but won't scale as more people use the app since we'll get inundated with emails. So we're looking at another option: parsing the logs and emailing every half hour if there are new warnings/errors/critical messages. Any suggestions on how to do this? Based on my research, it looks like we would need to set up a job to download the logs with appcfg.py at regular intervals and parse them outside of the app. Looking for other potential options. Thanks Kyle -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Jetty terminating just after starting (Eclipse SDK)
Thanks for the hint Toby. How can I update the SDK manually? The Helios update site is not updated with the 1.4.3 version... On Thu, Mar 31, 2011 at 4:41 PM, Toby Reyelts to...@google.com wrote: Please update to the latest App Engine SDK. It has a workaround for this issue with Apple's latest JVM update. On Thu, Mar 31, 2011 at 3:03 PM, lorenoolive...@gmail.com lorenoolive...@gmail.com wrote: Hi there, I'm new to GAE/J, so I'm starting with a bulk of silly questions... Well, my Jetty seems to be terminating just after starting... That is, in Eclipse, I right click the project Run as Web Application. The output is printed in the terminal, as normal and without any error: 2011-03-31 16:01:25.594 java[58217:903] [Java CocoaComponent compatibility mode]: Enabled 2011-03-31 16:01:25.596 java[58217:903] [Java CocoaComponent compatibility mode]: Setting timeout for SWT to 0.10 Mar 31, 2011 7:01:25 PM com.google.apphosting.utils.jetty.JettyLogger info INFO: Logging to JettyLogger(null) via com.google.apphosting.utils.jetty.JettyLogger Mar 31, 2011 7:01:26 PM com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml INFO: Successfully processed /Users/lorenooliveira/dev/workspaces/pennypile/PennyPileEngine/war/WEB-INF/appengine-web.xml Mar 31, 2011 7:01:26 PM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml INFO: Successfully processed /Users/lorenooliveira/dev/workspaces/pennypile/PennyPileEngine/war/WEB-INF/web.xml log4j:WARN No appenders could be found for logger (br.com.caelum.vraptor.config.BasicConfiguration). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. Mar 31, 2011 4:01:29 PM com.google.appengine.tools.development.DevAppServerImpl start INFO: The server is running at http://localhost:/ However, the process dies two or three seconds after the last previous message be printed... Any idea of what is going wrong here? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Datastore needs index definition for built-in indices
Hello, my application uses a full text search implementation based on a list of keywords (properties) and a default sort order. So all my queries contains equality filters on 2,3 string fields and matching words (strings) agains the List of keywords (the input search text is split by ). This queries should't need composite indeces. But when the number of entities in one kind becomes grater than 5-6 the queries fail and i get DatastoreNeedIndexException (The built-in indices are not efficient enough for this query and your data...), regardless of the number of the entities in the result (10, 200 or thousands). What can i do to avoid this problem? I'm using Master/Slave... if i migrate to HR, will it solve the problem ? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Consolidated logs via email
On Thu, Mar 31, 2011 at 5:10 PM, Kyle Baley k...@baley.org wrote: We want to be somewhat proactive about warnings or higher in our logs so we're looking at a way of being notified if they occur. First thought was to use log4j and the email appender. This is fine but won't scale as more people use the app since we'll get inundated with emails. So we're looking at another option: parsing the logs and emailing every half hour if there are new warnings/errors/critical messages. Any suggestions on how to do this? Based on my research, it looks like we would need to set up a job to download the logs with appcfg.py at regular intervals and parse them outside of the app. Looking for other potential options. If you productize something like this, I would pay money for it. Jeff -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Jetty terminating just after starting (Eclipse SDK)
There should be an update available for you on the 1st. (Not an April fools joke). On Thu, Mar 31, 2011 at 8:31 PM, lorenoolive...@gmail.com lorenoolive...@gmail.com wrote: Thanks for the hint Toby. How can I update the SDK manually? The Helios update site is not updated with the 1.4.3 version... On Thu, Mar 31, 2011 at 4:41 PM, Toby Reyelts to...@google.com wrote: Please update to the latest App Engine SDK. It has a workaround for this issue with Apple's latest JVM update. On Thu, Mar 31, 2011 at 3:03 PM, lorenoolive...@gmail.com lorenoolive...@gmail.com wrote: Hi there, I'm new to GAE/J, so I'm starting with a bulk of silly questions... Well, my Jetty seems to be terminating just after starting... That is, in Eclipse, I right click the project Run as Web Application. The output is printed in the terminal, as normal and without any error: 2011-03-31 16:01:25.594 java[58217:903] [Java CocoaComponent compatibility mode]: Enabled 2011-03-31 16:01:25.596 java[58217:903] [Java CocoaComponent compatibility mode]: Setting timeout for SWT to 0.10 Mar 31, 2011 7:01:25 PM com.google.apphosting.utils.jetty.JettyLogger info INFO: Logging to JettyLogger(null) via com.google.apphosting.utils.jetty.JettyLogger Mar 31, 2011 7:01:26 PM com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml INFO: Successfully processed /Users/lorenooliveira/dev/workspaces/pennypile/PennyPileEngine/war/WEB-INF/appengine-web.xml Mar 31, 2011 7:01:26 PM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml INFO: Successfully processed /Users/lorenooliveira/dev/workspaces/pennypile/PennyPileEngine/war/WEB-INF/web.xml log4j:WARN No appenders could be found for logger (br.com.caelum.vraptor.config.BasicConfiguration). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. Mar 31, 2011 4:01:29 PM com.google.appengine.tools.development.DevAppServerImpl start INFO: The server is running at http://localhost:/ However, the process dies two or three seconds after the last previous message be printed... Any idea of what is going wrong here? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.