Re: [appengine-java] Re: Spring application context initialization on every request

2010-01-04 Thread aswath satrasala
Hello, My application is Struts2 based I have tried setting up the cron job every minute. But, still it does not help. The response time was still 20sec for the first time. -Aswath On Mon, Jan 4, 2010 at 10:00 AM, zhiw...@gmail.com zhiw...@gmail.comwrote: have a look at this link:

[appengine-java] custom vs. generated keys / storage?

2010-01-04 Thread phraktle
Hi, I'm generating my own entity keys, with new Entity(Foo, myId). I noticed that in the DataStore viewer, these entities still seem to have a default key: Decoded entity key: Foo: name=myId Entity key:

[appengine-java] Re: Querying by Category class

2010-01-04 Thread Itzik Yatom
I have tried the simplest approach and it works: query.setFilter(tags == ' + aTagValue + ' ); On Jan 3, 5:05 pm, Itzik Yatom itzik...@hotmail.com wrote: I consider to use the built in Category class for implementing tags for one of my datastore classes. Something like: . import

[appengine-java] Re: Querying by Category class

2010-01-04 Thread datanucleus
I have tried the simplest approach and it works: query.setFilter(tags == ' + aTagValue + ' ); It may work, but is actually invalid JDOQL and you should always use valid JDOQL syntax like tags.contains(tagParam) and your current query would fail in future releases. -- You received this message

[appengine-java] Re: any plans for deferred.defer in Java?

2010-01-04 Thread David Chandler
John, I think my earlier serialization error problems in production were because I was unnwittingly using an old version of GAE (1.2.6). Vince was never able to reproduce the issue in production. I believe everything is working in dev and prod as of 1.2.8. Give it a whirl and post your feedback.

Re: [appengine-java] Cannot install app engine plugin in eclipse 3.5 (Galileo)

2010-01-04 Thread Jason Parekh
Hi Uros, Could you try installing again? I think there may have been intermittent connection issues. jason On Mon, Dec 28, 2009 at 4:21 AM, Uros uipa...@gmail.com wrote: Hello, When I try to install app engine plugin in eclipse I get the following error: An error occurred while

[appengine-java] Re: https on my domain

2010-01-04 Thread Pion
I just found this SSL/HTTPS Support on Google Apps domains (issue 792) on http://code.google.com/p/googleappengine/issues/detail?id=792q=httpscolspec=ID%20Type%20Status%20Priority%20Stars%20Owner%20Summary%20Log%20Component. There are 50+ comments on this issue. On Jan 3, 10:26 am, Pion

Re: [appengine-java] SUBSTRING function for JPA

2010-01-04 Thread Max Ross (Google)
It's not implemented. Could you please file a bug? http://code.google.com/p/datanucleus-appengine/issues/list Thanks, Max On Sun, Jan 3, 2010 at 7:16 AM, Wong lhw...@gmail.com wrote: SUBSTRING function for JPA is not working. entityManager.createQuery(SELECT SUBSTRING(v.name, 1, 3) from

Re: [appengine-java] Set cache expiration time for many static files (GAE+GWT)

2010-01-04 Thread Don Schwarz
I believe that the suggested configuration for GWT is: static-files include path=**.nocache.* expiration=1s/ include path=** expiration=30d/ /static-files Does that work? If not, please send me your web.xml and appengine-web.xml (privately if you want) and I'll determine why this

[appengine-java] db error on 2010: Persistent class Class guestbook.Greeting does not seem to have been enhanced.

2010-01-04 Thread John Lin
Dear Sir, I got this db error on th efirst working day of 2010. Please see the erros in details. I run theis as an wev application and lunch the GUI as: http://localhost:8080/index.html It seems the db has some changes recently. Please advise me. Thanks. John

[appengine-java] Re: Set cache expiration time for many static files (GAE+GWT)

