[appengine-java] Re: Caching pages.

2010-02-13 Thread abhi
@ bimbo jones - Thanx , thats a good idea, i guess i found out how to use memcache for jsps , jsp has a buffer , so i can save it to memcache :) @Brain - The server should cache JSP's for you- what do you mean by that? Do you mean browser cache? -- You received this message because you are

[appengine-java] Re: Persisting polymorphic classes using the low level API or Objectify

2010-02-13 Thread Krishna
John, Thank you very much for pointing me to Twig. I'll play around with it this weekend and get back to you if I have any questions. Thanks, Shrikrishna On Feb 6, 12:12 am, John Patterson jdpatter...@gmail.com wrote: Hi Shrikrishna , Im not sure about Objectify but Twig supports storing and

[appengine-java] Re: Google Calendar log on GAE: Redirect requested but followRedirects is disabled

2010-02-13 Thread Frederik Pfisterer
Any luck dissabling the warning? If yes, could you post a logging.properties entry or any steps to underake? thanks, Fred On 18 Dez. 2009, 19:56, Pion onlee2...@gmail.com wrote: By using the appropriate URLs as shown on the example,         // The base URL for a user's calendar metafeed (needs

[appengine-java] Re: First access to a jsp takes a while

2010-02-13 Thread Brian
I had this problem as well. Basically your app is running a a Google controlled JVM somewhere. After X seconds of not being used (where X is a number decided on Google based on load, etc) your JVM shuts down. When you get a new request, it has to start up, and then server the request. A simple

[appengine-java] using getResourceAsStream to fetch XSL Sheet

2010-02-13 Thread derkent
I am using a jar which is doing the following : new StreamSource(getClass().getClassLoader().getResourceAsStream(xslPath))); It is loading an xsl style sheet from a jar. If I use the library locally everything is ok, but if I try to do the same thing in an app engine servlet, it can't find the

[appengine-java] grails, first integration test fails

2010-02-13 Thread Sector7B
Hi, it seems some people have luck with grails running in GAE using the plugin. I have the latest versions of groovy, the grails gae plugin, grails, and app engine. Just wrote a simple test. Basically it appears the id doesn't get generated and or saved. Below are the details. I'd appreciate

[appengine-java] Re: How to build a java desktop client for my hosted app engine application ?

2010-02-13 Thread Guwalani Mahendra
Thanks a Lot ! that blog helped me a lot thanks Mahendra On Feb 5, 1:32 am, Ikai L (Google) ika...@google.com wrote: This article should help: http://krasserm.blogspot.com/2010/01/accessing-security-enabled-googl... On Mon, Feb 1, 2010 at 3:23 AM, Guwalani Mahendra

[appengine-java] Re: Problem with Junit Test with JDO

2010-02-13 Thread Moritz
Not sure if you tried already, but I removed the file:/C:/Users/ Timofey.NovaBigBook-PC/Documents/Eclipse/Horoscope/war/ WEB-INF/lib/datanucleus-jpa-1.1.5.jar (the workspace file) from the build path and then all tests were successful. On 13 Feb., 07:07, Timofey Koolin timo...@koolin.ru wrote: I

[appengine-java] Re: Problem with Junit Test with JDO

2010-02-13 Thread Moritz
Not sure if you tried already, but I removed the file:/C:/Users/ Timofey.NovaBigBook-PC/Documents/Eclipse/Horoscope/war/ WEB-INF/lib/datanucleus-jpa-1.1.5.jar (the workspace file) from the build path and then all tests were successful. On 13 Feb., 07:07, Timofey Koolin timo...@koolin.ru wrote: I

[appengine-java] Mobile phone picture message HowTo

2010-02-13 Thread moca
I am able to send a text with an image attachment to a normal email account like hotmail and yahoo and receive both text and image on the other end, but i am having trouble sending a picture message to a mobile phone using the mobile phone subscriber's email suffix like 10digitnumber@vzwpix.com

[appengine-java] Re: Problem with Junit Test with JDO

2010-02-13 Thread Moritz
Remove datanucleus-appengine-1.0.5.final.jar from your build path, but leave it in the WEB-INF/lib folder. On 13 Feb., 07:07, Timofey Koolin timo...@koolin.ru wrote: I use eclipse. I create new project for create Junit tests of my GAE application, add my gae application in

