[appengine-java] Re: Eclipse (GWT) problem running project.
unfortunately, there is no chance that I ever renamed the project. The demo is fully generated fresh from project generator. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/oIfOQ0ejPzsJ. 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] Error
I am using Netbeans with GAE without any issues at the moment, so it should work. Can you check some things please? Can you run the dev server using the command line (dev_appserver.cmd)? If you can, can you run your code with it? Have you loaded the server in Netbeans correctly - with the correct paths, etc. listed under Servers under the Tools menu? Does the file nbproject\ant-deploy.xml contain the correct path for the SDK? Thanks, Mat. On 14 November 2011 04:22, Emmanuel Saenz emmanuel.sae...@gmail.com wrote: init: deps-module-jar: deps-ear-jar: deps-jar: library-inclusion-in-archive: library-inclusion-in-manifest: compile: compile-jsps: Starting Google App Engine Google App Engine Start Failed C:\Users\Familia\Documents\NetBeansProjects\emmanuelsaenzc\nbproject \build-impl.xml:721: Deployment error: Google App Engine Start Failed See the server log for details. at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java: 223) at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:106) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java: 291) at sun.reflect.GeneratedMethodAccessor77.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java: 106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:390) at org.apache.tools.ant.Target.performTasks(Target.java:411) at org.apache.tools.ant.Project.executeSortedTargets(Project.java: 1399) at org.apache.tools.ant.Project.executeTarget(Project.java:1368) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java: 41) at org.apache.tools.ant.Project.executeTargets(Project.java:1251) at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java: 284) at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java: 539) at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java: 153) BUILD FAILED (total time: 2 seconds) -- 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] Re: Best way to optimize a bulk update?
Hi Amy, I did not know you could use the query cursor in that way! Very interesting, thanks for the pointer. You are right my current approach will not scale well, I'll research this use of query cursors with task queues. Cheers, John On Nov 13, 11:50 pm, Amy Unruh amyu+gro...@google.com wrote: John, It looks like you only need to modify the 'active' user objects. In that case, you would want to use a Query that filters on the 'active' field, rather than fetching all User objects via an Extent. In addition, as your app scales it will probably make sense to break up your work into smaller batches using the Task Queue and Query Cursors (http://code.google.com/appengine/docs/java/datastore/jdo/queries.html...). Fetch a batch of the user objects. Then, use the query cursor-- obtained from the query results-- to enqueue a task to process the next batch of objects starting at that cursor point, and so on. To speed things up, you can enqueue the next task before you start processing the objects returned from the current query. On Fri, Nov 11, 2011 at 5:47 AM, John Clarke clarke...@gmail.com wrote: Hi, I'm trying to optimize my use of the Datastore. One of my slowest operations reads all of the entities from a table and updates the information in them all. I currently do this like so: PersistenceManager pm = PMF.get().getPersistenceManager(); Extent extent = pm.getExtent(Users.class); for(Object userObj : extent) { User user = (User)userObj; // only update active users if(user.isActive()) { // // in here I set some fields for each active user // } } // closs all fields and automatically save all the User objects extent.closeAll(); My User class is a POJO with various getters/setters for the data. It contains 13 fields and the primary key is a string. What is the best way to improve this? The User table currently only has 100 or so users but it could potentially grow to thousands. This operation runs every 10 minutes via cron and it takes about 30-40 seconds to complete!! What happens when extent.closeAll() is called? will it do multiple writes or is it a batch save? I'm currently using GAE v1.5.1 but am looking to move to v1.6 in the near future. Thanks, J -- 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] Re: Eclipse (GWT) problem running project.
I've installed Eclipse (Indigo) 3.5, and installed Java jdk1.7.0_01. I also installed the google plugin for Eclipse with the GWT SDK 2.4.0 and the App Engine SDK 1.5.5 for Eclipse. The Java JDK has been checked in the preferences at the installed JRE's. When I create a new google webapplication with an example code. It appears to be working normally and the new webapplication is being created as a new project. But when I try to run the project. The console comes up with the following anouncement: Loading modules com.demo.Demo [ERROR] Unable to find 'com/demo/Demo.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source? [ERROR] shell failed in doStartup method When I try to ignore this error by unchecking this error in google settings. When I run the program and when I execute the demo, I get this error message: *nov 14, 2011 10:25:53 AM com.google.apphosting.utils.jetty.JettyLogger info INFO: Logging to JettyLogger(null) via com.google.apphosting.utils.jetty.JettyLogger nov 14, 2011 10:25:53 AM com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml INFO: Successfully processed C:\Users\Oswin\workspace2\demo\war\WEB-INF/appengine-web.xml nov 14, 2011 10:25:53 AM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml INFO: Successfully processed C:\Users\Oswin\workspace2\demo\war\WEB-INF/web.xml nov 14, 2011 11:25:55 AM com.google.appengine.tools.development.DevAppServerImpl start INFO: The server is running at http://localhost:/nov 14, 2011 10:26:11 AM com.google.apphosting.utils.jetty.JettyLogger warn WARNING: Error for /demo/greet java.lang.VerifyError: Expecting a stackmap frame at branch target 17 in method com.googleapp.demo.server.GreetingServiceImpl.greetServer(Ljava/lang/String;)Ljava/lang/String; at offset 4 at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2404) at java.lang.Class.getConstructor0(Class.java:2714) at java.lang.Class.newInstance0(Class.java:343) at java.lang.Class.newInstance(Class.java:325) at org.mortbay.jetty.servlet.Holder.newInstance(Holder.java:153) at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:428) at org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:339) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166) at com.google.appengine.tools.development.HeaderVerificationFilter.doFilter(HeaderVerificationFilter.java:35) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:58) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:122) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.google.appengine.tools.development.BackendServersFilter.doFilter(BackendServersFilter.java:97) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418) at com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:70) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at com.google.appengine.tools.development.JettyContainerService$ApiProxyHandler.handle(JettyContainerService.java:351) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:938) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) * How can I solve this problem? -- You received this message because you are subscribed to the Google
[appengine-java] Channel API reconnect after token timeout
Hi, I'm not able to re-open a channel after the token expired. I'm using GWT on the client side. I am creating a new channel after the onError() method is called when the token expires. Everything looks ok but I do not get any events after reopening the channel. I've read in another thread that I had to delete the iframe manually, but this did not help either. Any ideas? Anybody managed to properly reconnect after timeout using GWT? Thanks, Daniel -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/CQxdbpTJw5wJ. 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] Error
By happy coincidence, I've just installed Netbeans and my code to a new machine and had exactly the same issue. The problem is that my default java.exe (the one that runs if you type java into a command prompt) is a version that belongs to a JRE. The vital line in the error log is one saying it could not find tools.jar in c:\program files\java\jre6\lib - which it wouldn't because tools.jar is not part of the JRE, it's part of the JDK. I resolved this by setting my path variable to include the bin directory of my JDK - in my case c:\program files\java\jdk1.6.0_22\bin before the location of java.exe I also uninstalled the JRE because I don't need it, but I guess that's optional. On my previous dev machine I'd been using jdk7 and jre7 and had no issues. Thanks, Mat. On 14 November 2011 09:23, Matthew Jaggard matt...@jaggard.org.uk wrote: I am using Netbeans with GAE without any issues at the moment, so it should work. Can you check some things please? Can you run the dev server using the command line (dev_appserver.cmd)? If you can, can you run your code with it? Have you loaded the server in Netbeans correctly - with the correct paths, etc. listed under Servers under the Tools menu? Does the file nbproject\ant-deploy.xml contain the correct path for the SDK? Thanks, Mat. On 14 November 2011 04:22, Emmanuel Saenz emmanuel.sae...@gmail.com wrote: init: deps-module-jar: deps-ear-jar: deps-jar: library-inclusion-in-archive: library-inclusion-in-manifest: compile: compile-jsps: Starting Google App Engine Google App Engine Start Failed C:\Users\Familia\Documents\NetBeansProjects\emmanuelsaenzc\nbproject \build-impl.xml:721: Deployment error: Google App Engine Start Failed See the server log for details. at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java: 223) at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:106) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java: 291) at sun.reflect.GeneratedMethodAccessor77.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java: 106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:390) at org.apache.tools.ant.Target.performTasks(Target.java:411) at org.apache.tools.ant.Project.executeSortedTargets(Project.java: 1399) at org.apache.tools.ant.Project.executeTarget(Project.java:1368) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java: 41) at org.apache.tools.ant.Project.executeTargets(Project.java:1251) at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java: 284) at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java: 539) at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java: 153) BUILD FAILED (total time: 2 seconds) -- 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] JDOQL Query for missing properties
Hi, I have a new property on an Entity and its only set at the new ones. The old entites show missing in the datastore viewer. How can i query with jdoql for entites that have missing OR propertyx ? thx in advance schtieF -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/EEGYHGa9tssJ. 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] JDOQL Query for missing properties
Because missing properties are not put into any index, it's not possible to query on them. The only option is to query for every single entity of the particular type. I guess you might need to change your code to include those parameters and then write an update method that you can run only once to query for all entities, update the property and then put them back to the datastore. Mat. On 14 November 2011 14:12, Mr. Schtief lisc...@gmail.com wrote: Hi, I have a new property on an Entity and its only set at the new ones. The old entites show missing in the datastore viewer. How can i query with jdoql for entites that have missing OR propertyx ? thx in advance schtieF -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/EEGYHGa9tssJ. 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] Re: Channel API reconnect after token timeout
...finally figured out how to properly remove the iframe from a GWT app: public static native void removeChannelApi() /*-{ var child = $wnd.parent.document.getElementById(wcs-iframe); if ( child != null ) { child.parentNode.removeChild(child); } }-*/; -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/sg_sPX024w8J. 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] JDO embedded object not being initialized after JDO query
Hi, I have a really simple domain structure, like this: @PersistenceCapable Account implements Serializable { @Persistent @PrimaryKey Key id; @Persistent @Embedded AccountDetails details; } @PersistenceCapable @EmbeddedOnly AccountDetails implements Serializable { @Persistent String name; } I can successfully save a new Account. However, when I retrieve it, either doing a - (PersistenceManagerFactory).getObjectById - JDO query the object is found, but that property is *always *null. Is something missing in the code above? I have also noticed that @Persistent(serialized=true) fields in embedded classes seem to cause an exception while saving the *Account*. (is this a known issue or I'm doing something wrong again?). Thanks. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/BD_6D5BPe10J. 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] Updating Eclipse
Hey googler's... It has been a week now since 1.6.0 has been released. I'd love to see an update to the Eclipse integration to support the new version. Ideally, this would go out on the same day a new version is released. Is there anything I can do to help? thanks, jon -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/gjYDmsVe-zAJ. 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: Updating Eclipse
nothing, but installing the SDK by hand as we used to do :-( On Nov 15, 6:18 am, jon stevens latch...@gmail.com wrote: Hey googler's... It has been a week now since 1.6.0 has been released. I'd love to see an update to the Eclipse integration to support the new version. Ideally, this would go out on the same day a new version is released. Is there anything I can do to help? thanks, jon -- 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: Eclipse (GWT) problem running project.
I had a similar problem in Eclipse 3.7. I solved it by downgrading to JRE 1.6. -Markus This mail was written on a mobile device. Please bear with me for any typos. Am 14.11.2011 11:39 schrieb Oswin osw-...@hotmail.com: I've installed Eclipse (Indigo) 3.5, and installed Java jdk1.7.0_01. I also installed the google plugin for Eclipse with the GWT SDK 2.4.0 and the App Engine SDK 1.5.5 for Eclipse. The Java JDK has been checked in the preferences at the installed JRE's. When I create a new google webapplication with an example code. It appears to be working normally and the new webapplication is being created as a new project. But when I try to run the project. The console comes up with the following anouncement: Loading modules com.demo.Demo [ERROR] Unable to find 'com/demo/Demo.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source? [ERROR] shell failed in doStartup method When I try to ignore this error by unchecking this error in google settings. When I run the program and when I execute the demo, I get this error message: *nov 14, 2011 10:25:53 AM com.google.apphosting.utils.jetty.JettyLogger info INFO: Logging to JettyLogger(null) via com.google.apphosting.utils.jetty.JettyLogger nov 14, 2011 10:25:53 AM com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml INFO: Successfully processed C:\Users\Oswin\workspace2\demo\war\WEB-INF/appengine-web.xml nov 14, 2011 10:25:53 AM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml INFO: Successfully processed C:\Users\Oswin\workspace2\demo\war\WEB-INF/web.xml nov 14, 2011 11:25:55 AM com.google.appengine.tools.development.DevAppServerImpl start INFO: The server is running at http://localhost:/nov 14, 2011 10:26:11 AM com.google.apphosting.utils.jetty.JettyLogger warn WARNING: Error for /demo/greet java.lang.VerifyError: Expecting a stackmap frame at branch target 17 in method com.googleapp.demo.server.GreetingServiceImpl.greetServer(Ljava/lang/String;)Ljava/lang/String; at offset 4 at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2404) at java.lang.Class.getConstructor0(Class.java:2714) at java.lang.Class.newInstance0(Class.java:343) at java.lang.Class.newInstance(Class.java:325) at org.mortbay.jetty.servlet.Holder.newInstance(Holder.java:153) at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:428) at org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:339) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166) at com.google.appengine.tools.development.HeaderVerificationFilter.doFilter(HeaderVerificationFilter.java:35) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:58) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:122) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.google.appengine.tools.development.BackendServersFilter.doFilter(BackendServersFilter.java:97) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418) at com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:70) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at com.google.appengine.tools.development.JettyContainerService$ApiProxyHandler.handle(JettyContainerService.java:351) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:938) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at
[appengine-java] Re: Updating Eclipse
Yea, that is obvious, but lame. Every time I restart the container, I get this big message saying that an update is available, but I can't actually auto install it. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/MGX-v0-3u9oJ. 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] corrupted content of text/html part in received email
Hi, App engine cannot receive html email ( sent from gmail ) correctly. ( @appid.appspotmail.com) The following code will show the error: byte[] bytes = content.getBytes(encoding); // gmail used ISO-8859-1 mostly, UTF-8 sometime also printBytes(bytes); - output: 64 (offset from beginning): 30 2e 38 65 78 3b 20* 00 *61 64 64 69 6e 67 2d 6c - 0.8ex; 144: *00 *63 6f 6d 3c 2f 61 3e 26 67 74 3b 3c 2f 73 70 - 208: 20 30 70 78 20 30 2e 38 65* 00 *3b 20 70 61 64 64 - 0px 0.8e 00 doesn't make sense here and it was another correct character which was overwritten to 0. It repros in every html emails sent from gmail. The corruption happens every 72 characters or so. Looks like a bug we will file. -T -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/Ggg6jLrm1cgJ. 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.