Re: [appengine-java] Why do custom indexes require single-property indexes?

2010-03-16 Thread John Patterson
On 16 Mar 2010, at 12:25, Jeff Schnitzer wrote: I'm puzzled by the behavior of custom indexes. I have a simple test case below, a simple equality filter on one property combined with a descending sort on another property. If I set the properties with setUnindexedProperty(), the query fails

[appengine-java] Re: How to query objects with criterias defined in child entities

2010-03-16 Thread Max
Hi John, Thanks for your reply. To be honest I am quite disappointed that GAE can not perform such query directly. According do your suggestion, to query with n filters on one relation index entity, we need to: 1, perform n separate queries to obtain n cursors of UserSkill entities by some

[appengine-java] Re: How to query objects with criterias defined in child entities

2010-03-16 Thread Max
to query with n filters on one relation index entity *should be* to query with n filters on User with many UserSkill entity children On Mar 16, 2:05 pm, Max thebb...@gmail.com wrote: Hi John, Thanks for your reply. To be honest I am quite disappointed that GAE can not perform such query

[appengine-java] Re: error removing from a list

2010-03-16 Thread Philip Tucker
That seems to have fixed it, thanks. For the AppEngine developers - surely this is a bug. We shouldn't have to define an index on the primary key, should we? On Mar 15, 4:21 am, thierry LE CONNIAT thlec...@free.fr wrote: HI, I think it's just a problem of index missing on object Presence.

[appengine-java] Re: Pls Help: want to send 2000+ emails in one go

2010-03-16 Thread Peter Ondruska
There are limits for Google Apps customers: http://www.google.com/support/a/bin/answer.py?hl=enanswer=166862 On Mar 16, 12:30 am, Ikai L (Google) ika...@google.com wrote: No, it shouldn't be. If it's a billed account (sounds like it is), your per/minute quota is 5,100 recipients:

Re: [appengine-java] Re: How to query objects with criterias defined in child entities

2010-03-16 Thread John Patterson
Nice one. If you have any questions please use the Twig discussion group: http://groups.google.com/group/twig-persist Im about like 24/7 at the moment! On 16 Mar 2010, at 13:45, Max wrote: Hi John, Many thanks. I will prepare large set of testing data and try to use Twig to model/ query

[appengine-java] Wicket tabpanel gives access denied error.

2010-03-16 Thread Kemal Dogan
When tab was switched , it gives an exception. Is there any solution for this exception? WicketMessage: Method onLinkClicked of interface org.apache.wicket.markup.html.link.ILinkListener targeted at component [MarkupContainer [Component id = link]] threw an exception Root cause:

[appengine-java] Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many redirects.