[appengine-java] Re: Problem with Junit Test with JDO

2010-02-13 Thread Moritz
Remove datanucleus-appengine-1.0.5.final.jar from your build path, but leave it in the WEB-INF/lib folder. On 13 Feb., 07:07, Timofey Koolin timo...@koolin.ru wrote: I use eclipse. I create new project for create Junit tests of my GAE application, add my gae application in

[appengine-java] Re: java.io.IOException: Truncated quoted printable data (in 1.3.0 and 1.3.1)

2010-02-13 Thread moca
I started by reading this thread, but still encountered the same problem. (Truthfully i thought i was adding a reply to that thread but seems i started a new one.) I am quite confident i am not doing the wrong thing. It appears that hotmail may not be encoding quoted-printable chars correctly

Re: [appengine-java] Re: java.io.IOException: Truncated quoted printable data (in 1.3.0 and 1.3.1)

2010-02-13 Thread seleronm
Hi, Receive mail there are various conditions for Can you give me more information 1.Can you correctly receive it in case of gmail? (I'm sorry in the idle question. ) 2.Do you do with mail including the attachment? 3.What value is stored in

[appengine-java] Re: Mail with ODT attachment

2010-02-13 Thread seleronm
Hi, I think it is a good idea. On 2月13日, 午前1:34, Peter Ondruska peter.ondru...@gmail.com wrote: Shall we file a bug report for enhancement to include open document formats? What do you think? On Feb 12, 12:05 pm, seleronm seler...@gmail.com wrote: Hi. ODTmight not be able to be used.

[appengine-java] Re: First access to a jsp takes a while

2010-02-13 Thread Spines
That is called a loading request. What I am talking about is not the extra time due to a loading request. I'm talking about the first access to a jsp. I know that it is not a loading request because first I access a simple servlet and experience the extra ~1.5 seconds of the loading request.

[appengine-java] Re: First access to a jsp takes a while

2010-02-13 Thread Spines
By the way, what I am talking about above is an experiment I did to see if a simple jsp experienced this. I first noticed it in my real app which has a loading request time of about 7 seconds due to using Spring MVC and other things. On my real app I noticed that even after the loading request

[google-appengine] Re: When is the Timeout bug going to get fixed?

2010-02-13 Thread Denis
Hi Tom except: clause will catch too many exceptions - what if this will be not a timeout but your own error in code? I propose to do try: return func(*args, **kw) except (db.InternalError, db.Timeout, db.CapabilityDisabledError), e: logging.error(...)

[google-appengine] Re: When is the Timeout bug going to get fixed?

2010-02-13 Thread Denis
Hi Tom except: clause will catch too many exceptions - what if this will be not a timeout but your own error in code? I propose to do try: return func(*args, **kw) except (db.InternalError, db.Timeout, db.CapabilityDisabledError), e: logging.error(...)

[google-appengine] Re: App Engine SDK 1.3.1 is out!

2010-02-13 Thread Danny Tuppeny
I haven't had chance to try this yet, but does it load our pages inside a frame, or does it load full window and lose the App Engine admin nav? Would be cool if we could keep the nav, though I appreciate there's not really a nice way to do it. On Feb 11, 12:30 am, David W. d...@botanicus.net

[google-appengine] Re: how large data can i use in App Caching and how long will it be cached?

2010-02-13 Thread Danny Tuppeny
On Feb 12, 7:34 am, saintthor saintt...@gmail.com wrote: if sizeof counter is greater than 1M, can it work? As others pointed out, this data can be wiped at any time and you have multiple instances with their own data. That said, if you're still curious, there's an app somewhere that loads a

[google-appengine] Re: Why i don't use Google App Engine... and don't recomend it to you

2010-02-13 Thread Danny Tuppeny
1) If you format your hard-drive, you need to back up your source code first s/If you format your hard-drive, // Quoted for truth :-) I wish Google Code would let me pay to host my private projects there so I have a copy off from my machine (and I presume Google Code is backed up).

Re: [google-appengine] Re: how large data can i use in App Caching and how long will it be cached?

