[appengine-java] JDP, get objects by id

2010-04-18 Thread Timofey Koolin
Right theme: JDO, get objects by id On 17 апр, 08:38, Timofey Koolin timo...@koolin.ru wrote: I need get some objects by ID from datastore, but I'm not sure exsists every objects (some objects may was delete before my request). PersistenceManager.getObjectsById(...) throw exception if not

Re: RE : [appengine-java] ANT - Guestbook tutorial - [java] INFO: Unable to access http://appengine.google.com/api/updatecheck?

2010-04-18 Thread Romain Pelisse
Well, we can't guess for you what your proxy settings are but if your browser can access the internet, there is a good chance you can extract from it the proxy settings. As for settings the Java proxy parameters : http://tinyurl.com/y6arrdb On 18 April 2010 07:51, Raj rajkumar@gmail.com

Re: [appengine-java] Working version of Hessian 4.0.3 for Google App Engine?

2010-04-18 Thread Romain Pelisse
Run into the same problem and had the same question. However note that the previous major version of Hessian (3.X) works perfectly with google-app-engine. On 17 April 2010 23:23, Christoffer Pettersson corgr...@gmail.com wrote: According to this thread:

[appengine-java] Re: JDP, get objects by id

2010-04-18 Thread datanucleus
Is exsists any other way to get objects by one query from program, if I don't sure in exsists every of it? Errm, a JDOQL query perhaps SELECT FROM mydomain.MyClass WHERE :idCollection.contains(id) and pass in a collection containing the ids of the objects you need. -- You received this

Re: [appengine-java] Re: Cannot persist a HashMap

2010-04-18 Thread sreenidhi b.s
http://groups.google.com/group/google-appengine-java/browse_thread/thread/fd8043e63ff6c22e/ the link above works only for persisting and retrieving hash maps ,but i did not find any proper solution for updating and persisting the updated hashmaps. You have to provide a new reference to the

[appengine-java] Re: Cannot persist a HashMap

2010-04-18 Thread datanucleus
I'm sure referring to the log would tell you way more, like when an object becomes dirty, and when it is persisted and changes lifecycle state. -- 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

RE : Re: RE : [appengine-java] ANT - Guestbook tutorial - [java] INFO: Unable to access http://appengine.google.com/api/updatecheck?

2010-04-18 Thread Romain Pelisse
ie ? Poor of you... Anyway, if proxy settings ie is blank it probably means that you are behind a so called transparent proxy which - theorically, implies that java application should be working as tramsparently. Youd need to assert that because right now there is no proof that proxy is the root

Re: RE : Re: RE : [appengine-java] ANT - Guestbook tutorial - [java] INFO: Unable to access http://appengine.google.com/api/updatecheck?

2010-04-18 Thread Raj
ie ? Poor of you...well some corporate..bs. Anyway will do per your suggestion. Anyway to check the my proxy address and what type it is? On 18 Apr, 13:26, Romain Pelisse bela...@gmail.com wrote: ie ? Poor of you... Anyway, if proxy settings ie is blank it probably means that you are behind

[appengine-java] Re: Create Online Game That Contains High Change Data

