[appengine-java] Re: Datastore Import and Export

2009-09-16 Thread patrizio.munzi
Any news on this topic...?? What about an estimated release date..?? Thanks, Patrizio On Aug 29, 12:42 pm, Thomas M thomas.m...@googlemail.com wrote: Hi Jason, this sounds extremely promising. When will it come? best Thomas On 19 Aug., 20:35, Jason apija...@google.com wrote: This is

[appengine-java] Re: Unicode problems

2009-09-16 Thread Laco Skokan
Hello, I have the same issue with Czech characters. It is fine on local SDK but not when I send it to appengine. See my testing application on http://lskokan.appspot.com. Should I create a bug for this? Ladislav. On 15 zář, 10:58, George Moschovitis george.moschovi...@gmail.com wrote: I have

[appengine-java] what's the bigger/complex application Java/Python running on GAE

2009-09-16 Thread Patrizio Munzi
Hi everybody, Does everyone know (app developer or google guys) what's the bigger application running on GAE in term of data storage?? I'm trying to figure out how much the data storage quota is limiting for my application... One more thing, how can I found out how much storage I'm using in

[appengine-java] Re: cron query

2009-09-16 Thread Raphael André Bauer
On Wed, Sep 16, 2009 at 6:53 AM, antshpra antsh...@gmail.com wrote: no... you can generate a cron job that runs every minute and only executes the working task when the time is right (eg the 12:20 13:20 whatever..). this is fairly easy to make.. r

[appengine-java] Re: RPC call and variables

2009-09-16 Thread leszek
Follow this thread - could be helpful http://groups.google.co.uk/group/google-appengine-java/browse_frm/thread/d816992c5a82506b/e50b4eb988d2f45b?lnk=gstq=comet#e50b4eb988d2f45b --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: [giannim] [appengine-java] Re: Unicode problems

2009-09-16 Thread Gianni Mariani
Make sure you have this meta tag in your generated html file. meta http-equiv=Content-Type content=text/html; charset=utf-8 / Also, you can set a response HTTP header with the same string. On Wed, Sep 16, 2009 at 8:06 PM, George Moschovitis george.moschovi...@gmail.com wrote: Hmm, I see

[appengine-java] Re: Unicode problems

2009-09-16 Thread Laco Skokan
Yes, I o have this tag in all html files. But I am uploading .groovy files (Groovy source code) and these dont have this tag. These are source code UTF-8 encoded. L. On 16 zář, 12:28, Gianni Mariani gian...@google.com wrote: Make sure you have this meta tag in your generated html file. meta

Re: [giannim] [appengine-java] Re: Unicode problems

2009-09-16 Thread Gianni Mariani
Looking at http://lskokan.appspot.com, somehow the strings are being rendered incorrectly in the application. It would be nice to know what the rendering code looks like. On Wed, Sep 16, 2009 at 9:08 PM, George Moschovitis george.moschovi...@gmail.com wrote: Make sure you have this meta

[appengine-java] Re: doubt with detachable property...

2009-09-16 Thread Prashant
one more doubt similar/related to previous one : i want to fetch object(s) from datastore, cache it to Memcache and fetch it from Memcache for further requests. and if any change happens to data i want to update the object(s) to datastore straight away using cashed instance of object instead of

[appengine-java] null pointer issues when using compass with GAE

2009-09-16 Thread Vik
Hie Anyone using compass with GAE? I am frequently seeing not able to initilize PMF null pointer exception after adding code into PMF as usggested on kimchy's blog on using compass with GAE. Anyone any help on this please? Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com

[appengine-java] Re: [google-appengine] using a variable to buffer cache data...

2009-09-16 Thread Prashant
thanks nick. Actually I wanted to use Task Queue instead of Global LinkedList, but this task queue quota is very limited. i am expecting my app to reach at least 5 to 10 lacks queues per day. 2009/9/16 Nick Johnson (Google) nick.john...@google.com Hi Prashant, In addition to what Barry says

[appengine-java] JSP errors in hosted mode

2009-09-16 Thread andy
I have been trying out Google App Engine for Java in Hosted mode and ran into something I hope someone can shed some light on. I'm using JSP pages and when a JSP page generates an error ( either compilation or runtime ) the error message displayed contains reference to the line number in the

