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
   restore the previous TimeZone
   at

   
com.google.appengine.tools.development.DevAppServerImpl.restoreLocalTimeZone(DevAppServerImpl.java:228)
   at

   
com.google.appengine.tools.development.DevAppServerImpl.start(DevAppServerImpl.java:164)
   at

   
com.google.appengine.tools.development.gwt.AppEngineLauncher.start(AppEngineLauncher.java:97)
   at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:509)
   at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1068)
   at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:811)
   at com.google.gwt.dev.DevMode.main(DevMode.java:311)
   Caused by: java.lang.NoSuchFieldException: defaultZoneTL
   at java.lang.Class.getDeclaredField(Unknown Source)
   at

   
com.google.appengine.tools.development.DevAppServerImpl.restoreLocalTimeZone(DevAppServerImpl.java:222)
   ... 6 more
   [ERROR] shell failed in doStartupServer method

   com.google.gwt.core.ext.UnableToCompleteException: (see previous log
   entries)
   at

   
com.google.appengine.tools.development.gwt.AppEngineLauncher.start(AppEngineLauncher.java:102)
   at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:509)
   at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1068)
   at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:811)
   at com.google.gwt.dev.DevMode.main(DevMode.java:311)




   Matthew Jaggard <matt...@jaggard.org.uk> Feb 23 01:48PM

   Please search the group and bug reports before posting a new thread.


   
http://groups.google.com/group/google-appengine-java/browse_thread/thread/1272fe639eeef892/cd59fa14c2301f57


   http://code.google.com/p/googleappengine/issues/detail?id=6928






  Clean 
Slate<http://groups.google.com/group/google-appengine-java/t/687891f345683408>

   Ian Marshall <ianmarshall...@gmail.com> Feb 23 01:22AM -0800

   You could:

   · Upload the new version of your application.
   · In your Administration Console:
   · Change the default application version to your new one.
   · Disable your application.
   · Delete all datastore entities.
   · Enable your application.

   Voilà?





  max keys for 
memcache<http://groups.google.com/group/google-appengine-java/t/2d478d6914787173>

   Matthew Jaggard <matt...@jaggard.org.uk> Feb 23 08:28AM

   "And the sql query won't be fast if there are are too many records."

   I don't think this is true. The datastore speed is designed to vary with
   the size of the result set, not the size of the data set.




 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.

Reply via email to