2010-03-16 Thread Chris
Hi, I've got a strange problem with (I believe) my servlet mapping. I'm trying to map all requests for /mountain/* to a JSP file called mountain.jsp. It works fine when I run it on my localhost, but when I upload the project to AppEngine, I get errors like the following:

Re: [appengine-java] Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many redirects.

2010-03-16 Thread Stephan Hartmann
Your JSP file should be not a relative path but absolute, i.e. jsp-file*/absoulute/path/to/*mountain.jsp/jsp-file 2010/3/16 Chris christoph.wor...@gmail.com Hi, I've got a strange problem with (I believe) my servlet mapping. I'm trying to map all requests for /mountain/* to a JSP file

[appengine-java] Too many open files

2010-03-16 Thread Alexander Kolesnikov
I believe this is something that needs attention of the App Engine Team. My webapp was working fine for months, but a few days ago one of the pages started to report server error with logs like this one: Uncaught exception from servlet java.io.FileNotFoundException:

Re: [appengine-java] Re: Best way to perform search on DataStore - Design Question

2010-03-16 Thread yjun hu
haha, up to now,i use compass okay! On Tue, Mar 16, 2010 at 8:53 AM, objectuser kevin.k.le...@gmail.com wrote: I think there are a lot of posts here that conclude Compass is not viable. Has that changed? On Mar 15, 12:23 am, yjun hu itswa...@gmail.com wrote: you can try compass to make

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

2010-03-16 Thread yjun hu
upload image into datastore,and display on webpage here http://www.hapeblog.com/blog.shtml?id=2002 2010/3/15 rissen risse...@gmail.com In my app , I upload image file by Apache Commons FileUpload and save it in datastore, then get the binary data from the datastore and display the image in

[appengine-java] Re: Best way to perform search on DataStore - Design Question

2010-03-16 Thread Toby
I am using compass as well and it works fine. The indexing part is costly and you might need to do task queue if you reindex large amount of data. Starting the search manager is slow and it happens a lot due to the suspend policy. You can also take a look at this project:

Re: [appengine-java] Blobstore upload callback without a redirect?

2010-03-16 Thread bimbo jones
Hi, Don't know if it helps but we have a servlet that processes the fileupload and then redirects to another servlet with /some/code And that servlet is the one responding to the form just by writing a JSON string on the writer. In the FormCompleteHandler you can parse the JSON or check for

[appengine-java] Re: Discussion on will-it-play-in-app-engine

2010-03-16 Thread eldandi
thank you Chau for your fast reply, but I already looked in there, and the mentioned version (1.2.28) doesn't exist in the struts official web page or any known public maven2 repository, that is why I raised my question here. Any help would be appreciated. I also thought that maybe the version was

[appengine-java] java.io.IOException: Could not fetch URL problem and google spreadsheet api

2010-03-16 Thread dominity
Hi, guys. When my application trying to put user credentials into spreadsheet service, I've got this exception: com.google.gdata.util.AuthenticationException: Error connecting with login URI at com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(GoogleAuthTokenFactory.java: 479)

Re: [appengine-java] Re: Cannot Install Plugin

2010-03-16 Thread Rajeev Dayal
Hi, Can you tell me exactly which JEE distribution you downloaded? I'd like to see if I can reproduce the error locally. Rajeev On Mon, Mar 15, 2010 at 11:54 AM, the.cologne herrman...@gmail.com wrote: On 15 Mrz., 10:30, Rajeev Dayal rda...@google.com wrote: Hi, I tried that already. I

Re: [appengine-java] Re: Discussion on will-it-play-in-app-engine

2010-03-16 Thread Chau Huynh
Hi, I looked in archive link (http://archive.apache.org/dist/struts/binaries/) and I could not find the version 1.2.28 as Google document, might be 1.2.8? (How embarrassed I did not read your message appropriately). On Tue, Mar 16, 2010 at 8:26 PM, eldandi matias.burch...@gmail.com wrote: thank

Re: [appengine-java] Too many open files

2010-03-16 Thread Toby Reyelts
On Tue, Mar 16, 2010 at 4:01 AM, Alexander Kolesnikov otry.it...@gmail.comwrote: I believe this is something that needs attention of the App Engine Team. My webapp was working fine for months, but a few days ago one of the pages started to report server error with logs like this one:

Re: [appengine-java] Re: it's terrible slow when loading resource files

2010-03-16 Thread Don Schwarz
On Tue, Mar 16, 2010 at 8:04 AM, firestoke firest...@gmail.com wrote: hi, The average ping time is as the following: Reply from 72.14.203.141: bytes=32 time=96ms TTL=51 Reply from 72.14.203.141: bytes=32 time=95ms TTL=51 Reply from 72.14.203.141: bytes=32 time=94ms TTL=51 Reply from

[appengine-java] Discussion sur will-it-play-in-app-engine

2010-03-16 Thread Cédric B .
Hi, I don't find puremvc4gwt in this list. Is it compatible ? Is it possible to use this framework on GAE ? 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

[appengine-java] Re: Cryptography on App Engine

2010-03-16 Thread jnizet
That works, but it's limited in strangth : you won't be able to use keys longer than 128 bits. I opened an issue to install the policy files in order to enable strong cryptography : http://code.google.com/p/googleappengine/issues/detail?id=2889 On 12 mar, 21:06, Spines kwste...@gmail.com wrote:

[appengine-java] Re: Discussion on will-it-play-in-app-engine

2010-03-16 Thread eldandi
haha, ok, no problem! so now the question is: is the struts version 1.2.2 or 1.2.8 or 1.2.28 (which is a strange build not known by the apache people :P haha)? should the document be corrected with the correct version or a link added to the mysterious build? who chould we tell about this? On

[appengine-java] DeadlineExceededException and Spring initialization

2010-03-16 Thread Mariano Cortesi
Hi, I'm having problems with my web application initialization process and the 30s per request limit. So I wonder what does everybody else do in this situation, because I think it should be quite common to everyone using GAE with Spring. First of all, sometimes, the delay between the request

Re: [appengine-java] Re: Blobstore upload callback without a redirect?

2010-03-16 Thread bimbo jones
Hi, Haven't tried it, i can have a look at httpfox data if you still need it. 2010/3/16 fletcher fle...@fletchowns.net Ah that sounds like it might be what I'm looking for. Do you have to do anything special to ensure the POST parameters get redirected as well? Or can I just do a

[google-appengine] Re: If-Modified-Since HTTP conditional Get header supported in 1.3.1?

2010-03-16 Thread JC
Are you saying that not all GAE servers running in the Google data center support If-Modified-Since? Can you elaborate a bit more? The Java app was deployed to GAE data center which I assume is running the latest 1.3.1 which claims to support conditional Get. On Mar 15, 6:15 pm, Alkis Evlogimenos

[google-appengine] Re: If-Modified-Since HTTP conditional Get header supported in 1.3.1?

2010-03-16 Thread JC
BTW, there is no proxy server in my case if that is what you had in mind. On Mar 15, 11:07 pm, JC justin...@gmail.com wrote: Are you saying that not all GAE servers running in the Google data center support If-Modified-Since? Can you elaborate a bit more? The Java app was deployed to GAE data

[google-appengine] Does datastore cache for ReferenceProperty?

2010-03-16 Thread Shinichi Nakanishi
Does datastore run query for Instructor each time? Or does it some sort of cache thing? If I have these models: class Instructor(db.Model) firstName = db.StringProperty() lastName = db.StringProperty() class Participant(db.Model) firstName = db.StringProperty() lastName =

Re: [google-appengine] Re: Please delete indexes that I cannot delete

2010-03-16 Thread Shinichi Nakanishi
Hi Ikai, It looks like there is one index still remaining with status Error and it's preventing other indexes to be built. WorkshopDate workshop ▲ , workshopDate ▲ Error Can you please delete this and let other indexes be created? Thank you, Shinichi On Mon, Mar 15, 2010 at 17:03,

Re: [google-appengine] Templates in subfolders

2010-03-16 Thread djidjadji
What is the value of 'path' after the os.path.join()? 2010/3/15 Kenchu sweken...@gmail.com: Displaying a template that resides in the main folder together with the script works just fine, but as soon as I try to display one in a subfolder, I get an error: TemplateDoesNotExist: index.htm

[google-appengine] Re: Users are not redirected back to app after creating a google account.

2010-03-16 Thread Aurelian
Totally agree. I had to build a full authentication system for that reason, because creating new Google Accounts was very confusing, moreover user was not forwarded to application. On Mar 16, 1:55 pm, Albert albertpa...@gmail.com wrote: Quoted from the

[google-appengine] Datastore Viewer Constantly Failing

2010-03-16 Thread Seth
Aloha, I have been unable to use the Datastore Viewer in the admin pages for some time now (at least five days). Every time I try to access it, I get: Server Error A server error has occurred. Return to Applications screen » Other pages in my admin screens seem to be functioning just fine. My

[google-appengine] Re: If-Modified-Since HTTP conditional Get header supported in 1.3.1?

2010-03-16 Thread JC
I see what you mean. In my case, the resource (with .xap extension, don't know if that matters) resides in GAE server as part of the deployed web app; there is not URL Fetch to fetch the resource from outside server. The resource is not located in the WEB-INF directory either; it is located under

Re: [google-appengine] Re: Error: Server Error

2010-03-16 Thread Alexander Kolesnikov
Check your logs. I wonder if you will find in them something like Too many open files. On Tue, Mar 16, 2010 at 1:08 PM, riq ricardoques...@gmail.com wrote: Since yesterday I'm getting this error as well. But according to AppEngine status (http://code.google.com/status/appengine) everything is

[google-appengine] Question: How to use login: admin properly?

2010-03-16 Thread Ennis
Hi, I am trying to set a section of my application as limited to admin access only. When I goto the the protected URL, I get the google login page - instead of the login page for my google apps account. If I try to login with my google apps account (which is administrator for the app) I am told

[google-appengine] Increasing Task Queue Quota Limit

2010-03-16 Thread Janne Savukoski
I managed to burn the whole taskqueue quota (1M) with some runaway recursive tasks for one of our apps. My bad, but is there any chance to get a temporary increase on the quota? Next reset is still 18h away. :) appid netcycler-qa -- You received this message because you are subscribed to the

[google-appengine] replicating PMF

2010-03-16 Thread david jones
hey, i'm pretty new to the app engine, and basically i'm in the middle of creating something whereby i need multiple pages with seperate comment systems using PMF. if i try to use my PMF on more than 1 page, though, i get an error saying Caused by: javax.jdo.JDOFatalUserException: Application

[google-appengine] Re: is there any max() function available in appengine datastore to find max of selected records

2010-03-16 Thread Max
Order by salary means an extra index will be built over this field, which will affect your write speed. Use a global variable to store max(salary) On Mar 15, 10:12 am, Takashi Matsuo matsuo.taka...@gmail.com wrote: Hi, Perhaps you can order by salary property descending, and just get the

[google-appengine] Multiple Automatically Configured Domains

2010-03-16 Thread Aubrey
Greetings! I am investigating the feasibility of creating something like Weebly.com with App Engine. Weebly allows anyone to create their own website, and handles hosting for them as an integrated service. Weebly provides a free subdomain for each site, but also allows people to connect their

[google-appengine] Access group info?

2010-03-16 Thread askvictor
Hi folks, Is it possible to access information about which (google apps) groups a user is a member of via the API? I haven't been able to search for this information as the term 'group' merely finds discussion groups such as this (there's a tough problem for your algorithm to solve, google ;)

[google-appengine] Examples of big demanding web apps running on google appengine

2010-03-16 Thread David Barnholdt
Hi! I have a demo about appengine in 20 minutes.. Do anyone have some good examples of some Big sites running on google appengine? with my best regards, David -- David Barnholdt Developer/Agile Coach/Team Coach Crisp AB Sveavägen 31 111 34 Stockholm Phone: +46 70 200 52 90

Re: [google-appengine] replicating PMF

2010-03-16 Thread Ikai L (Google)
Can you post some code? It sounds like you are instantiating a PersistenceManagerFactory instead of doing it once and referencing the singleton. On Tue, Mar 16, 2010 at 9:54 AM, david jones david.jone...@gmail.com wrote: hey, i'm pretty new to the app engine, and basically i'm in the middle of

Re: [google-appengine] Publish-subscribe to dynamic recipient lists

2010-03-16 Thread Ikai L (Google)
A couple of thoughts here: - is removing of friends a common event? similarly, is adding of friends a common event? (All relative, relative to reads of the news feed) - From what I remember, the only way to make heavy reads scale is to write the data multiple times in peoples' streams. Twitter

Re: [google-appengine] Re: is there any max() function available in appengine datastore to find max of selected records

2010-03-16 Thread Ulrich
Max wrote: Order by salary means an extra index will be built over this field, which will affect your write speed. Use a global variable to store max(salary) If you store this global variable in the datastore and have a high number of inserts, you have to update this global variable too

[google-appengine] Re: If-Modified-Since HTTP conditional Get header supported in 1.3.1?

2010-03-16 Thread JC
I suspect that somehow GAE is not treating the resource as static file - specifically with its xap file extension. I tried setting a custom mime-mapping in web.xml for the xap extension, and also tried to declare it as static file using the static-files tag in appengine-web.xml. None worked. In

Re: [google-appengine] Datastore Viewer Constantly Failing

2010-03-16 Thread Ikai L (Google)
Seth, Do you use any non-primitive properties to store data? LinkProperty, PhoneNumberProperty, etc? If these are set to null values or do not pass validation, this can cause the admin screen to error out: http://code.google.com/p/googleappengine/issues/detail?id=384 On Tue, Mar 16, 2010 at

[google-appengine] Re: Datastore Viewer Constantly Failing

2010-03-16 Thread Seth
Aloha Ikai, Do you use any non-primitive properties to store data? LinkProperty, PhoneNumberProperty, etc? If these are set to null values or do not pass validation, this can cause the admin screen to error out:http://code.google.com/p/googleappengine/issues/detail?id=384 I do use the Link

Re: [google-appengine] Re: is there any max() function available in appengine datastore to find max of selected records

2010-03-16 Thread Jeff Schnitzer
On Tue, Mar 16, 2010 at 12:01 PM, Ulrich mierendo...@googlemail.com wrote: Max wrote: Use a global variable to store max(salary) If you store this global variable in the datastore and have a high number of inserts, you have to update this global variable too often and it will not work

[google-appengine] Re: Publish-subscribe to dynamic recipient lists

2010-03-16 Thread PEZ
I'd say that relative to reads (and writes) of the news feed, updating friends lists is uncommon. We've sort of settled for an eventually consistent model now where we update the recipient lists of the freshest messages immediately and queue the update of older messages using the Tasks API. Really

[google-appengine] Re: Help! Unintentionally triggered gdata api query limit..

2010-03-16 Thread pythono
Thanks, it's seems to have resolved itself. On Mar 15, 5:58 pm, Ikai L (Google) ika...@google.com wrote: Have you asked the folks on the GData groups? They'll likely be able to look into this for you:https://groups.google.com/group/google-help-dataapi?pli=1 On Sun, Mar 14, 2010 at 3:54

[google-appengine] Re: Datastore Viewer Constantly Failing

2010-03-16 Thread Seth
Thanks, but I have already deleted all my entities. All my new entities are being displayed correctly by the Datastore Viewer. On Mar 16, 2:47 pm, Ikai L (Google) ika...@google.com wrote: Try this workaround: the property is stored as a String anyway, so you *should* be able to change the type

[google-appengine] Re: Users are not redirected back to app after creating a google account.

2010-03-16 Thread Albert
Hi Francois! Thanks! I hope people at Google can fix this soonest. It seems like a major hindrance for me to use the AppEngine Users framework for authentication. I think it's the most convenient for the developer to use, however, it should also be convenient for the users. Anyway, I hope they

[google-appengine] Few questions about commercial use

2010-03-16 Thread Michal M
Hi, I would like to use GAE to set up web service for company I work for. I am not sure if I understood everything well. Please help me to avoid mistakes. 1. I have my private Google App Engine account, should I set up a new one for this purpose? Can I? 2. Is it still free then unless I set up

[google-appengine] Re: GAE getting CAPTCHA-locked by Google Apps?

2010-03-16 Thread Jay Lee
I too am seeing this across multiple GAE apps deployed by separate accounts. Clearing the Captcha does not seem to resolve the Captcha lock but multiple attempts will eventually succeed. Running the same code on my local machine does not *ever* produce a Captcha lock. Password complexity is set

[google-appengine] Pre-release 1.3.2 SDKs available

2010-03-16 Thread Jason (Google)
Hi Everyone. Just a quick note that we just uploaded pre-release 1.3.2 SDKs for Python and Java to our Google Code project page: http://code.google.com/p/googleappengine/downloads/list Both pre-release SDKs include RELEASE_NOTE files that indicate what's new, but the App Engine back-ends have

Re: [google-appengine] Pre-release 1.3.2 SDKs available

2010-03-16 Thread Nickolas Daskalou
From the release notes: New feature in the datastore to specify whether to use strong or eventually consistent reads (the default is strong) Didn't think this would be out for quite a while. Very, very cool. :) On 17 March 2010 14:31, Jason (Google) apija...@google.com wrote: Hi Everyone.

[google-appengine] Re: Pre-release 1.3.2 SDKs available

2010-03-16 Thread mb
Wow, this is a substantial release! App Engine Python SDK - Release Notes Version 1.3.2 = - New API to read the contents of uploaded Blobs (fetch_data) http://code.google.com/p/googleappengine/issues/detail?id=2536 - URLFetch now supports accessing ports

[google-appengine] Google App

2010-03-16 Thread Robert
python manage.py /usr/local/google_appengine/google/appengine/api/ datastore_file_stub.py:40: DeprecationWarning: the md5 module is deprecated; use hashlib instead import md5 /usr/local/google_appengine/google/appengine/api/memcache/__init__.py: 31: DeprecationWarning: the sha module is

[google-appengine] Google App Engine Django

2010-03-16 Thread Robert
I installed the helper r100, typed python manage.py runserver, and received. /usr/local/google_appengine/google/appengine/api/ datastore_file_stub.py:40: DeprecationWarning: the md5 module is deprecated; use hashlib instead import md5

[google-appengine] My own class getting: java.lang.NoClassDefFoundError: Could not initialize class ????

2010-03-16 Thread Blake
This is weird - the recent version of my app (but not active one) can't find one of my own classes that's in my project. I'm getting the standard: java.lang.NoClassDefFoundError: Could not initialize class Has anyone else seen this? This is server-side, running in a task. There haven't

[google-appengine] Re: My own class getting: java.lang.NoClassDefFoundError: Could not initialize class ????

2010-03-16 Thread Blake
Answered my own question. I was accidentally accessing a gwt.client class on the server. The class had JSNI in it, so of course the server couldn't figure it out. On Mar 17, 1:14 am, Blake blakecaldw...@gmail.com wrote: This is weird - the recent version of my app (but not active one) can't