[appengine-java] Re: JDO/JPA Snippets That Work - Creating a bidirectional, owned, one-to-many relationship

2009-09-16 Thread Bulat Sirazetdinov
Thanks a lot for explanations. They've returned me my ability to sleep. :) On Sep 16, 7:44 am, Max Ross maxr+appeng...@google.com wrote: GAE does not support joins so Book.chapters is always lazy loaded.  I'm guessing the old posts you're thinking of relate to lazy loading of non-relationship

[appengine-java] Re: [google-appengine] using a variable to buffer cache data...

2009-09-16 Thread Nick Johnson (Google)
Hi Prashant, On Wed, Sep 16, 2009 at 3:54 PM, Prashant antsh...@gmail.com wrote: thanks nick. Actually I wanted to use Task Queue instead of Global LinkedList, but this task queue quota is very limited. i am expecting my app to reach at least 5 to 10 lacks queues per day. How many is a

[appengine-java] Re: self referral one-to-many relationship with null root

2009-09-16 Thread Ian Marshall
I myself am having problems with a self-referring tree structure of persistent entities where the root element has no parent and I get the exception org.datanucleus.exceptions.NucleusUserException: Field cloud.persistence.ItemCategory.icParent should be able to provide a reference to its

[appengine-java] Re: How to make parent optional

2009-09-16 Thread Ian Marshall
I have the same problem. Does the DataNucleus plug-in for Google App Engine Issue Nº 80: Recursive relation does not work cover your problem (it does for me)? It looks like it might not be fixed soon, so I may have to switch to unowned relationships to get my tree structure to work

[appengine-java] Re: cron query

2009-09-16 Thread bgood
Thanks for the responses, I had ended up with this one (from Raphael) before I posted - just seems a bit inelegant to have to poll every minute when you know the desired times in advance. On Sep 16, 2:08 am, Raphael André Bauer raphael.andre.ba...@gmail.com wrote: On Wed, Sep 16, 2009 at 6:53

[appengine-java] Re: Location of Datastore/JDO (physical) file

2009-09-16 Thread Esteban Masoero
Hi pion: In my case it's located at myProyect\war\WEB-INF\appengine-generated\local_db.bin Esteban Pion escribió: I am looking at the guestbook tutorial. The “Using the Datastore with JDO” section has the following code: … Date date = new Date(); Greeting greeting =

[appengine-java] Creating static files from a servlet

2009-09-16 Thread Jerome
Is there a way to create static files from a servlet? We are using an image upload JSP, but we currently store the image in the data store, and we serve the image back with a servlet. As the images are referenced from emails we send from AppEngine, it would be more efficient to just reference a

[appengine-java] Re: JSP errors in hosted mode

2009-09-16 Thread Keith Platfoot
Hi Andy, At this point, no. For JSP errors generated by javac, the error will refer to locations inside the generated servlet class, instead of inside the JSP file it came from. Errors from the JSP compiler, on the other hand, *will*generally refer to the actual JSP file/line that caused the

[appengine-java] Wrong default urls in TaskQueue. Bug?

2009-09-16 Thread oizo
if i fill queue without TaskOption.url: queue = QueueFactory.getDefaultQueue() queue.add() or queue = QueueFactory.getQueue(myqueue) queue.add() i get URLs in local and prod: /_ah/queue instead of /_ah/queue/default or /_ah/queue/myqueue Is it a bug or am i doing something wrong? If i use

[appengine-java] Re: Regarding error 500

2009-09-16 Thread Jason (Google)
Have you verified that req.getParameter(body) does not return null? - Jason On Mon, Sep 14, 2009 at 5:37 AM, mahesh nimmala.anukar...@gmail.com wrote: hi i am working with a sample application in gooleappengine and when iam sending a request to application through the browser iam getting

[appengine-java] Re: Regarding 404 error

2009-09-16 Thread Jason (Google)
I think you misspecified your servlet-mapping in your web.xml file. Change it to: servlet-mapping servlet-namecom.google.appengine.demos.taskqueueexamples/servlet-name url-pattern/SimpleCounterWork/url-pattern /servlet-mapping - Jason On Mon, Sep 14, 2009 at 6:32 AM, mahesh

[appengine-java] Re: Regarding 404 error

