[appengine-java] Re: Datastore: is numeric ID unique for all entities of one type?

2009-11-17 Thread K.Honsali
As for your main question, I assume from the API :: Key = A datastore GUID. A Key instance uniquely identifies an entity across all apps, and includes all information necessary to fetch the entity from the datastore with DatastoreService.get(Key). you can get an entity by key: Entity get(Key

[appengine-java] Discussion on will-it-play-in-app-engine

2009-11-17 Thread Dan Dubois
I have been trying to use Batik SVG Toolkit (http:// xmlgraphics.apache.org/batik/) to generate images on GAE with no luck. I get a ClassNotFoundError on org/w3c/dom/svg/SVGDocument. I have included ALL the Batik jars in my application but can't seem to locate which jar this class should be in.

[appengine-java] Re: Datastore: is numeric ID unique for all entities of one type?

2009-11-17 Thread Nacho Coloma
Try new KeyFactory.Builder(parentKind, id).addChild(childKind, id).getKey (); On Nov 16, 4:46 am, elvin e.v.c...@gmail.com wrote: Good day. As far as documentation states, The key value includes the key of the entity group parent (if any) and either the app-assigned string ID or the

[appengine-java] Re: Querying sub objects with JDOQL in GAE/J

2009-11-17 Thread leszek
It is not supported in Google App Engine JPA/JDO http://code.google.com/intl/pl/appengine/docs/java/datastore/usingjdo.html#Unsupported_Features_of_JDO Join queries. You cannot use a field of a child entity in a filter when performing a query on the parent kind. Note that you

[appengine-java] Re: case sensitivity

2009-11-17 Thread Kris
Thanks Rusty, I've already searched there and have seen the suggestions. I have been having a hard time believing that there is no way to do this when using google app engine but am more or less convinced at this point. On Nov 16, 6:06 pm, Rusty Wright rwright.li...@gmail.com wrote:

[appengine-java] Re: Task queue concurrency

2009-11-17 Thread James Cooper
As a follow up on this -- task queue throttles at queries per second, not dequeues per second. The current limit is 20 qps. You can't fool it by using long running request handlers. I tried it in production. Still looking for ways to get more than 20 qps for background jobs. Has anyone

Re: [appengine-java] Discussion on will-it-play-in-app-engine

2009-11-17 Thread Toby Reyelts
On Tue, Nov 17, 2009 at 7:02 AM, Dan Dubois uvico...@googlemail.com wrote: I have been trying to use Batik SVG Toolkit (http:// xmlgraphics.apache.org/batik/) to generate images on GAE with no luck. I get a ClassNotFoundError on org/w3c/dom/svg/SVGDocument. Perhaps you need the Java binding

[appengine-java] Relationship Problems...

2009-11-17 Thread bvkimball
I have read a lot of posts with people having trouble with accessing the child objects of their parent but i haven't found a solution to my problem. So i want to have Shared objects per Users. Such as: public class User { private Key key; private String name; private String email;

[appengine-java] Re: the question in ubuntu9.10 and eclipse 3.5

2009-11-17 Thread phpDays
I install eclipse 3.5.1 from aptitude repository and have install AppEngine. But I see error (opened bug on http://code.google.com/p/google-web-toolkit/issues/detail?id=4240). I also search libstrc but found this only: sudo aptitude search libstdc v libstdc++- dev - i libstdc+ +6

[appengine-java] XMPP getPresence response not valid?

2009-11-17 Thread timzon
Is anybody having problem with xmpp.getPresence not providing valid presence information for GTalk clients? Using very simple function to check the availability of a GTalk client: XMPPService xmpp = XMPPServiceFactory.getXMPPService(); if (xmpp.getPresence(agentJid).isAvailable()) {

[appengine-java] Configuring JSF 2.0 to run on Google App Engine

2009-11-17 Thread Denden Gajudo
I'm attempting to configure JSF 2.0 to run on Google App Engine using the following setup: Apache Xalan-J 2.9.0 Google AppEngine for Java SDK v1.2.5 Sun Java ServerFaces 2.0 FCS Unified Expression Language 1.1 API (el-api-1.1.jar) and Implementation (el-impl-1.1jar) I followed the procedure

[appengine-java] Exception When Uploading Application To AppEngine

2009-11-17 Thread luijar
I am beginning to see this problem when uploading my application to the AppEngine. Here is the stack trace: com.google.appengine.tools.admin.AdminException: Unable to update app: Error writing to server at com.google.appengine.tools.admin.AppAdminImpl.update (AppAdminImpl.java:62) at

Re: [appengine-java] Embedded objects come back null in unit tests

2009-11-17 Thread Ikai L (Google)
Nick, What's likely happening here is that the fields you need are being lazily loaded. Properties that aren't indexed like Text or Blobs are retrieved when you call the appropriate getter. For instance, if I have a model Car with a Text Description field, I would have to do this: // How to get

[appengine-java] Is AppEngine down? My site is super-slow, static resources not loading

2009-11-17 Thread Jim McCabe
My site was fine yesterday, but right now it's really slow and static resources like CSS files and images are not loading. Is anyone else experiencing this? My site is www.jmccabe.com/jim/ - Jim -- You received this message because you are subscribed to the Google Groups Google App Engine

[appengine-java] Re: Is AppEngine down? My site is super-slow, static resources not loading

2009-11-17 Thread Jim McCabe
Strange, now it's all good. But for a good 5-10 minutes, the site was unusable. Not just for me in Seattle either - my sister in New York had the same problem. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group,

Re: [appengine-java] Re: case sensitivity

2009-11-17 Thread Rusty Wright
Resistance is futile. Kris wrote: Thanks Rusty, I've already searched there and have seen the suggestions. I have been having a hard time believing that there is no way to do this when using google app engine but am more or less convinced at this point. On Nov 16, 6:06 pm, Rusty Wright

Re: [appengine-java] Relationship Problems...

2009-11-17 Thread Rusty Wright
You could have a class UserProject class UserProject { private Key userKey; private Key projectKey; } Then make User.projects a ListProject and fill it with their projects right after you fetch the User (and coat it with Collections.unmodifiableList() as a reminder that it should be

[appengine-java] Looking for Bulk Loader beta testers

2009-11-17 Thread Matthew Blain
Hi App Engine developers, We're working on some improvements and additions to the bulk loader to make it easier to move data between the App Engine Datastore and other data files you may have. If you're doing this right now, we're looking for some beta testers. Two specific issues we're addressing

[appengine-java] Re: Is AppEngine down? My site is super-slow, static resources not loading

2009-11-17 Thread Jim McCabe
Tried it again, two different requests to www.jmccabe.com timed out. -- 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

Re: [appengine-java] Re: Concurrency In Transaction

2009-11-17 Thread Rusty Wright
Is there some way to pause before retrying the database transaction? If you don't, then it seems to me that the processes that are banging into each other are going to keep failing. I'd like to add a pause for a random amount of time in the catch block. leszek wrote:

[appengine-java] Re: Is AppEngine down? My site is super-slow, static resources not loading

2009-11-17 Thread Jim McCabe
I have more information on this now. If I navigate to the active version from the App Engine control panel, it loads up super fast and works great. But the domain support from Google Apps is not working. I will file a ticket with them instead of treating this like a GAE issue. - Jim -- You

[appengine-java] Re: Concurrency In Transaction

2009-11-17 Thread ted stockwell
On Nov 17, 2:59 pm, Rusty Wright rwright.li...@gmail.com wrote: Is there some way to pause before retrying the database transaction?  If you don't, then it seems to me that the processes that are banging into each other are going to keep failing.  I'd like to add a pause for a random amount

[appengine-java] How to resize images with high quality?

2009-11-17 Thread sea
I resized images(.gif format) with App Engine for Java, ImagesService . Make them smaller. But I found the quality of resized image was much worse than I expected. Text on images was not clear. I alse resized them with PhotoShop. The quality of images which resized by PhotoShop are much better

Re: [appengine-java] Re: case sensitivity

2009-11-17 Thread Esteban Ignacio Masoero
Hi. I agree with Kris in that this feature is absolutely necessary. However, maybe this feature will be included in this other more general issue http://code.google.com/p/googleappengine/issues/detail?id=217 . Maybe someone from Google can tell us what's the best way to do it, or whether we can

Re: [appengine-java] Re: Concurrency In Transaction

2009-11-17 Thread Rusty Wright
Ah, thanks. So if I knew how many servers my cloud is made of then I should use that number for my MAX_RETRIES. ;-) I'm curious about how others are handling the exceptions. The JDOCanRetryException is subclassed by other exceptions that don't seem like things I'd want to retry, but perhaps

Re: [appengine-java] How to resize images with high quality?

2009-11-17 Thread Rusty Wright
Can you convert its format with the images service? Gif is 8 bits per pixel so if it's resizing it in that format I can understand why it would end up ugly (when it's merging pixels it's choosing the result color from the existing limited 256 color palette). If you can convert its format, try

Re: [appengine-java] Re: Concurrency In Transaction

2009-11-17 Thread Rusty Wright
I think my try/catch is missing a catch at the end: catch (final Throwable ex) { exception = ex; break; // fail } Rusty Wright wrote: Ah, thanks. So if I knew how many servers my cloud is made of then I should use that number for my

[appengine-java] Re: XMPP getPresence response not valid?

2009-11-17 Thread m seleron
Hi. Though it is likely already to have tried. If the state is [is not available] please invite it from GMailchat or GTalk to XMPP Addresses ([app...@appspot.com] or [anyth...@app-id.appspotchat.com],etc.) Please confirm Gtalk display that XMPP Addresses ([app...@appspot.com] or

[appengine-java] GAE/J with Flex Session

2009-11-17 Thread magic.yang
first request: login by username and pwd, and create the session _session = new FbdanciSession(); _session.setUser(user); FlexContext.getFlexSession().setAttribute(client, _session); second request: update the _session _session = FlexContext.getFlexSession().getAttribute(client);