Re: [appengine-java] Will requests from the same source typically be routed to the same GAE instance?

2011-05-15 Thread Pieter Coucke
. -- Pieter Coucke - Onthoo BVBA http://www.onthoo.com/ zamtam.com http://www.zamtam.com in The Netherlandshttp://www.koopjeszoeker.com/| Belgium ( nl http://www.koopjeszoeker.be/ | fr http://fr.zamtam.be/) | Francehttp://www.zamtam.fr/| Germany http://www.zamtam.de/ | UK http://www.zamtam.co.uk/http

[appengine-java] Required user role for sending e-mail

2011-03-31 Thread Pieter Coucke
Hi, The page http://code.google.com/appengine/docs/java/mail/overview.html#Sending_Mail mentions For security purposes, the sender address of a message must be the email address of an administrator for the application Now that we have roles for users, should I set this user (which is called

Re: [appengine-java] Blobstore doesn't redirect

2010-10-29 Thread Pieter Coucke
Status code 200 is the default response code. You need to do a redirect after uploading (this is status code 301 or 302). See http://code.google.com/appengine/docs/java/blobstore/overview.html#Uploading_a_Blob -- You received this message because you are subscribed to the Google Groups Google

Re: [appengine-java] Re: Blobstore upload forms and character encoding

2010-09-27 Thread Pieter Coucke
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 -- You received this message

Re: [appengine-java] Re: Blobstore upload forms and character encoding

2010-09-14 Thread Pieter Coucke
This is something I have problems with every time I start a new project. Maybe this helps (not sure since you say Jetty already sends it correctly): http://www.onthoo.com/blog/programming/2005/07/characterencodingfilter.html I also have %@ tag pageEncoding=UTF-8% and %@ page pageEncoding=UTF-8

Re: [appengine-java] The title of email displays wrongly in localization

2010-08-27 Thread Pieter Coucke
same here: http://code.google.com/p/googleappengine/issues/detail?id=3497 -- 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,

Re: [appengine-java] want to specify two different fields in JPA or clause

2010-08-13 Thread Pieter Coucke
You might want to check Query filters here: http://code.google.com/appengine/docs/java/datastore/queriesandindexes.html#Introducing_Queries a query can only have one not-equal filter, and such a query cannot have other inequality filters A workaround can be to add two extra boolean properties

Re: [appengine-java] google app engine Inquiry

2010-08-10 Thread Pieter Coucke
Yes, you can use jQuery like you can use it for any html page. Documentation for jQuery is here: http://jquery.com On Tue, Aug 10, 2010 at 1:20 PM, Ahmed Shoeib ahmedelsayed.sho...@gmail.com wrote: Can i use jquery in my app engine application or not ? and if i can i want tutorial explain

[appengine-java] Saving many entities: tasks or not?

2010-08-10 Thread Pieter Coucke
)? Thanks, Pieter Coucke -- 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

Re: [appengine-java] problem with storing data in datastore

2010-07-12 Thread Pieter Coucke
...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Pieter Coucke Onthoo BVBA http://www.onthoo.com http://www.koopjeszoeker.be -- You received this message because you

Re: [appengine-java] GAE JavaMail jumbles UTF-8

2010-07-12 Thread Pieter Coucke
...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Pieter Coucke Onthoo BVBA http://www.onthoo.com http://www.koopjeszoeker.be -- You received this message because you are subscribed to the Google Groups Google App Engine

Re: [appengine-java] times out - while creating too many entities

2010-07-12 Thread Pieter Coucke
at http://groups.google.com/group/google-appengine-java?hl=en. -- Pieter Coucke Onthoo BVBA http://www.onthoo.com http://www.koopjeszoeker.be -- 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

Re: [appengine-java] Sending mail in transaction

2010-07-12 Thread Pieter Coucke
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. -- Pieter Coucke Onthoo BVBA http://www.onthoo.com http

Re: [appengine-java] Re: Sending mail in transaction