2010-02-13 Thread Eric Ka Ka Ng
Sorry for a side-tracked question and if it's not appropriate i would send another email for the question. for exactly the same global counter as in the following example, what I would like to do is to AVOID the app caching behavior. That is to say, for different requests handled by myhandler.py,

Re: [google-appengine] Re: When is the Timeout bug going to get fixed?

2010-02-13 Thread Nick Johnson (Google)
On Fri, Feb 12, 2010 at 8:33 AM, ryan ryanb+appeng...@google.comryanb%2bappeng...@google.com wrote: On Feb 11, 3:08 pm, phtq pher...@typequick.com.au wrote: Looking at our error logs for the last 2 days, I would have to save the situation is improved with the advent of 1.3.1, but

[google-appengine] Re: how large data can i use in App Caching and how long will it be cached?

2010-02-13 Thread saintthor
thank you all. i should try other way. On 2月13日, 下午7时06分, Danny Tuppeny da...@tuppeny.com wrote: On Feb 12, 7:34 am,saintthorsaintt...@gmail.com wrote: if sizeof counter is greater than 1M, can it work? As others pointed out, this data can be wiped at any time and you have multiple

[google-appengine] Re: When is the Timeout bug going to get fixed?

2010-02-13 Thread Stephen
On Feb 12, 6:04 pm, Ikai L (Google) ika...@google.com wrote: On Fri, Feb 12, 2010 at 9:42 AM, Stephen sdea...@gmail.com wrote: http://highscalability.com/blog/2010/1/22/how-buddypoke-scales-on-fac...  Most of the cost of BuddyPoke is in content delivery. The  main app for BuddyPoke is

Re: [google-appengine] Re: Select columns

2010-02-13 Thread Eli Jones
No can do this: An application should not rely on numeric IDs being assigned in increasing order with the order of entity creation. This is generally the case, but not guaranteed. http://code.google.com/appengine/docs/python/datastore/keysandentitygroups.html On Sat, Feb 13, 2010 at 11:12 AM,

[google-appengine] Re: Application seems to restart after arbitrary amount of time...?

2010-02-13 Thread Charles
Hi Tim, I agree. It's not the persistence of any statics or memory that concerns me though. It's the fact that every time my VM gets recycled, the next hit to my site takes a few seconds to resolve while GAE spins up another JVM to service it. It's the performance that I'm more worried about,

[google-appengine] downloading a swf

2010-02-13 Thread Olga Pomez
Hello if i have an swf that last in download more than 30 seconds on my server, GAE is not going to be usefull for me , is not it? Thanks very much -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to

Re: [google-appengine] Re: App Engine SDK 1.3.1 is out!

2010-02-13 Thread Barry Hunter
From the documentation: If you have administrator-only pages in your application that are used to administer the app, you can have those pages appear in the Administration Console. The Administration Console includes the name of the page in its sidebar, and displays the page in an HTML iframe.

[google-appengine] Re: how large data can i use in App Caching and how long will it be cached?

2010-02-13 Thread dburns
In Python at least, GAE looks for a function called main() to enable app caching. Simply rename main() to something else. On Feb 13, 6:41 am, Eric Ka Ka Ng ngk...@gmail.com wrote: is it possible to 'disable' the app caching behavior? - eric On 12 February 2010 17:48, saintthor

Re: [google-appengine] Re: App Engine SDK 1.3.1 is out!

2010-02-13 Thread Danny Tuppeny
Excellent, thanks for pointing this out, I should've checked :-) On 13 February 2010 17:36, Barry Hunter barrybhun...@googlemail.com wrote: From the documentation: If you have administrator-only pages in your application that are used to administer the app, you can have those pages appear in

Re: [google-appengine] Re: how large data can i use in App Caching and how long will it be cached?

2010-02-13 Thread Jesaja Everling
The way I understand it, everything that is defined inside the main() function in the handler is also not cached. Thus you can still have your handler script cached, and have request-specific objects evaluated for each new request. Best Regards, Jesaja Everling On Sat, Feb 13, 2010 at 6:52 PM,

[google-appengine] Re: JDO: Owned 1 to Many relationship between the objects of the same class

2010-02-13 Thread Ian Marshall
Hi Alex, You might care to star datanucleus-appengine issue 80 (Recursive relation does not work). Cheers, Ian -- 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

[google-appengine] google.appengine.api.users works for only one users

