Re: [appengine-java] Ghost rows in Datastore - cant get some rows in a queries until I resave them in the Datastore viewer

2010-02-25 Thread Shai Levy
HI, I sent you the info by email. Thank you very much Shai On Thu, Feb 25, 2010 at 2:59 AM, Ikai L (Google) ika...@google.com wrote: Were you able to resolve this? What's your app-id? On Wed, Feb 17, 2010 at 2:18 PM, Shai levys...@gmail.com wrote: HI, I encountered something strange

Re: [appengine-java] Re: Problem with persistance

2010-02-25 Thread Stephan Hartmann
I think in your Offer class you should use getter/setter for mOfferDetail (not a constructor to set the field). 2010/2/25 Anton Klotz dipl.ing.akl...@googlemail.com Hi Jake, thanks a lot for your answer. After changing the mappedBy statement to child like this:

[appengine-java] Re: Deleting Entities By Query or the PersistenceManager's deletePersistentAll()

2010-02-25 Thread Shai
I wan't able to perform a relevant benchmark since PersistenceManager.deletePersistentAll() with 500 rows usually took more than 30 sec's. Also, I can't really ignore the fetch time so I ended up doing many many smaller delete by query I must say delete is highly expensive (cpu) and slow in GAE,

[appengine-java] Re: Problem with persistance

2010-02-25 Thread datanucleus
I think in your Offer class you should use getter/setter for mOfferDetail (not a constructor to set the field). Can't see why that would make the slightest difference. What does appear iffy is that if you have a bidirectional relation then the user is responsible for setting both sides. I only

[appengine-java] Cron is not working

2010-02-25 Thread Sowji
Hi to all, Crons in google app engine is not working for me. could you please help me. cron.xml - ?xml version=*1.0* encoding=*UTF-8*? cronentries cron url/*emailing*/url descriptionrepeated every one hour/description scheduleevery 1 hours/schedule /cron /cronentries

Re: [appengine-java] Re: Problem with persistance

2010-02-25 Thread Stephan Hartmann
2010/2/25 datanucleus andy_jeffer...@yahoo.com I think in your Offer class you should use getter/setter for mOfferDetail (not a constructor to set the field). Can't see why that would make the slightest difference. What does appear iffy is that if you have a bidirectional relation then the

Re: [appengine-java] custom authentication when using Google Apps domain

2010-02-25 Thread Scott Hernandez
It is very simple to know if you need to use google apps or not. Here is the article about it: http://code.google.com/appengine/articles/auth.html 1.) Do you want to authenticate users from a specific google apps domain? (Note: Saying yes will exclude gmail and general google accounts) 2.) Do

[appengine-java] Re: Problem with persistance

2010-02-25 Thread Anton Klotz
Hi Stephan, no, this was not the solution. As I understand only lazy fetching is supported by GAE. What do I have to do to get all child objects? Now I wrote such procedure, to keep the persistanceManager open, but it did not help either: public OfferDetails getOfferWithId (long id)

Re: [appengine-java] Citical Security error in Accounts Java API: request.getUserPrincipal() gets wrong username/email

2010-02-25 Thread Thomas Schnocklake
Yes, i implemented this already. I developped the widget in GAE in Java. There I used OAuth to authenticate against the gdata-api. Then I stored the combination of usern...@gappdomain.xxx and the OAuth accesskey in the GAE persistant storage. Everything works fine. So when i log in google apps the

Re: [appengine-java] Re: Local datastore is empty after migrating to 1.3.1

2010-02-25 Thread Scott Hernandez
I'm pretty sure the your datastore is empty message on the admin data viewer pages doesn't mean that his query, in his application code, returned no results. While I don't disagree with you that the data is still in there I'm pretty what you just described is documented in the behavior of indexes

Re: [appengine-java] Cron is not working

2010-02-25 Thread m seleron
Hi. What is output to [admin console]-[Logs]-[Requests only]? please Confirm. thanks. 2010/2/25 Sowji sowji.ap...@gmail.com Hi to all, Crons in google app engine is not working for me. could you please help me. cron.xml - ? xml version=*1.0* encoding=*UTF-8*?

[appengine-java] Re: Problem with persistance

2010-02-25 Thread Jake
You may want to look into the JDO fetch groups, hollow returns of objects, makeTransient, and other items having to do with what is fetched and what remains accessible after the persistence manager is closed. The DataNucleus documentation is a pretty good place to look at that. I'm somewhat new

