[appengine-java] Re: Expires header automatically added (bug?)

2010-03-01 Thread Peter Ondruska
Could you provide some code please? On Mar 1, 9:06 am, George Moschovitis george.moschovi...@gmail.com wrote: I do use Expires header as well and it works as expected. For statis resources you define explicit expiration using appengine-web.xml. It did work as expected. Now the Expires

[appengine-java] Re: Expires header automatically added (bug?)

2010-03-01 Thread George Moschovitis
Could you provide some code please? What kind of code should I provide? I do NOT set the Expires header in my code, and still GAE automatically adds the Expires header. -g. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post

[appengine-java] Re: Expires header automatically added (bug?)

2010-03-01 Thread Peter Ondruska
Well, if you do not like what GAE sets as Expires value, why not set yours? On Mar 1, 11:18 am, George Moschovitis george.moschovi...@gmail.com wrote: Could you provide some code please? What kind of code should I provide? I do NOT set the Expires header in my code, and still GAE

[appengine-java] Re: Unable to establish HTTPS communication

2010-03-01 Thread vmaatta
Hi, You should cast the return from openConnection() to HttpURLConnection: URL requestURL = new URL(url); HttpURLConnection connection = (HttpURLConnection) requestURL.openConnection(); Depending on what you need to do you might not need to open the connection at all. It might be better to use

[appengine-java] Re: lost sub entity

2010-03-01 Thread Jake
If I recall, JDO is picky when it comes to being aware of changes made to a persisted object. For example, changing fields directly (object.field = newValue;) doesn't work - you need to use a getter/ setter (object.setField(newValue);). Perhaps you are encountering the same issue here? Does the

[appengine-java] Re: Spreadsheets and GAE

2010-03-01 Thread praseed
Thanks Lior and Stephen. Good Info. In my situation, these are excel simple spreadsheets (with no formulas or macros etc..,). Customers download these spreadsheets, work on them and when they are done, they upload these to the site. As they upload, I need to validate that indeed they are the

[appengine-java] Re: Can not fetch record from DB

2010-03-01 Thread Jake
Hey, getUserQuery.setFilter(userLogin == vLogin AND password == vPassword). Not but AND. Keep in mind, the filter is JDOQL (?), not Java. Jake On Feb 27, 11:05 am, Andriy Andrunevchyn diyko...@gmail.com wrote: Don't work all get methods I've changed method according your advice it didn't

[appengine-java] Re: Can not fetch record from DB

2010-03-01 Thread Jake
BAH! Sorry. I'm wrong - it supports . Un-Send. Facepalm. Regardless, I think the error still lies in the JDOQL syntax. http://www.jpox.org/docs/1_2/jdo/jdoql.html Jake On Mar 1, 9:23 am, Jake jbrooko...@cast.org wrote: Hey, getUserQuery.setFilter(userLogin == vLogin AND password ==

Re: [appengine-java] Re: lost sub entity

2010-03-01 Thread John Patterson
It is unusual that you see no stack trace. Are you sure you are not catching it? You could step through the code line by line to see what happens after the line with the problem. Could this be something to do with setting the fetch group to default? That seems to be the problem with a

[appengine-java] Re: Flash arcade game GAE based

2010-03-01 Thread A1programmer
You can use memcache to help speed up access to the DB. All communication over GAE has to be done using HTTP... So, that makes it harder to things like pushing real time messages to the clients. You can use a technique called Long Polling, but requests must return in 30 seconds, and currently,

[appengine-java] Re: Flash arcade game GAE based

2010-03-01 Thread Ahmed Khalifa
thanks for the reply .. are there any other servers/hosts that provide a near real time client/ server communication?? Plus, i don't exactly get your part about the long polling and 30 simultanous requests limit .. can you elaborate more regards, On Mar 1, 4:55 pm, A1programmer

[appengine-java] Re: Citical Security error in Accounts Java API: request.getUserPrincipal() gets wrong username/email

2010-03-01 Thread Houston startup coder
Ikai, what you said makes sense to me, but in the last week I've been seeing something a little different with Safari (version 4.0.4). I protect some App Engine URLs in the app by requiring authentication based on Google Apps, and in order to easily access those URLs in testing, I simply log the

[appengine-java] how to save binary data in JDO

2010-03-01 Thread Valentino Hankypants
hello together, i started working with the app engine some days ago, and now i want to save some binary data (pdf, etc.) from my app (eg by clicking a button) in the storage system. anybody who can help me doing this? (tutorials, etc.) greatz flo -- You received this message because you are