2010-01-04 Thread Nohu
That was the answer I was hoping for. Yes, that configuration works. Thank you - very much appreciated! Strange thing is, that if I use configuration: static-files include path=**.nocache.* expiration=1s/ include path=/**.cache.* expiration=3000d/ include path=/**.png

[appengine-java] Re: Could not fetch URL with URLFetchService but with HttpClient

2010-01-04 Thread derkent
alrighty, gotcha now. thanks for the clarification. On Jan 3, 2:59 pm, m seleron seler...@gmail.com wrote: Hi, I'm sorry for being not able to explain adequately. I tried. cfm?fuseaction=Reports.SetReport                                    ^ I think that this sign is a cause in the

[appengine-java] Re: db error on 2010: Persistent class Class guestbook.Greeting does not seem to have been enhanced.

2010-01-04 Thread Xlorep DarkHelm
If you are using Eclipse, this can typically be fixed by making a small change to one of your JDO enhanced classes (like, hit space and then delete the space), save the file, and try re-sending the app to Google. I know it sounds strange (you effectively are not doing anything to the actual file

[appengine-java] Task Queues... errors...

2010-01-04 Thread Xlorep DarkHelm
Hello, I'm getting an error when I try and upload my app (xdh- playlist): com.google.appengine.tools.admin.AdminException: Unable to update app: Error posting to URL:

[appengine-java] Re: why my app on GAE first access is so slow

2010-01-04 Thread Ed Murphy
There are some proposed new features for GAE to allow apps to keep their byte-code 'warm', either on the application server, or as a pre- initialized image on disk that can be loaded and not incur a full initialization. Check out this issue, contribute suggestions and vote for it if you want to

[appengine-java] Problem accessing a file on file system

2010-01-04 Thread Steph
I am using a RandomAccessFile, which is whitelisted on Google App Engine. My simple code looks like: RandomAccessFile file = new RandomAccessFile(/WEB-INF/classes/ myfile.dat, r); which gets a java.security.AccessControlException: access denied (java.io.FilePermission

[google-appengine] /%20Merry%2010th Why request an URL like this on GAE

2010-01-04 Thread djidjadji
I have just received requests for the following URLs /%20Merry%2010th /%20Merry%2010th! /%20Merry%2010thday /%20Merry%2010th%20day What is the purpose of that? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send

[google-appengine] import module in a parent folder

2010-01-04 Thread dhruvg
i have a folder structure like the following: ./folder_1 ./foo.py ./folder_2 ./bar.py in bar.py: i want to import the foo module. what's the best way to do this? thanks in advance. -- You received this message because you are subscribed to the Google Groups Google App Engine group.

[google-appengine] Re: GAE / BigTable articles

2010-01-04 Thread Ice13ill
Thanks! I need some articles for a presentation, from a generic point of view, about datstore/bitgatble administration, so not necessarily dependent on prgr language, or GAE. On Jan 3, 9:03 pm, Jorge athenas...@gmail.com wrote: Here is a set of

[google-appengine] Multiple filter requirement on the same property

2010-01-04 Thread Tonny
Hi All When querying with multiple requirements like: MyDbClass.all().filter('aa =', 'some val').filter('bb', 'some other val').get(). A composite index made up of aa and bb is used. But what when doing querying like: MyDbClass.all().filter('aa =', 'some val').filter('aa', 'some other

[google-appengine] Re: How to test my application with local database

2010-01-04 Thread Ian Marshall
Hi mobject, I use MySQL for developer testing when running my app on a development web server before unleashing it onto my GAE developer web server (using BigTable)! I give you the contents of my jdoconfig.xml file below. You will be able to see that I have two persistence manager factory names;

Re: [google-appengine] Re: GAE / BigTable articles

2010-01-04 Thread Niklas Rosencrantz
2010/1/4 Ice13ill andrei.fifi...@gmail.com: Thanks! I need some articles for a presentation, from a generic point of view, about datstore/bitgatble administration, so not necessarily dependent on prgr language, or GAE. Google's clusters imagining that presentation are linked here

[google-appengine] Re: /%20Merry%2010th Why request an URL like this on GAE

2010-01-04 Thread Adam
I'd guess that it is probably some kind of spam. On Jan 4, 3:03 am, djidjadji djidja...@gmail.com wrote: I have just received requests for the following URLs /%20Merry%2010th /%20Merry%2010th! /%20Merry%2010thday /%20Merry%2010th%20day What is the purpose of that? -- You received this

[google-appengine] GAE doesn't work on MacBook. Help needed!

2010-01-04 Thread Timofey Danshin
Hi. I can't create even the standard starting project on my MacBook. The MacBook has *the same* software my iMac has, all the same libraries, all the same jdks, eclipses and google plugins. When i try to compile the standard starting project, i get the following error: Please help! Compiling

[google-appengine] Re: GAE doesn't work on MacBook. Help needed!

2010-01-04 Thread Timofey Danshin
It turns out that the segments of the project path should not consist of only one letter. But i think the user must be notified in that case when creating a project. 2010/1/4 Timofey Danshin rus.mcdevelo...@gmail.com Hi. I can't create even the standard starting project on my MacBook. The

[google-appengine] Incorrect count value

2010-01-04 Thread Natalie Gordon
Hi, With this query I get the value 875: active_cards_count = MemberFCItem.gql(WHERE member = :1 and is_active_in_hand = True, member).count() When I look at all the data in the table with this query: cards = MemberFCItem.gql(WHERE member = :1, member) count = 1 for card in cards:

[google-appengine] Re: Possible to remove white background from image?

2010-01-04 Thread johnwlockwood
look at the Python Imaging Library. With a PNG image, the alpha channel determines the level of transparency for each pixel. You should be able to build a mask by evaluating and image for a color and then use the mask to create an alpha channel on the image. On Jan 2, 6:10 pm, trung

[google-appengine] help with making a datastore query

2010-01-04 Thread dhruvg
i have a table which contains the following fields: wordid location sourceid this kind of row in the table indicates that there is a sourceid which contains a word with worid at the location location. given a query which is a list of wordids i want to find the sourceids which contain all the

[google-appengine] Re: import module in a parent folder

2010-01-04 Thread johnwlockwood
folder_1 must be on the PYTHON_PATH, and must contain a file named __init__.py if you add a __init__.py to folder_2, then bar.py can be imported from any other python script in bar.py: from folder_1 import foo or import folder_1.foo in anyother.py: from folder_1.folder_2 import bar if you

[google-appengine] Re: help with making a datastore query

2010-01-04 Thread dhruvg
my first thought is to get the all the rows containing each wordid in the query list and finding the sourceids in common among the individual sets of rows for each wordid. how do i go about doing the latter part using gql? thanks. On Jan 4, 2:32 pm, dhruvg dhruv.g...@gmail.com wrote: i have a

[google-appengine] Storing image strategy.

2010-01-04 Thread trung
Do you recommend using two tables or one? With one table, it can look something like this. class Image data = blobField width = Int height = Int with two tables class ImageInfo width = Int height = Int image = refToImage class Image data = blobField Advantages with one table:

[google-appengine] Re: exceptions

2010-01-04 Thread Wesley Chun (Google)
here's the reference manual page on datastore exceptions: http://code.google.com/appengine/docs/python/datastore/exceptions.html here is an early post making the same request as you: http://groups.google.com/group/google-appengine/browse_thread/thread/d6af2b501f795ad1 here's one on handling

[google-appengine] Application specific configuration vars

2010-01-04 Thread Devraj Mukherjee
Hi all, My AppEngine application is written in Python. As the application code base becomes larger are experiencing the need to use configuration variables for our own applications. Example are we running in Debug mode or not, admin email addresses (used to send internal notifications) etc.

[google-appengine] Using different frameworks depending on the hostname?

2010-01-04 Thread Nickolas Daskalou
This is probably a pure Python question. Is it possible to use a different framework depending on what hostname the request was made to? For example: api.mydomain.com (API service) - webapp admin.mydomain.com (Backend administration) - app-engine-patch (AEP) The data model needs to be the same

[google-appengine] Re: Storing image strategy.

2010-01-04 Thread killer barney
I think if you're going to be querying for the dimensoins a lot, you should have 2 tables. Since you're probably going to have the key for the entity in the Image class, get_by_key_name or equivalent funciton wouldn't be as slow as a query. On Jan 4, 5:52 pm, trung tr...@phamcom.com wrote: Do

[google-appengine] Re: Anchor tags in server code

2010-01-04 Thread killer barney
ya, tha'ts what I figured. The thing is, sometimes I see sites translate their anchor tags into url queries and I was trying to figure out how they did that. Im' guessing it's all handled in the javascript onload that does a redireciton right? On Jan 3, 9:25 pm, Matt McDonald met...@gmail.com

[google-appengine] Performance Issues

2010-01-04 Thread Devel63
I've been very concerned about cold-start performance, since I have a low traffic site (www.lifehints.com). Over the past few days, though, performance has been great!! My app seems to often already be in memory, and even when it's apparently not, it only takes 2-3 seconds to swap in and

Re: [google-appengine] Re: Anchor tags in server code

2010-01-04 Thread OvermindDL1
On Mon, Jan 4, 2010 at 8:38 PM, killer barney ajcha...@gmail.com wrote: ya, tha'ts what I figured.  The thing is, sometimes I see sites translate their anchor tags into url queries and I was trying to figure out how they did that.  Im' guessing it's all handled in the javascript onload that

[google-appengine] Re: New index returns no results

2010-01-04 Thread jd
Anyone else having this problem of live indexes returning no results? On Jan 3, 11:23 pm, jd jdpatter...@gmail.com wrote: Hi, I have a pre existing index PropertyA[ASC], PropertyB[DSC]  which works for my query query.addFilter(PropertyA, FilterOperator.EQUAL, valueA);

[google-appengine] exception in min() of python

2010-01-04 Thread saintthor
code: if x1 min( x2, x3 ): gets an exception: TypeError: 'int' object is not callable x1,x2,x3 are floats. change the code to: if x1 x2 and x1 x3: everything is OK. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this

Re: [google-appengine] exception in min() of python

2010-01-04 Thread Nickolas Daskalou
I'm guessing you assigned min to an integer value beforehand, eg: min = 123 if x1 min( x2, x3 ): 2010/1/5 saintthor saintt...@gmail.com code: if x1 min( x2, x3 ): gets an exception: TypeError: 'int' object is not callable x1,x2,x3 are floats. change the code to: if x1

[google-appengine] Re: Quota details: how can i get past data?

2010-01-04 Thread campos
I'm looking forward a solution as well. Anyone could help? On Dec 9 2009, 3:06 pm, fhtino fht...@gmail.com wrote: Hello, QuotaDetalis page is very useful. But it's reset every 24 hours.  Is there a way to get past data? I know there are some info under BillingHistorybut data underQuota