2010-04-18 Thread Phuong Nguyen
A rack server could be purchased anywhere. However, I want to streamline my development and it would be best to build every thing on GAE structure. Given I want to store real-time game data using memcache, If I strictly maintain number of objects stored in memcache (thus, limit the use of memcache

RE : Re: RE : Re: RE : [appengine-java] ANT - Guestbook tutorial - [java] INFO: Unable to access http://appengine.google.com/api/updatecheck?

2010-04-18 Thread Romain Pelisse
Weird. Execute your ant script with -v option, see if it shed some light on what is happening here. Le 18 avr. 2010 16:38, Raj rajkumar@gmail.com a écrit : Just wrote a small java code to open a url and thats works fine. What is the real probblem then? On 18 Apr, 15:04, Raj

[appengine-java] JDO level2 caching

2010-04-18 Thread Dick
Have many people enabled the Datanucleus JDO level 2 caching for App Engine? This thread: http://groups.google.com/group/google-appengine-java/browse_thread/thread/13cb942ceb97dc/3ab7518edf6a8bc6 suggests that at least one person had the experience that it was quick locally, but that there was

[appengine-java] Google Data API to Authenticate and Access App Engine Service Data

2010-04-18 Thread formtester
Hi, I'm looking for a Google API that will let me access data from App Engine Service, and get user's information regarding their App Engine service. Kind of like OAuth to access calendar, documents, etc2. is one exist for App Engine Service? For example: Given a username and password, I will

Re: [appengine-java] Re: Google Plugin for Eclipse - working from behind the proxy

2010-04-18 Thread Rajeev Dayal
Hi Raj, If you're using the JEE version of Eclipse, you can skip the step about adding the Galileo update site and all - just unzip the plugin zip in the dropins directory of your Eclipse installation, and restart. Rajeev On Sat, Apr 17, 2010 at 4:36 AM, Raj rajkumar@gmail.com wrote:

Re: [appengine-java] Re: HTTP ERROR 405 with Guestbook Tutorial

2010-04-18 Thread Rajeev Dayal
Glad that you got it working. Sorry that you had to struggle through that. I am surprised that Eclipse's XML editor did not place warning markers about having multiple definitions of the servlet-name tag - it should have done that provided you had a valid reference to your XSD/DTD within the

Re: RE : Re: RE : Re: RE : [appengine-java] ANT - Guestbook tutorial - [java] INFO: Unable to access http://appengine.google.com/api/updatecheck?

2010-04-18 Thread Romain Pelisse
Raj, Romain Pelisse, Sorry to bother you with this one and wrote to you directly. Do not fork the thread. Even if I'm the only answering to your issue does not means you can switch this to a personal discussion. Maybe other people are facing the same issues and are waiting for this thread to

[appengine-java] owned one to many relationship problem

2010-04-18 Thread ylmz
Hi every body. I have a problem with my model and I cannot figure out what the problem is. So any help would be appreciated. to explain the problem I wrote some sample code: Here is my model: Class A has one to many relationship with B Class B has one to many relationship with C

[appengine-java] Blobstore upload from Flash?

2010-04-18 Thread Gazza
Anybody got any idea how to do this? I've got the demo code from the Java api overview working and can download stored ByteArray blobs from my Flash client, but can't work out how to upload a ByteArray from Flash. I've been looking at building mime forms for submission (like this blog entry

[appengine-java] Re: Query for children of entity with JDO

2010-04-18 Thread hsjawanda
Even though Datanucleus' method seems better, I thought I'd list how I would have done it. If anyone thinks that there would be problems doing it my way, please let us all know. Store a unique property of the parent (this would usually be the PrimaryKey of the parent) in a data field of the child

[appengine-java] Re: JDP, get objects by id

2010-04-18 Thread Timofey Koolin
Thanks On 18 апр, 12:59, datanucleus andy_jeffer...@yahoo.com wrote: Is exsists any other way to get objects by one query from program, if I don't sure in exsists every of it? Errm, a JDOQL query perhaps SELECT FROM mydomain.MyClass WHERE :idCollection.contains(id) and pass in a

[appengine-java] Re: Cannot persist a HashMap

2010-04-18 Thread hsjawanda
The following posting by Max Ross of the Google App Engine engineering team is extremely useful for the case of all serialized fields (which is the only way you can store HashMap-s in GAE (at least so far)): JDO/JPA Snippets That Work - Serialized Fields http://bit.ly/9fMbPs On Apr 18, 5:11 pm,

Re: RE : Re: RE : Re: RE : [appengine-java] ANT - Guestbook tutorial - [java] INFO: Unable to access http://appengine.google.com/api/updatecheck?

2010-04-18 Thread Raj
Thanks again, yes you are right, the ping cannot find the host. Sorry to have wrote to you directly and thanks for your help. My apologies. On 18 Apr, 18:30, Romain Pelisse bela...@gmail.com wrote: Raj, Romain Pelisse, Sorry to bother you with this one and wrote to you directly. Do not

[google-appengine] Pagination

2010-04-18 Thread kamathln
HI, I somehow have the feeling that for pagination, cursors, memcache and task queues can be used. But I can't get my head around to get the exact code. Any experts here who can help? The idea is like this .. First time the query runs do something like this q=Something.all() q.filter

[google-appengine] Pagination

2010-04-18 Thread kamathln
HI, I somehow have the feeling that for pagination, cursors, memcache and task queues can be used. But I can't get my head around to get the exact code. Any experts here who can help? The idea is like this .. First time the query runs do something like this q=Something.all() q.filter

[google-appengine] Re: Pagination

2010-04-18 Thread kamathln
On Apr 18, 10:33 am, kamathln kamat...@gmail.com wrote: the task could do something like this : q=soemthing.all() if cursor:    q.with_cursor(cursor) q.limit(20) next_cursor=q.cursor() add the cursor to cache with unique session/query id rinse, repeat till satisfied. Fix: --

[google-appengine] datastore design for hierarchical data.

2010-04-18 Thread gops
hi , i am designing a simple project based to do list. the idea is to define tasks under project ( no workflow - just task is completed or not is required. ) in a hirarchial way. i.e. each task has multiple task and that task may have other multiple task. a project can be said to be completed if

[google-appengine] Re: datastore design for hierarchical data.

2010-04-18 Thread gops
one idea is to store both , reference value of project as well as reference value of parent task in a child task. ( or referencelist property ?? -- in that case , is it guranteed in appengine to preserve list sequence ?? ) On Apr 18, 5:29 pm, gops patelgo...@gmail.com wrote: hi , i am designing

Re: [google-appengine] datastore design for hierarchical data.

2010-04-18 Thread Jaroslav Záruba
How about updating all ancestors on task status change? That way you wouldn't need to find all the children. On Sun, Apr 18, 2010 at 2:29 PM, gops patelgo...@gmail.com wrote: hi , i am designing a simple project based to do list. the idea is to define tasks under project ( no workflow - just

[google-appengine] Re: datastore design for hierarchical data.

2010-04-18 Thread Tim Hoffman
Here is the approach I would probably take unless you have many hundreds of child tasks. I would keep a list of keys of all children of each project/task. (You can then do a db.get and get all immediate children with single call) and each child has a reference to it's parent. In addition in each

[google-appengine] Re: Google Data API to talk to App Engine Service

2010-04-18 Thread mandar khadilk
Two diff ways can be used. 1. Google Account auth. There is a simple example somewhere on the tutorial on this. Should be easy. 2. Another way (which I am using as not all my users have google account), is to create local User account and hash of a password. Only client knows the password. Then

[google-appengine] Re: Appstats caused java OutOfMemoryError - heap

2010-04-18 Thread aloo
I'm experiencing the same issue - were you able to resolve? On Mar 31, 5:17 pm, Jake jake.pier...@gmail.com wrote: I have a rather large and intense sorting process that runs periodically.  When I enabled Appstats, this process started to fail with the following trace. When I disabled

[google-appengine] Re: Incoming email bounced

2010-04-18 Thread Wooble
On Apr 16, 10:37 pm, David Richardson channel...@gmail.com wrote: I have a trivial test app to receive and process inbound email. Here's the app.yaml file: application: mailindb version: 1 runtime: python api_version: 1 inbound_services: - mail handlers: - url: .*   script:

[google-appengine] Mail to an Admin

2010-04-18 Thread prgmratlarge
I would like to send an email to just one of my admin emails, and I want it to come off the admin email quota, as opposed to the normal quota. Both of the following possibilities failed: * Sending a regular email to the admin's email address still resulted in me being charged through the regular

[google-appengine] taskqueue.add Invalid arguments: queue_name

2010-04-18 Thread Jay
Has anyone had issues with the queue_name keyword argument to taskqueue.add? -- 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 unsubscribe from this group, send email

[google-appengine] Datastore Viewer + lists?

2010-04-18 Thread gemma
Hello chaps I have a persistent class which has a ListString which is marked @Persistent. I get no errors when persisting/updating the object in the datastore, but the local datastore viewer shows nothing in the column which corresponds to the ListString field. Is this normal, or is something

[google-appengine] Comcast not accepting outgoing emails

2010-04-18 Thread emur...@conceptuamath.com
I have a domain registered on Godaddy, and added to Google Apps. Through Google Apps, i added my AppEngine application as service. Ive setup the DNS records to server www from Appengine, this works well. I've added the SPF record to my DNS records on Godaddy based on this article:

[google-appengine] Macro question about getting video conference functionality in a custom Web App

2010-04-18 Thread Keller
Hi all, I'm working with a few friends to design a desktop client that will have Skype-like functionality (think Chat roulette). We are planning on leveraging the App Engine to build it since we are so much more familiar with web programming anyway, then we're going to package it as a desktop

[google-appengine] Re: Google Data API to talk to App Engine Service

2010-04-18 Thread formtester
Sorry, I guess I was referring to the wrong things. Instead of authentication, I actually wanted to do authorization, so that I can access the data the user have stored in Google applications. In my case, I wanted to access their App Engine data (such as the application IDs that they have, etc2).

Re: [google-appengine] Mail to an Admin

2010-04-18 Thread djidjadji
Add part of the required admin email address to the subject line and the app name and setup filters to reject the mail not intended for you as admin for this app Subject: [App-Select-yossie] Some Error filter 1: Accept all mail with [App-Select-yossie] in subject filter 2: Reject all mail with

[google-appengine] Re: Mail to an Admin

2010-04-18 Thread prgmratlarge
Yes, but that means fixing things on the client side. For each admin, this needs to be configured. There's gotta be a way to do this on the appengine side... On Apr 18, 7:21 pm, djidjadji djidja...@gmail.com wrote: Add part of the required admin email address to the subject line and the app

[google-appengine] Re: taskqueue.add Invalid arguments: queue_name

2010-04-18 Thread Jay
I can answer my own question on this one. The docs are a little confusing it seems to me. They seem to suggest that one can pass queue as a kw to taskqueue.add. What you have to do if you want to do this ... apparently ... is create an instance of Task and THEN use task.add (queue_name='foo'). On

[google-appengine] Limiting Cron jobs by time of day

2010-04-18 Thread Greg Tracy
Is there a syntax for cron jobs that limits when they run? For example, can I specify that a cron job run every every hour between 9am and 9pm? schedule: every 1 hour [except 10pm-8am] Is there a different, verbose syntax that lists every time it runs rather than using some kind of exception

[google-appengine] Re: Outbound email failure today

2010-04-18 Thread Greg Tracy
This is still an issue for me... On Apr 17, 7:26 am, toh momot...@gmail.com wrote: Not a help, but I just wanted to say that I am having the same issue... Greg Tracy greg.tr...@att.net wrote: I had the same problem again today... There haven't been any code changes, and not all

[google-appengine] Re: Limiting Cron jobs by time of day

2010-04-18 Thread Tristan
off the top of my head.. you could define a cron job for every hour 9am, 10am, 11am, 12am with different names like job-9, job-10, job-11 but have them all point to the same url to initiate the cron job. On Apr 18, 11:24 pm, Greg Tracy greg.tr...@att.net wrote: Is there a syntax for cron jobs