2010-07-12 Thread Pieter Coucke
than i think - distributed transactions ?) 2) implementing locking mechanism On Jul 12, 9:13 pm, Pieter Coucke pieter.cou...@onthoo.com wrote: Create a task for sending e-mail instead of calling the mailservice directly. use this in your task (a task can be part of a transaction

Re: [appengine-java] How to write to log file

2010-07-07 Thread Pieter Coucke
-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Pieter Coucke Onthoo BVBA http://www.onthoo.com http://www.koopjeszoeker.be -- You received this message because you are subscribed

Re: [appengine-java] BD in Appgoogle

2010-06-23 Thread Pieter Coucke
options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Pieter Coucke Onthoo BVBA http://www.onthoo.com http://www.koopjeszoeker.be -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post

Re: [appengine-java] Application run in local server but don't work in Appspot...

2010-06-17 Thread Pieter Coucke
Is it possible that you configured log4j to write to a file? This won't work on App Engine. You can use the log4j ConsoleAppender instead. -- 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

Re: [appengine-java] Re: system properties

2010-05-28 Thread Pieter Coucke
You can use Administration Console Custom Pages: http://code.google.com/intl/nl-BE/appengine/docs/java/config/appconfig.html#Administration_Console_Custom_Pages There you can add a simple page with configuration settings that are saved to the datastore (and memcache). -- Pieter Coucke Onthoo

Re: [appengine-java] system properties

2010-05-27 Thread Pieter Coucke
You can also put them in appengine-web.xml and add a note to install.txt http://code.google.com/intl/nl-BE/appengine/docs/java/config/appconfig.html#System_Properties_and_Environment_Variables -- Pieter Coucke Onthoo BVBA http://www.onthoo.com http://www.koopjeszoeker.be -- You received

Re: [appengine-java] How to use com.google.appengine.api.datastore.Text ?

2010-05-26 Thread Pieter Coucke
http://code.google.com/intl/nl-BE/appengine/docs/java/javadoc/ Text myText = new Text(myString); -- Pieter Coucke Onthoo BVBA http://www.onthoo.com http://www.koopjeszoeker.be -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group

Re: [appengine-java] Help me

2010-05-26 Thread Pieter Coucke
http://code.google.com/intl/nl-BE/appengine/docs/java/datastore/usingjpa.html#Getting_an_EntityManager_Instance -- Pieter Coucke Onthoo BVBA http://www.onthoo.com http://www.koopjeszoeker.be -- You received this message because you are subscribed to the Google Groups Google App Engine

Re: [appengine-java] Re: Freemarker and Unicode: On local: fine, on cloud: become question mark

2010-05-17 Thread Pieter Coucke
Have you tried saving your template files in UTF-8? You can use Notepad++ for this. -- 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

Re: [appengine-java] url fetch bringa up cached version of pdf file.

2010-05-10 Thread Pieter Coucke
You need to set no-cache headers because it seems the urlfetchservice caches the responses. I use the HttpRequest method for downloading fresh content like this: HTTPRequest request = new HTTPRequest(uri.toURL()); //Without these headers, AppEngine caches the url fetch request.setHeader(new

Re: [appengine-java] 500 Server error and GCacheException

2010-05-05 Thread Pieter Coucke
Hi, I was just writing a post about this myself. I'm having the same problem. I already surrounded all my cache.get() calls with a try/catch block so the app can proceed normally (without the benefit of memcached though). I thought it was related to the Appengine maintenance, but I'm seeing this

Re: [appengine-java] Is the Memcache still working for everyone? My application can't set a memcache for hours

2010-05-05 Thread Pieter Coucke
See here: http://code.google.com/p/googleappengine/issues/detail?id=3195 -- 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,

Re: [appengine-java] 500 Internal Server Error

2010-05-04 Thread Pieter Coucke
It seems to fail on the cron upload. Have you checked your cron.xml syntax? My problem was that I had every day 01:00 synchronized. Removing synchronize resolved the issue. Also try with every 1 minutes synchronized instead of every 1 minute synchronized. This did work for me without errors on

Re: [appengine-java] How to save cache instance?

2010-05-02 Thread Pieter Coucke
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. -- Pieter Coucke Onthoo BVBA http://www.onthoo.com http

Re: [appengine-java] Has anyone got actually got tag files to work?

2010-04-30 Thread Pieter Coucke
There was an issue ( http://groups.google.com/group/google-appengine-java/msg/81ce8ba928761e73?pli=1) with tag files that is fixed in Appengine SDK 1.3.3 ( http://code.google.com/p/googleappengine/wiki/SdkForJavaReleaseNotes). Could this be the problem? -- You received this message because you

[appengine-java] Re: Distributed cache that are globally available, really?

2010-04-24 Thread Pieter Coucke
Collections.emptyMap() are just the parameters, as explained here: http://code.google.com/appengine/docs/java/memcache/usingjcache.html#Configuring_Expiration The createCache() method creates a connection to memcached, which is a distributed globally available cache. -- You received this

[appengine-java] Re: 404 (Not Found) on basic app

2010-04-24 Thread Pieter Coucke
It seems to work now. What you see happens most of the time when you access an application for the first time or if you didn't receive traffic for some time since your instance needs to boot. You can see this in the logs as This request caused a new process to be started for your application,