[appengine-java] 500 Server Error (Dashboard)
Hi guys I'm having a 500 Server Error after trying to delete some rows on the datastore. Any idea how can i get access back to the account? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: 500 Server Error (Dashboard)
I am getting the following 500 Server Error message while trying to login to appengine.google.com to view the admin panel: Error: Server Error The server encountered an error and could not complete your request. If the problem persists, please report your problem and mention this error message and the query that caused it. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: App Engine Really Slow after certain time of no requests
This is a known issue and the app engine team may provide a way to buy a reserved warm instance to reduce startup times - at least it's on their roadmap. On Nov 12, 5:48 am, OdysseyFX bradwill...@gmail.com wrote: I definitely experience this problem to. I have a cron job that runs every 15 minutes to alleviate the problem but it annoys me. On Nov 11, 12:48 pm, GeneralSlaine lennart.ben...@gmail.com wrote: Hi all, I have had a number of performance issues on initial loading of my app engine application. Part of it is already solved by using Caching. However, my application is still very slow when first loading a servlet after a certain amount of time of inactivity (I think about 1 minute). After this period of inactivity it takes from 3 to 6 seconds to load. Next requests take typically 400 MS. The initial load time is not acceptable for the actual application. Anyone any experience with this? How can I avoid this? I already considered implementing following solutions to keep application / servlet in memory 1/ call application every minute from external application 2/ setup a cron job performing a request every minute to actual servlet I think both are a solution but honestly not my preferred solution as I expect performance from this platform. BRL -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Readonly permission to a user
Hello, How can I do the following... I want to invite another user to my app-id. I want to provide read-only permissions for the Datastore Viewer in the Google App Engine dashboard. Regards -Aswath http://vs-accounting.appspot.com -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Timeout while deploying
Hi, I am experiencing the same problem with my application ID: domodentweb com.google.apphosting.utils.config.AppEngineConfigException: Received IOException parsing the input stream for G:/eclipseWorkspaces/ workspace_jee_galileo/domodentweb/war\WEB-INF/web.xml at com.google.apphosting.utils.config.AbstractConfigXmlReader.getTopLevelNode(AbstractConfigXmlReader.java: 210) at com.google.apphosting.utils.config.AbstractConfigXmlReader.parse(AbstractConfigXmlReader.java: 228) at com.google.apphosting.utils.config.WebXmlReader.processXml(WebXmlReader.java: 142) at com.google.apphosting.utils.config.WebXmlReader.processXml(WebXmlReader.java: 22) at com.google.apphosting.utils.config.AbstractConfigXmlReader.readConfigXml(AbstractConfigXmlReader.java: 111) at com.google.apphosting.utils.config.WebXmlReader.readWebXml(WebXmlReader.java: 73) at com.google.appengine.tools.admin.Application.init(Application.java: 105) at com.google.appengine.tools.admin.Application.readApplication(Application.java: 151) at com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.createAppAdmin(AppEngineBridgeImpl.java: 204) at com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy(AppEngineBridgeImpl.java: 265) at com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace(DeployProjectJob.java: 146) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java: 38) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source) at java.net.PlainSocketImpl.connectToAddress(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at sun.net.NetworkClient.doConnect(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.init(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source) at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl $DTDDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) at org.mortbay.xml.XmlParser.parse(XmlParser.java:230) at com.google.apphosting.utils.config.AbstractConfigXmlReader.getTopLevelNode(AbstractConfigXmlReader.java: 206) ... 12 more On 10 Nov, 08:38, Joakim S?derstr?m joakim.soderst...@gmail.com wrote: Since yesterday, I've been experiencing difficulty while trying to use appcfg to deploy a new version to App Engine. Sometimes I have to try something like 10 times before the upload is successful. The error that I get seems to be caused by a timeout. Complete stacktrace: Reading application configuration data... Nov 10, 2010 8:32:55 AM com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml INFO: Successfully processed war/WEB-INF/appengine-web.xml 2010-11-10 08:32:55.723:INFO::Logging to STDERR via org.mortbay.log.StdErrLog Nov 10, 2010 8:33:16 AM com.google.apphosting.utils.config.AbstractConfigXmlReader getTopLevelNode SEVERE: Received IOException parsing the input stream for war/WEB-INF/web.xml java.net.ConnectException: Connection timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:310 ) at
[appengine-java] Re: 500 Server Error (Dashboard)
++1. Any idea when will it be resolved? On Nov 12, 2:28 pm, Nikhil Aggarwal nikhil.kumar.aggar...@gmail.com wrote: I am getting the following 500 Server Error message while trying to login to appengine.google.com to view the admin panel: Error: Server Error The server encountered an error and could not complete your request. If the problem persists, please report your problem and mention this error message and the query that caused it. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Timeout while deploying
Hi Same thing here: I noticed that the messages in the deploying script have changed a little bit. I guess that Google team has made / is making an update on the infrastructure and it brings some issues... Some patience will probably solve it ;-) didier On Nov 12, 10:43 am, nicanor.babula nicanor.bab...@gmail.com wrote: Hi, I am experiencing the same problem with my application ID: domodentweb com.google.apphosting.utils.config.AppEngineConfigException: Received IOException parsing the input stream for G:/eclipseWorkspaces/ workspace_jee_galileo/domodentweb/war\WEB-INF/web.xml at com.google.apphosting.utils.config.AbstractConfigXmlReader.getTopLevelNode(AbstractConfigXmlReader.java: 210) at com.google.apphosting.utils.config.AbstractConfigXmlReader.parse(AbstractConfigXmlReader.java: 228) at com.google.apphosting.utils.config.WebXmlReader.processXml(WebXmlReader.java: 142) at com.google.apphosting.utils.config.WebXmlReader.processXml(WebXmlReader.java: 22) at com.google.apphosting.utils.config.AbstractConfigXmlReader.readConfigXml(AbstractConfigXmlReader.java: 111) at com.google.apphosting.utils.config.WebXmlReader.readWebXml(WebXmlReader.java: 73) at com.google.appengine.tools.admin.Application.init(Application.java: 105) at com.google.appengine.tools.admin.Application.readApplication(Application.java: 151) at com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.createAppAdmin(AppEngineBridgeImpl.java: 204) at com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy(AppEngineBridgeImpl.java: 265) at com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace(DeployProjectJob.java: 146) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java: 38) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source) at java.net.PlainSocketImpl.connectToAddress(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at sun.net.NetworkClient.doConnect(Unknown Source) at sun.net.www.http.HttpClient.openServer(UnknownSource) at sun.net.www.http.HttpClient.openServer(UnknownSource) at sun.net.www.http.HttpClient.init(Unknown Source) at sun.net.www.http.HttpClient.New(UnknownSource) at sun.net.www.http.HttpClient.New(UnknownSource) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source) at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl $DTDDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) at org.mortbay.xml.XmlParser.parse(XmlParser.java:230) at com.google.apphosting.utils.config.AbstractConfigXmlReader.getTopLevelNode(AbstractConfigXmlReader.java: 206) ... 12 more On 10 Nov, 08:38, Joakim S?derstr?m joakim.soderst...@gmail.com wrote: Since yesterday, I've been experiencing difficulty while trying to use appcfg to deploy a new version to App Engine. Sometimes I have to try something like 10 times before the upload is successful. The error that I get seems to be caused by a timeout. Complete stacktrace: Reading application configuration data... Nov 10, 2010 8:32:55 AM com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml INFO: Successfully processed war/WEB-INF/appengine-web.xml 2010-11-10 08:32:55.723:INFO::Logging to STDERR via
[appengine-java] Re: Readonly permission to a user
Hi From bullet 2 on this page http://code.google.com/appengine/docs/theadminconsole.html, I don't think that you can restrict rights to people that you made co- developpers. regards didier On Nov 12, 10:31 am, aswath satrasala aswath.satras...@gmail.com wrote: Hello, How can I do the following... I want to invite another user to my app-id. I want to provide read-only permissions for the Datastore Viewer in the Google App Engine dashboard. Regards -Aswathhttp://vs-accounting.appspot.com -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: SAXParseException: Premature end of file on dev server
I have got the warning that I reported at the beginning of this thread again today, in the same circumstances. I have the index file datastore-indexes-auto.xml. I started my run without an index file or a local_db.bin file, so both files were created by the GAE/J development server together. I did stop my server later and then restart it using the same .bin and .xml files, and then got my warning. It might be that the dev server caches writes and that the index file got updated but not the datastore file before I shut the server down. But in this case, I fail to see how, on server restart, a required index already added to the index file automatically should cause a problem. This is a low priority note, but it would be nice to clear it up (just as I like to clear all compilation warnings!). On Oct 21, 1:55 pm, pman pollk...@gmail.com wrote: i faced similar problem b4. traced and found caused by datastore-indexes.xml existed b4 datastore is created. remove it then okay. On Oct 21, 5:56 pm, Cyrille Vincey crll...@gmail.com wrote: Same issue for the past 3 days. Only occuring on the dev server. I have tried for hours to solve it. No clue... Fortunately, no impact on the production environment. On 21/10/10 11:50, Ian Marshall ianmarshall...@gmail.com wrote: Hello All, I am running my web application on the GAE/J 1.3.8 development server on my local machine. I have just got the following log entry whilst testing: 21-Oct-2010 09:13:06 com.google.apphosting.utils.jetty.JettyLogger warn WARNING: fa...@null line:1 col:1 : org.xml.sax.SAXParseException: Premature end of file. I did not notice any effect on my web app: I was reading data from my dev server's datastore but not writing any data to it (apart from perhaps some data of my session). Has anyone else got this recently? Am I doing anything wrong, or could this be just an occasional glitch of the dev server which I can just ignore? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: SAXParseException: Premature end of file on dev server
I just got this error again, but instead of just the one line I reported at the head of this thread, this exception caused the failure of the creation of my (next) Apache Wicket page. I set out the full stack trace for interested people below. Ignore the Wicket part of it, since I believe that the Wicket failure is caused by a preceding SAXParseException. As a work-around, I just went to the previous page using my browser and tried again. This time, all worked at it should. 12-Nov-2010 11:40:06 com.google.apphosting.utils.jetty.JettyLogger warn WARNING: fa...@null line:1 col:1 : org.xml.sax.SAXParseException: Premature end of file. 12-Nov-2010 11:40:06 org.apache.wicket.RequestCycle logRuntimeException SEVERE: Can't instantiate page using constructor public [...].MyPage() org.apache.wicket.WicketRuntimeException: Can't instantiate page using construct or public [...].MyPage() at org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFa ctory.java:212) at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFacto ry.java:57) at org.apache.wicket.request.target.component.BookmarkablePageRequestTar get.newPage(BookmarkablePageRequestTarget.java:298) at org.apache.wicket.request.target.component.BookmarkablePageRequestTar get.getPage(BookmarkablePageRequestTarget.java:320) at org.apache.wicket.request.target.component.BookmarkablePageRequestTar get.processEvents(BookmarkablePageRequestTarget.java:234) at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents (AbstractRequestCycleProcessor.java:92) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.j ava:1250) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329) at org.apache.wicket.RequestCycle.steps(RequestCycle.java: 1436) at org.apache.wicket.RequestCycle.request(RequestCycle.java: 545) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java: 484) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.ja va:317) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(Servlet Handler.java:1157) at com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(Serve BlobFilter.java:58) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(Servlet Handler.java:1157) at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter (TransactionCleanupFilter.java:43) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(Servlet Handler.java:1157) at com.google.appengine.tools.development.StaticFileFilter.doFilter(Stat icFileFilter.java:122) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(Servlet Handler.java:1157) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:3 88) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.jav a:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:1 82) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:7 65) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418) at com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(De vAppEngineWebAppContext.java:70) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:1 52) at com.google.appengine.tools.development.JettyContainerService $ApiProxy Handler.handle(JettyContainerService.java:349) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:1 52) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:54 2) at org.mortbay.jetty.HttpConnection $RequestHandler.headerComplete(HttpCo nnection.java:923) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java: 212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java: 404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.ja va:409) at org.mortbay.thread.QueuedThreadPool $PoolThread.run(QueuedThreadPool.j ava:582) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou rce) at java.lang.reflect.Constructor.newInstance(Unknown Source) at com.google.appengine.tools.development.agent.runtime.Runtime.newInsta nce_(Runtime.java:112) at com.google.appengine.tools.development.agent.runtime.Runtime.newInsta nce(Runtime.java:120) at org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFa ctory.java:192) ... 35
Re: [appengine-java] Re: SAXParseException: Premature end of file on dev server
I got this error several times. In my case, error was coming from data xml files used to upload data. The xml files were containing bad chars because they had been edited with an inappropriate text editor. Yep, I know, this surely doesn't help... On 12/11/10 12:50, Ian Marshall ianmarshall...@gmail.com wrote: I just got this error again, but instead of just the one line I reported at the head of this thread, this exception caused the failure of the creation of my (next) Apache Wicket page. I set out the full stack trace for interested people below. Ignore the Wicket part of it, since I believe that the Wicket failure is caused by a preceding SAXParseException. As a work-around, I just went to the previous page using my browser and tried again. This time, all worked at it should. 12-Nov-2010 11:40:06 com.google.apphosting.utils.jetty.JettyLogger warn WARNING: fa...@null line:1 col:1 : org.xml.sax.SAXParseException: Premature end of file. 12-Nov-2010 11:40:06 org.apache.wicket.RequestCycle logRuntimeException SEVERE: Can't instantiate page using constructor public [...].MyPage() org.apache.wicket.WicketRuntimeException: Can't instantiate page using construct or public [...].MyPage() at org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFa ctory.java:212) at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFacto ry.java:57) at org.apache.wicket.request.target.component.BookmarkablePageRequestTar get.newPage(BookmarkablePageRequestTarget.java:298) at org.apache.wicket.request.target.component.BookmarkablePageRequestTar get.getPage(BookmarkablePageRequestTarget.java:320) at org.apache.wicket.request.target.component.BookmarkablePageRequestTar get.processEvents(BookmarkablePageRequestTarget.java:234) at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents (AbstractRequestCycleProcessor.java:92) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.j ava:1250) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329) at org.apache.wicket.RequestCycle.steps(RequestCycle.java: 1436) at org.apache.wicket.RequestCycle.request(RequestCycle.java: 545) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java: 484) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.ja va:317) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(Servlet Handler.java:1157) at com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(Serve BlobFilter.java:58) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(Servlet Handler.java:1157) at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter (TransactionCleanupFilter.java:43) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(Servlet Handler.java:1157) at com.google.appengine.tools.development.StaticFileFilter.doFilter(Stat icFileFilter.java:122) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(Servlet Handler.java:1157) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:3 88) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.jav a:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:1 82) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:7 65) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418) at com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(De vAppEngineWebAppContext.java:70) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:1 52) at com.google.appengine.tools.development.JettyContainerService $ApiProxy Handler.handle(JettyContainerService.java:349) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:1 52) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:54 2) at org.mortbay.jetty.HttpConnection $RequestHandler.headerComplete(HttpCo nnection.java:923) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java: 212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java: 404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.ja va:409) at org.mortbay.thread.QueuedThreadPool $PoolThread.run(QueuedThreadPool.j ava:582) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou rce) at java.lang.reflect.Constructor.newInstance(Unknown Source)
Re: [appengine-java] Re: Blobstore upload forms and character encoding
Hi Guillaume, Is it possible for you to use WireShark or a logging proxy to capture the actual HTTP session? When parsing the multipart/form-data response from the browser we look at the charset attribute on each individual mime part, and if it is missing we assume ISO-8859-1. I suspect that's biting you here, but it's not clear to me where we should be getting the fallback charset if the browser isn't setting it on each part. As for seeing the relevant code, we have a mechanism in place to begin open-sourcing parts of the SDK. We will be doing this gradually over several releases, but I will see if we can start with this code. Thanks, Don On Wed, Sep 29, 2010 at 2:48 AM, Guillaume Laforge glafo...@gmail.com wrote: Yup, that would be handy to be able to look at the sources of the local dev server. I mean, even if it's not open source in the sense we can fork it or anything, but just being able to view the sources may help sometimes understand the differences between dev and prod. On Wed, Sep 29, 2010 at 09:18, Mikhail Zemlyanukha gmi...@gmail.com wrote: Well, Google could open source at least their implementations of local dev servers... Thanks guys for sharing this, I new with GAE and surely would face the this issue, since I also started using Blobstore. Regards, Mike On Mon, Sep 27, 2010 at 12:46 PM, Guillaume Laforge glafo...@gmail.com wrote: Hi Pieter, Although happening in a different context, this seems to be a similar issue: 1) there is a difference between the dev server environment, and the production environment 2) it's again a problem with encoding / decoding parameters This would be great if Google could investigate that one :-) These little differences and issues are quite annoying and can be quite time consuming when trying to figure out what's the problem. Thanks for the pointer, Pieter. Guillaume On Mon, Sep 27, 2010 at 09:22, Pieter Coucke pieter.cou...@onthoo.com wrote: Maybe this is related to issue 2097, I ended up using the same fix in Deferred.java as described here: http://code.google.com/p/googleappengine/issues/detail?can=2q=2097colspec=ID%20Type%20Status%20Priority%20Stars%20Owner%20Summary%20Log%20Componentid=2097#c13 -- Guillaume Laforge Groovy Project Manager Head of Groovy Development at SpringSource http://www.springsource.com/g2one -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Guillaume Laforge Groovy Project Manager Head of Groovy Development at SpringSource http://www.springsource.com/g2one -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: 500 Server Error (Dashboard)
Yes, I'm too. But I can log in if trying some times. Google may be maintaining their server. Hung On Nov 12, 4:51 pm, rsutaria rsuta...@gmail.com wrote: ++1. Any idea when will it be resolved? On Nov 12, 2:28 pm, Nikhil Aggarwal nikhil.kumar.aggar...@gmail.com wrote: I am getting the following 500 Server Error message while trying to login to appengine.google.com to view the admin panel: Error: Server Error The server encountered an error and could not complete your request. If the problem persists, please report your problem and mention this error message and the query that caused it. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Appstat filter defined on /* url pattern not working with federated login
Hello Everyone, I have an application deployed on GoogleAppEngine and i am using both openid and appstat.I have defined both of these as a filter i.e openid filter appstat filter on /* url pattern. My issue is, when I use both of these simultaneously I starts receiving 500 internal error.When I checked the case on a new standalone application I found that appstat filter defined on /* pattern does not work with federated login in Application setting gives Error: NOT_FOUND error while it works fine when defined on any other url pattern except /* Kindly suggest as because of this I am confused how to use both openid filter appstat filter simultaneously on /* pattern coz federated login is necessary for openid work. Any help or suggestion will be highly appreciated as even after a lot of googling I am not able to find the answer. Thanks, Gaurav -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: 500 Server Error (Dashboard)
And the latency is not so good today : http://code.google.com/status/appengine/detail/serving-java/2010/11/12#ae-trust-detail-helloworld-get-java-latency Some of my pages are suddenly loading very slowly without any reason (and no cold start going on). Quite annoying as I was doing a demo to an important potential user. Francois On Nov 12, 11:28 am, heros lvh...@gmail.com wrote: Yes, I'm too. But I can log in if trying some times. Google may be maintaining their server. Hung On Nov 12, 4:51 pm, rsutaria rsuta...@gmail.com wrote: ++1. Any idea when will it be resolved? On Nov 12, 2:28 pm, Nikhil Aggarwal nikhil.kumar.aggar...@gmail.com wrote: I am getting the following 500 Server Error message while trying to login to appengine.google.com to view the admin panel: Error: Server Error The server encountered an error and could not complete your request. If the problem persists, please report your problem and mention this error message and the query that caused it. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Re: Timeout while deploying
Do you guys have a sample appengine-web.xml and application IDs? -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Fri, Nov 12, 2010 at 2:00 AM, Didier Durand durand.did...@gmail.comwrote: Hi Same thing here: I noticed that the messages in the deploying script have changed a little bit. I guess that Google team has made / is making an update on the infrastructure and it brings some issues... Some patience will probably solve it ;-) didier On Nov 12, 10:43 am, nicanor.babula nicanor.bab...@gmail.com wrote: Hi, I am experiencing the same problem with my application ID: domodentweb com.google.apphosting.utils.config.AppEngineConfigException: Received IOException parsing the input stream for G:/eclipseWorkspaces/ workspace_jee_galileo/domodentweb/war\WEB-INF/web.xml at com.google.apphosting.utils.config.AbstractConfigXmlReader.getTopLevelNode(AbstractConfigXmlReader.java: 210) at com.google.apphosting.utils.config.AbstractConfigXmlReader.parse(AbstractConfigXmlReader.java: 228) at com.google.apphosting.utils.config.WebXmlReader.processXml(WebXmlReader.java: 142) at com.google.apphosting.utils.config.WebXmlReader.processXml(WebXmlReader.java: 22) at com.google.apphosting.utils.config.AbstractConfigXmlReader.readConfigXml(AbstractConfigXmlReader.java: 111) at com.google.apphosting.utils.config.WebXmlReader.readWebXml(WebXmlReader.java: 73) at com.google.appengine.tools.admin.Application.init(Application.java: 105) at com.google.appengine.tools.admin.Application.readApplication(Application.java: 151) at com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.createAppAdmin(AppEngineBridgeImpl.java: 204) at com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy(AppEngineBridgeImpl.java: 265) at com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace(DeployProjectJob.java: 146) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java: 38) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source) at java.net.PlainSocketImpl.connectToAddress(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at sun.net.NetworkClient.doConnect(Unknown Source) at sun.net.www.http.HttpClient.openServer(UnknownSource) at sun.net.www.http.HttpClient.openServer(UnknownSource) at sun.net.www.http.HttpClient.init(Unknown Source) at sun.net.www.http.HttpClient.New(UnknownSource) at sun.net.www.http.HttpClient.New(UnknownSource) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source) at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl $DTDDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) at org.mortbay.xml.XmlParser.parse(XmlParser.java:230) at com.google.apphosting.utils.config.AbstractConfigXmlReader.getTopLevelNode(AbstractConfigXmlReader.java: 206) ... 12 more On 10 Nov, 08:38, Joakim S?derstr?m joakim.soderst...@gmail.com wrote: Since yesterday, I've been experiencing difficulty while trying to use appcfg to deploy a
Re: [appengine-java] java.lang.ClassNotFoundException
Your code is probably not being compiled. Can you clean the project and try again? -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Tue, Nov 9, 2010 at 11:26 PM, senderj send...@hotmail.com wrote: I encountered this exception even with the simplest project - a new project in Eclipse for GAE with the generated Hello! World servlet. Here is what I got in my logs in one run: Warning: java.lang.ClassNotFoundException: my.package.MypackageServlet . Error: javax.servlet.ServletContext log: unavailable javax.servlet.UnavailableException: my.package.MypackageServlet . Warning: Failed startup of context com.google.apphosting.utils.jetty.runtimeappenginewebappcont...@d2d58b{/,/ base/data/home/apps/whaleproxy3/1.346113531926587784} java.lang.NullPointerException . Critical: Uncaught exception from servlet javax.servlet.UnavailableException: Initialization failed. . Everything was generated by Eclipse except the project name and package name. Anybody knows what is wrong? I can provide the full log if necessary. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@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-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] how to send DataStore Between To Java AppEngine Accounts
Yes, via the bulkloader: http://code.google.com/appengine/docs/python/tools/uploadingdata.html http://code.google.com/appengine/docs/python/tools/uploadingdata.htmlDownload the data locally, then upload it to the new application. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Thu, Nov 11, 2010 at 9:30 AM, Ahmed Shoeib ahmedelsayed.sho...@gmail.com wrote: hi , is there a direct way to send dataStore from on appEngine Account to another one ??? how can i do this ?? 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-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@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-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Cold starts taking longer since recent update ?
Hi everbody, Has anyone noticed that cold starts seems to last quite longer than usual recently ? Some of my cold starts that were about 3 to 4 seconds before are now up to 10 seconds. Sometimes I get them while navigating from one page to another. Quite annoying. I'm supposed to go in production before year end, will reserved instances be available by that date ? Thanx for your help. Francois -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Error code 203
Hi, I am getting many: 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 should contact the App Engine team. (Error code 203) lately. App id: sonno-store Anything I can do about it? -- 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-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: How to write a JPA unit test for GAE?
You could get more information on the way we set up our testing infra here http://thoughts.inphina.com/2010/06/28/unit-testing-maven-based-jpa-application-on-gae/ Regards | Vikas www.inphina.com On Nov 10, 2:37 pm, lp lucio.picc...@gmail.com wrote: hi all, i have been attempting to convert my existing JPA code over to GAE. All is working so far except for the unit tests. i read code.google.com/appengine/docs/java/tools/localunittesting.html but it doesnt describe how to get an entityManager involved in usefull unit tests. so this is my test. please advise how to achieve the functionality in this test. @Test public void findFriendsSimple() { PositionUser user1 = new PositionUser(); user1.setFirstName(john); user1.setLastName(smith); PositionUser user2 = new PositionUser(); user2.setFirstName(mary); user2.setLastName(smith); PositionUser user3 = new PositionUser(); user3.setFirstName(barney); user3.setLastName(smith); em.persist(user2); em.persist(user3); //em.flush(); --- can use flush for non transaction test user1.getFriends().add(user2.getKey()); user1.getFriends().add(user3.getKey()); em.persist(user1); //em.flush(); --- can use flush for non transaction test Query query = em.createNamedQuery(PositionUser.FIND_FRIENDS); query.setParameter(userKey, user1.getKey()); List resultList = query.getResultList(); assertEquals( 2, resultList.size() ); } the assert is triggered java.lang.AssertionError: expected:2 but was:0 this is because the entitymanager wont detect the persisted entities that arent in a transaction. ok no problem, i will add transactions. But when i do it complains that i am adding multiple groups in a single transaction. So besides the simple gae sample unit test, how are others writting useful unit tests in gae? any help is most appreciated -lp -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Problems pointing my GoDaddy domain to App Engine (no other posts have been able to help!)
Sometimes it just takes time for redirection to happen as it needs to be propagated across servers. We have mapped several domains from GoDaddy to the app engine and it just works. Regards | Viaks www.inphina.com On Nov 9, 8:59 pm, Kevin M kvnsmo...@gmail.com wrote: So I have a domain hosted on GoDaddy.com and I just set up Google App Engine and Google Apps. I registered my new domain with Google Apps so that I can see it in my dashboard and I believe I did what I needed to do to verify I'm the owner of the domain. I added the CNAME entry in GoDaddy for www to point to ghs.google.com and removed all others. I set up the MX records I saw in another post so at least my email is going where I expect it to. But, my new URL is not going to my google app engine application for some reason. Do I need to change the Name Servers from GoDaddy name servers to Google name servers? Do I need A(Host) entries? I'm confused. Please 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-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Can't update int[] array in a class?
Hi, I'm having trouble updating a class which has an array of ints: @PersistenceCapable class Foo { @Persistent @Extension(vendorName = datanucleus, key = gae.unindexed, value=true) int[] vals; } ... Foo foo = new Foo(); foo.vals = new int[] { 1, 2, 3 }; pm.makePersistent(foo); The first time an instance is created, the values are all there ok. If I try updating them though, the changes never persist: public void updateFoo(PersistenceManagerFactory pmf) { PersistenceManager pm = pmf.getPersistenceManager(); Foo foo = pm.getObjectById(Foo.class, myKey); foo.vals[0] = 100; pm.makePersistent(foo); } I print the values out directly after the call on the foo object instance, and the update seems to have worked in memory. However, the next time I call updateFoo(), the values are once again starting at { 1, 2, 3 }, and not { 100, 2, 3 } as I'm expecting. What am I doing wrong? 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-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[google-appengine] Re: Pagination using Query Cursors
Just out of curiousity. Did you solve your problem. If yes, how? Greetings! Michael Martinides On 27 Sep., 07:25, Tarun tarun.chha...@gmail.com wrote: Hi, I have been trying to performPaginationon the App Engine using Java, for a large data set of information. I read about it on many previous posts including the official documentation of Google App Engine : http://code.google.com/appengine/docs/java/datastore/queriesandindexe... Considering the constraints of fetching data from the datastore, nearly all the posts suggested the use of Cursors (a feature that was added in version 1.3.3.1 of the App Engine SDK ). Most of the code examples that I came across were performingpaginationby displaying the pages sequentially, but my requirement is to even allow displaying the result for any page, i.e a random access is required. In simple words, I wish to attain apaginationwhich is similar to Google's way of displaying search results. After going through the Java Docs of the SDK, I got to know that Cursors can only store the index value for the next set of entries. Is there any other way to satisfy my requirement? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Urgent: 1 minute cron jobs are still not getting executed
Cool, thanks! Any idea what caused this problem? On Nov 12, 1:56 am, Ian Lewis ianmle...@gmail.com wrote: On Fri, Nov 12, 2010 at 8:27 AM, dflorey daniel.flo...@gmail.com wrote: Hi, please have a look at trecontacts, the 1-minute cron jobs are still not getting executed. ~500 apps of our customers are affected and stopped working ~12 hours ago. Daniel It seems it was out for us as well from 22:17 to 08:12 Japan time. About 10 hours. It seems it started working again about 15 minutes before your message arrived. -- Ian http://www.ianlewis.org/ -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Pagination using Query Cursors
I am solving this problem by iterating through the result list asynchronously and caching the cursors pointing to each start of the page. Check out how it look here: http://ucm.floreyosft.net On Nov 12, 9:43 am, msmart michael.martini...@gmail.com wrote: Just out of curiousity. Did you solve your problem. If yes, how? Greetings! Michael Martinides On 27 Sep., 07:25, Tarun tarun.chha...@gmail.com wrote: Hi, I have been trying to performPaginationon the App Engine using Java, for a large data set of information. I read about it on many previous posts including the official documentation of Google App Engine : http://code.google.com/appengine/docs/java/datastore/queriesandindexe... Considering the constraints of fetching data from the datastore, nearly all the posts suggested the use of Cursors (a feature that was added in version 1.3.3.1 of the App Engine SDK ). Most of the code examples that I came across were performingpaginationby displaying the pages sequentially, but my requirement is to even allow displaying the result for any page, i.e a random access is required. In simple words, I wish to attain apaginationwhich is similar to Google's way of displaying search results. After going through the Java Docs of the SDK, I got to know that Cursors can only store the index value for the next set of entries. Is there any other way to satisfy my requirement? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Anyone getting occasional bad responses from the app engine?
Did you check the show requests option in the logs? You may see the missing requests throwing 500ers. On Nov 11, 5:44 pm, gholler georgehol...@gmail.com wrote: We have an app that we use Pingdom to hit every 5 minutes to check for downtime and about twice a day the service is getting back bad content (control characters). If we look in our app engine logs the requests are not even logged, so something is happening earlier. Anyone else seeing something like this? George -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: 1-minute cron jobs are not getting executed on all apps
Thanks a lot + thanks for explaining the root cause. Daniel On Nov 12, 2:38 am, Ikai Lan (Google) ikai.l+gro...@google.com wrote: This issue has been resolved. It was the result of a configuration push we did to attempt to increase background worker throughput. We've rolled back the change. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger:http://googleappengine.blogspot.com Reddit:http://www.reddit.com/r/appengine Twitter:http://twitter.com/app_engine On Thu, Nov 11, 2010 at 10:01 AM, Grant grant.klop...@gmail.com wrote: I have exactly the same problem, 1 minute cron jobs not working on apps. Others seem to be working fine. Grant On Nov 11, 5:24 pm, dflorey daniel.flo...@gmail.com wrote: Renamed the subject to clarify the issue On Nov 11, 6:13 pm, dflorey daniel.flo...@gmail.com wrote: Yes, my 5-minute cron job is working. The two 1-minute jobs are not working. On Nov 11, 6:06 pm, Chris Prinos chrispri...@gmail.com wrote: I'v had problems as well, 1-minute crons were not being called starting around 2:26:am EST. They started working again around 5am EST, then stopped again a couple of hours later. Currently they are not working. I changed my cron config to 2-minutes and those are working. I had other crons that were at 5 and 10 minute intervals, those had no issues. chris On Nov 11, 10:55 am, dflorey daniel.flo...@gmail.com wrote: Hi, one of my customers has problems with his app: trecontacts We havecronjobs scheduled for every minute, but they have not run for the last hours. Can someone please check? Thanks, Daniel -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2Bunsubscrib e...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Only one property per query may have inequality filters?
Robert, In our code, we use some thin wrapper classes to create and execute queries, which obfuscates the execution of the datastore API calls a bit. I have created a code fragment that illustrates how you execute an IN query using the Java LL API: DatastoreServiceConfig config = DatastoreServiceConfig.Builder.withDefaults(); DatastoreService datastoreService = DatastoreServiceFactory.getDatastoreService(config); ListEntity entityList = new ArrayListEntity(); // some code here to fill the entityList with something useful ListKey keyList = new ArrayListKey(); for (Entity entity : entityList) { keyList.add(entity.getKey()); } Query query = new Query(MyEntityKind); query.addFilter(MyPropertyName, Query.FilterOperator.IN, keyList); IterableEntity result = datastoreService.prepare(query).asIterable(); As in my test the keyList had 36 entries, I must assume that there's no such limit in the Java LL API. My test was using our GUI, but I'm inclined to create a new test case that creates test data programmatically. Unfortunately we haven't enabled Appstats currently as we're only going to analyze performance once we have the most important features running. But I acknowledge that it's creating nice (and useful) diagrams :-D. It illustrates well what you're saying. Interestingly, the queries are executed sequentially, although one could imagine them to be executed in parallel. I may enable Appstats soon to see how this looks in Java. I'll keep the list posted as soon as we get any new results. Cheers, Remigius. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Dashboard not serving
My dashboard is currently returning 500 errors. The application doesn't appear to be affected. Anyone else? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Dashboard not serving
Same here, and Taskqueue Status is abnormal now. -- keakon On Fri, Nov 12, 2010 at 5:20 PM, Kenneth goo...@kmacleod.ie wrote: My dashboard is currently returning 500 errors. The application doesn't appear to be affected. Anyone else? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Body of a GET request
Hello all, Sometimes I see in the logs GET requests with body! Seems, certain browsers consider the url too long and put the parameters of GET request into body. 11-12 01:00AM 57.065 / 500 47ms 23cpu_ms 0kb Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; MRA 5.1 (build 02214); .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30),gzip(gfe) 80.246.254.254 - - [12/Nov/2010:01:00:57 -0800] GET / HTTP/1.1 500 425 http://myapp.appspot.com/?api_url=http://api.vkontakte.ru/ api.phpapi_id=99240api_settings=239viewer_id=7530073viewer_type=1sid=c11325deb7016dad0349569471a43aa63fb0d1984288915ffea6271f3dsecret=729d805171user_id=3628group_id=0is_app_user=1auth_key=71913aff2f505a26dlanguage=0parent_language=0api_result= %3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%0A %3Cresponse%20list%3D%22true%22%3E%0A%20%3Cuser%3E%0A%20%20%3Cuid %3E7530073%3C%2Fuid%3E%0A%20%20%3Cfirst_name%3E%D0%90%D0%BB%D0%B5%D0%BA %D1%81%D0%B0%D0%BD%D0%B4%D1%80%3C%2Ffirst_name%3E%0A%20%20%3Clast_name %3E%D0%9A%D0%BE%D0%B6%D0%B5%D0%B2%D0%BD%D0%B8%D0%BA%D0%BE%D0%B2%3C %2Flast_name%3E%0A%20%20%3Cphoto%3Ehttp%3A%2F%2Fcs9650.vkontakte.ru %2Fu7530073%2Fc_18edb437.jpg%3C%2Fphoto%3E%0A%20%20%3Ctimezone%3E3%3C %2Ftimezone%3E%0A%20%3C%2Fuser%3E%0A%3C%2Fresponse%3E %0Alc_name=271aae29hash= Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; MRA 5.1 (build 02214); .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30),gzip(gfe) ciliziread.appspot.com ms=47 cpu_ms=23 api_cpu_ms=0 cpm_usd=0.000839 I am trying to process such requests correctly too. self.request.method is 'GET' indeed. But self.request.body is empty and I cant extract the parameters. Any idea on what could I do to process such requests? Thanks. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] UUID
If anyone want a uuid, a href=apnaroom.appspot.com/uidthis url/a gives one. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: ERROR: NOT_FOUND
It can be caused by lower/UPPER letter in your html file. The engine is sensitive with lower/UPPER letter. Let check web.xml with eXaCtly html: !-- Default page to serve -- welcome-file-list welcome-fileeXaCtly.html/welcome-file /welcome-file-list Good luck. Hung On Mar 18, 12:59 pm, tunguyenlam tu.nguyen@gmail.com wrote: Hi all, I have finished a test project for google app. But i met a problem: when i run my project in local host ,run directly with Eclipse, it's ok (Win Vista). But when i deployed my project in Google App it only could run the index.html file. with the other file it not found (ERROR: NOT_FOUND) example: currently, i'm at index.html. I enter submit button to send a construction. So, controller (Servlet) sendRedirects to test.jsp file. and the webpage displays : ERROR:NOT_FOUND could somebody help me !! -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] GAE max recursion depth exceeded error [Python]
Hi folks. All of a sudden, i started to experience this error of MAximum Recursion dept exceeded. I tried reinstalling GAE, cleaning the datastore but still does not go away. I am on a Fedora 12, Python 2.6 machine. I have been using this same setup for like an year now. Never faced this issue. The traceback is so long I had to use google docs to share it. Here is the link https://docs.google.com/document/d/1kc6tgLqHUDC9jOK3gLPlwn10yN_N8Nj6pJjiNPZhj4s/edit?hl=en any information would be of great help -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: ERROR: NOT_FOUND
ERROR:NOT_FOUND is displayed when a give link to a file which is stored in another folder, why so? On Fri, Nov 12, 2010 at 3:44 PM, heros lvh...@gmail.com wrote: It can be caused by lower/UPPER letter in your html file. The engine is sensitive with lower/UPPER letter. Let check web.xml with eXaCtly html: !-- Default page to serve -- welcome-file-list welcome-fileeXaCtly.html/welcome-file /welcome-file-list Good luck. Hung On Mar 18, 12:59 pm, tunguyenlam tu.nguyen@gmail.com wrote: Hi all, I have finished a test project for google app. But i met a problem: when i run my project in local host ,run directly with Eclipse, it's ok (Win Vista). But when i deployed my project in Google App it only could run the index.html file. with the other file it not found (ERROR: NOT_FOUND) example: currently, i'm at index.html. I enter submit button to send a construction. So, controller (Servlet) sendRedirects to test.jsp file. and the webpage displays : ERROR:NOT_FOUND could somebody help me !! -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Blobstore upload handler is Base64 encoding strings?
I ran into the same issue. Has anyone found the corresponding issue in the bug tracker (or a nice workaround)? Michael. On 26 Okt., 09:28, Kenneth goo...@kmacleod.ie wrote: This is a pretty shocking bug (or lack of documentation?) from Google. There doesn't appear to be a consistent way to decode the post results that come from the BlobstoreUploadHandler. There was a bug in the issues list for this but I can't find it. I should put in another one really but there doesn't seem to be any point. What I do is when the user hits the submit button I send the form results via an ajax request and once that returns I submit the form to do the file upload. Pretty sad you have to do that and it means you're requiring javascript for something that really shouldn't need it. On Oct 25, 10:49 am, Agustin Horischnik agu...@gmail.com wrote: Hey, no luck with this? Did you solve this at all? On Aug 31, 12:40 pm, Agustin Horischnik agu...@gmail.com wrote: I think I'm having the same issue... I have a multi-part form posting to ablobstoreuploadhandler. There's four form fields: 2 input type=file 1 input type=text 1 textarea Those map to... 2blobstore.BlobReferenceProperty 1 StringProperty 1 TextProperty ... respectively, on my model class. And the problem is... when I submit an input string such as á é í ó ú and ñ, I get: IuEg6SDtIPMg+iBhbmQg8SI=, both on the StringProperty and TextProperty. At least, this is what I see on the Data viewer or when I output on the app. Any workarounds you can think of? Anybody else is having this problem? On Aug 3, 3:54 pm, ekampf eka...@gmail.com wrote: yep.. It doesnt happend on the local dev server... its definately something undocumented happening on AppEngine On Aug 3, 10:54 am, alon alon.car...@gmail.com wrote: it outputs as abase64string? im guessing the post is multi-part post right? On Aug 3, 10:39 am, ekampf eka...@gmail.com wrote: This happens when text fields are sent via POST and go through the Blobstoreuploadhandler. When English text is used I get the text. When Hebrew is used I get abase64string... I'm not looking at the datastore dashboard. I'm looking at the actual POST data (via logging) On Aug 3, 10:18 am, alon alon.car...@gmail.com wrote: Does that happen everytime on theblobstoreonly api? or regular text - datastore? One more thing, there is a huge difference on how the text is being displayed on the datastore dashboard. are you sure its being saved as base64? the pageencodingfor the production datastore browser is massed up and cant display hebrew correctly in oppose to the local dev version which has utf8encodingdisplay. On Jul 23, 2:09 pm, ekampf eka...@gmail.com wrote: I have a form with a file input and a text input field. When users type Hebrew text I get aBase64encoded string on the server. When typing English I get a nonBase64string. On the development server I get a regular Unicode string (what I'd expect) Cant find any mentions of this in the docs. What the behavior I should expect on production? Is this a bug? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] DownloadError (ApplicationError 5) via URLFetch
Hi there I'm experiencing a lot of DownloadError (ApplicationError 5) on my application (http://www.stackprinter.com). URLFetch API can't reach several stackexchange.com subdomains like: http://api.gaming.stackexchange.com/ http://api.webapps.stackexchange.com/ http://api.ui.stackexchange.com/ ... and also http://api.superuser.com/ http://api.meta.serverfault.com/ the problem does not raise on subdomains like: .. http://api.photo.stackexchange.com/ http://api.programmers.stackexchange.com/ http://api.onstartups.stackexchange.com/ ... or http://api.stackoverflow.com/ for example Everything was running pretty smoothly until last night when this started happening. The issue seems related to network connectivity between App Engine data centers and the API endpoints I'm calling from the app. I've contacted other developers on StackOverflow API that have apps on Google App Engine and they are all in my same bad situation. What can I do? Is there support for this kind of problem or do I need to wait and see (eventually it will be fixed)? thanks Michele -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Can Java and Python coexist in the same app?
I need to have a Java instance fetching data directly from the Python's instance datastore. I don't know if that's possible at all. Is the datastore transparent/unique, or each instance (if they can indeed coexist) has its separate datastore? Suming it up: how can a Java app fetch data from the datastore of a Python app, and vice-versa? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Can Java and Python coexist in the same app?
Well an active app can only have one runtime at a time. But different versions of the app can have different runtimes. So you could have the default as python (say) and one of the older versions as java. All versions of an app (regardless of runtime) access the same datastore. Need to manage which version is which by careful uploading from the two SDKs. On 12 November 2010 14:55, Jorge Guberte jorgegube...@gmail.com wrote: I need to have a Java instance fetching data directly from the Python's instance datastore. I don't know if that's possible at all. Is the datastore transparent/unique, or each instance (if they can indeed coexist) has its separate datastore? Suming it up: how can a Java app fetch data from the datastore of a Python app, and vice-versa? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Can Java and Python coexist in the same app?
What about Jython? On 11/12/2010 01:10 PM, Barry Hunter wrote: Well an active app can only have one runtime at a time. But different versions of the app can have different runtimes. So you could have the default as python (say) and one of the older versions as java. All versions of an app (regardless of runtime) access the same datastore. Need to manage which version is which by careful uploading from the two SDKs. On 12 November 2010 14:55, Jorge Gubertejorgegube...@gmail.com wrote: I need to have a Java instance fetching data directly from the Python's instance datastore. I don't know if that's possible at all. Is the datastore transparent/unique, or each instance (if they can indeed coexist) has its separate datastore? Suming it up: how can a Java app fetch data from the datastore of a Python app, and vice-versa? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: 1-minute cron jobs are not getting executed on all apps
More outages again this morning. All of my crons (not just 1-minute) were dead from about 4-4:30am EST this morning -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Can't deploy app 503 error
appcfg.py update seems to repeatedly fail at the precompilation stage with HTTP 503 / service unavailable; but AppEngine status page says everything's ok Thanks -- j...@jhw:~/work/wol_datastore$ python appengine/appcfg.py update . Application: wol-datastore; version: 1. Server: appengine.google.com. Scanning files on local disk. Scanned 500 files. Scanned 1000 files. Initiating update. 2010-11-12 15:46:27,595 WARNING appengine_rpc.py:405 ssl module not found. Without the ssl module, the identity of the remote host cannot be verified, and connections may NOT be secure. To fix this, please install the ssl module from http://pypi.python.org/pypi/ssl . To learn more, see http://code.google.com/appengine/kb/general.html#rpcssl . Email: justin.worr...@gmail.com Password for justin.worr...@gmail.com: Cloning 1026 application files. Cloned 100 files. Cloned 200 files. Cloned 300 files. Cloned 400 files. Cloned 500 files. Cloned 600 files. Cloned 700 files. Cloned 800 files. Cloned 900 files. Cloned 1000 files. Precompilation starting. Precompilation: 461 files left. Rolling back the update. Error 503: --- begin server output --- Try Again (503) An unexpected failure has occurred. Please try again. --- end server output --- -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Support for scope in OAuth API
Is there any chance to get support for scope in OAuth API or should I make custom OAuth Provider functionality if I need scopes? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Architecture approaches for puts
I apologize if this has been asked and answered in this thread. I tried looking through it but it is very long. From what I can tell you haven't answered what your latency is for these requests and I believe that is very important before you do all the work which is outlined below. From what I understand throttling is affected by the latency time for the requests not for CPU or API CPU usage. For instance you could have a request which takes 2,000 MS API CPU but it's latency is 300MS. The first number in the logs before the CPU MS and API CPU MS indicates the latency for the requests. You say that you have a lot of custom indexes for these entities. My assumption would be that these custom indexes would be updated by the datastore in parallel and as such you could have a very high API CPU usage but your latency could be very low. For example, looking at my log I have a request which has numbers like this: 238ms 678cpu_ms 305api_cpu_msThe first number is the number after the 200 return code and is the latency. It is almost a third less than the total for CPU MS and falls (what I am presuming) safely within the recommended latency times. At least this is the way I understand it. Also, if this has been asked/answered below I apologize for repeating. Steve On Tue, Nov 9, 2010 at 1:07 PM, stevep prosse...@gmail.com wrote: I would like some feedback about pluses / minuses for handling new records. Currently I need to optimize how the client request handler processes new entity put()s. Several custom indices for the model are used, so puts run too close to the 1,000 ms limit (were running over the limit prior to Nov. 6th maintenance – thanks Google). The entities are written with unique integer key values. Integers are generated using Google’s recommended sharded process. Client currently POSTs a new record to the GAE handler. If handler does not send back a successful response, client will retry POST “n” times (at least twice, but possibly more). Continued failures past “n” will prompt user that record could not be created, saves data locally, and asks user to try later. Planned new process will use Task Queue. 1) Client POSTs new entity data to the handler. At this point, user sees a dialog box saying record is being written. 2) Handler will use the shards to generate the next integer value for the key. 3) Handler sets up a task queue with the new key value and record data, and responds back to the client with they key value. 4) Client receives key value back from handler, and changes to inform user that record write is being confirmed on the server (or as before retries entire POST if response is an error code). 5) Client waits a second or two (for task queue to finish), then issues a GET to the handler to read the new record using the key value. 6) Handler does a simple key value read of the new record. Responds back to client either with found or not found status. 7) If client gets found response, then we are done. If not found, or error response client will wait a few seconds, and issue another GET. 7) If after “n” tries, no GET yields a successful read, then client informs user that record could not be written, and “please try again in a few minutes” (saving new record data locally). I know this is not ideal, but believe it is a valid, given GAE’s limitations, as an approach to minimize lost writes. Would very much appreciate feedback. I should note that the imposition of a few seconds delay while writing the record should not be an issue given it is a single transaction at the end of a previous creative process which has engaged user for several minutes. Also, we do not use logic that cannot handle gaps (missing) integer values in the model's key values. TIA, stevep -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Can't deploy app 503 error
I'm seeing the same problem, on a couple of different appids: I haven't found one yet that can deploy. ... Cloned 1300 files. Cloned 1400 files. Cloned 1500 files. Uploading 2 files and blobs. Uploaded 2 files and blobs Precompilation starting. Rolling back the update. Error 503: --- begin server output --- Try Again (503) An unexpected failure has occurred. Please try again. --- end server output --- On Nov 12, 9:51 am, Justin justin.worr...@gmail.com wrote: appcfg.py update seems to repeatedly fail at the precompilation stage with HTTP 503 / service unavailable; but AppEngine status page says everything's ok Thanks -- j...@jhw:~/work/wol_datastore$ python appengine/appcfg.py update . Application: wol-datastore; version: 1. Server: appengine.google.com. Scanning files on local disk. Scanned 500 files. Scanned 1000 files. Initiating update. 2010-11-12 15:46:27,595 WARNING appengine_rpc.py:405 ssl module not found. Without the ssl module, the identity of the remote host cannot be verified, and connections may NOT be secure. To fix this, please install the ssl module fromhttp://pypi.python.org/pypi/ssl. To learn more, seehttp://code.google.com/appengine/kb/general.html#rpcssl . Email: justin.worr...@gmail.com Password for justin.worr...@gmail.com: Cloning 1026 application files. Cloned 100 files. Cloned 200 files. Cloned 300 files. Cloned 400 files. Cloned 500 files. Cloned 600 files. Cloned 700 files. Cloned 800 files. Cloned 900 files. Cloned 1000 files. Precompilation starting. Precompilation: 461 files left. Rolling back the update. Error 503: --- begin server output --- Try Again (503) An unexpected failure has occurred. Please try again. --- end server output --- -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: Only one property per query may have inequality filters?
Hi Remigius, Yes, those are interesting results. I guess the Java and Python implementations differ. Have you tried an IN filter with over 30 items on production? Robert On Fri, Nov 12, 2010 at 04:04, Remigius remigius.stal...@gmail.com wrote: Robert, In our code, we use some thin wrapper classes to create and execute queries, which obfuscates the execution of the datastore API calls a bit. I have created a code fragment that illustrates how you execute an IN query using the Java LL API: DatastoreServiceConfig config = DatastoreServiceConfig.Builder.withDefaults(); DatastoreService datastoreService = DatastoreServiceFactory.getDatastoreService(config); ListEntity entityList = new ArrayListEntity(); // some code here to fill the entityList with something useful ListKey keyList = new ArrayListKey(); for (Entity entity : entityList) { keyList.add(entity.getKey()); } Query query = new Query(MyEntityKind); query.addFilter(MyPropertyName, Query.FilterOperator.IN, keyList); IterableEntity result = datastoreService.prepare(query).asIterable(); As in my test the keyList had 36 entries, I must assume that there's no such limit in the Java LL API. My test was using our GUI, but I'm inclined to create a new test case that creates test data programmatically. Unfortunately we haven't enabled Appstats currently as we're only going to analyze performance once we have the most important features running. But I acknowledge that it's creating nice (and useful) diagrams :-D. It illustrates well what you're saying. Interestingly, the queries are executed sequentially, although one could imagine them to be executed in parallel. I may enable Appstats soon to see how this looks in Java. I'll keep the list posted as soon as we get any new results. Cheers, Remigius. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Body of a GET request
Hi Anton, I do not see anything in the request that suggests it has a body! What makes you suspect that... -- Happy Hacking, Gaurav Vaish www.mastergaurav.com On Nov 12, 2:25 pm, anton.belyaev anton.bely...@gmail.com wrote: Hello all, Sometimes I see in the logs GET requests with body! Seems, certain browsers consider the url too long and put the parameters of GET request into body. 11-12 01:00AM 57.065 / 500 47ms 23cpu_ms 0kb Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; MRA 5.1 (build 02214); .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30),gzip(gfe) 80.246.254.254 - - [12/Nov/2010:01:00:57 -0800] GET / HTTP/1.1 500 425 http://myapp.appspot.com/?api_url=http://api.vkontakte.ru/ api.phpapi_id=99240api_settings=239viewer_id=7530073viewer_type=1sid=c11325deb7016dad0349569471a43aa63fb0d1984288915ffea6271f3dsecret=729d805171user_id=3628group_id=0is_app_user=1auth_key=71913aff2f505a26dlanguage=0parent_language=0api_result= %3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%0A %3Cresponse%20list%3D%22true%22%3E%0A%20%3Cuser%3E%0A%20%20%3Cuid %3E7530073%3C%2Fuid%3E%0A%20%20%3Cfirst_name%3E%D0%90%D0%BB%D0%B5%D0%BA %D1%81%D0%B0%D0%BD%D0%B4%D1%80%3C%2Ffirst_name%3E%0A%20%20%3Clast_name %3E%D0%9A%D0%BE%D0%B6%D0%B5%D0%B2%D0%BD%D0%B8%D0%BA%D0%BE%D0%B2%3C %2Flast_name%3E%0A%20%20%3Cphoto%3Ehttp%3A%2F%2Fcs9650.vkontakte.ru %2Fu7530073%2Fc_18edb437.jpg%3C%2Fphoto%3E%0A%20%20%3Ctimezone%3E3%3C %2Ftimezone%3E%0A%20%3C%2Fuser%3E%0A%3C%2Fresponse%3E %0Alc_name=271aae29hash= Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; MRA 5.1 (build 02214); .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30),gzip(gfe) ciliziread.appspot.com ms=47 cpu_ms=23 api_cpu_ms=0 cpm_usd=0.000839 I am trying to process such requests correctly too. self.request.method is 'GET' indeed. But self.request.body is empty and I cant extract the parameters. Any idea on what could I do to process such requests? Thanks. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Can't deploy app 503 error
I'm having this problem as well. :( On Nov 12, 11:55 am, John Gardner hux...@gmail.com wrote: I'm seeing the same problem, on a couple of different appids: I haven't found one yet that can deploy. ... Cloned 1300 files. Cloned 1400 files. Cloned 1500 files. Uploading 2 files and blobs. Uploaded 2 files and blobs Precompilation starting. Rolling back the update. Error503: --- begin server output --- Try Again (503) An unexpected failure has occurred. Please try again. --- end server output --- On Nov 12, 9:51 am, Justin justin.worr...@gmail.com wrote: appcfg.py update seems to repeatedly fail at the precompilation stage with HTTP503/ service unavailable; but AppEngine status page says everything's ok Thanks -- j...@jhw:~/work/wol_datastore$ python appengine/appcfg.py update . Application: wol-datastore; version: 1. Server: appengine.google.com. Scanning files on local disk. Scanned 500 files. Scanned 1000 files. Initiating update. 2010-11-12 15:46:27,595 WARNING appengine_rpc.py:405 ssl module not found. Without the ssl module, the identity of the remote host cannot be verified, and connections may NOT be secure. To fix this, please install the ssl module fromhttp://pypi.python.org/pypi/ssl. To learn more, seehttp://code.google.com/appengine/kb/general.html#rpcssl . Email: justin.worr...@gmail.com Password for justin.worr...@gmail.com: Cloning 1026 application files. Cloned 100 files. Cloned 200 files. Cloned 300 files. Cloned 400 files. Cloned 500 files. Cloned 600 files. Cloned 700 files. Cloned 800 files. Cloned 900 files. Cloned 1000 files. Precompilation starting. Precompilation: 461 files left. Rolling back the update. Error503: --- begin server output --- Try Again (503) An unexpected failure has occurred. Please try again. --- end server output --- -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Datastore quota issues
Hi, I've another severe problem that I've already reported a while ago: Some of my apps have very strange datastore quota issues. Have a look at zracontacts. Virtually no indexes, 5MB of total store data, but: Total Stored Data 100%100%1.00 of 1.00 GBytes Limited ...and the app is not working any more. Ideas? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Cron jobs not getting executed
My one minutes jobs also doens't work. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: 10 apps is too limiting
You can use other google account to share extend application with you. On 11月10日, 下午7時42分, mukesh optimumcons...@gmail.com wrote: I have developed a few apps for clients and is like to increase exponentially The spinoff is that i get more client and more of them are becoming aware and using Google Apps Engine (obviously when it surpasses the quota) more revenue for Google. How can i get more apps as i move along 10 apps is brilliant for personal use etc. Not when you are promoting GAE in a consulting capacity. Desperately need more apps... -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] help me - channel api
Hello everyone. I'm going to make simple chat app using channel api. But I have some problem. When I created channel and try to send data on that channel, I get error like following. com.google.gwt.user.client.rpc.SerializationException: Type 'com.example.chat.shared.Message' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.: instance = com.example.chat.shared.mess...@f4e3b6 Here com.example.chat.shared.Message class implements java.util.Serializable. How can I solve this problem? I hope your help. Thanks. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Google apps engine for Business pricing Q
On Oct 21, 6:48 pm, Ikai Lan (Google) ikai.l+gro...@google.com wrote: The pricing is meant to be extremely competitive against private cloud offerings by other providers in this space. [...] a decent systems administrator certainly wouldn't cost $800. I see your point but for my use case it seems more expensive than I dare to spend. To my understanding pricing will be PER APPLICATION. 1) We are big into Mashups. So we created not ONE application for our business needs but half a dozen mashed up via http. Unless we merge them GAEfB will be prohibitively expensive. Merging will be interesting not only because of Open Source (GPLv3 anyone?) Application parts. It will reduce maintainability and eat up programmer time. 2) We are about 80 People on Google Apps. Upgrading our applications to GAEfB would cost us an additional 46.000 U$ per year. Since every Google Apps user would result in additional costs of 576 US per year we would be forced to police our Google Apps domain and aggressively remove accounts of alumni, warehouse staff and the like. But I think its VERY Enterprise 1.0 to begin issuing who REALLY needs, Internet, Email, a Computer, a telephone, electrical power queries. Access to computing and communication resources should be even available to the cleaning staff. An (expensive) per user pricing makes this impossible. Especially because the users which would have their accounts revoked (warehouse workers, cleaning staff, etc.) are only using marginal amounts of resources. 3) Additional 46.000 U$ per year. We already own servers. We already manage EC2 and Rackspace servers. And its all to complex and we want to reduce that. Thats why we like AppEngine. And because in typical Google style the product is nice but the customer support is barely existent we would like to pay for better service (and for TLS in our Domain). But our resource needs are all in all modest. I assume we could run the dozen Apps we currently run on AppEngine on 10.000 $ of hardware if we had to buy everything new and want 99 % uptime (probably even 5000 $ would be enough). If I add the same amount for networking, power, etc. and amortize it all over tree years. I'm at around 550 $ for all my Applications and all my users. Factor in Administration and we are not that far away from the 1000 $ is demanding max per Month - for a single application. To conclude: * For the Enterprise with hundreds or thousands of users your pricing is certainly very aggressive. * For the SME with 50-100 there seems to be a weak spot but still acceptable. * For companies which followed best web-development and deployment practices and have broken down their technology in many separate applications the pricing model is very unattractive. At least unless they are very large and profit from the 1000 U$ cap. * I actually hate per user pricing because usually results in people which would need to improve their computer skills most not being provided with access. I liked usage based pricing much more. http://bit.ly/cC4MOl Regards Maximillian Dornseif -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] I'm in need of this kind of engine
Hi, I want to find an program which could transfer my HTTP request to Google App Engine, and fetch the result from the GAE, so it won't be blocked by some firewalls, does anyone have any idea if there exists such kind of program on GAE all ready? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Can't deploy app 503 error
I was able to deploy with the --no_precompilation flag of course paying the cold start penalty that implies. --Steve On Nov 12, 9:09 am, Daniel danielshaneup...@gmail.com wrote: I'm having this problem as well. :( On Nov 12, 11:55 am, John Gardner hux...@gmail.com wrote: I'm seeing the same problem, on a couple of different appids: I haven't found one yet that can deploy. ... Cloned 1300 files. Cloned 1400 files. Cloned 1500 files. Uploading 2 files and blobs. Uploaded 2 files and blobs Precompilation starting. Rolling back the update. Error503: --- begin server output --- Try Again (503) An unexpected failure has occurred. Please try again. --- end server output --- On Nov 12, 9:51 am, Justin justin.worr...@gmail.com wrote: appcfg.py update seems to repeatedly fail at the precompilation stage with HTTP503/ service unavailable; but AppEngine status page says everything's ok Thanks -- j...@jhw:~/work/wol_datastore$ python appengine/appcfg.py update . Application: wol-datastore; version: 1. Server: appengine.google.com. Scanning files on local disk. Scanned 500 files. Scanned 1000 files. Initiating update. 2010-11-12 15:46:27,595 WARNING appengine_rpc.py:405 ssl module not found. Without the ssl module, the identity of the remote host cannot be verified, and connections may NOT be secure. To fix this, please install the ssl module fromhttp://pypi.python.org/pypi/ssl. To learn more, seehttp://code.google.com/appengine/kb/general.html#rpcssl . Email: justin.worr...@gmail.com Password for justin.worr...@gmail.com: Cloning 1026 application files. Cloned 100 files. Cloned 200 files. Cloned 300 files. Cloned 400 files. Cloned 500 files. Cloned 600 files. Cloned 700 files. Cloned 800 files. Cloned 900 files. Cloned 1000 files. Precompilation starting. Precompilation: 461 files left. Rolling back the update. Error503: --- begin server output --- Try Again (503) An unexpected failure has occurred. Please try again. --- end server output --- -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Can't deploy app 503 error
Looks like the Python precompiler prevented Python applications from being deployed starting at about 8:40am Pacific. We've addressed it. You should be able to deploy right now. We've addressed the underlying root cause for this issue so it shouldn't occur in the future. On Nov 12, 10:35 am, Steve unetright.thebas...@xoxy.net wrote: I was able to deploy with the --no_precompilation flag of course paying the cold start penalty that implies. --Steve On Nov 12, 9:09 am, Daniel danielshaneup...@gmail.com wrote: I'm having this problem as well. :( On Nov 12, 11:55 am, John Gardner hux...@gmail.com wrote: I'm seeing the same problem, on a couple of different appids: I haven't found one yet that can deploy. ... Cloned 1300 files. Cloned 1400 files. Cloned 1500 files. Uploading 2 files and blobs. Uploaded 2 files and blobs Precompilation starting. Rolling back the update. Error503: --- begin server output --- Try Again (503) An unexpected failure has occurred. Please try again. --- end server output --- On Nov 12, 9:51 am, Justin justin.worr...@gmail.com wrote: appcfg.py update seems to repeatedly fail at the precompilation stage with HTTP503/ service unavailable; but AppEngine status page says everything's ok Thanks -- j...@jhw:~/work/wol_datastore$ python appengine/appcfg.py update . Application: wol-datastore; version: 1. Server: appengine.google.com. Scanning files on local disk. Scanned 500 files. Scanned 1000 files. Initiating update. 2010-11-12 15:46:27,595 WARNING appengine_rpc.py:405 ssl module not found. Without the ssl module, the identity of the remote host cannot be verified, and connections may NOT be secure. To fix this, please install the ssl module fromhttp://pypi.python.org/pypi/ssl. To learn more, seehttp://code.google.com/appengine/kb/general.html#rpcssl . Email: justin.worr...@gmail.com Password for justin.worr...@gmail.com: Cloning 1026 application files. Cloned 100 files. Cloned 200 files. Cloned 300 files. Cloned 400 files. Cloned 500 files. Cloned 600 files. Cloned 700 files. Cloned 800 files. Cloned 900 files. Cloned 1000 files. Precompilation starting. Precompilation: 461 files left. Rolling back the update. Error503: --- begin server output --- Try Again (503) An unexpected failure has occurred. Please try again. --- end server output --- -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: I'm in need of this kind of engine
On Nov 11, 10:48 pm, Terry qq3838...@gmail.com wrote: Hi, I want to find an program which could transfer my HTTP request to Google App Engine, and fetch the result from the GAE, so it won't be blocked by some firewalls, does anyone have any idea if there exists such kind of program on GAE all ready? It's called a proxy server, and if it's already on GAE it most likely won't work because it would be blocked by the same firewall blocking requests to the other application. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: I'm in need of this kind of engine
Hi Terry, I have something similar to that, let me explain you just in case. I have an application deployed on GAE that I can configure from any place in the internet, as many proxies and firewalls are open to appspot.com. This is the case for my office. The application let me store URLs for places that I cannot access from my office (for instance, the URL of a site I own). Then a cron job will fetch those URLs for me from the appspot.com domain, that is outside my company's firewall and proxy, anf then will store the fetched html, that I can later check. The problem with this approach is that you cannot navigate from page to page from your browser, just retrieve data every minute or so, and you cannot do transactions. For that you would need a proxy as Geoffrey told you. On Nov 12, 7:50 pm, Geoffrey Spear geoffsp...@gmail.com wrote: On Nov 11, 10:48 pm, Terry qq3838...@gmail.com wrote: Hi, I want to find an program which could transfer my HTTP request to Google App Engine, and fetch the result from the GAE, so it won't be blocked by some firewalls, does anyone have any idea if there exists such kind of program on GAE all ready? It's called a proxy server, and if it's already on GAE it most likely won't work because it would be blocked by the same firewall blocking requests to the other application. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Can Java and Python coexist in the same app?
I am currently doing this - as long as you reflect the Python model in the Java, it will be fine. Version 1 of my app is Java, Version 2 is Python - I have had issues with the Java model being slightly different to the Python model and overwriting (then Python can't read the updated model) Typically, when you have two versions, the first (or non-default) version is only accessible via 1.latest.appid.appspot.com Hope this helps, Alexander On Nov 12, 2:55 pm, Jorge Guberte jorgegube...@gmail.com wrote: I need to have a Java instance fetching data directly from the Python's instance datastore. I don't know if that's possible at all. Is the datastore transparent/unique, or each instance (if they can indeed coexist) has its separate datastore? Suming it up: how can a Java app fetch data from the datastore of a Python app, and vice-versa? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: Blobstore upload handler is Base64 encoding strings?
Do you guys have any sample code? I'm testing this and seeing that the local dev server gives me some strange characters (I'm using Java). What does the form look like? How are you reading the input from the form submission? -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Fri, Nov 12, 2010 at 5:09 AM, msmart michael.martini...@gmail.comwrote: I ran into the same issue. Has anyone found the corresponding issue in the bug tracker (or a nice workaround)? Michael. On 26 Okt., 09:28, Kenneth goo...@kmacleod.ie wrote: This is a pretty shocking bug (or lack of documentation?) from Google. There doesn't appear to be a consistent way to decode the post results that come from the BlobstoreUploadHandler. There was a bug in the issues list for this but I can't find it. I should put in another one really but there doesn't seem to be any point. What I do is when the user hits the submit button I send the form results via an ajax request and once that returns I submit the form to do the file upload. Pretty sad you have to do that and it means you're requiring javascript for something that really shouldn't need it. On Oct 25, 10:49 am, Agustin Horischnik agu...@gmail.com wrote: Hey, no luck with this? Did you solve this at all? On Aug 31, 12:40 pm, Agustin Horischnik agu...@gmail.com wrote: I think I'm having the same issue... I have a multi-part form posting to ablobstoreuploadhandler. There's four form fields: 2 input type=file 1 input type=text 1 textarea Those map to... 2blobstore.BlobReferenceProperty 1 StringProperty 1 TextProperty ... respectively, on my model class. And the problem is... when I submit an input string such as á é í ó ú and ñ, I get: IuEg6SDtIPMg+iBhbmQg8SI=, both on the StringProperty and TextProperty. At least, this is what I see on the Data viewer or when I output on the app. Any workarounds you can think of? Anybody else is having this problem? On Aug 3, 3:54 pm, ekampf eka...@gmail.com wrote: yep.. It doesnt happend on the local dev server... its definately something undocumented happening on AppEngine On Aug 3, 10:54 am, alon alon.car...@gmail.com wrote: it outputs as abase64string? im guessing the post is multi-part post right? On Aug 3, 10:39 am, ekampf eka...@gmail.com wrote: This happens when text fields are sent via POST and go through the Blobstoreuploadhandler. When English text is used I get the text. When Hebrew is used I get abase64string... I'm not looking at the datastore dashboard. I'm looking at the actual POST data (via logging) On Aug 3, 10:18 am, alon alon.car...@gmail.com wrote: Does that happen everytime on theblobstoreonly api? or regular text - datastore? One more thing, there is a huge difference on how the text is being displayed on the datastore dashboard. are you sure its being saved as base64? the pageencodingfor the production datastore browser is massed up and cant display hebrew correctly in oppose to the local dev version which has utf8encodingdisplay. On Jul 23, 2:09 pm, ekampf eka...@gmail.com wrote: I have a form with a file input and a text input field. When users type Hebrew text I get aBase64encoded string on the server. When typing English I get a nonBase64string. On the development server I get a regular Unicode string (what I'd expect) Cant find any mentions of this in the docs. What the behavior I should expect on production? Is this a bug? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Architecture approaches for puts
On Nov 11, 1:17 pm, Eli Jones eli.jo...@gmail.com wrote: Steve, ... Have you actually run into dynamic request limit issues or throttling of your app (when you were just doing vanilla puts)? Ah, I see what you are asking now. No, we have not come close to being throttled -- currently have only thrown some spaghetti on the wall without much volume. Previously, I'd not been too worried about final volumes because our overall application was setup more for quality vs. quantity user inputs. So if we got an odd throttle-back it would not be a big deal. Current plan is to leverage a noodle that looks pretty sticky to do something that could attain high volumes of inputs. Rightly or wrongly, we want to try to architect in as optimal a fashion as possible now vs. re-coding later. The POST/GET confirmation process is more overhead, but I'm guessing it wont be too bad. Plus, the ability to atomize elements of the original full POST function to different task queue streams with different priority level is really appealing. Cheers, stevep -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Architecture approaches for puts
On Nov 11, 2:14 pm, Robert Kluin robert.kl...@gmail.com wrote: If you are using the total from the counter as your id, you might want to think rethink using a sharded counter to generate your id values. If you get two requests sufficiently close together you will get a duplicate id. You're right. As noted, we had not initially planned a high volume app. This is a valid enough concern now to -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Architecture approaches for puts
Stephen, Thanks for you input. Sorry about the thread length, but I've always been too verbose. I'd not known exactly which number in that appstats line applied to the 1,000 ms throttling. Appreciate the input. Our latency (first number) on the new record put is around 850 ms for the put that had 585 ms api-cpu total. So I definitely now plan to make this change. The changes on the GAE side are really quite simple. We'll move the code from the handler function to the task queue module. I've already done that with some other function calls, and am very confident this will be easy and fast. On the client side, I've got to rip up a good bit anyway because we will not be leveraging Adobe Air's local datastore with the new product. So this is the right time to do it. As I noted, there are some very appealing parts to using the task queue, so overall I'm happy to do this. Example: some of the overhead related to the current new record all-enclusive handler function can be sent to low-priority queues. It may also prove very beneficial in the future that we have some ability to tune individual TQ resource availability. Thanks again, stevep On Nov 12, 8:45 am, Stephen Johnson onepagewo...@gmail.com wrote: I apologize if this has been asked and answered in this thread. I tried looking through it but it is very long. From what I can tell you haven't answered what your latency is for these requests and I believe that is very important before you do all the work which is outlined below. From what I understand throttling is affected by the latency time for the requests not for CPU or API CPU usage. For instance you could have a request which takes 2,000 MS API CPU but it's latency is 300MS. The first number in the logs before the CPU MS and API CPU MS indicates the latency for the requests. You say that you have a lot of custom indexes for these entities. My assumption would be that these custom indexes would be updated by the datastore in parallel and as such you could have a very high API CPU usage but your latency could be very low. For example, looking at my log I have a request which has numbers like this: 238ms 678cpu_ms 305api_cpu_msThe first number is the number after the 200 return code and is the latency. It is almost a third less than the total for CPU MS and falls (what I am presuming) safely within the recommended latency times. At least this is the way I understand it. Also, if this has been asked/answered below I apologize for repeating. Steve -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] GAE Status Data for download
Hello, I want to do some interesting calculations with Google Prediction API and need all the GAE Status Data. I could extract that data from the official app engine status website by creating custom scripts, but wonder maybe there is already an easy way to get this data? Maybe anyone knows urls to query that data? Regards, Andrius -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Dashboard not serving
There was an issue around this time which impacted Admin Console Dashboards as well as cron jobs. Things should be okay at the moment. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Fri, Nov 12, 2010 at 1:22 AM, 风笑雪 kea...@gmail.com wrote: Same here, and Taskqueue Status is abnormal now. -- keakon On Fri, Nov 12, 2010 at 5:20 PM, Kenneth goo...@kmacleod.ie wrote: My dashboard is currently returning 500 errors. The application doesn't appear to be affected. Anyone else? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: Body of a GET request
A GET request has NO body. A POST request has a body. 2010/11/12 MasterGaurav gaurav.va...@gmail.com: Hi Anton, I do not see anything in the request that suggests it has a body! What makes you suspect that... -- Happy Hacking, Gaurav Vaish www.mastergaurav.com On Nov 12, 2:25 pm, anton.belyaev anton.bely...@gmail.com wrote: Hello all, Sometimes I see in the logs GET requests with body! Seems, certain browsers consider the url too long and put the parameters of GET request into body. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: Body of a GET request
I don't think that '/' and ':' are allowed characters in a GET parameter. You should try urllib.urlencode and see what it constructs and which chars are excaped with the given set of parameters. If this is an illegal GET request parameter list you might expect the parser to bail out and repost: NO parameter. api_url is not properly escaped, api_result has the chars '/:' escaped. Maybe pars the request string yourself. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Body of a GET request
IMHO, : is permitted in the URL and need not be escaped. However, '/' definitely needs to be escaped. -- Happy Hacking, Gaurav Vaish www.mastergaurav.com On Nov 13, 4:33 am, djidjadji djidja...@gmail.com wrote: I don't think that '/' and ':' are allowed characters in a GET parameter. You should try urllib.urlencode and see what it constructs and which chars are excaped with the given set of parameters. If this is an illegal GET request parameter list you might expect the parser to bail out and repost: NO parameter. api_url is not properly escaped, api_result has the chars '/:' escaped. Maybe pars the request string yourself. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Support for scope in OAuth API
Have a look at https://github.com/mohangk/appengine_oauth_provider -- Happy Hacking, Gaurav Vaish www.mastergaurav.com On Nov 12, 9:02 pm, Vladimir Prudnikov pru...@gmail.com wrote: Is there any chance to get support for scope in OAuth API or should I make custom OAuth Provider functionality if I need scopes? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Support for scope in OAuth API
Oops! Pressed the send button accidentally... Additionally, you may want to explore: http://code.google.com/p/oauth/ -- Happy Hacking, Gaurav Vaish www.mastergaurav.com On Nov 13, 6:50 am, MasterGaurav gaurav.va...@gmail.com wrote: Have a look athttps://github.com/mohangk/appengine_oauth_provider -- Happy Hacking, Gaurav Vaishwww.mastergaurav.com On Nov 12, 9:02 pm, Vladimir Prudnikov pru...@gmail.com wrote: Is there any chance to get support for scope in OAuth API or should I make custom OAuth Provider functionality if I need scopes? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] A huge amount of DB timeout in the last 10 hours
My app is having a very large amount of DB timeout in the last 10 hours (2% of all request). Anyone else having the same problem? Yet the status page says nothing... -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] A huge amount of DB timeout in the last 10 hours
My app is having a very large amount of DB timeout in the last 10 hours (2% of all request). Anyone else having the same problem? Yet the status page says nothing... -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] How do you use the development server for testing
Hello, I am doing a lot of testing at this stage of learning App Engine but I am having some problems printing something like this: ... ... results = query.fetch(10) results_type = type(results) self.response.out.write(results_type) prints nothing (and no error message). If I do self.response.out.write(results) it prints the content of the results. How do you use the development server to debug? Thanks. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.