2009-09-16 Thread Jason (Google)
Or whichever servlet is appropriate for that particular endpoint. - Jason On Wed, Sep 16, 2009 at 10:59 AM, Jason (Google) apija...@google.comwrote: I think you misspecified your servlet-mapping in your web.xml file. Change it to: servlet-mapping

[appengine-java] Re: Issue on using Spring MVC framework on GAE.

2009-09-16 Thread Jason (Google)
Hi Brian. What field types are in your command class? If you're using anything besides a String, Long, or Boolean (taken from the snippet I posted earlier), you'll have to add another custom editor for that property type. - Jason On Mon, Sep 14, 2009 at 9:14 AM, Brian Dorry brian.do...@gmail.com

[appengine-java] Re: Creating static files from a servlet

2009-09-16 Thread Toby Reyelts
You can also avoid extra traffic against your servlet and datastore by making sure to set http caching headers appropriately. On Wed, Sep 16, 2009 at 1:50 PM, Don Schwarz schwa...@google.com wrote: The Service for storing and serving large files item on the Roadmap will give you what you want

[appengine-java] Re: Java Security Error

2009-09-16 Thread Jason (Google)
Hi Ravi. As Gianni wrote, you can't use JDBC directly. Using App Engine's datastore would be ideal, but if you must use an existing RDBMS, you'll have to put a web service in front of it. This can be as simple as a servlet or script (not running on App Engine) which retrieves the data and returns

[appengine-java] Re: A parent cannot be established or changed once an object has been persisted

2009-09-16 Thread Jason (Google)
I don't have an example handy, but if you can paste your model classes and your code, I can try to point you in the right direction. - Jason On Mon, Sep 14, 2009 at 6:29 AM, Anita an...@ensarm.com wrote: hi, I am facing same problem. I referred to above given link as well but could not

[appengine-java] makePersistent() question

2009-09-16 Thread Pion
I am using App Engine SDK 1.2.5 with Eclipse-Galileo on Windows Vista with the following (simplified/stripped) code: import javax.jdo.annotations.IdentityType; import javax.jdo.annotations.PersistenceCapable; import javax.jdo.annotations.Persistent; import javax.jdo.annotations.PrimaryKey;

[appengine-java] From adult google group.

2009-09-16 Thread jarldegiacomo78285
For google-appengine-java group members. HD tube adult movies. Sorted by rating of millions users http://www.2watch4.com/redsdkp/includes/db/www/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine for

[appengine-java] Re: makePersistent() question

2009-09-16 Thread Pion
The local_db.bin shows up now. It seems that I have to wait for a minute or two before it shows up on the war\WEB-INF\appengine-generated. On Sep 16, 12:20 pm, Pion onlee2...@gmail.com wrote: I am using App Engine SDK 1.2.5 with Eclipse-Galileo on Windows Vista with the following

[appengine-java] Re: [google-appengine] using a variable to buffer cache data...

2009-09-16 Thread Prashant
ohh sorry, my bad, I meant Lakhs (1Lakh = 100, 000). 2009/9/16 Nick Johnson (Google) nick.john...@google.com Hi Prashant, On Wed, Sep 16, 2009 at 3:54 PM, Prashant antsh...@gmail.com wrote: thanks nick. Actually I wanted to use Task Queue instead of Global LinkedList, but this task

[appengine-java] Re: CPU Occasionally Spikes when HttpSession is Created

2009-09-16 Thread Traveler1980
Sono one else has noticed anything like this??? Regards, Jamie On Sep 15, 9:13 am, Traveler1980 jshar...@gmail.com wrote: Hi Everyone, I've noticed that CPU occasionally spikes when creating an HTTPSession.  It only seems to happen when it's been awhile since an app has been accessed

[appengine-java] Re: CPU Occasionally Spikes when HttpSession is Created

2009-09-16 Thread Traveler1980
Sono one else has noticed anything like this??? Regards, Jamie On Sep 15, 9:13 am, Traveler1980 jshar...@gmail.com wrote: Hi Everyone, I've noticed that CPU occasionally spikes when creating an HTTPSession.  It only seems to happen when it's been awhile since an app has been accessed

[appengine-java] Re: [google-appengine] using a variable to buffer cache data...

