[appengine-java] Re: when testing on my local network, why is index.html not read by default when referencing directory?

2011-01-09 Thread Didier Durand
Hi, This most probably com from the section !-- Default page to serve -- welcome-file-list welcome-filexxx.html/welcome-file /welcome-file-list of your /war/WEB-INF/web.xml of your project. It's the standard servlet config file that you can configure according to your needs through the

[appengine-java] How do i set response content-type in a servlet?

2011-01-09 Thread Gerd Katzenbeisser
Hi! The GAE docs (e.g. herehttp://code.google.com/intl/de/appengine/docs/java/runtime.html#Requests_and_Servlets) state that it's possible to set the content-type. In my servlet i also tried to set (or unset) the content type without success. resp.setContentType(text/plain);

[appengine-java] App Engine deployment is failing

2011-01-09 Thread deepfriedbrain
App Engine deployment is failing today. I'm getting the error mentioned below. However, I noticed that the application does get deployed. Is it a known issue or something wrong at my end? Unable to update: java.io.IOException: Error posting to URL:

[appengine-java] Re: wicket ajax on gae

2011-01-09 Thread fachhoch
did any wicket appliation deployed to gae had a similar problem , if not wicket gurus please help me this error happens only when deployed to gae and not to jetty or any other server, help is appreciated. On Jan 8, 2:34 pm, fachhoch fachh...@gmail.com wrote: I saw some tutorials about

[appengine-java] Sort order, collating sequence and more.

2011-01-09 Thread Don
Hello to everybody, I'm working on a web enabled business process application using GWT for the user interface. At the moment I'm evaluating the option to run the application on GAE. I expect to have a hundred or so persistent business objects like orders, products, customers, addresses,

[appengine-java] Re: when testing on my local network, why is index.html not read by default when referencing directory?

2011-01-09 Thread John
In my configuration, the dev server will serve index.html; however it encounters problems if the web.xml includes multiple welcome files. The defect report http://code.google.com/p/googleappengine/issues/detail?id=3848includes a complete project that demonstrates the problem. -- You received

[appengine-java] Denormalization model help

2011-01-09 Thread Sydney
I have the following model: Country (name*, ListCity) City (name*, ListEvent) Event (id*, description, timeGMT, ListTicket, ListPerformer) Ticket (id*, type, price, quantity) Performer(id*, band, startTime) So this is a 4-level deep model. Here is some of the query I want to run: All Country

[appengine-java] Scaffolding enhancing the List property feature

2011-01-09 Thread Cyrille Vincey
Guys, As you know, one of the most powerful features regarding data modelling in GAE is the ListProperty. (i.e. the ability to manage a ListString property and to manage indexes and queries over those GAE-specific fields) Spring Roo and MyEclipse propose interesting stuff to scaffold CRUD

Re: [appengine-java] Denormalization model help

2011-01-09 Thread Dzmitry Lazerka
How about: Country (name*) City (name*, Key countryKey) Event (id*, description, timeGMT, ListTicket, ListPerformer, Key cityKey) ? - Best regards, Dzmitry Lazerka On Sun, Jan 9, 2011 at 11:17, Sydney sydney.henr...@gmail.com wrote: I have the following model: Country (name*, ListCity)

[appengine-java] Causing a new process to be started

2011-01-09 Thread aswath satrasala
Hello, I have 'Always On' feature enabled for my application http://www.AccountingGuru.in Yet, I see the following message in the Info logs. This request caused a new process to be started for your application, and thus caused your application code to be loaded for the first time. This request

[appengine-java] Re: Causing a new process to be started

2011-01-09 Thread Didier Durand
Hi, If you take what http://code.google.com/appengine/docs/adminconsole/instances.html#Always_On says, 2 possibilities: - 1 of your always on instances has died acccidentally - your application has a sudden peak of traffic Does one apply to you ? regards didier On Jan 10, 6:15 am, aswath

Re: [appengine-java] Unable to compare dates

2011-01-09 Thread thangavel s
Hi, try like below MapString, Object params = new HashMapString, Object(); params.put(firstdate, fromdate); params.put(enddate, todate); params.put(id, pocId ); Query q = pm1.newQuery(SupplierInvoice.class, pocId ==id startDate=:firstdate endDate=:enddate); On

Re: [appengine-java] Unable to compare dates

2011-01-09 Thread thangavel s
HI, try like below MapString, Object params = new HashMapString, Object(); params.put(firstdate, fromdate); params.put(enddate, todate); params.put(id, pocId ); Query q = pm1.newQuery(PocVacationSchedule.class, pocId ==id startDate=:firstdate endDate=:enddate); On Tue, Dec 28,

[google-appengine] Re: Appengine's Turkey problem

2011-01-09 Thread Albert
Hi Kaan! I'd like to know which solution solved your problem. Solution 1 (The reverse proxy) or solution 2 (The A record/CNAME combination)? Thanks! On Jan 8, 9:51 am, Kaan Soral kaanso...@gmail.com wrote: Thanks for the help, it solves the problem On Dec 19 2010, 1:49 am, Ufuk Kayserilioglu

[google-appengine] Re: Datastorequery with OR condition on multiple properties

2011-01-09 Thread frank
Tnx, I´ll try with the extra attribute. Frank -- 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] Re: Exception persisting 2 entities not in a transaction

2011-01-09 Thread frank
Tnx, I´ll try. -- 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

[google-appengine] How to implement 'Mark All Read' feature in appengine