2010-02-13 Thread Benjamin Hutchins
I created this application: http://www.killswitch.me/ in about two hours.. except I am having on problem with it, only one user can be signed in at a time. Whenever anyone signs in, everyone else who goes to the web page is automatically signed in as whoever it was who was signed in.. They are

[google-appengine] I'm dumb: How do I push out updates of one of my apps?

2010-02-13 Thread JordanF98765
I have an app I'd like to add some logging into, but can't find anything anywhere (FAQ, documentation and google searches) that would describe how to push updates onto an existing app engine app... I'm trying to update code my partner checked in. How do I check it out, so i can make my changes,

[google-appengine] Google App Image

2010-02-13 Thread Claudio
Hi all, i have read in some doc of app pages, the app requires one Google App Image in low of my application, and a search link (and some advertising). So, have one way to remove this things? Thx, Claudio -- You received this message because you are subscribed to the Google Groups Google App

[google-appengine] Re: appstats intermittent error

2010-02-13 Thread Chameleon
I have the same problem probably config is defined in recording but importing it not helps. Do you achieve any statistics for appstats? On Feb 12, 8:30 pm, GAEfan ken...@gmail.com wrote: I dumped appengine_config.py, and it seems to be fine now. Perhaps something with my sys.path.  Strange

[google-appengine] Unit testing XMPP service

2010-02-13 Thread Dan
Hi, I've got an app that uses GAE's XMPP service. I'd like to write some unit tests that verify the behavior of the server when it receives various messages through this service, but I'm not sure how. Right now I simply test one layer deeper (i.e. I hook straight into the code that my servlet

[google-appengine] Re: AppStats and custom admin pages - the alomst perfect duo

2010-02-13 Thread Chameleon
Do you made app stats working? On Feb 11, 11:28 pm, Piotr Jaroszyński p.jaroszyn...@gmail.com wrote: Don't forget to add login: admin, lest you open up your stats to the public: Not withappstats- [1]. P.S. I have added an issue for this - [2] [1]

Re: [google-appengine] I'm dumb: How do I push out updates of one of my apps?

2010-02-13 Thread Barry Hunter
There is no way to download the code*. You need to get the folder from the partner so you can redeploy the application. Maybe you can have it or a copy in a shared location. Recommend to use some sort of version control system to track changes.

[google-appengine] My app - shameless plug :-)

2010-02-13 Thread Benjamin
Hey Guys, Well i'm pretty much ready to release my app engine app to the world so i thought i would put out a quick post about the Beta to you guys. I've worked for 12 years in the process control / manufacturing industry and I've done a lot of work with Data Historians - these are huge systems

[google-appengine] Re: Why i don't use Google App Engine... and don't recomend it to you

2010-02-13 Thread Mike
Use Github. It's great... and rather affordable. :) The best thing is being able to search across your codebase for stuff. On Feb 13, 10:13 pm, Danny Tuppeny da...@tuppeny.com wrote: 1) If you format your hard-drive, you need to back up your source code first s/If you format your

[google-appengine] Re: Cron syntax in 1.3.1

2010-02-13 Thread theillustratedlife
1 of month 00:00 is the correct syntax; it works fine in production. The error may be unrelated to the enhanced syntax. -- 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.

Re: [google-appengine] Google App Image

2010-02-13 Thread Robert Kluin
None of those things are required. Robert On Fri, Feb 12, 2010 at 11:15 PM, Claudio claudiocapistr...@gmail.com wrote: Hi all, i have read in some doc of app pages, the app requires one Google App Image in low of my application, and a search link (and some advertising). So, have one way

Re: [google-appengine] google.appengine.api.users works for only one users

2010-02-13 Thread Robert Kluin
It sounds like your session code is improperly using a global variable or something of that nature. Are you using sessions? If so would you mind providing some details about how you use them? Robert On Sat, Feb 13, 2010 at 3:25 AM, Benjamin Hutchins xvol...@gmail.com wrote: I created

Re: [google-appengine] downloading a swf

2010-02-13 Thread Robert Kluin
I think the consensus is that time to download the response, or static files, does not count against your 30 second limit. Robert On Sat, Feb 13, 2010 at 12:35 PM, Olga Pomez dam...@gmail.com wrote: Hello if i have  an swf that last in download more than 30 seconds on my server, GAE is

