[appengine-java] Using async-session-persistence

2011-07-28 Thread gk
I am experimenting with async-session-persistence enabled=true queue-name=default/ to store https session data; at first it seems to work fine with the default default queue settings; multithreading is switched on for the application. It appears that there is some kind of collision, as the tasks

[appengine-java] Re: Channel Presence - HowTo ?

2011-07-28 Thread gk
Sébastien, you can register a servlet to handle the URL paths; this is done it the WEB-INF/web.xml file: web-app... servlet-mapping servlet-namehandle_connect/servlet-name url-pattern/_ah/channel/connected/url-pattern /servlet-mapping servlet

[appengine-java] Re: Can my Google App receive Traffic from Single IP address

2011-07-31 Thread gk
Could using a custom error response page help you out? ...see http://code.google.com/appengine/docs/java/config/appconfig.html#Custom_Error_Responses It could display another site than the default one in case of a DoS error; that HTML page could use a META redirect to redirect the user to some

[appengine-java] Re: Using async-session-persistence

2011-08-01 Thread gk
Greetings, still have not found any clues what could cause async-session- persistence tasks to fail with HTTP status code 415 (Unsupported Media Type). Any ideas? On Jul 27, 9:16 pm, gk goran.kar...@googlemail.com wrote: I am experimenting with async-session-persistence enabled=true queue

[appengine-java] Re: pdf creation problem

2011-08-01 Thread gk
See http://code.google.com/p/googleappengine/wiki/WillItPlayInJava iText is listed therein as not supported - as are many packages that rely on the AWT framework / Graphics 2D. Google App Engine is here like most other headless environments. On Aug 1, 11:09 am, vss technify.s...@gmail.com

[appengine-java] Re: pdf creation problem

2011-08-04 Thread gk
On Aug 4, 1:04 pm, vss technify.s...@gmail.com wrote: Thanks gk.. But now am using pdfjet jar, java sdk 1.5.0 now i hav the exception of Fileoutputstream  cannot supported in gae, is there any right way to rectify that.. how can i use Fileoutputstream , thanks in advance On Aug 2, 3:22 am, gk

[appengine-java] Re: Full Text Feature - Google I/O 2011

2011-08-08 Thread gk
Search functionality in Your GAE application? I recommend Kimchy's incredibly simple and good screencast: http://www.kimchy.org/searchable-google-appengine-with-compass/ On Aug 8, 4:50 pm, Ikai Lan (Google) ika...@google.com wrote: It's coming, but in general we don't give ETAs on unreleased

[appengine-java] Re: Full Text Feature - Google I/O 2011

2011-08-09 Thread gk
Pavel, are you referring to Kimchy's solution using Compass? What is Your expirience with larger indexes? Thanks! On Aug 9, 1:44 pm, Pavel Kaplin pavel.kap...@gmail.com wrote: This does not work on more or less large index. Actually, it works only on lab-size data. On Aug 9, 12:52 am, gk

[appengine-java] Re: Multiple PersistenceManagerFactory with Singleton?

2011-08-09 Thread gk
Dimitry, that's a nice mystery... final on PMF doesn't seem to make a difference here. static members are implicitly final too, by the way (static and static final is equivalent). Class type inititialization (and thus static field initialization) is implicitly synchronized, so no worry there

[appengine-java] Re: Entity modelling

2011-08-09 Thread gk
Recommended beginner's reading: http://en.wikipedia.org/wiki/Database_normalization On Aug 7, 11:49 pm, MK Z v5s12.msc...@gmail.com wrote: Hello. I need some help. Assuming I have three tables/objects: forum, forum category, forum group. Forum - stores all topics posted by user. This

[appengine-java] Re: Multiple PersistenceManagerFactory with Singleton?

2011-08-10 Thread gk
Simon, this is equivalent public static final void a(){} and public static void a(){} - following of course not public static final int b and public static int b. On Aug 9, 5:57 pm, Simon Knott knott.si...@gmail.com wrote: Whilst I don't know what could cause this error, what makes you

[appengine-java] Re: Entity modelling

2011-08-15 Thread gk
We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil. On Aug 14, 4:21 pm, MK Z v5s12.msc...@gmail.com wrote: Hi, Thanks for your reply. The category is not related to the group - category holds value like Science/Tech/Music while

