El 25/02/2012, a las 01:22, "google-appengine-java@googlegroups.com" < google-appengine-java@googlegroups.com> escribió:
Today's Topic Summary Group: http://groups.google.com/group/google-appengine-java/topics - Help, error from example - java.lang.NoClassDefFoundError: Could not initialize class guestbook.PMF <#group_thread_0> [1 Update] - JPA Query setMaxResult vs DB Read Ops number <#group_thread_1> [2 Updates] - backup for data in namespaces <#group_thread_2> [4 Updates] - Mail send from AppEngine application not received by any recipient from past few days <#group_thread_3> [1 Update] - GWT/AppEngine application for distributed role playing - dorp<#group_thread_4>[2 Updates] - Digest for google-appengine-java@googlegroups.com - 12 Messages in 10 Topics <#group_thread_5> [1 Update] Help, error from example - java.lang.NoClassDefFoundError: Could not initialize class guestbook.PMF<http://groups.google.com/group/google-appengine-java/t/16309c42ac6e02fe> Vaso <81n...@gmail.com> Feb 24 04:27PM -0800 How to reinstall appengine & eclipse plugin? Can it help to decide problem? JPA Query setMaxResult vs DB Read Ops number<http://groups.google.com/group/google-appengine-java/t/b210969c5ecb323d> Matthew Jaggard <matt...@jaggard.org.uk> Feb 24 02:13PM The first one :-) Peter Han <devifr...@gmail.com> Feb 24 07:10AM -0800 amen :-) backup for data in namespaces<http://groups.google.com/group/google-appengine-java/t/d526dca50f590384> andrew <andrew.macken...@bcntouch.com> Feb 24 12:00AM -0800 Good question! For us, the feature is useless without this.... All datastore admin tools and utilities need to be data space aware by default. On Feb 24, 3:50 am, Aswath Satrasala <aswath.satras...@gmail.com> wrote: andrew <andrew.macken...@bcntouch.com> Feb 24 12:02AM -0800 Also, I think there is a feature request for this in issue tracker. I'd find it and star it. On Feb 24, 3:50 am, Aswath Satrasala <aswath.satras...@gmail.com> wrote: andrew <andrew.macken...@bcntouch.com> Feb 24 12:02AM -0800 Good question! For us, the feature is useless without this.... All datastore admin tools and utilities need to be data space aware by default. On Feb 24, 3:50 am, Aswath Satrasala <aswath.satras...@gmail.com> wrote: Aswath Satrasala <aswath.satras...@gmail.com> Feb 24 07:38PM +0530 I have starred 3-4 of the issues that are namespace and backup related. -Aswath Mail send from AppEngine application not received by any recipient from past few days<http://groups.google.com/group/google-appengine-java/t/a4ab3260080123a4> "Raphael André Bauer" <raphael.andre.ba...@gmail.com> Feb 24 02:04PM +0100 On Tue, Feb 21, 2012 at 8:24 AM, Gaurav Sharma > We also have few other HRD and non-HRD applications running on AppEngine in > same account and the same code is working fine for all of them.Only these > two applications are facing this issue. Maybe your sent mails are classified as "SPAM" by the receiving party? Best, Raphael -- inc: http://ars-machina.raphaelbauer.com tech: http://ars-codia.raphaelbauer.com web: http://raphaelbauer.com GWT/AppEngine application for distributed role playing - dorp<http://groups.google.com/group/google-appengine-java/t/ab0b0c01c3c1087> vega <_v...@vr-web.de> Feb 24 02:54AM -0800 check maptool rptools.net for those purpose. it has a great community :) vega <_v...@vr-web.de> Feb 24 02:55AM -0800 check maptool on rptools.net - it has a great community and with the existing frameworks it supports a lot of the p&p systems that are out there... Digest for google-appengine-java@googlegroups.com - 12 Messages in 10 Topics<http://groups.google.com/group/google-appengine-java/t/efb650adcbfb8025> Ignacio Vela <vela.igna...@gmail.com> Feb 24 05:49AM -0300 El 24/02/2012, a las 02:06, "google-appengine-java@googlegroups.com" < google-appengine-java@googlegroups.com> escribió: Today's Topic Summary Group: http://groups.google.com/group/google-appengine-java/topics - backup for data in namespaces <#group_thread_0> [1 Update] - Java Servlets in GAE <#group_thread_1> [2 Updates] - GWT/AppEngine application for distributed role playing - dorp<#group_thread_2>[1 Update] - Mail send from AppEngine application not received by any recipient from past few days <#group_thread_3> [1 Update] - JPA Query setMaxResult vs DB Read Ops number <#group_thread_4> [1 Update] - jersey/jackson/jaxb java.lang.NoClassDefFoundError <#group_thread_5>[1 Update] - Unable to load several versions of AppEngine Project and Seeing HardDeadLineExceeded Exceptions <#group_thread_6> [1 Update] - DevServer fails after updating to java 6u31 <#group_thread_7> [2 Updates] - Clean Slate <#group_thread_8> [1 Update] - max keys for memcache <#group_thread_9> [1 Update] backup for data in namespaces< http://groups.google.com/group/google-appengine-java/t/d526dca50f590384> Aswath Satrasala <aswath.satras...@gmail.com> Feb 24 08:20AM +0530 Hello, In the Datastore Admin console, there is no UI to backup for the data containing in namespaces. It shows only the entities in no namespace. When will this feature rollout? -Aswath www.AccountingGuru.in Java Servlets in GAE< http://groups.google.com/group/google-appengine-java/t/674d9a9db2d38c6a> bluechips23 <bluechips...@gmail.com> Feb 22 09:57AM -0800 I am new to GAE and Java servlets. I created a Java web application on Eclipse as a Dynamic Web Project, which works perfectly. But now I am trying to port to GAE. The whole application basically has two parts: a) The front page (index.html) - it has three text boxes where people can enter any text there. b) The second page - getlist.html (resulting from the servlet) - this page is created by the Java servlet. Basic behavior is as follows: 1) The user goes to the front page and enters three shopping items (e.g. XBox, iPhone, iPad) and clicks on the "submit" button 2) On clicking the "submit" button, the user is directed to the getlist.html page, where he sees his shopping list (e.g. XBox, iPhone, iPad) - the same items he listed on the front page. Basically, I created the servlet that takes the text entered in the 1st page as parameters and shows them in the 2nd page (like a form submission). To do that, on the index.html file, on "submit" button, I have the following code, followed by the text boxes and submit button: > <form name="input" ACTION="getlist"> where, "getlist" calls the "getlist" servlet to fire up. Then, I wrote the servlet part and named it "getlist" as I want that servlet to fire it up when I click the "submit" button and process my input from index.html and generate an output to "getlist.html" page. So, in my "GetList" class I have the follow snippet: > @WebServlet("/getlist") > public class GetList extends HttpServlet {} Now my questions are: a) I realized that GAE supports only servlet-api.jar version 2.5, so "@WebServlet("/getlist") throws error for me. What can I do about that? How do I identify that servlet as the "getlist" servlet to be called from my index.html page? b) The "submit" button on index.html no longer prompts the GetList class to run. In fact, when I run my GAE web application, it only runs the "GetList" class (and not the index.html) to start things off. So my question would be, what should I be doing to make the above scenario work with GAE? May be the better questions can be i) how do I call one servlet from another, or ii) how do I call the "getlist" servlet from a "submit" button in GAE, like I am being able to do in Eclipse as a Dynamic Web Project? I'm still new to all this, so I am learning. So feel free to let me know if there is a better way to handle all this. Thanks! "M.W. Aruna Withanage" <deltaar...@gmail.com> Feb 23 06:28PM -0800 Dear bluechips23, Why don't you use google plugin for eclipse? Then you can easily create a GAE app and add servlets as you need. Hope this helps you. Thank you and best regards Aruna GWT/AppEngine application for distributed role playing - dorp< http://groups.google.com/group/google-appengine-java/t/ab0b0c01c3c1087> ingo <ingo.jaec...@googlemail.com> Feb 23 04:09PM -0800 [This is cross-posted on the google web toolkit mailing list.] Hello, did you love to play role playing games with your friends but you just went abroad so you cannot meet with them to play anymore? Worry no more because you can go on playing with a little help from dorp: distributed online role playing. dorp is a Google Web Toolkit application running on Google App Engine. Together with a couple of friends I created dorp just for fun and put it online at http://distributedroleplaying.appspot.com/. We typically use Skype for talking and dorp for sharing information about our characters as well as images, e.g. maps, magical items, drawings. For more information see http://usability-nightmare.blogspot.com/2012/02/distributed-online-role-playing-with.html . Cheers, Ingo Mail send from AppEngine application not received by any recipient from past few days< http://groups.google.com/group/google-appengine-java/t/a4ab3260080123a4> Shawn Brown <big.coffee.lo...@gmail.com> Feb 24 08:44AM +0900 > upgraded into HRD instance a week before.Everything was working fine on them > but from past few days(after Friday) no mail is sending from these > applications.check your web.xml security constraint you probably have the mail set to the app you used before migration <security-constraint> <web-resource-collection> <web-resource-name>IS_YOU_APP_NAME_RIGHT?????</web-resource-name> <url-pattern>/_ah/mail/*</url-pattern> </web-resource-collection> ... </security-constraint> JPA Query setMaxResult vs DB Read Ops number< http://groups.google.com/group/google-appengine-java/t/b210969c5ecb323d> Peter Han <devifr...@gmail.com> Feb 22 01:01PM -0800 situation: - user entities in db (properties id, name, sex, age) - you want to get the oldest of them with min. age 10 createQuery(select u from User u where u.age>=10 order by age desc) query.setMaxResults(1) !!! query.getResultList(); how GAE handles this situation? 1. search in index table where age>=10 and only the oldest 2. found 1 entity key 3. read entity 4. return entity OR 1. find all of them in index table where age>=10 2. found X entity keys 3. read all entities 4. return only the oldest of them (because JPA maxResults=1) Thanks jersey/jackson/jaxb java.lang.NoClassDefFoundError< http://groups.google.com/group/google-appengine-java/t/b88981b7a7ce870c> dschwartzer <daniel.schwart...@gmail.com> Feb 22 08:54AM -0800 I have the same problem. Have you managed to sort it out? Daniel Unable to load several versions of AppEngine Project and Seeing HardDeadLineExceeded Exceptions< http://groups.google.com/group/google-appengine-java/t/9350bc96c6744f32> James M <jmort...@gmail.com> Feb 23 01:29PM -0800 ** Since this site is not yet deprecated until March 5th, I've posted this question on both StackOverflow, as suggested by Ikai, as well as on Groups. Here is the StackOverflow link, which I'm assuming is the preferred place to post answers: http://stackoverflow.com/q/9421549/552792 ** Suddenly, without warning, my AppEngine project would no longer load in the browser. http://my.loopto.do. This also is happening with older versions of the application. Below is the 500 error. I know what a DeadlineExceededException is. What I don't understand is why this is happening, even on versions that were previously working fine with no problems. The log, turned all the way up to ALL, doesn't seem to shed any light on what the problem is. Another interesting point is that the same codebase, when uploaded to a different appspot domain, loads without issues. -Thus, the code runs on one appspot domain but not another, isolating the code as a constant. - Additionally, older versions that were previously working on the broken appspot domain are also experiencing the HardDeadlineExceededError. - The application also loads fine on localhost, using the latest SDK 1.6.2.1. I assume this is an Appengine problem, because the log doesn't show where exactly *my* code is breaking. **What do I need to do to resolve this issue?** **Here is the StackTrace:** 2012-02-23 12:50:06.744 /loop/?t=1330030019399 500 187376ms 1kb Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1 50.43.101.83 - user.name [23/Feb/2012:12:50:06 -0800] "GET /loop/? t=1330030019399 HTTP/1.1" 500 1309 "http:// 0-9-2012-2-23.loopaback.appspot.com/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/ 535.1" "0-9-2012-2-23.loopaback.appspot.com" ms=187376 cpu_ms=560 api_cpu_ms=0 cpm_usd=0.015809 loading_request=1 pending_ms=13 exit_code=104 instance=00c61b117c1a26c7b1ad046194db91806cb9d7 W 2012-02-23 12:50:06.616 Failed startup of context com.google.apphosting.utils.jetty.RuntimeAppEngineWebAppContext@fe2558 {/,/ base/data/home/apps/s~loopaback/0-9-2012-2-23.357026711120155741} com.google.apphosting.api.DeadlineExceededException: This request (c567eadbd5f794fd) started at 2012/02/23 20:47:09.524 UTC and was still executing at 2012/02/23 20:49:56.454 UTC. at java.util.zip.ZipFile.getNextEntry(Native Method) at java.util.zip.ZipFile.access$400(ZipFile.java:57) at java.util.zip.ZipFile$2.nextElement(ZipFile.java:342) at java.util.zip.ZipFile$2.nextElement(ZipFile.java:328) at java.util.jar.JarFile$1.nextElement(JarFile.java:240) at java.util.jar.JarFile$1.nextElement(JarFile.java:235) at sun.misc.URLClassPath $JarLoader.addJarEntriesToEntryMap(URLClassPath.java:813) at sun.misc.URLClassPath$JarLoader.access$1600(URLClassPath.java: 723) at sun.misc.URLClassPath$JarLoader$1.run(URLClassPath.java:900) at java.security.AccessController.doPrivileged(Native Method) at sun.misc.URLClassPath $JarLoader.ensureOpenSynchronized(URLClassPath.java:846) at sun.misc.URLClassPath$JarLoader.ensureOpen(URLClassPath.java: 838) at sun.misc.URLClassPath$JarLoader.<init>(URLClassPath.java:785) at sun.misc.URLClassPath$JarLoader.<init>(URLClassPath.java:743) at sun.misc.URLClassPath$3.run(URLClassPath.java:412) at java.security.AccessController.doPrivileged(Native Method) at sun.misc.URLClassPath.getLoader(URLClassPath.java:395) at sun.misc.URLClassPath.getLoader(URLClassPath.java:371) at sun.misc.URLClassPath.findResource(URLClassPath.java:201) at java.net.URLClassLoader$2.run(URLClassLoader.java:379) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findResource(URLClassLoader.java:376) at com.google.apphosting.runtime.security.UserClassLoader.findResource(UserClassLoader.java: 723) at java.lang.ClassLoader.getResource(ClassLoader.java:977) at org.mortbay.resource.Resource.newSystemResource(Resource.java: 203) at org.mortbay.jetty.webapp.WebXmlConfiguration.configureDefaults(WebXmlConfiguration.java: 159) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java: 1230) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java: 517) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: 50) at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.createHandler(AppVersionHandlerMap.java: 202) at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.getHandler(AppVersionHandlerMap.java: 171) at com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java: 123) at com.google.apphosting.runtime.JavaRuntime $RequestRunnable.run(JavaRuntime.java:422) at com.google.tracing.TraceContext $TraceContextRunnable.runInContext(TraceContext.java:449) at com.google.tracing.TraceContext$TraceContextRunnable $1.run(TraceContext.java:455) at com.google.tracing.TraceContext.runInContext(TraceContext.java: 695) at com.google.tracing.TraceContext $AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java: 333) at com.google.tracing.TraceContext $AbstractTraceContextCallback.runInInheritedContext(TraceContext.java: 325) at com.google.tracing.TraceContext $TraceContextRunnable.run(TraceContext.java:453) at com.google.apphosting.runtime.ThreadGroupPool $PoolEntry.run(ThreadGroupPool.java:251) at java.lang.Thread.run(Thread.java:679) C 2012-02-23 12:50:06.630 Uncaught exception from servlet javax.servlet.UnavailableException: Initialization failed. at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.createHandler(AppVersionHandlerMap.java: 211) at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.getHandler(AppVersionHandlerMap.java: 171) at com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java: 123) at com.google.apphosting.runtime.JavaRuntime $RequestRunnable.run(JavaRuntime.java:422) at com.google.tracing.TraceContext $TraceContextRunnable.runInContext(TraceContext.java:449) at com.google.tracing.TraceContext$TraceContextRunnable $1.run(TraceContext.java:455) at com.google.tracing.TraceContext.runInContext(TraceContext.java: 695) at com.google.tracing.TraceContext $AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java: 333) at com.google.tracing.TraceContext $AbstractTraceContextCallback.runInInheritedContext(TraceContext.java: 325) at com.google.tracing.TraceContext $TraceContextRunnable.run(TraceContext.java:453) at com.google.apphosting.runtime.ThreadGroupPool $PoolEntry.run(ThreadGroupPool.java:251) at java.lang.Thread.run(Thread.java:679) I 2012-02-23 12:50:06.702 This request caused a new process to be started for your application, and thus caused your application code to be loaded for the first time. This request may thus take longer and use more CPU than a typical request for your application. W 2012-02-23 12:50:06.702 A serious problem was encountered with the process that handled this request, causing it to exit. This is likely to cause a new process to be used for the next request to your application. If you see this message frequently, you may be throwing exceptions during the initialization of your application. (Error code 104) DevServer fails after updating to java 6u31< http://groups.google.com/group/google-appengine-java/t/e794328f29deda85> doom777 <doom...@gmail.com> Feb 23 05:27AM -0800 Initializing App Engine server [ERROR] Unable to start App Engine server Unable to start embedded HTTP serverjava.lang.RuntimeException: Unable to You received this message because you are subscribed to the Google Group google-appengine-java. You can post via email <google-appengine-java@googlegroups.com>. To unsubscribe from this group, send<google-appengine-java+unsubscr...@googlegroups.com>an empty message. For more options, visit<http://groups.google.com/group/google-appengine-java/topics>this group. -- 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.