[appengine-java] Re: Scheduled Tasks aborted early

2010-03-01 Thread Eugene Kuleshov
John, My application is hardly used right now, so there is certainly NO other requests coming in. So, I still don't understand why execution is cut after 10 seconds instead of promised 30 seconds. With such limitation GAE for Java is practically making impossible to use the most popular web

[appengine-java] Re: Scheduled Tasks aborted early

2010-03-01 Thread Eugene Kuleshov
Also, that this 10 seconds issue actually appear mostly when my scheduled tasks are kicked, so in result they never start, even so user requests from the regular UI are coming trough. It seem like this problem been introduced recently Thanks Eugene On Mar 1, 11:35 am, Eugene Kuleshov

Re: [appengine-java] JSF 2 on GAE getting java.io.NotSerializableException: javax.faces.component.html.HtmlSelectManyListbox after trying to run from production

2010-03-01 Thread Joel Weight
Hi Daniel, Looking at the javadoc for HtmlSelectManyListbox ( http://java.sun.com/javaee/javaserverfaces/2.0/docs/api/javax/faces/component/html/HtmlSelectManyListbox.html ) it looks like it doesn't implement Serializable. Since you are binding to it in a session scoped bean, you must have a

Re: [appengine-java] Re: Scheduled Tasks aborted early

2010-03-01 Thread John Patterson
Hi Eugene, All it takes are two requests to see that error - the first to start the application loading and then any other request (even a request for a css file or refreshing the page) will wait 10 seconds and then throw that exception. It is rare that a single page does not need more

[appengine-java] Re: Scheduled Tasks aborted early

2010-03-01 Thread Eugene Kuleshov
John, I hear you, but I am quite certain that there is no other requests. It happen in a middle of the night when there is no users and the failing request is initiated by the GAE's own cron, so there is no refresh of the pages, nor any requests for css. With Spring framework, the most of

[appengine-java] How to migrate data from an existing database to APP Engine?

2010-03-01 Thread HugoMatus
Hi, I looked at APP Engine for the first time this weekend and understand clearly the steps to create a new application and persist new data to APP Engine. What I could not find an answer for is: How to migrate existing data from a relational database to APP Engine so that I can then migrate a

Re: [appengine-java] error while deploying web appln in google appengine

2010-03-01 Thread Chummar Maly
I had the same issue and resolved it by removing all jre installations and leaving out just the jdk. On Sat, Feb 27, 2010 at 11:02 PM, shanthi ramabhadran 77can...@gmail.comwrote: How to resolve the following error while deploying java web appln in google appengine?? 8% Compiling jsp files.

[appengine-java] Database import feature request for Java

2010-03-01 Thread Anand
Hi, We really need following feature urgently mentioned in blog:- Database import: move GBs of data easily into your App Engine app. Matching export capabilities are coming soon, hopefully within a month. Even if database-import for java just upload few MBs, and it is in preview edition, that

[appengine-java] Re: how to save binary data in JDO

2010-03-01 Thread Jake
Hey, Saving binary data to the datastore isn't too difficult - you can just use a Blob type and ensure that you don't break the 1MB capacity of a single entity. You can see my class declaration below. The hard part is converting a file upload to a byte[] and then from a byte[] back into what

Re: [appengine-java] Re: Scheduled Tasks aborted early

2010-03-01 Thread John Patterson
When you get the Request was aborted after waiting too long ... message there will be no stack trace because your code is never run. Rest assured you can run tasks for 30 seconds - I do it myself. Context listeners are run on every loading request so why do you say that splitting your

[appengine-java] Re: how to save binary data in JDO

2010-03-01 Thread Valentino Hankypants
so i only can upload binary data up to 1 MB? any possibility to upload binary data with GBs? greatz On 1 Mrz., 18:36, Jake jbrooko...@cast.org wrote: Hey, Saving binary data to the datastore isn't too difficult - you can just use a Blob type and ensure that you don't break the 1MB capacity

[appengine-java] Re: Scheduled Tasks aborted early

2010-03-01 Thread Eugene Kuleshov
John, I've posted the pretty much complete log in my very first message. If I read it correctly the request took 10012ms and it haven't used any CPU (0cpu_ms) and there was NO other requests within 30 minutes around that time. More over, if I kick the very same url as defined in cron.xml

[appengine-java] Re: lost sub entity

2010-03-01 Thread Gunnar
Hi, I followed Jakes advice to do e.setList(list) but no change. I've also stepped through my code, but there is no exception! Btw I use version 1.3.1 of the SDK. Gunnar On 1 mar, 15:28, John Patterson jdpatter...@gmail.com wrote: It is unusual that you see no  stack trace.  Are you sure you

[appengine-java] Re: lost sub entity

2010-03-01 Thread Gunnar
Hi, I have not defined any fetch group, should I? If so how should I do that? Gunnar On 1 mar, 15:28, John Patterson jdpatter...@gmail.com wrote: It is unusual that you see no  stack trace.  Are you sure you are not   catching it?  You could step through the code line by line to see what  

Re: [appengine-java] Re: Scheduled Tasks aborted early

2010-03-01 Thread John Patterson
The pasted log is a bit hard to read... but it looks to me like two requests. One at 02-28 02:45PM 39 and another at 02-28 02:45PM 49. Or is that just the way it printed? The idea is to split the app into different _versions_ not different apps. Then they use the same datastore but

Re: [appengine-java] Re: lost sub entity

2010-03-01 Thread John Patterson
Did you look into default fetch group? On 2 Mar 2010, at 01:04, Gunnar wrote: Hi, I followed Jakes advice to do e.setList(list) but no change. I've also stepped through my code, but there is no exception! Btw I use version 1.3.1 of the SDK. Gunnar On 1 mar, 15:28, John Patterson

Re: [appengine-java] Re: Expires header automatically added (bug?)

2010-03-01 Thread Ikai L (Google)
Are you setting a cookie? We force an expires header for any requests that have a set-cookie header. The reason for this is that many users access websites using HTTP proxies. Some proxies will cache the entire request, which may cause session leak (e.g. let you read someone else's email). On

Re: [appengine-java] How to migrate data from an existing database to APP Engine?

2010-03-01 Thread Ikai L (Google)
You'll need to write a script that exports from your relational database and uploads using the bulk loader: http://code.google.com/appengine/docs/python/tools/uploadingdata.html Schemas won't map 1:1, so be sure you understand what changes you'll have to make to your persistence model before

Re: [appengine-java] Re: Flash arcade game GAE based

2010-03-01 Thread Ikai L (Google)
Since you're using Flash, you won't need to use long polling. XMPP seems like the way to go here. On Mon, Mar 1, 2010 at 1:08 AM, Miguel maenguida...@gmail.com wrote: You can use Memcache: http://code.google.com/intl/en/appengine/docs/java/memcache/usingjcache.html On 28 feb, 08:58, Ahmed

[appengine-java] Re: Scheduled Tasks aborted early

2010-03-01 Thread Eugene Kuleshov
On Mar 1, 1:19 pm, John Patterson jdpatter...@gmail.com wrote: The pasted log is a bit hard to read... but it looks to me like two   requests.  One at 02-28 02:45PM 39 and another at 02-28 02:45PM   49.   Or is that just the way it printed? Just one request. That is how it looks in the log

Re: [appengine-java] Re: Scheduled Tasks aborted early

2010-03-01 Thread John Patterson
On 2 Mar 2010, at 02:18, Eugene Kuleshov wrote: Just one request. That is how it looks in the log browser at the web UI. OK then could you post the logs surrounding that one request? Expanded. -- You received this message because you are subscribed to the Google Groups Google App Engine

Re: [appengine-java] Re: Scheduled Tasks aborted early

2010-03-01 Thread Eugene Kuleshov
John, There was no requests more then 30 minutes before that one and more then 30 minutes after that. So, I don't think those requests would matter. Take care Eugene On Mon, Mar 1, 2010 at 2:24 PM, John Patterson jdpatter...@gmail.com wrote: On 2 Mar 2010, at 02:18, Eugene Kuleshov

Re: [appengine-java] Re: App Engine and Spring slow start up

2010-03-01 Thread Rusty Wright
Try using the old way with xml configuration for wiring your beans together. The word on the street is that Spring's component scanning takes a lot of time. luijar wrote: Nope, I am still seeing it. It's quite frustrating. I even tried to reduce Spring init time by removing schema validation

Re: [appengine-java] logging not working this

2010-03-01 Thread Ikai Lan
What's your application ID? On Fri, Feb 26, 2010 at 7:00 AM, oceandrive rams...@gmail.com wrote: GAE logging is not working this morning? Anyone has the same issue. The last log for me was at 02-26 06:00AM 03.975. Thanks -- You received this message because you are subscribed to the

[appengine-java] Re: lost sub entity

2010-03-01 Thread Gunnar
I don't jnow what you mean with look into default fetch group!. Please explain. Gunnar On 1 mar, 19:20, John Patterson jdpatter...@gmail.com wrote: Did you look into default fetch group? On 2 Mar 2010, at 01:04, Gunnar wrote: Hi, I followed Jakes advice to do e.setList(list) but no

[appengine-java] Re: App Engine and Spring slow start up

2010-03-01 Thread luijar
Thanks for the advice, I'll try that. On Mar 1, 2:31 pm, Rusty Wright rwright.li...@gmail.com wrote: Try using the old way with xml configuration for wiring your beans together.   The word on the street is that Spring's component scanning takes a lot of time. luijar wrote: Nope, I am

Re: [appengine-java] Re: lost sub entity

2010-03-01 Thread John Patterson
http://lmgtfy.com/?q=appengine+jdo+%22default+fetch+group%22 On 2 Mar 2010, at 02:50, Gunnar wrote: I don't jnow what you mean with look into default fetch group!. Please explain. Gunnar On 1 mar, 19:20, John Patterson jdpatter...@gmail.com wrote: Did you look into default fetch group? On 2

[appengine-java] Re: Spring MVC - File upload problem

2010-03-01 Thread Sebastian Cartier
Hi my first solution i wrote isn't working any more. I had to add beans = { multipartResolver(is.hax.spring.web.multipart.StreamingMultipartResolver) } to /grails-app/conf/spring/resources.xml Now it works again @Markus: you can not use byte-arrays with google app engine. You have to use

Re: [appengine-java] Task queue not starting the action when expected

2010-03-01 Thread Ikai L (Google)
Tasks aren't guaranteed to execute immediately. Task queues execute when there is capacity: http://code.google.com/appengine/docs/python/taskqueue/overview.html#Task_Execution It may or may not be related to 1.3.1. What % of your requests see this delay? On Thu, Feb 25, 2010 at 3:05 PM, Jerome

Re: [appengine-java] Defining composite indexes

2010-03-01 Thread Ikai L (Google)
That's challenging. If there's a finite set of possible property names, you can generate all these ahead of time using queries on your local datastore instance. If not, you may want to reconsider using the property name as metadata for exactly the reasons you mentioned. For properties that require

[appengine-java] Re: Is there an equivalent of Python GeoModel project in Java?

2010-03-01 Thread Torquester
I tried out the Java Geomodel http://code.google.com/p/javageomodel/ The query used in the example provided on the project page seems strange to me. The example uses a ListString parameter (containing the cells of the bounding box) and passes it to a query which filters the ListString (geocells)

[appengine-java] JPA 2.0 Support

2010-03-01 Thread Felipe
JPA 2.0 Support. When -- 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

Re: [appengine-java] Re: Spring MVC - File upload problem

2010-03-01 Thread yjun hu
hi, i got a demo here. http://hapeblog.appspot.com/blog.shtml?id=2002 On Tue, Mar 2, 2010 at 4:36 AM, Sebastian Cartier sebi.cart...@gmail.comwrote: Hi my first solution i wrote isn't working any more. I had to add beans = {

Re: [appengine-java] Re: App Engine and Spring slow start up

2010-03-01 Thread yjun hu
i got the same problem too, there is no better way to resolve it, i just try to hitting a url with cron job. On Tue, Mar 2, 2010 at 3:50 AM, luijar luis.j.aten...@gmail.com wrote: Thanks for the advice, I'll try that. On Mar 1, 2:31 pm, Rusty Wright rwright.li...@gmail.com wrote: Try using

[appengine-java] multiple inserts/update/delete problem

2010-03-01 Thread legendlink
hi, i have tried to insert multiple insert, using multiple pm.makePersistent calls, but exceprion always occurrs. exception thrown: javax.jdo.jdofataluserexception:illegal argument cant operate on multiple entity groups in a single transaction i wanted to try to do batch inserts. all of the

[google-appengine] Re: Access to App Engine admin page

2010-03-01 Thread dominity
Hi, again. I found what was wrong. I guess it was some virus/trojan. It changes redirection strategy in windows hosts file. So, I change it and now it's working fine. Thanx. Best regards, Alexander. -- You received this message because you are subscribed to the Google Groups Google App

[google-appengine] Re: The latest Django (1.1.1) on production server

2010-03-01 Thread Greg Temchenko
I found solution. It's simple: from google.appengine.dist import use_library use_library('django', '1.1') On Mar 1, 9:02 am, Greg Temchenko soid@gmail.com wrote: I'm trying to use the latest Django 1.1.1 so I placed the django folder to the same place as my controller.py. Something like

Re: [google-appengine] Server error? = The application already has the maximum number of versions

2010-03-01 Thread Nickolas Daskalou
Thanks Eli. That's not exactly what's happening to me but I deleted one of my versions anyway (so I now have 9 deployed), and I'm once again able to update an existing version. Nick On 1 March 2010 14:34, Eli Jones eli.jo...@gmail.com wrote: Not sure if this will help.. but the fix below was

[google-appengine] Re: How to use Cipher in GAE?

2010-03-01 Thread Sylvain
This can help I think : http://groups.google.com/group/google-appengine/tree/browse_frm/thread/b18bd661e88a7e69/1ad10c65b482a85e?rnum=1q=PyCrypto_done=%2Fgroup%2Fgoogle-appengine%2Fbrowse_frm%2Fthread%2Fb18bd661e88a7e69%2F1d9ec438809c8395%3Flnk%3Dgst%26q%3DPyCrypto%26#doc_54998520c096e3c7 On Mar

Re: [google-appengine] raw value of request parameters

2010-03-01 Thread Nick Johnson (Google)
Hi, Use self.request.GET_str['data']. -Nick Johnson On Mon, Mar 1, 2010 at 6:38 AM, Iap iap...@gmail.com wrote: Hi, I have a weird problem: If I make a request with binary value parameters, I can not get it back from the self.request.get. For example:

Re: [google-appengine] Parallel access to appengine

2010-03-01 Thread Nick Johnson (Google)
Hi Gary, Practically speaking, for an app that hasn't been given elevated permissions, you should be able to have at least 30 concurrent requests - equating to around 400 QPS if your app is fairly efficient. What problems are you running into that lead you to conclude you're hitting a limit at 4

Re: [google-appengine] Re: Erratic behavior with back-references

2010-03-01 Thread Nick Johnson (Google)
Hi, The issue Tim mentions is likely the case, especially since you have if hasattr(user, 'contacters'), which seems intended specifically to work around this. Ensure that the Contact class is always imported when you run this code, and you can remove the hasattr check, and your issues should go

[google-appengine] Re: Login on third level domains.

2010-03-01 Thread Wooble
I believe the Gmail login/logout could be considered a bug, but it's how the Google login page works, unfortunately. When you use the login url or logout URL, Google assumes you want to log in or out of your Google account, *plus* it logs you in or out of the app running on the subdomain you came

[google-appengine] Application deployment time

2010-03-01 Thread François Masurel
There seems to be an incompressible deploying time, even if you access a pretty simple page in GAE. In my case, a pretty basic servlet making a simple read in the datastore can take as much as 15s to load. My web.xml is pretty basic too, only one filter : I'm doing the servlet lazy-loading

Re: [google-appengine] raw value of request parameters

2010-03-01 Thread Iap
Hi Nick, Thanks for your answer. I found the self.request.str_GET in the document of webob. 2010/3/1 Nick Johnson (Google) nick.john...@google.com: Hi, Use self.request.GET_str['data']. -Nick Johnson -- You received this message because you are subscribed to the Google Groups Google App

[google-appengine] Re: Indexes Not Building

2010-03-01 Thread jread
Another two days has gone by and these indexes are still not building. This is causing errors galore in our cron jobs and queued tasks. On Feb 27, 10:05 am, jread jr...@vendasta.com wrote: Hello, We deployed a new version of our app (appid: steprep) yesterday afternoon and we have seven new

Re: [google-appengine] Re: Indexes Not Building

2010-03-01 Thread Nick Johnson (Google)
Hi, I've reset your indexes to error state. You can try building them again now. -Nick Johnson On Mon, Mar 1, 2010 at 3:22 PM, jread jr...@vendasta.com wrote: Another two days has gone by and these indexes are still not building. This is causing errors galore in our cron jobs and queued

Re: [google-appengine] Help needed : found more than 100 URLMap entries in application configuration

2010-03-01 Thread Nick Johnson (Google)
Hi, Do you also have static files configured in appengine-web.xml? These count towards the total number of entries too. It's not possible to increase your limit, because it's enforced on the client, as well as server-side. -Nick Johnson On Fri, Feb 26, 2010 at 8:00 PM, mably fm2...@mably.com

Re: [google-appengine] raw value of request parameters

2010-03-01 Thread Ulrich
Hi, I would recommend to base64-encode the binary data before url-encoding it, because this method requires less space / bandwidth. In my opinion, this is also easier to work with, especially if you use different languages (AJAX etc.). -Ulrich Iap wrote: Hi, I have a weird problem: If I

[google-appengine] double index?

2010-03-01 Thread Gijsbert
Hi, I was having a look at my indexes and I have 2 that are almost identical, from index.yaml: - kind: Item properties: - name: name - name: last - kind: Item properties: - name: name= - name: last I searched the documentation to find out what the '=' means but it is not mentioned

Re: [google-appengine] double index?

2010-03-01 Thread Nick Johnson (Google)
Hi Gijsbert, The latter index is for a property called (literally) 'name='. Most likely, at some point you erroneously executed a query along the lines of Item.all().filter('name=', blah)..., which checks for a property called 'name='. The property name and operator need to be separated by a

[google-appengine] Re: Indexes Not Building

2010-03-01 Thread jread
Thanks Nick. I cleared the indexes that are in error from our index.yaml and did a vacuum, but the delete operations have now almost all gone to the error state themselves. Any idea what we should try next? Thanks, Jeff. On Mar 1, 10:03 am, Nick Johnson (Google) nick.john...@google.com wrote:

Re: [google-appengine] Help needed : found more than 100 URLMap entries in application configuration

2010-03-01 Thread Francois MASUREL
Hi Nick, Thanx for your answer. I dont have any static files configured in appengine-web.xml. Is there any documentation available somewhere about these limitations ? I had to remove more than half of my servlets to be able to deploy my application. I know trying to write a Guice-like servlet

[google-appengine] like in Objectify-appengine

2010-03-01 Thread Enrico Nanni
Hi all! :) I'm new to appengine , and i'm enjoying a lot developing a simple application using Objectify-apppengine. I'd like to implement a simple query that uses a LIKE construct (eg select * from person p where p.description like '%guy%' ) do you know how this can be done? I didn't find it in

[google-appengine] Appengine error

2010-03-01 Thread GoogolMo
2010-03-01 23:21:01,717 ERROR appcfg.py:1471 An unexpected error occurred. Aborting. Traceback (most recent call last): File D:\Program Files\Google\google_appengine\google\appengine\tools \appcfg.py, line 1442, in DoUpload missing_files = self.Begin() File D:\Program

[google-appengine] Re: Application deployment time

2010-03-01 Thread Wooble
I think you're confusing deploying with cold startup. Static files won't affect startup time (they will affect deployment, of course, since you need to upload any that have changed); servlets needing to load lots of jars and classes to do something simple will make that simple thing take a long

Re: [google-appengine] like in Objectify-appengine

2010-03-01 Thread Jeff Schnitzer
Unfortunately this construct is not supported by the datastore. I believe there are some people working on opensource projects that provide text indexing in AppEngine, but I do not know their status. It is a nontrivial problem. Jeff On Sun, Feb 28, 2010 at 4:02 PM, Enrico Nanni

[google-appengine] Re: double index?

2010-03-01 Thread Gijsbert
Ah! Quite possible, I used to do filter('name ==', x) as well. I should really remove the index.yaml once in a while, but I'm scared I will forget to test something. Thanks. On Mar 1, 11:55 am, Nick Johnson (Google) nick.john...@google.com wrote: Hi Gijsbert, The latter index is for a

[google-appengine] Re: double index?

2010-03-01 Thread johnP
I have the same fear - that cleaning out the index.yaml might break something. Which leads to an idea - if the indexes page in the management console included the latest date that an index was used, it would make it easier to differentiate between indexes that are relevant, and indexes that are

Re: [google-appengine] Parallel access to appengine

2010-03-01 Thread Michael Wesner
Nick, If we (I work with Gary) require fairly heavy requests which run for multiple seconds then it is not possible to get anywhere near 400 QPS. The math used on the docs page only applies to 75ms requests. (1000 ms/second / 75 ms/request) * 30 = 400 requests/second so lets say each

[google-appengine] View this page Google App Engine Open Source Projects

2010-03-01 Thread Ikai Lan
Added Very Small Forum for GAE Click on http://groups.google.com/group/google-appengine/web/google-app-engine-open-source-projects - or copy paste it into your browser's address bar if that doesn't work. -- You received this message because you are subscribed to the Google Groups Google App

Re: [google-appengine] like in Objectify-appengine

2010-03-01 Thread Enrico Nanni
Thank you Jeff! Luckily I don't have enormous datastores, so I can manage everything in memmory thank you very much!!! :D Enrico On 1 March 2010 18:51, Jeff Schnitzer j...@infohazard.org wrote: Unfortunately this construct is not supported by the datastore. I believe there are some people

Re: [google-appengine] Parallel access to appengine

2010-03-01 Thread Michael Wesner
Correction/addition to my last email. It turns out that our requests for this EC2 pull thing are actually much faster now. Gary and our other devs have reworked it. I need updated numbers, but they don't take 10s, probably more like 2s. We still have some heavy ~5s services though, so the

[google-appengine] Re: How long does JCache instance stay alive?

2010-03-01 Thread xcdesz
Thanks for the information. So the expiration time is only a maximum time to be stored in the cache, not an explicit time that you want it to stay. If you don't specify an expiration time -- is that like setting an expiration time of infinity, or is there a default? I'm trying to maximize the

Re: [google-appengine] Re: How long does JCache instance stay alive?

2010-03-01 Thread Ikai L (Google)
Memcache uses an LRU mechanism, so as long as it is being accessed consistently it shouldn't be evicted. Beyond that, you won't have too much control over keeping an item in the cache, and you might be better off storing it in the datastore with Memcache as a pass-through proxy (read from Memcache

[google-appengine] Re: Character encoding Problem

2010-03-01 Thread lyhana8
Hi, Did you solve your problem ? I got the same, XML file a correct when rich directly but the RPC communication seem to alter the data. Please post your solution if you have one. Regards. On Feb 1, 10:12 pm, Jos Muysers josmuys...@gmail.com wrote: Hi, When I deploy my application I see this

[google-appengine] Re: Character encoding Problem

2010-03-01 Thread lyhana8
Did you find a solution ? I got the same issue and looking for a solution for 4 days now. Seem the RPC respone is messed-up while the XML is correct. If you found a solution please post it. Thanks On Feb 1, 10:12 pm, Jos Muysers josmuys...@gmail.com wrote: Hi, When I deploy my application I

[google-appengine] Task Queue Suggestion

2010-03-01 Thread playatomo
Some basic queue management would be useful from within the API (not just the admin console) It would be useful to be able to check a specific queue for tasks. On the most basic level a check to see if there is anything in the queue, and how many tasks are there. It would also be nice to be

Re: [google-appengine] Python inheritance vs Polymodel

2010-03-01 Thread Ikai L (Google)
What's the current write rate? In general, you want to minimize the number of writes. Are you doing transactional writes? Four entities will result in a minimum of four entities saved, however, it seems to me as if the number of indexes that need to be updated will be more of a factor in reducing

Re: [google-appengine] Appengine error

2010-03-01 Thread Robert Kluin
Have you tried with Python 2.5? Robert On Mon, Mar 1, 2010 at 10:21 AM, GoogolMo googo...@gmail.com wrote: 2010-03-01 23:21:01,717 ERROR appcfg.py:1471 An unexpected error occurred. Aborting. Traceback (most recent call last):  File D:\Program

Re: [google-appengine] Hotmail blocking emails from appengine or just my app?

2010-03-01 Thread Ikai L (Google)
Natalie, I wanted to give you an update. We're investigating this right now. It seems to be for App Engine in general. On Fri, Feb 26, 2010 at 12:13 PM, Natalie Gordon natalie.gor...@gmail.comwrote: Hi, For the past week hotmail has been blocking emails from my app. Is this a problem with my

Re: [google-appengine] Re: Error when deploying to dev server

2010-03-01 Thread Ikai L (Google)
Have you tried the instructions in this discussion? http://groups.google.com/group/google-appengine-java/browse_thread/thread/155b9bebdf53f255 On Fri, Feb 26, 2010 at 12:30 PM, midi chum...@gmail.com wrote: Thanks for the response. You are right it must be an import; the error went away

Re: [google-appengine] Logging, the best approach

2010-03-01 Thread Ikai L (Google)
It should be fine to use Logging for these purposes, so as long as you realize that we will not keep logs around forever. There's a maximum storage limit for storing logs and older entries will be automatically deleted if you cross this limit. I don't know this limit off the top of my head, but

Re: [google-appengine] like in Objectify-appengine

2010-03-01 Thread Robert Kluin
Search for 'full-text search.' You'll find a number of workarounds. Depending on your use-case there are two common way people solve the issue: 1) break the text up into a ListProperty (ie each word is an element in the list), 2) implement a prefix search. Robert On Mon, Mar 1, 2010 at

Re: [google-appengine] like in Objectify-appengine

2010-03-01 Thread Enrico Nanni
Thank you Robert, I start searching_! On 1 March 2010 23:40, Robert Kluin robert.kl...@gmail.com wrote: Search for 'full-text search.' You'll find a number of workarounds. Depending on your use-case there are two common way people solve the issue: 1) break the text up into a ListProperty

Re: [google-appengine] Microsoft emails are bouncing

2010-03-01 Thread Ikai L (Google)
We're investigating this issue. We'll be logging our progress here: http://code.google.com/p/googleappengine/issues/detail?id=2897 http://code.google.com/p/googleappengine/issues/detail?id=2897 On Sat, Feb 27, 2010 at 12:51 PM, Greg Tracy greg.tr...@att.net wrote: Over the last week, emails

Re: [google-appengine] JPA Netbeans

2010-03-01 Thread Ikai L (Google)
NetBeans is just an IDE. I like this Refcard for NetBeans, which is a crash course on using the IDE: http://refcardz.dzone.com/refcardz/netbeans-java-editor-68 As far as JPA goes, here's our documentation on using JPA: http://code.google.com/appengine/docs/java/datastore/usingjpa.html On Sat,

[google-appengine] Cannot deploy my app

2010-03-01 Thread pythonTryout
Hey, I am trying to update my application, but am getting : urllib2.URLError: urlopen error [Errno 110] Connection timed out I downloaded AppEngine's Python SDK source and directly updating from it. Am i missing something or something else has to be done before i try to update? -- You

Re: [google-appengine] Task Queue Suggestion

2010-03-01 Thread Iap
2010/3/2 playatomo kendani...@gmail.com: Some basic queue management would be useful from within the API (not just the admin console) It would be useful to be able to check a specific queue for tasks.  On the most basic level a check to see if there is anything in the queue, and how many

[google-appengine] Re: Appengine error

2010-03-01 Thread Wooble
TCP/IP Error 10061 is a Connection Refused error. Either it was a short-lived error with the appengine servers, or you're having some sort of networking or firewall problems. On Mar 1, 10:21 am, GoogolMo googo...@gmail.com wrote: 2010-03-01 23:21:01,717 ERROR appcfg.py:1471 An unexpected error

[google-appengine] Mobile code for applications

2010-03-01 Thread Yogurt
Hi everyone, Last week I got my code in order to create my first application. However I did't claim the code, I decide to start the Getting started tutorial before creating the new application. Today, I finished reading the getting started section, and I open the the link

[google-appengine] appcfg.py error

2010-03-01 Thread pkhoosh
I have deployed my app and I want to populate the datastore with a csv file. After following the tutorial, I wrote a python loader file (DataStoreLoader.py) in my application directory and updated the app.yaml file with the following line: - url: /remote_api script:

[google-appengine] simultaneous dynamic request limit

2010-03-01 Thread David
I am losing sleep over this, so any help would be greatly appreciated! APP ID: conit-app01 Since our app released about a week ago, it has been getting an average of about 60 requests/second. On February 27, our app suddenly crashed and was down for several hours, with thousands of these errors

[google-appengine] appcfg.py error

2010-03-01 Thread pkhoosh
I am trying to upload a csv file to a data store. I uploaded my app.yaml file with the following: - url: /remote_api script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py login: admin I wrote a python handler in my application directory (DataStoreLoader.py). However, I get the

Re: [google-appengine] appcfg.py error

2010-03-01 Thread Eli Jones
Is the remote_api handler at the very top of your app.yaml? if there is something like: - url: /.* script: myscript Above the remote_api handler.. then it won't work. On Mon, Mar 1, 2010 at 8:43 PM, pkhoosh pkho...@gmail.com wrote: I am trying to upload a csv file to a data store. I

[google-appengine] Re: simultaneous dynamic request limit

2010-03-01 Thread Satoshi
I've got the same warnings several time today too. The peak access rate was only 3.00 requests/sec, and the CPU time usage over the last 24 hours is 6% (1.08 CPU hours) out of 18.50 CPU hours (I am a paying customer). Satoshi On Mar 1, 6:51 pm, David dscri...@gmail.com wrote: I am losing sleep

[google-appengine] How many IPs would the urlfetch use?

2010-03-01 Thread Iap
Hi, I have a back-end web service which I would only allow the requests from my GAE application. So I want to check the IP if it comes from the GAE urlfetch. (plus some secret token) From my testing, there is only one IP: 64.233.172.18 was found. I am curious about if there are other IPs that

  1   2   >