[appengine-java] Re: The *real* cost of the billing changes

2011-09-10 Thread gk
Pricing should be as follows: Calculate a price of resources using the demand / availability of those resources in the cloud: - if Google has more of resource X than users demand, the price for that resource would go down and free quota up. - if users demand more of resource X than Google has,

[appengine-java] Re: The *real* cost of the billing changes

2011-09-10 Thread gk
to add more resources to the cluster. Jeff On Sat, Sep 10, 2011 at 10:39 AM, gk goran.kar...@googlemail.com wrote: Pricing should be as follows: Calculate a price of resources using the demand / availability of those resources in the cloud: - if Google has more of resource X than

[appengine-java] Re: input Data in DataStore from External Server ?

2011-09-12 Thread gk
Hey Kb, upload another special version of your GAE app. Use that special version to run Java code that imports the data. All versions of an GAE app use the same datastore. Possibly write and run localy a utility application to POST each record to your GAE datastore / or GET each record from an

[appengine-java] Re: Threads

2011-09-23 Thread gk
Harish, You could place the result from the task in the Memcache or Datastore and wait in the request for it to be placed. The common key for the result entity can be passed as an URL parameter or as a task payload to Your task. On Sep 19, 10:56 am, HARISH S.C s.c.har...@gmail.com wrote: @de

[appengine-java] Quiz

2011-09-29 Thread gk
What is the output of the following method? public boolean whatDoesItDo() { try { if(true) { throw new IllegalStateException(); } return true; } finally { if(true) { return false; } } } Have a

[appengine-java] Re: .A research: how long will your java app instance start up fully?

2011-09-29 Thread gk
~10s -- 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-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For

[appengine-java] Re: Local datastore can't be browsed but has data

2011-10-09 Thread gk
Probably. Try changing back the application-id to the old value. Does it then show the data again? On Oct 8, 11:29 am, Mark Silberbauer bowserm...@gmail.com wrote: Hi, My local datastore in my development environment is about 4MB. After testing the deployment process to the cloud I noticed

[appengine-java] Re: Wicket NonCachingImage not showing image

2011-10-14 Thread gk
Open the source URL of the image in your browser (http://.../page?8- IResourceListener-frmForm- imgImageamp;antiCache=1318502670796). Then see what your browser tells you about that resource. On Oct 13, 4:13 pm, Ian Marshall ianmarshall...@gmail.com wrote: Hello everyone, I use Apache

[appengine-java] Re: Infinite loop of redirection related to 404

2011-10-18 Thread gk
You have probably configured some form of authentication / security. When your application tries to acces the page, it wants to redirect you to the login url (like /myLoginForm.html or /ah_login/... for App Engine login). Now the login url is not accessible (probably due to authentication /

[appengine-java] Re: 1.6.0 async sessions fail..

2011-11-25 Thread gk
Have the same, since version 1.5... Star issue http://code.google.com/p/googleappengine/issues/detail?id=5774 On Nov 25, 4:24 am, MANISH DHIMAN manisd...@gmail.com wrote: Yes I got the same problem. On Nov 9, 2:16 am, Savas L. sbuyukk...@gmail.com wrote: is it just me, or anyone

[appengine-java] Re: How to efficiently implement Quotas

2011-11-25 Thread gk
Implement a filter that records each count and checks if the limit is reached. To make it cheaper: 1. You can uses a preliminary counter in Memcache (see Memcache API, look for increment). A cron task then transfers the Memcache count into the Datastore every few minutes... 2. Another approach

[appengine-java] Re: Unreliable Email Service

2011-11-27 Thread gk
Aviv, please learn to use a mailing list... Thank You! On Nov 27, 12:01 am, Aviv Keren aviv...@gmail.com wrote: Hi Jeff, I don't know why did you send me this email, it has nothing to do with my problem. I'll be glad to get some help with what I've described. my problem issue:

[appengine-java] Re: com.sun.xml.internal.ws.streaming.XMLStreamReaderException

2011-12-03 Thread gk
It says error: javax.xml.stream.XMLStreamException: ParseError at [row,col]: [4,3] Message: The element type meta must be terminated by the matching end-tag /meta. It means around row 4, column 3, of some XML file or other stream, there is an unclosed XML tag. It looks similar to this: meta