2009-09-16 Thread Nick Johnson (Google)
Hi Prashant, The task queue quota for billed apps is currently set at 100,000. If you have a compelling use case for more tasks per day, we can increase your quota accordingly. -Nick On Wed, Sep 16, 2009 at 9:00 PM, Prashant antsh...@gmail.com wrote: ohh sorry, my bad, I meant Lakhs (1Lakh =

[appengine-java] Re: CPU Occasionally Spikes when HttpSession is Created

2009-09-16 Thread Toby Reyelts
App Engine retires and spins up new instances of your app based on demand. If a new instance of your app is being created, you'll see higher CPU then normal as all of your code gets reloaded and initialized. This sounds like the behavior you're seeing. One way to test that is to write a logging

[appengine-java] Re: JSP errors in hosted mode

2009-09-16 Thread Keith Platfoot
Hi Andy, Actually, both the JSP compiler (Jasper) and javac process your JSPs. Jasper's compiler is really more of a pre-processor than an actual compiler: it just converts a JSP into source code for a Java servlet, which javac then compiles into Java bytecode. The problem comes when the Java

[appengine-java] Re: Wrong default urls in TaskQueue. Bug?

2009-09-16 Thread Don Schwarz
Yes, this is a bug. Please file an issue in our issue tracker and I'll see to it that this gets fixed. On Wed, Sep 16, 2009 at 2:43 PM, Vince Bonfanti vbonfa...@gmail.com wrote: I've noticed the same problem. I think it's a bug. Vince On Wed, Sep 16, 2009 at 1:53 PM, oizo m...@oizo.biz

[appengine-java] Re: testing applications in GAE - jUnit4

2009-09-16 Thread Nicolas Melendez
ok, i will publish in the weekend.bye! On Tue, Sep 15, 2009 at 4:00 PM, Vince Bonfanti vbonfa...@gmail.com wrote: Hi Nicolas, I'm interested in seeing what you've done. Thanks. Vince On Tue, Sep 15, 2009 at 9:33 AM, Nicolas Melendez nmelen...@getsense.com.ar wrote: Hi EveryBody:

[appengine-java] Re: CPU Occasionally Spikes when HttpSession is Created

2009-09-16 Thread Traveler1980
Thanks Toby. Your explanation makes sense and it looks like that's exactly what's happening: 09-16 01:39PM 57.474 /test 200 4036ms 4478cpu_ms 65api_cpu_ms 0kb Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.6) W 09-16 01:40PM 00.884 foo.bar.TestServlet init: Initializing

[appengine-java] Error 400 while trying to upload my application for the first time

2009-09-16 Thread 6real
Hi, my application runs fine locally. I'd like to upload it for the fist time and I get the following error : java.io.IOException: Error posting to URL: http://appengine.google.com/api/appversion/create?app_id=IDversion=1; 400 Bad Request Error when loading application configuration: while

[appengine-java] Re: Detching an object graph with JDO

2009-09-16 Thread Jason (Google)
You can declare a field to be in the default fetch group if you always want the field to be available: @Persistent(defaultFetchGroup = true) private ListValue values; If you don't want to go with this approach, you can also touch the field that you want (e.g. call item.getItemValues()) before

[appengine-java] Re: Wrong default urls in TaskQueue. Bug?

2009-09-16 Thread oizo
Oh, and correct please Language-... from Python to Java --~--~-~--~~~---~--~~ 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

[appengine-java] Re: Creating static files from a servlet

2009-09-16 Thread Vince Bonfanti
Are there any details available for this feature other than this one-liner? Thanks. On Wed, Sep 16, 2009 at 1:50 PM, Don Schwarz schwa...@google.com wrote: The Service for storing and serving large files item on the Roadmap will give you what you want when it launches:

[appengine-java] Re: JDO startsWith for Japanese does not work on production server

2009-09-16 Thread Jason (Google)
Thanks for the extra digging, Yasuo. Feel free to file a bug in the issue tracker regarding the default character encoding issue: http://code.google.com/p/googleappengine/issues/list - Jason On Mon, Sep 14, 2009 at 7:13 PM, Yasuo Higa higaya...@gmail.com wrote: Hi Jason, Thanks for your

[appengine-java] Re: Bulk update throws exception

2009-09-16 Thread Jason (Google)
Hi Anita. I don't understand your data model -- if you are modeling the relationship between entities of type A and entities of type B using entities of type C, why do entities of type A have direct references to entities of type B and vice versa? Either way, the reason you're getting this error