2011-01-09 Thread nischalshetty
Say a user selects 5000 unread messages (each message is an entity) and wants to mark all of them as read. It would be a massive update. Can anyone help me on what the best way to do such a large update is? Is there a different way to do this apart from updating each of the 5000 entities by

[google-appengine] Re: How to implement 'Mark All Read' feature in appengine

2011-01-09 Thread Ernesto Karim Oltra
Maybe you need to re-think your database models. This message may help: http://groups.google.com/group/google-appengine/browse_thread/thread/52d44bde94f2e8b8?pli=1 On 9 ene, 17:57, nischalshetty nischalshett...@gmail.com wrote: Say a user selects 5000 unread messages (each message is an entity)

[google-appengine] Re: Appengine's Turkey problem

2011-01-09 Thread Kaan Soral
Hello Albert Solution 2 solved my problem but it is temporary, the replacement ip's also get banned after some time ..., so one should always look out for ip bans and find new ips to use On Jan 9, 11:35 am, Albert albertpa...@gmail.com wrote: Hi Kaan! I'd like to know which solution solved

[google-appengine] Blob Uploader

2011-01-09 Thread Massimiliano
Hi, I'm going crazy with this! I can't understand why this is not working! form action={{ upload_url }} method=POST enctype=multipart/form-data input type=file name=foto/ input type=hidden name=titolo value={{ elemento.date }}/ input type=submit/ /form class

[google-appengine] Re: How to implement 'Mark All Read' feature in appengine

2011-01-09 Thread Jay
That is a good link Ernesto. nischalshetty - I think the best answer is probably an it depends kind of thing. What do you want to do with unread status? Of course the key here is that unread is a per user deal. You might be able to keep some kind of bit-map or other compressed data structure to

[google-appengine] Re: Domain redirect failing

2011-01-09 Thread Greg
On Jan 8, 6:51 am, Tommy trb...@gmail.com wrote: Thank you to everyone who helped us with this yesterday. And thanks to you for updating us on the resolution. Too many posts here have lots of people spending their time to help, but the originator never bothers to explain how they eventually

[google-appengine] Datastore view always give 500 server error for one app

2011-01-09 Thread Peter Liu
After I delete all the entries of a few tables, the datastore view keep giving 500 errors. Datastore viewer is fine on other apps. It's not a quota issue because the app is working fine with other datastore operations, just the datastore viewer is having issue. There's no data type or schema

[google-appengine] Re: Datastore view always give 500 server error for one app

2011-01-09 Thread Peter Liu
It starts working now. Could it be related to the burst of datastore operations or it's just happened to not work for that app? On Jan 9, 3:24 pm, Peter Liu tinyee...@gmail.com wrote: After I delete all the entries of a few tables, the datastore view keep giving 500 errors. Datastore viewer is

[google-appengine] Re: How to implement 'Mark All Read' feature in appengine

2011-01-09 Thread nischalshetty
@Ernesto Thanks for the link, that's a good starting point. @Jay Thanks for some more pointers. Simply put here's what I want to do (a twitter app): 1. Pull all the tweets of a user 2. The user can selectively read tweets (which would be marked as 'Read') 3. Unread tweets would be well

Re: [google-appengine] Re: Datastore view always give 500 server error for one app

2011-01-09 Thread Stephen Johnson
take a look at http://groups.google.com/group/google-appengine-java/browse_thread/thread/35ccea00391d73db/eb988d9fc5dc91e1?hl=en#eb988d9fc5dc91e1 perhaps it might be the cause On Sun, Jan 9, 2011 at 5:10 PM, Peter Liu tinyee...@gmail.com wrote: It starts working now. Could it be related to the

[google-appengine] Problem login with google account in IE

2011-01-09 Thread Tom Wu
Problem login with google account in IE(9). The only way is add my.appspot.com to trust web site in IE configuration. This is really not user friendly to user. Any suggestion for this ? Best Regards Tom Wu -- You received this message because you are subscribed to the Google Groups Google

Re: [google-appengine] Re: How to implement 'Mark All Read' feature in appengine

2011-01-09 Thread Stephen Johnson
Here are some quick statistics I did using the idea that you have a entity which consists solely of a key and no other properties. I called this entity kind 'READ'. If a tweet has a matching key in this entity then the tweet has been read. If it doesn't exist then the tweet is unread. I did a

Re: [google-appengine] Re: How to implement 'Mark All Read' feature in appengine

2011-01-09 Thread nischalshetty
@Stephen Wow! I'm grateful to you for taking time out to make things so clear. From what I see, you're suggesting to have a different key that when present indicates a tweet as 'Read'. You're right, there would be pagination so I'll be displaying say 50 tweets per page. Now, I would fetch 50

Re: [google-appengine] Re: How to implement 'Mark All Read' feature in appengine

2011-01-09 Thread Stephen Johnson
It sholdn't be cumbersome at all. Use the same key identifier for the tweets as for the Read entity, then do a batch get with those keys. Based on my numbers I'd say latency for 50 keys will be from 10ms to 20ms. You'll get back a Map (if using Java - not sure for Python). If they key is in the

Re: [google-appengine] Re: How to implement 'Mark All Read' feature in appengine

2011-01-09 Thread nischalshetty
My bad. I forgot to mention, there would be an option where I show just the 'unread' tweets to the user or just the 'read' tweets. When I show all tweets, your example would work perfectly fine. But what about the other two scenarios? Any pointers would help. I use GAE/J. -N -- You received