[appengine-java] Re: issues with compass for GAE apps

2009-09-16 Thread Vik
hie any updates on this please? yeah I did what you suggested by putting a log statement.. and what I get are two different values from this block At first time of app startup vik.sakshum.sakshumweb.jsp.model.jdo.PMF : Loading PMF in com.google.apphosting.runtime.security.userclassloa...@1f7cdc7

[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 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 message. > > > On

[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 wrote: > any updates on this please? > Thankx and Regards > > Vik > Founder > www.sakshum.com > www.sakshum.blogspo

[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 wrote: > Hie > While querying I am getting following trace but my things works fine. > > Sep 16, 2009 11:16:55 AM > com.google.appengine.repackaged.com.googl

[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 explicitly

[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! Queue

[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) wrote: > Thanks for the extra digging, Yasuo. Feel free to file a bug in the issue > tracker regarding the default c

[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 ne

[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 very

[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 wrote: > You can also avo

[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" gro

[appengine-java] Re: Updating ordered collection (owned relationship)

2009-09-16 Thread Jason (Google)
Please post your save method and the full stack trace. It looks like you're seeing this in the development server -- are you seeing the same result in production also? Out of curiosity, what happens if you remove the first save() call? - Jason On Tue, Sep 15, 2009 at 4:51 AM, B Jansen wrote: >

[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] 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 wrote: > > I included appengine-local-runtime.jar, because it is needed to > resolve ApiProxyLo

[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 Gro

[appengine-java] Re: Regarding nullpoint exception

2009-09-16 Thread Jason (Google)
Are you hitting a servlet? If so, please provide your doGet method and the associated stack trace. Please provide your application ID if you are seeing this in production. - Jason On Tue, Sep 15, 2009 at 2:30 AM, mahesh wrote: > > Hi i have been working with an application and when i send a ur

[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 i

[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 wrote: > > Hi Jason, > > Thanks for your reply. > > On Tue,

[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 wrote: > > The "Service for storing and serving large files" item on the Roadmap will > give you what you want when it launches: > http://code.google.com/appengine/doc

[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

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

2009-09-16 Thread oizo
http://code.google.com/p/googleappengine/issues/detail?id=2133 Please accept it. --~--~-~--~~~---~--~~ 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-appengin

[appengine-java] Re: Seeing different (incorrect?) JDO behavior after upgrading to 1.2.5

2009-09-16 Thread Jason (Google)
Hi bysse. You only need to create custom indexes for composite queries, i.e. queries with two or more sort orders or queries with an equality filter on one property and an inequality filter on another. All single-property indexes are created by App Engine automatically, aside from Text and Blob fie

[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 List 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 call

[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=ID&version=1&; 400 Bad Request Error when loading application configuration: while sca

[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 T

[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 T

[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 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 > wrote: > > Hi EveryBody: > > > > The how-to for testing in GAE i

[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 wrote: > > I've noticed the same problem. I think it's a bug. > > Vince > > On Wed, Sep 16, 2009 at 1:53 PM, oizo wrote: > > > > if i fill queu

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

2009-09-16 Thread Prashant
thanks a lot for your kind support. I am almost done with my app and I am not in mood to rewrite it now. I will surely use tasks for next and onwards versions and I will contact you as soon as I enable billing for my app. On Thu, Sep 17, 2009 at 1:34 AM, Nick Johnson (Google) < nick.john...@goog

[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 ser

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

2009-09-16 Thread andy
Thanks Keith. I somewhat understand your point. Since you say the JSP compiler would give the desired information is there a way to configure the hosted mode to use the JSP compiler instead of javac? From the IRC chat today it was suggested that I add an issue. The issue I added was htt

[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 sta

[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 wrote: > ohh sorry, my bad, I meant Lakhs (1Lakh = 100, 000). > > > >

[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 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 or when an app

[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 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 or when an app

[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) > Hi Prashant, > > On Wed, Sep 16, 2009 at 3:54 PM, Prashant wrote: > >> thanks nick. >> >> Actually I wanted to use Task Queue instead of Global LinkedList, but this >> task queue quota is very limited. i am

[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 wrote: > I am using App Engine SDK 1.2.5 with Eclipse-Galileo on Windows Vista > with the following (simplified/stripped) code: >

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

2009-09-16 Thread Vince Bonfanti
I've noticed the same problem. I think it's a bug. Vince On Wed, Sep 16, 2009 at 1:53 PM, oizo wrote: > > 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

[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] 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; @Pers

[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 wrote: > > hi, > > I am facing same problem. I referred to above given link as well but > could not succeed. Can an

[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 i

[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 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: 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 wrote: > > Running i

[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) wrote: > I think you misspecified your servlet-mapping in your web.xml file. Change > it to: > > > com.google.appengine.demos.taskqueueexamples > /SimpleCounterWork >

[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: com.google.appengine.demos.taskqueueexamples /SimpleCounterWork - Jason On Mon, Sep 14, 2009 at 6:32 AM, mahesh wrote: > > hi i have developed an application and when iam trying to access the > application

[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 wrote: > > hi i am working with a sample application in gooleappengine and when > iam sending a request to application through the browser iam getting > the following error >

[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 u

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

2009-09-16 Thread Don Schwarz
The "Service for storing and serving large files" item on the Roadmap will give you what you want when it launches: http://code.google.com/appengine/docs/roadmap.html In the mean time your current approach sounds reasonable. On Wed, Sep 16, 2009 at 12:35 PM, Jerome wrote: > > Is there a way to

[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 erro

[appengine-java] Re: One-to-many relationships and saving

2009-09-16 Thread Jason (Google)
Hi Daniel. Both adding and removing from the list of children within a transaction is supported, assuming you're using an owned relationship. If you're seeing specific errors, please post your code. - Jason On Sun, Sep 13, 2009 at 8:09 AM, dflorey wrote: > > Hi datanucleus, > you seem to be an

[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 s

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

2009-09-16 Thread Esteban Masoero
Hi pion: In my case it's located at \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 = new

[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 wrote: > On Wed, Sep 16, 2009 at 6:53 AM, antshpra wrote: > > no...

[appengine-java] Re: Query a collection of entities with their IDs

2009-09-16 Thread Max Ross
Bulat, Does that work for you? If so, could you please post an example? Thanks, Max 2009/9/16 Bulat Sirazetdinov > > Use one of the getObjectsById methods - just pass a collection of IDs > as a parameter. > > On Sep 7, 5:54 am, Zhi Le Zou wrote: > > Hi, > > I have a class Foo defined as belo

[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: 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 pare

[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 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 'lacks'? -Nick

[appengine-java] Re: Query a collection of entities with their IDs

2009-09-16 Thread Bulat Sirazetdinov
Use one of the getObjectsById methods - just pass a collection of IDs as a parameter. On Sep 7, 5:54 am, Zhi Le Zou wrote: > Hi, > I have a class Foo defined as below: > > public class Foo{ > > @PrimaryKey >

[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 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 fields (Strings, ints,

[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: [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) > Hi Prashant, > In addition to what Barry says below, a couple of com

[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: WARNING: multiple versions of ant detected in path for junit

2009-09-16 Thread Vince Bonfanti
Yes, I see it and have been ignoring it. Vince On Wed, Sep 16, 2009 at 9:58 AM, Sam wrote: > > I have an ant script to run my junit tests which includes appengine- > java-sdk-1.2.5/lib/impl/appengine-local-runtime.jar.  When I run a > test I get a warning from junit: > >    [junit] WARNING: mul

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

2009-09-16 Thread Pion
I am looking at the guestbook tutorial. The “Using the Datastore with JDO” section has the following code: … Date date = new Date(); Greeting greeting = new Greeting(user, content, date); PersistenceManager pm = PMF.get().getPersistenceManager(); try {

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

2009-09-16 Thread Nick Johnson (Google)
Hi Prashant, In addition to what Barry says below, a couple of comments: - You can safely ignore the 'high cpu' warnings if you've already done what you can to optimize the page. You're not going to hit any invisible limits based on them, just the usual CPU quota etc. - If 'eventual' writes are goo

[appengine-java] Re: Unicode problems

2009-09-16 Thread Laco Skokan
These in the header - grey background - a stored a s constant in a java String in a source. I am using Groovy a Groovy templates that translates all to Java and html in runtime. Java stores everything like UTF-8. On my local GAE SDK its displayed correctly. These below with white background are

[appengine-java] WARNING: multiple versions of ant detected in path for junit

2009-09-16 Thread Sam
I have an ant script to run my junit tests which includes appengine- java-sdk-1.2.5/lib/impl/appengine-local-runtime.jar. When I run a test I get a warning from junit: [junit] WARNING: multiple versions of ant detected in path for junit [junit] jar:file:/D:/bin/eclipse-galileo/p

[appengine-java] How to make parent optional

2009-09-16 Thread Arash
I have a one-to-many relationship, mapped as: @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) @Extension(vendorName="datanucleus", key="gae.encoded-pk", value="true") private String key; @Persistent private String name; @Persistent(nullValue= NullVa

[appengine-java] Understanding the resource limits and costs...

2009-09-16 Thread Erdinc Yilmazel
I was trying to delete all records of an entity type, 1000 entities on each request and I noticed the Google appengine headers returned from the server. The code uses the low level datastore api and it is a very basic piece of code. Query the datastore for the entity kind without any criteria. Fet

[appengine-java] Re: java.lang.IllegalArgumentException: id or name, but not both, must be set in each key path element

2009-09-16 Thread Ian Marshall
Hi François, I don't know how your exception has arisen. Do you know which line in your code this error arose, or was it a result of GAE itself processing your persistent entity classes at app start-up? Do you have a code extract relating to where the exception was raised? If you construct keys

[appengine-java] using a variable to buffer & cache data...

2009-09-16 Thread Prashant
hi, my app needs to store some data to datastore for each & every request, say 1 object per request which causes high cpu usage per request. to minimize the cpu usage per request, instead of adding the object directly to datastore i add the object to a LinkedList (every request) and use a cron whi

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

2009-09-16 Thread Prashant
oh sorry, i forgot to add a point to the second post : is it an acceptable practice to do so (second post) ? is it required for my JDO class (Data, first psot) to extend Serialzable Class? --~--~-~--~~~---~--~~ You received this message because you are subscribed t

[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 fe

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

2009-09-16 Thread Prashant
hi, I tried the "Updating an Object" (using detachable property) example given here. Later I found that even if I do not add *detachable="true" *property to my JDO class it works without a

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 me

[appengine-java] Exceptions from JDOQL

2009-09-16 Thread Vik
Hie While querying I am getting following trace but my things works fine. Sep 16, 2009 11:16:55 AM com.google.appengine.repackaged.com.google.common.base.FinalizableReferenceQueue INFO: Failed to start reference finalizer thread. Reference cleanup will only occur when new references are created.

[appengine-java] Re: Unicode problems

2009-09-16 Thread George Moschovitis
> Make sure you have this meta tag in your generated html file. > I *do* have this tag in my html! > Also, you can set a response HTTP header with the same string. OK, I will try to set the HTTP header, but I don't think this is the problem. -g. --~--~-~--~~~---~-

[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 wrote: > Make sure you have this meta tag in your generated html file. > > > Also, you can set

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. 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 correct (Greek) characters in the DataViewer. > But I get ??

[appengine-java] Re: Unicode problems

2009-09-16 Thread George Moschovitis
Hmm, I see correct (Greek) characters in the DataViewer. But I get s in my app. The strange thing is that everything works correctly in the development server. -g. On Sep 16, 12:45 pm, leszek wrote: > Very interesting, I don't have any problems with Polish characters. > Firstly look at your

[appengine-java] Re: Unicode problems

2009-09-16 Thread Laco Skokan
I dont see what is posted to app engine, but I dont see proper characters using data viewer. If I correct the data in Data viewer, these are correctelz displayed in website. This leads to sending problem. What is your local setting? Polish or English? L. On 16 zář, 11:45, leszek wrote: > Very

[appengine-java] Re: Unicode problems

2009-09-16 Thread leszek
Very interesting, I don't have any problems with Polish characters. Firstly look at your tables via data-viewer in the production environment. I see Polish characters there. You have to narrow the problem - the characters are lost during sending, persisting or retrieving. --~--~-~--~~

[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=gst&q=comet#e50b4eb988d2f45b --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Googl

[appengine-java] Re: GWT Books

2009-09-16 Thread vijay
My bad, thanks for pointing that out. On Wed, Sep 16, 2009 at 5:41 AM, Rob wrote: > > Looks like you posted to the App Engine group by accident when you > meant to post to the GWT group. > > http://groups.google.com/group/google-web-toolkit > > Rob > > On Sep 15, 9:29 am, vijay wrote: > > Hi Al

[appengine-java] Re: cron query

2009-09-16 Thread Raphael André Bauer
On Wed, Sep 16, 2009 at 6:53 AM, antshpra 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 --~--~-~--~~~---~--~~ You rece

[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 th

[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 wrote: > I have created a simple applicatio

[appengine-java] Re: Fetch by string equality stopped working

2009-09-16 Thread damnpana...@googlemail.com
Fine by me - thanks for your help. On Sep 15, 3:43 pm, Max Ross wrote: > http://code.google.com/p/datanucleus-appengine/issues/detail?id=128 > > Unfortunately the only real workaround is to use named params instead of > positional params.  Do you think you can make that work? > > Max > > On Tue,

[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 wrote: > Hi Jason, this sounds extremely promising. When will it come? best > Thomas > > On 19 Aug., 20:35, Jason wrote: > > > This is coming. As far as I know, it will work sim