[appengine-java] Core Value Types a benefit?

2009-09-16 Thread Dan Billings
I'm noticing a list of Core Value Types listed in the Datastore Guide. Are there any benefits of using these (besides being supported) vs. any other Serializable class? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[appengine-java] Re: I broke something using Eclipse plugin

2009-09-16 Thread Jason (Google)
Try adding the JARs to your build path without copying them to your lib directory. Just use Add external JARs in the Eclipse Build Path dialog. - Jason On Tue, Sep 15, 2009 at 2:13 AM, Clay Lenhart c...@lenharts.net wrote: I included appengine-local-runtime.jar, because it is needed to

[appengine-java] Re: built in security features of GAE

2009-09-16 Thread Jason (Google)
This can mean several things, so you'll have to be more specific. To see the list of restrictions in place to help secure Google's back-end infrastructure, see the documentation on the App Engine sandbox: http://code.google.com/appengine/docs/java/runtime.html#The_Sandbox If you're referring to

[appengine-java] Lets get acquainted

2009-09-16 Thread Anna SCat
Hi to group, Im newbie here. I will ask many questions My webcam-profile is here http://xxx-spaces.com/Anna/anna.html Thank you. Kiss. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine for Java

[appengine-java] Re: Creating static files from a servlet

2009-09-16 Thread Jerome
Thank you guys, I did not realize this item on the road map was to let the app store large files. I can't wait to see this coming. Thanks as well for the http caching headers suggestion. We were planning to get these set shortly. Jerome On Sep 16, 2:06 pm, Toby Reyelts to...@google.com wrote:

[appengine-java] Re: Pointing Domains

2009-09-16 Thread Jason (Google)
This isn't directly possible, no. You could probably make it work it with a lot of trouble, i.e. adding your application to each Google Apps domain that you want then setting up the handler to inspect the hostname and appropriately reinterpret the request. But even if you succeed, this will be

[appengine-java] File management

2009-09-16 Thread Uber Monjies
I've written a couple GAE apps, and I'm starting on my 3rd, and biggest right now. With my previous two projects, I ended up with one main python file that became quite large and hard to traverse. Is it possible to break out different parts of that file into separate files and include them as

[appengine-java] Re: JDO startsWith for Japanese does not work on production server

2009-09-16 Thread Yasuo Higa
Thanks for your suggestion, Jason. I filed it. http://code.google.com/p/googleappengine/issues/detail?id=2135 Thanks, Yasuo Higa On Thu, Sep 17, 2009 at 6:56 AM, Jason (Google) apija...@google.com wrote: Thanks for the extra digging, Yasuo. Feel free to file a bug in the issue tracker

[appengine-java] Task Queue: java.lang.IllegalArgumentException: ETA is invalid :

2009-09-16 Thread victor
I was trying to use eta parameter in TaskOptions and I keep getting the following error: java.lang.IllegalArgumentException: ETA is invalid : Anybody has some clue about this one? My code is pasted below. My intention is to execute this task after two hours. Thanks!

[appengine-java] Is the Google Collections framework already in deployed environment?

2009-09-16 Thread Jim McCabe
I'd like to start using the Google Collections framework (ImmutableList, etc) in my AppEngine project. I see that it is already available in the SDK but I am wondering if it is safe to assume that it is present in the production deployed environment. In other words, is it necessary to

[appengine-java] Re: Exceptions from JDOQL

2009-09-16 Thread Vik
any updates on this please? Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com On Wed, Sep 16, 2009 at 4:49 PM, Vik vik@gmail.com wrote: Hie While querying I am getting following trace but my things works fine. Sep 16, 2009 11:16:55 AM

[appengine-java] Re: Exceptions from JDOQL

2009-09-16 Thread Toby Reyelts
If you do a search for this message, you can see that there are some other threads where we have explained that it is a harmless INFO message. On Wed, Sep 16, 2009 at 11:13 PM, Vik vik@gmail.com wrote: any updates on this please? Thankx and Regards Vik Founder www.sakshum.com

[appengine-java] Re: Exceptions from JDOQL

2009-09-16 Thread Vik
Thankx Toby. Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com On Thu, Sep 17, 2009 at 9:38 AM, Toby Reyelts to...@google.com wrote: If you do a search for this message, you can see that there are some other threads where we have explained that it is a harmless INFO