[google-appengine] Re: Why i don't use Google App Engine... and don't recomend it to you

2010-02-13 Thread ai_...@live.ru
Well i think NOBODY anderstend me... I WASTE 6 MONTHS for Google App Engine and right now i get nothing. I could not use my sites. I could no edit them. And technical support DOSENT WORK AT ALL I don't care how Google App Engine is good. I CAN'T USE IT!!! So... imagine for a second that you

[google-appengine] Re: Why i don't use Google App Engine... and don't recomend it to you

2010-02-13 Thread Wooble
This wouldn't happen to most of us because 1) we remember our gmail passwords even if our machines are wiped and 2) we're smart enough to back up our code and use revision control. But possibly not smart enough to stop feeding the trolls. On Feb 13, 6:36 pm, ai_...@live.ru ai_...@live.ru wrote:

Re: [google-appengine] memcache set succeeds but immediate get fails. Pls help

2010-02-13 Thread djidjadji
If you look at the code in the SDK the value you pass (30 days) is interpreted as an absolute value. If you just subtract a few seconds it will be treated as an offset. 2010/2/7 Denis Bilenko denis.bile...@gmail.com: I've bumped into the same issue and came to conclusion that *time* you pass is

[google-appengine] Re: Why i don't use Google App Engine... and don't recomend it to you

2010-02-13 Thread nickmilon
Boys are just boys ! GAE is an excellent servise provided you just grow up a little ! -- nickmi...@gmail.com On Feb 14, 2:43 am, Wooble geoffsp...@gmail.com wrote: This wouldn't happen to most of us because 1) we remember our gmail passwords even if our machines are wiped and 2) we're

[google-appengine] Re: Cold start and googlebot crawl rate

2010-02-13 Thread nickmilon
Don't know (and perhaps nobody outside G knows) how much a slow site is penalized. But I can tell you that once a site gets a decent traffic responds faster and faster. So .. or you submit your site once you get a reasonable traffic or you resubmit hoping for the best. Hope this

[google-appengine] Re: how large data can i use in App Caching and how long will it be cached?

2010-02-13 Thread nickmilon
My experience with GAE Cashe is telling me that it really works wanders just do not judge its performance on first sight -test an application with real high volume traffic and you see it really works. -- nickmi...@gmail.com On Feb 13, 8:47 pm, Jesaja Everling jeverl...@gmail.com wrote: The

Re: [google-appengine] google.appengine.api.users works for only one users

2010-02-13 Thread Takashi Matsuo
Hi Benjamin, Do you use Python? If so, maybe you hit the issue 2040. http://code.google.com/p/googleappengine/issues/detail?id=2040 There are several workaround in comments section. -- Takashi Matsuo Kay's daddy On Sun, Feb 14, 2010 at 7:57 AM, Robert Kluin robert.kl...@gmail.com wrote: It

Re: [google-appengine] eclipse

2010-02-13 Thread bhuvaneswari jeevandoss
Hai, when i want to create a new sites using google sites api in eclipse. In google data what templates i want to select. i have an that we want to select sites templates for example: if we creating google calendar api we select calendar template in it. I had install

[google-appengine] Datastore updates in 1.3.1: So much better

2010-02-13 Thread Rob
I just had to post to say thanks. Since the 1.3.1 datastore performance improvements and automatic (behind the scenes) retries, the number of errors on my apps have been nearly completely eliminated. Even though I had some of the longer requests wrapped in retries before, this addition seems to

Re: [google-appengine] about clearing the datastore

2010-02-13 Thread kang
OK. Thanks for you reply. So it's hard to change the datastore structure in GAE? On Sat, Feb 13, 2010 at 1:50 AM, Ikai L (Google) ika...@google.com wrote: Unfortunately, we don't have mass deletion capability yet. The datastore isn't like a relational database where we can just drop a table.

Re: [google-appengine] downloading a swf

2010-02-13 Thread Nickolas Daskalou
Read Nick Johnson's comments in this thread for an official answer: http://groups.google.com/group/google-appengine/browse_thread/thread/c35f347308e76943 Spoiler: Upload and download time does not count towards the 30 second limit. Nick On 14 February 2010 10:00, Robert Kluin