[appengine-java] Compare keys with JDO ?

2010-02-25 Thread Ice13ill
Hy... I'm using a JDO Query to retrieve some objects of type Contact witch contains: Key key; Key parentKey; String name; ... parentKey is the key of the User that owns that Contacts. Si if want to retrieve all contacts that belong to a certain user i'd have to make a query that returns all

Re: [appengine-java] Re: Does GAE for Java Support JSF 1.1 or JSF 1.2?

2010-02-25 Thread Joel Weight
Amr: I asked this question on StackOverflow and Jim Driscoll from the jsf team responded saying that JSF 1.2 should work as of build 13 if you set the context parameter com.sun.faces.enableMultiThreadedStartup to false in webl.xml. See here for his full response.

Re: [appengine-java] Re: Can pm.makePersistentAll() help me write 12,000 objects?

2010-02-25 Thread Ikai L (Google)
Jeff, point taken, but the original poster has been asking for three different requirements: - requirement to do all writes synchronously - sub-some-couple-hundred-millisecond writes - 12k entities being written This just won't scale well if it's common. Messaging users can be done

[appengine-java] Re: How expensive is a memcache instance?

2010-02-25 Thread Mouseclicker
Great answer. Thanks! -- 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

[appengine-java] URLFetchService example

2010-02-25 Thread kghate
I am trying to get a simple URLFetchService example to work, here is the code. URL url = new URL(http://www.google.com;); URLFetchService urlFetchService = URLFetchServiceFactory.getURLFetchService(); HTTPRequest httpRequest = new HTTPRequest(url,HTTPMethod.GET); HTTPResponse resp =

[appengine-java] RESTful web services on Google App Engine

2010-02-25 Thread kirthiga
Is it possible for me to create three RESTful web services in NetBeans, bundle them up, host on the cloud, and make communication between them? If so, Tell me how? This is for a project work -- You received this message because you are subscribed to the Google Groups Google App Engine for Java

[appengine-java] datanucleus enhancer keeps running

2010-02-25 Thread haole
i'm using eclipse 3.5.1, GPE 3.5 (1.2.0.v200912062003), GAE 1.3.1.v201002101412, GWT 2.0.3.v201002191036 datanucleusenhancer continuously runs over and over again temporary workaround: turn off build automatically feature in eclipse -- You received this message because you are subscribed to the

[appengine-java] Re: datanucleus enhancer keeps running

2010-02-25 Thread Steve Pritchard
On Feb 25, 6:39 am, haole mejoe...@gmail.com wrote: i'm using eclipse 3.5.1, GPE 3.5 (1.2.0.v200912062003), GAE 1.3.1.v201002101412, GWT 2.0.3.v201002191036 datanucleusenhancer continuously runs over and over again temporary workaround: turn off build automatically feature in eclipse I have

Re: [appengine-java] Re: Can pm.makePersistentAll() help me write 12,000 objects?

2010-02-25 Thread Jeff Schnitzer
I don't think the original poster had a requirement for synchronous writes; he just didn't want to do the writes asynchronously because it involved a lot more code. I'm also perfectly fine with asynchronous writes and a very lax interpretation of consistency. I don't even mind writing extra

[appengine-java] Re: Can pm.makePersistentAll() help me write 12,000 objects?

2010-02-25 Thread Guillermo Schwarz
I think there is a way to grab big chunks of oprations, put them in a queue to be done asynchronously and that would be it. My take would be that using proxies it would be easy to queue any long operation transparently. I've done that with EJBs in the past, I don't see the reason a QueingProxy

Re: [appengine-java] Difference between AJAX search and Google.com

2010-02-25 Thread Ikai L (Google)
You mentioned reading forums - have you checked this forum? http://groups.google.com/group/Google-AJAX-Search-API http://groups.google.com/group/Google-AJAX-Search-APIThis is a group for App Engine related questions. On Thu, Feb 25, 2010 at 4:26 AM, Peter Hulsen hul...@gmail.com wrote: Hi,

Re: [appengine-java] Re: Can pm.makePersistentAll() help me write 12,000 objects?

2010-02-25 Thread margus pala
Hi I wrote importing geoip database in JSF. It has like 100k entries. Besides appengine and datastore performance is awful and importing took around 1,5h of total CPU its fairly easy to use TaskQueue. If there is above average processing to be done then i suggest separating task into smaller

[appengine-java] Serialized field is ignored in JDO

2010-02-25 Thread Arnold
Two classes are defined: -- @PersistenceCapable(identityType=IdentityType.DATASTORE, detachable=true) public class TestSerialized { @Persistent private String nonSerialized; @PrimaryKey()

Re: [appengine-java] Re: Can pm.makePersistentAll() help me write 12,000 objects?

2010-02-25 Thread Scott Hernandez
Guillermo, Taskqueue items can only be 10K (http://code.google.com/appengine/docs/java/taskqueue/overview.html#Quotas_and_Limits). The basic idea is that if you have more data than that you put it into an entity (in the data-store) and have the task pull it out and process it. It might be that

Re: [appengine-java] Re: Can pm.makePersistentAll() help me write 12,000 objects?

2010-02-25 Thread Ikai L (Google)
We have an issue for an asynchronous write API for the datastore: http://code.google.com/p/googleappengine/issues/detail?id=2817 This is something that can fit into that model. On Thu, Feb 25, 2010 at 12:26 PM, Scott Hernandez scotthernan...@gmail.comwrote: Guillermo, Taskqueue items can

[appengine-java] Re: Billing currently disabled on all App Engine applications

2010-02-25 Thread App Engine Team
As of 11am February 25th, billing is now re-enabled. On Feb 24, 11:30 pm, App Engine Team appengine.nore...@gmail.com wrote: At 3pm February 24th, we have temporarily disabled billing on all App Engine applications in the wake of the unexpected morning outage. While billing is disabled, your

[appengine-java] Passing parameters in a Task

2010-02-25 Thread oceandrive
I wanted to use Queue tasks on my GAE application. I need to pass two parameters to my URL servlet /runTasks. So i am doing this. But when I print the values for start and end, it prints null for start and 15 for end. Am i doing anything wrong? Is this the right way to pass the parameters?

[appengine-java] Possible to cause instance recycling?

2010-02-25 Thread Jake
Hey all, I know that instance recycling times are not ideal - that's not my problem here. I'm wondering if it is possible to unintentionally cause GAE to drop your instance and restart it? I'm using the Wicket framework. Everything works locally, but when I deployed today, I experienced 5

[appengine-java] Re: Passing parameters in a Task

2010-02-25 Thread oceandrive
Perfect , thanks. -- 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

[appengine-java] Re: uniqueness control ideas

2010-02-25 Thread atomi
Just wanted to say that I see that what I'm trying to do is just fundamentally wrong and will decidedly cause serious problems in the longer term. I suppose it is best to check for uniqueness in the service layer. On Feb 24, 12:05 pm, atomi at...@verizon.net wrote: I've been trying to devise a

[appengine-java] Task queue not starting the action when expected

2010-02-25 Thread Jerome
Hello, We have been using task queues for a few months without problem. We handle actions that must execute right away. At the time of the release of 1.3.1, we noticed that sometimes, some tasks will take 1 to 2 minutes to start, but in the task queue, the ETA shows as a date in the past (like

[appengine-java] Cloud2db (Universal database for cloud computing)

2010-02-25 Thread Sandeep Sathaye
Dear member: Cloud2db http://www.cloud2db.com/ is pleased to announce the availability of Cloud2db Server which provides a standards-based abstraction layer over Google Datastore (Bigtable). This product provides you with performance and scalability of GAE along with structure, standards and

[appengine-java] dumb question: does the development console list Text?

2010-02-25 Thread John Howe
I'm probably doing something wrong, but I don't see the Text fields of persisted objects when listing the entities from the Development Console. E.g., using JDO, I have Text field foo, as declared below: @PersistenceCapable(identityType = IdentityType.APPLICATION, detachable = true) public class

[appengine-java] Re: Date Range Query

2010-02-25 Thread Max
ListProperty is simply a collection. You can simply persist a list of GAE primitive type into datastore On Feb 25, 9:07 pm, Steve Pritchard steve...@gmail.com wrote: This post is very helpful found athttp://appengine-cookbook.appspot.com/recipe/how-to-query-by-date-range Often, you need to

Re: [appengine-java] Re: Date Range Query

2010-02-25 Thread John Patterson
Be careful of the start-end date query trick - it does not work. There was a bug in the SDK that made it appear to work. an entity will only match the query if it has an individual value for that property that matches all of the inequality filters