[appengine-java] Re: Data Store Intro Broken?

2009-09-11 Thread Jason (Google)
Hi James. If you right-click on your project and click Properties, do you see a valid SDK selected under Google - App Engine? If so, can you list the JAR files under your war/WEB-INF/lib directory and provide any other relevant output? Is Eclipse having trouble resolving your imports (i.e. they're

[appengine-java] Re: Regarding reference guides for developing sample applications

2009-09-11 Thread Jason (Google)
All of our documentation is located at http://code.google.com/appengine/docs/. You can find a getting started guide for Java at http://code.google.com/appengine/docs/java/gettingstarted/ and more detailed information for each App Engine service in the links on the left. - Jason On Wed, Sep 9,

[appengine-java] Re: Problem saving an object using makePersistent

2009-09-11 Thread Jason (Google)
You shouldn't need the @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) line since you're using a key name and not a String-encoded ID. The only thing that looks suspicious is your pmf object. The best practice is to use a PersistenceManagerFactory singleton as documented at

[appengine-java] Re: regording to change the port number

2009-09-11 Thread Jason (Google)
All App Engine documentation is at http://code.google.com/appengine/docs/, including a Getting Started Guide for Java at http://code.google.com/appengine/docs/java/gettingstarted/. - Jason On Thu, Sep 10, 2009 at 2:51 AM, anu nimmala anunimmala.nimm...@gmail.comwrote: Hi sreeekanth, So nice

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

2009-09-11 Thread Jason (Google)
If you're subclassing SimpleFormController, you can also override the initBinder method in your custom classes directly. e.g.: @Override protected void initBinder(HttpServletRequest request, ServletRequestDataBinder binder) throws Exception { binder.registerCustomEditor(String.class, new

[appengine-java] Re: makePersistent fails silently

2009-09-11 Thread Jason (Google)
Hi Ken. This is a known issue -- one-to-many owned relationships of the same kind aren't persisted correctly. We do plan to address this particular issue in a forthcoming update. In the meantime though, you can look into using unowned relationships (list of keys) instead which should work. -

[appengine-java] Re: Sending mail with the mail api

2009-09-11 Thread Jason (Google)
); } catch (AddressException e) { log.error(address error sendingmail, e) } catch (MessagingException e) { log.error(messaging exception sendingmail, e) } } } On Aug 20, 8:48 pm, Jason

[appengine-java] Re: Updating detached objects only works when fetched within a transaction (JDO)

2009-09-11 Thread Jason (Google)
am sure it is a little thing but I can not figure it out. Do you have a hint for me? Thank you, Tobias On Sep 5, 1:56 am, Jason (Google) apija...@google.com wrote: I can see where our documentation is misleading about this topic, and I'm working to get this updated. - Jason

[appengine-java] Re: URLFetching is failinging

2009-09-11 Thread Jason (Google)
Which URL are you using? The above code is working for me. You can go ahead and disregard the getResponseBody warning -- it shouldn't affect the response from being returned to your app. - Jason On Wed, Sep 9, 2009 at 1:22 PM, Raghu visuma...@gmail.com wrote: Hi ALL, I'm just trying to

[appengine-java] Re: Session destruction events, API availability therein

2009-09-11 Thread Jason (Google)
$000 (HashSessionManager.java:36) at org.mortbay.jetty.servlet.HashSessionManager$1.run (HashSessionManager.java:144) at java.util.TimerThread.mainLoop(Unknown Source) at java.util.TimerThread.run(Unknown Source) On Sep 11, 11:37 am, Jason (Google) apija...@google.com wrote

[google-appengine] View this page Google App Engine Open Source Projects

2009-09-11 Thread Jason (Google)
Added AEJ Tools Click on http://groups.google.com/group/google-appengine/web/google-app-engine-open-source-projects - or copy paste it into your browser's address bar if that doesn't work. --~--~-~--~~~---~--~~ You received this message because you are

[appengine-java] Re: are quotas per Application or total?

2009-09-10 Thread Jason (Google)
All quotas are per application, which is why you're only limited to creating a certain number of applications by default. - Jason On Tue, Sep 8, 2009 at 3:02 PM, BigMax mikhail.gar...@gmail.com wrote: It is not clear from documentation, the quotas imposed on my account, are they

[appengine-java] Re: Task Queue Limits

2009-09-10 Thread Jason (Google)
Hi Sven. We're planning to increase the quota for applications with billing enabled soon and may eventually make it a billable quota. If you need more task queue insertions in the meantime, please file a request for additional quota:

[appengine-java] Re: Can I provide a web service using Google App Engine for java?

2009-09-10 Thread Jason (Google)
My last reply may have been inappropriately filtered. Here it is again: The only SOAP web services solution compatible with App Engine (that I'm aware of) is located at http://code.google.com/p/sfdc-wsc/. Check the Downloads tab for a pre-built JAR that should work out-of-the-box with App Engine.

[appengine-java] Re: Is it possible to write a proxy using servlet in GAE?

2009-09-10 Thread Jason (Google)
What do you see when you go to appid.appspot.com:80 directly in the browser? Do you see the header information printed out or do you see a static file like index.html? If you change the URL pattern, say /proxy instead of / (i.e. http://appid.appsot.com:80/proxy), does it work? - Jason On Wed,

[appengine-java] Re: JDO: Modification of collections in transaction fails

2009-09-09 Thread Jason (Google)
Can you paste in one of your approaches that didn't work? This will help me determine whether it's a legitimate bug or whether our documentation needs a new example. Thank you, - Jason On Tue, Sep 8, 2009 at 1:13 AM, dflorey daniel.flo...@gmail.com wrote: Hi, simple question: How can I

[appengine-java] Re: deploy a java web service application on Google App Engine.

2009-09-09 Thread Jason (Google)
You may be able to use Restlet or the Force.com Web Service Connector to achieve what you're looking for. http://groups.google.com/group/google-appengine-java/web/will-it-play-in-app-engine - Jason On Mon, Sep 7, 2009 at 2:56 AM, shradha shradh...@gmail.com wrote: How to deploy a java web

[appengine-java] Chat Time transcript for September 2, 2009

2009-09-08 Thread Jason (Google)
Last Wednesday, the App Engine team hosted the latest session of its bimonthly IRC office hours. A transcript of the session and a summary of the topics covered is provided below. The next session will take place on Wednesday, September 16th from 9:00-10:00 a.m. PDT in the #appengine channel on

[appengine-java] Re: JDO BUG !?

2009-09-08 Thread Jason (Google)
It's hard to say without seeing your query. I realize you're using a wrapper, but the JDO query itself should only be a few lines of code -- can you post it? - Jason On Fri, Sep 4, 2009 at 4:01 AM, Cornel corneliu.lupu...@gmail.com wrote: Hello! I have some objects in the database that have

[appengine-java] Re: How to make a query using low level API using the 'key' property?

2009-09-08 Thread Jason (Google)
A key is a complex object -- you can't query on it using a simple string literal. Also, you shouldn't be changing an entity's key after it's persisted -- once a key is set, that key is associated with the entity for its lifetime. If you want to query by key, you should use the __key__ syntax and

[appengine-java] Re: Java memcache increment with initial value

2009-09-08 Thread Jason (Google)
Hi Vince. I'm pretty certain that the Python method is for convenience and not necessarily any more efficient than the three calls you would have to make with the Java API. Feel free to do your own benchmarking. - Jason On Fri, Sep 4, 2009 at 12:27 PM, Vince Bonfanti vbonfa...@gmail.com wrote:

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

2009-09-08 Thread Jason (Google)
Hi David. I believe this is expected behavior -- unindexed properties, including Text, Blob, and reference properties as well as descendants (PrivilegedUser in this case) are not retrieved by default. There is an easier way to add a field to the default fetch group: @Persistent(defaultFetchGroup

[appengine-java] Re: JDO Relationships (Primary key for object of type XXX is null)

2009-09-08 Thread Jason (Google)
Can you post your full stack trace? Does this error get generated with the makePersistent call or some other call? Your sample looks relatively straightforward aside from your employee instance's masterData field -- since you're setting up an owned relationship with the data field, why do you

[appengine-java] Re: Bulk writes to datastore

2009-09-08 Thread Jason (Google)
all of the entities have to be in the same entity group? Vince On Fri, Sep 4, 2009 at 8:24 PM, Jason (Google)apija...@google.com wrote: Batch puts are supported, yes, and as of yesterday's release, calling makePersistentAll (JDO) and the equivalent JPA call will take advantage

[appengine-java] Re: is not persistable

2009-09-08 Thread Jason (Google)
Make sure to close your PersistenceManager instance in getCategories(). Are you seeing the original error or a different stack trace? - Jason On Sun, Sep 6, 2009 at 7:06 AM, Bob L. bob.net2...@gmail.com wrote: Oh mine! It occurred again. JDO looks quite fragile. Is there any wrong with

[appengine-java] Re: 500 Internal Server Error when uploading to GAE

2009-09-08 Thread Jason (Google)
How often are you seeing this? Is there any discernible pattern when this occurs, e.g. after adding a new static file or updating a large class/JSP, changing a version, certain time of day, etc.? Also, what is your application's ID? - Jason On Sun, Sep 6, 2009 at 12:19 PM, barak

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

2009-09-08 Thread Jason (Google)
http://groups.google.com/group/google-appengine-java/browse_thread/thread/e881ba0220ed8e9a/5a46b73f435f342a Please try not to double-post in the future. Thanks, - Jason 2009/9/6 Zhi Le Zou zouzh...@gmail.com Hi, I have a class Foo defined as below: public

[appengine-java] Re: QueueFactory.getQueue( String )

2009-09-08 Thread Jason (Google)
Hi Vince. I think this sounds reasonable. Please open a new issue. - Jason On Sat, Sep 5, 2009 at 11:48 AM, Vince Bonfanti vbonfa...@gmail.com wrote: I found the answer to this: the Queue.add() method throws IllegalArgumentException if the specified queue isn't configured (BTW, the message

[appengine-java] Re: confuse on Whitelist

2009-09-08 Thread Jason (Google)
Your applications will run if they import java.lang.Thread but an exception will be thrown if your applications attempt to spawn a new thread. - Jason On Sun, Sep 6, 2009 at 9:07 AM, asianCoolz second.co...@gmail.com wrote: I saw white list

[appengine-java] Re: Problem with encoding on production environment

2009-09-08 Thread Jason (Google)
I don't have a good test case on-hand to reproduce this with, unfortunately. Are you seeing any exceptions in your logs? I ask because I usually pass the string UTF-8 into InputStreamReader whereas you're passing in utf8 -- it's possible (probable?) that both are supported, but the documentation

[appengine-java] Re: Can I provide a web service using Google App Engine for java?

2009-09-08 Thread Jason (Google)
The only SOAP web services solution compatible with App Engine (that I'm aware of) is located here: http://code.google.com/p/sfdc-wsc/ Check the Downloads tab for a pre-built JAR that should work out-of-the-box with App Engine. - Jason On Mon, Sep 7, 2009 at 3:52 AM, shradha

[appengine-java] Re: JDO Sequences in AppEngine

2009-09-08 Thread Jason (Google)
You may also want to look into sharded counters, which is the approach we've traditionally recommended for implementing hit counters or other monotonically increasing data: http://code.google.com/appengine/articles/sharding_counters.html The article is in Python, but there is a Java demo

[appengine-java] Re: GWT RPC Problem with JDP

2009-09-08 Thread Jason (Google)
You can't pass a query result directly to GWT because the object that contains the results does not implement Serializable. For a workaround, see the last post in this thread: http://groups.google.com/group/google-appengine-java/browse_thread/thread/bce6630a3f01f23a - Jason On Mon, Sep 7, 2009

[google-appengine] Chat Time transcript for September 2, 2009

2009-09-08 Thread Jason (Google)
Last Wednesday, the App Engine team hosted the latest session of its bimonthly IRC office hours. A transcript of the session and a summary of the topics covered is provided below. The next session will take place on Wednesday, September 16th from 9:00-10:00 a.m. PDT in the #appengine channel on

[appengine-java] Re: Confirmation of Google Multi-Tenant app policy

2009-09-04 Thread Jason (Google)
Currently, registering multiple IDs for the same application is a violation of the App Engine terms of service. However, we do have an exception policy in place for developers with a multi-tenant strategy, and we handle these on a case-by-case basis. To begin, please file a new multi-instance

[appengine-java] Re: Inconsistence between how app-engine sorts string encoded-keys and java method String.compareTo()

2009-09-04 Thread Jason (Google)
Yes, encoded String keys are designed to be opaque. But it is possible to compare two Key objects directly: http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/Key.html#compareTo%28com.google.appengine.api.datastore.Key%29 - Jason On Tue, Sep 1, 2009 at 11:38

[appengine-java] Re: xmpp support

2009-09-04 Thread Jason (Google)
XMPP support was added in the 1.2.5 release announced yesterday: http://code.google.com/appengine/docs/java/xmpp/ - Jason On Wed, Sep 2, 2009 at 1:47 AM, asianCoolz second.co...@gmail.com wrote: May i know when GAE mentioned will support XMPP for next version of GAE, does that mean, it will

[appengine-java] Re: OpenID Consumer

2009-09-04 Thread Jason (Google)
I haven't used any myself, but this page has a list of relevant Java libraries: http://wiki.openid.net/Libraries Also, the OpenSocial client library for Java, which is compatible with App Engine, uses the open source OAuth library available at http://code.google.com/p/oauth for request signing

[appengine-java] Re: Problem while using Gilead for Hibernate and Gwt

2009-09-04 Thread Jason (Google)
I'll need to see a snippet of your server-side code that's failing to get a better understanding of the error's cause. But if you're trying to use Hibernate/MySQL directly, this could be the issue since Hibernate is not supported:

[appengine-java] Re: self join in google app engine

2009-09-04 Thread Jason (Google)
Hi Midhat. In the thread that leszek links to, I discuss this bug in a little more detail -- it seems you can't persist objects having an owned one-to-many relationship with objects of the same kind. Owned one-to-one relationships seem to work, however. As a workaround, you can use an unowned

[appengine-java] Re: how to query to implement auto suggest query...

2009-09-04 Thread Jason (Google)
There are numerous tutorials out in the wild for this. I don't know of any App Engine-specific examples, but they shouldn't be too hard to find. Since App Engine doesn't currently support full-text search, you'll only be able to match entities on their opening characters.

[appengine-java] Re: how to query to implement auto suggest query...

2009-09-04 Thread Jason (Google)
By they shouldn't be too hard to find, I meant that any examples you find shouldn't be too hard to tailor for App Engine, even if they are RDBMS-based. - Jason On Fri, Sep 4, 2009 at 4:06 PM, Jason (Google) apija...@google.com wrote: There are numerous tutorials out in the wild for this. I

[appengine-java] Re: HttpSession handling question

2009-09-04 Thread Jason (Google)
Hi Marton. Yes, you need to explicitly call setAttribute() when you modify any object in the session. Otherwise, the object won't be updated in App Engine's cache/datastore, which are the mechanisms it uses to back sessions - Jason On Thu, Sep 3, 2009 at 2:11 AM, Marton Papp mapr...@gmail.com

[appengine-java] Re: Is there limitation of size of webapp uploaded to GAE?

2009-09-04 Thread Jason (Google)
On Thu, Sep 3, 2009 at 5:47 AM, barak barak.ya...@gmail.com wrote: If I understood correctly - static files are the files that kept under the war directory. What are the resources files? On Sep 2, 7:19 pm, Jason (Google) apija...@google.com wrote: Static files can be up to 10 MB each

[appengine-java] Re: querying using ANCESTOR IS

2009-09-04 Thread Jason (Google)
I'm glad you got it working using the low-level API. If you ever want to return to JDO, see the last post in this thread, which describes how to perform ancestor queries: http://groups.google.com/group/google-appengine-java/browse_thread/thread/97ba3209ec6a65de - Jason On Thu, Sep 3, 2009 at

[appengine-java] Re: GAE takes 28 sec to read just 200 records

2009-09-04 Thread Jason (Google)
Based on one of your recent posts, it seems like multiple PersistenceManagerFactory instances are being created by different classloaders. Since this is an expensive operation, this could explain why you're experiencing such slow performance. Did you follow Toby's suggestion in the last post?

[appengine-java] Re: Bulk writes to datastore

2009-09-04 Thread Jason (Google)
Batch puts are supported, yes, and as of yesterday's release, calling makePersistentAll (JDO) and the equivalent JPA call will take advantage of this support (previously, you had to use the low-level API). Two quick notes: 1) All of the entities that you're persisting should be in separate

[appengine-java] Re: JDO queries on owned/unowned one-to-many relationships

2009-09-04 Thread Jason (Google)
Owned relationships uses entity groups behind-the-scenes: http://code.google.com/appengine/docs/python/datastore/keysandentitygroups.html#Entity_Groups_Ancestors_and_Paths An entity group is basically a hierarchy of entities, with one entity as the root and all other entities below this root.

[appengine-java] Re: bigtable allow external connection?

2009-09-02 Thread Jason (Google)
In general, you'll have to set up an HTTP-based interface to your data (e.g. handlers to create, retrieve, update, etc.) -- you won't be able to connect to and interface directly with the datastore service in particular. That said, you might find the remote_api module (Python-only, for now)

[appengine-java] Re: http duration 30seconds

2009-09-02 Thread Jason (Google)
Yes, as long as you can retrieve if from the datastore within 30 seconds. Remember that each datastore entity can be at most 1 MB, so you'll have to split large files into several entities and stitch them together on retrieval. - Jason On Mon, Aug 31, 2009 at 6:17 PM, CoolDude

[appengine-java] Re: Unowned relationships

2009-09-02 Thread Jason (Google)
I haven't tested this, but I believe this should work, yes. Let me know if/when you try it. As an aside, the object you return here won't actually be detached since you're not using transactions (and hence, not committing). You'll want to use something like the following or use a transaction.

[appengine-java] Re: Sign in to security constraint enabled page programmatically

2009-09-02 Thread Jason (Google)
You will have to use the ClientLogin API to get a token and use the token to get a cookie from App Engine which you can then use for all subsequent requests. The general process (for Python) is written up here:

[appengine-java] Re: java.lang.NoClassDefFoundError

2009-09-02 Thread Jason (Google)
Please post the full stack trace. - Jason On Mon, Aug 31, 2009 at 9:17 PM, g gigi...@gmail.com wrote: I use freemarker as my template engine. I have the freemarker.jar under the \war\WEB-INFO\lib from this morning all my pages return 500 error: java.lang.NoClassDefFoundError: Could not

[appengine-java] Re: When create a multiple module entry in a project?

2009-09-02 Thread Jason (Google)
I'm not sure what you mean by module entry. Can you explain what you're trying to do in more detail? If you're new to server-side programming, you will probably find the App Engine tutorial helpful: http://code.google.com/appengine/docs/java/gettingstarted/ - Jason On Tue, Sep 1, 2009 at 8:56

[appengine-java] Re: how to serialize correctly the VectorMyType member in @PersistenceCapable class

2009-09-02 Thread Jason (Google)
Hi Dmitry. After fetching the MyClassA entity, is the Vector object empty (i.e. the Vector has been instantiated but has 0 items) or null? - Jason On Tue, Sep 1, 2009 at 9:28 AM, Dmitry Anipko dmitry.ani...@gmail.comwrote: Hi, I'm stuck with an issue I hope someone can help with (googling

[appengine-java] Re: test unit doesn't work more

2009-09-02 Thread Jason (Google)
If you're running JUnit tests that rely on the local datastore, you have to add these JARs to your build path manually. - Jason On Tue, Sep 1, 2009 at 4:02 PM, OliBye oliver@gmail.com wrote: I also had this issue using the Eclipse plug-in. This does not appear to be the original issue

[appengine-java] Re: Errors while uploading the application

2009-09-02 Thread Jason (Google)
What is your application's ID? I'm guessing it isn't 'example'. :) Which version of the SDK are you using? Are you trying to deploy from Eclipse or the command line? Are you seeing a more descriptive error, and if so, can you paste it here? - Jason On Tue, Sep 1, 2009 at 7:13 AM, Mita Sakhalkar

[appengine-java] Re: Max Read / Queries per Second in Datastore?

2009-09-01 Thread Jason (Google)
Hi David. There is a higher limit on write throughput because of the journals and other metadata for concurrency control, etc. There are no analogous limitations for reads which can be performed in parallel, so you shouldn't see any bottlenecks caused by concurrent reads. - Jason On Sun, Aug 30,

[appengine-java] Re: is not that of an entity but needs to be for this operation when persist entity

2009-08-31 Thread Jason (Google)
Can you post some more context? I'm specifically interested in seeing how you're building your oggetto object (assuming it's of class Log) and how you're getting a reference to your entityManagerSession. Also, since you're using JPA, you shouldn't be calling flush outside of a transaction. -

[appengine-java] Re: deployment issues

2009-08-31 Thread Jason (Google)
Can you try re-deploying your application with your updated index files? There was an issue with indexing tasks for a short period on Friday, but these were resolved later that same day. - Jason On Thu, Aug 27, 2009 at 10:56 PM, Vik vik@gmail.com wrote: Hie When i am trying to deploy my

[appengine-java] Re: Redeployment/Reloading of Java classes in SDK

2009-08-31 Thread Jason (Google)
Please file a new feature request: http://code.google.com/p/googleappengine/issues/list - Jason On Sat, Aug 29, 2009 at 10:38 AM, Klaus klaus.rog...@web.de wrote: Ok, it works fine. But now I need to touch appengine-web.xml for a redeploy... This is about the same effort as stopping and

[appengine-java] Re: Google Maps API Key not working with URL fetch (for HTTP geocode request)

2009-08-31 Thread Jason (Google)
Hi Mike. I have this set up for my personal application and it works using the same key for the client and server. Hopefully someone in the Maps API group can explain what's happening with your app in particular. The only issue I've run into is when adding a custom domain -- your requests will

[appengine-java] Re: Datanucleus fails when commiting non-existing transaction

2009-08-28 Thread Jason (Google)
and the same way. If the above log does not say enough, I will have to investigate more. On Aug 27, 6:49 am, Jason (Google) apija...@google.com wrote: If I'm reading your logs correctly, you should be able to add both entities since you're supposedly not operating inside of a transaction

[appengine-java] Re: Cron scheduling and versions

2009-08-28 Thread Jason (Google)
I fairly certain that cron will only hit the defined handler for the default version. - Jason On Thu, Aug 27, 2009 at 1:35 AM, Martyn martyn.cutc...@googlemail.comwrote: I have been thinking about using versions to allow multiple concurrent JVMs. In particular I was planning to use one

[appengine-java] Re: How to upload larger than than 1M size file

2009-08-28 Thread Jason (Google)
You should be able to upload a file up to 10 MB (the maximum request size) but you won't be able to persist it in the datastore unless you split the file into 1 MB chunks (the maximum entity size). You can write the code to do this yourself, but you may also want to look at existing abstraction

[appengine-java] Re: Relationships

2009-08-27 Thread Jason (Google)
You cannot establish an owned relationship between two objects after the child object (User in this case) has already been persisted. This is because the parent key is embedded inside the child key, and keys can't be modified once an entity is persisted in the datastore. You can, however, use an

[appengine-java] Re: java.rmi.server.UID Error

2009-08-26 Thread Jason (Google)
on the link here : http://tech.groups.yahoo.com/group/jena-dev/message/39575 -Ic On Aug 12, 5:19 am, Jason (Google) apija...@google.com wrote: Can you detail the fix? I'd love to add your pointer(s) to the Will it play in App Engine wiki page: http://groups.google.com/group/google-appengine

[appengine-java] Re: Tutorial Java em Português

2009-08-26 Thread Jason (Google)
Most of the App Engine documentation should be available in Portuguese. Here is the Getting Started Guide: http://code.google.com/intl/pt-BR/appengine/docs/java/gettingstarted/ - Jason 2009/8/25 Almir F. Rivas Jr rivasal...@gmail.com Pessoal, Alguém pode me ajudar indicando um tutorial onde

[appengine-java] Re: Owned relationship with generated parent key

2009-08-25 Thread Jason (Google)
Hi John. No, you can persist both entities in a single transaction. Just follow the example in the documentation: http://code.google.com/appengine/docs/java/datastore/relationships.html#Owned_One_to_One_Relationships If you create new ContactInfo and Employee objects, then associate the objects

[appengine-java] Re: How to model this scenario

2009-08-25 Thread Jason (Google)
in original post). Is this the best way? Just felt a bit ugly thats why I wanted to double check. Constructing the key by concatenating keys of A and B will ensure that I dont have multiple of Relationships between A and B. Thanks. On Thu, Aug 20, 2009 at 12:17 PM, Jason (Google) apija

[appengine-java] Re: Are 1.2.2 sdk jars available in a public maven repository?

2009-08-25 Thread Jason (Google)
It looks like you already found this thread: http://groups.google.com/group/google-appengine-java/browse_thread/thread/6130b425d90e0e6a In short, no, Google does not provide a Maven repository although there are user-provided Maven descriptors available. - Jason On Sat, Aug 22, 2009 at 12:45

[appengine-java] Re: DatastoreService.put(IterableEntity) success/failure indicators

2009-08-25 Thread Jason (Google)
Hi Vince. If the put completes, without throwing an exception, all entities are guaranteed to be persisted to the datastore. But if you don't use transactions and the put call fails, some entities may be written. Using transactions allows you to rollback in case the call fails. - Jason On Fri,

[appengine-java] Re: GAE Roadmap: Hibernate, sql etc

2009-08-21 Thread Jason (Google)
Hi Marc. Yes, there is a product roadmap available: http://code.google.com/appengine/docs/roadmap.html As leszek and Andy have said, App Engine is a fundamentally different beast than your typical J2EE server + RDBMS and you will have to compromise some convenience in order to achieve the level

[appengine-java] Re: how to store raster data

2009-08-21 Thread Jason (Google)
Hi Ivan. Currently, any data written to App Engine's datastore can be at most 1 MB, so if you're planning to store large files in App Engine, you'll have to split them into 1 MB chunks and store these chunks as separate entities. There are third-party abstraction frameworks that do this for you,

[appengine-java] Re: Adding or deleting a property of an entity...

2009-08-20 Thread Jason (Google)
Adding is fairly easy as leszek notes. Removal is harder because removing a field from a JDO/JPA class does not delete the data stored under the corresponding property in the datastore. You will have to write a script to explicitly delete this data if you don't want it to continue counting against

[appengine-java] Re: Sending mail with the mail api

2009-08-20 Thread Jason (Google)
Did you check your application's logs to see if there were any errors sending the messages? What code were you using to send the emails? - Jason On Wed, Aug 19, 2009 at 7:47 AM, DrMorten morten.dalgaard.niel...@gmail.com wrote: I sent about 7 emails last night to my own email address. They

[appengine-java] Re: Java heap space on batch insert

2009-08-20 Thread Jason (Google)
different mechanisms to send data to datastore? Can I speed up my application by using low-level api? Thank you On Aug 17, 2:45 pm, Jason (Google) apija...@google.com wrote: Naturally, there will be some distinctions between the services/components used in the production environment and those

[appengine-java] Re: datastore delete error

2009-08-20 Thread Jason (Google)
There was some extended latency on Tuesday after the maintenance period which likely explained the errors you were seeing earlier. Are you back up to 200 keys? Given Don's calculations, if each key required 9 ms of time, then you should be able to scale up to 500 keys, so there is no

[appengine-java] Re: How are people persisting data for a user?

2009-08-20 Thread Jason (Google)
Hi AJG. I imagine most people are using the User object or email address as they did before the unique user ID was available in Python. It should be coming for Java also. - Jason On Wed, Aug 19, 2009 at 7:31 PM, AJG ajgreg...@gmail.com wrote: From the docs it sounds like the User object is

[appengine-java] Re: Cold start in google app engine java

2009-08-20 Thread Jason (Google)
In general, yes -- when you freshly deploy an application and when your application hasn't been accessed for a period of time and all instances have been spun down. - Jason On Wed, Aug 19, 2009 at 10:33 PM, victor victoraco...@gmail.com wrote: I am guessing it happens when you update your app

[google-appengine] Chat Time transcript for August 19, 2009

2009-08-20 Thread Jason (Google)
This past Wednesday, the App Engine team hosted the latest session of its bimonthly IRC office hours. A transcript of the session and a summary of the topics covered is provided below. The next session will take place on Wednesday, September 2nd from 7:00-8:00 p.m. PDT in the #appengine channel

[appengine-java] Re: class evolution

2009-08-18 Thread Jason (Google)
Also make sure that you use Integer instead of int, Double instead of double, etc. since the latter cannot be set to null. Mujtaba is right -- App Engine's datastore is built on top of BigTable which you can think of (simplistically) as a large hash table, so you can freely add properties; these

[appengine-java] Re: grandson not deleted in cascading 1-M update

2009-08-17 Thread Jason (Google)
by setting the children property along the path and saving the root. Note that, in this way, the child that is excluded from children property of the root is deleted, while deeper level descendants are not. Sorry for my ignorance, but is this by design? Thanks, Ray On Aug 14, 2:47 am, Jason

[appengine-java] Re: Connect to google docs on behalf of user john....@domain.com

2009-08-17 Thread Jason (Google)
Hi Cornel. Have you raised this in the Documents List Data API discussion forum? One of the contributors on that list might be able to better explain why your authentication is failing and the CaptchaRequiredException is being thrown. - Jason On Fri, Aug 14, 2009 at 2:51 AM, Cornel

[appengine-java] Re: Please help - Strange exception thrown when do datastore query with GWT RPC call

2009-08-17 Thread Jason (Google)
Hi Zhile. The execute method returns a StreamingQueryResult instance which you can't pass back directly or you'll see the error that you indicated above. What you can do is create a new Collection instance (e.g. an ArrayList or Vector), iterate through the query results copying each item (T2

[appengine-java] Re: Client Error (400)

2009-08-17 Thread Jason (Google)
Hi Russell. It looks like you were able to deploy your application since this post. What was the issue? If you're still having problems, please say whether you tried deploying from Eclipse and/or the command line and provide the contents of your appengine-web.xml file. - Jason On Sat, Aug 15,

[appengine-java] Re: How to get started with Granite Data Service

2009-08-17 Thread Jason (Google)
Have you tried posting in the graniteds discussion group? http://tech.groups.yahoo.com/group/graniteds/ - Jason On Sun, Aug 16, 2009 at 11:19 PM, Capsicum annuum huayun...@gmail.comwrote: I want to build a flex project with GAE, and i want to use JDO Detach. My English is poor. It's Doc is

[google-appengine] Chat Time transcript for August 5, 2009

2009-08-12 Thread Jason (Google)
Last Wednesday, the App Engine team hosted the latest session of its bimonthly IRC office hours. A transcript of the session and a summary of the topics covered is provided below. The next session will take place on Wednesday, August 19th from 9:00-10:00 a.m. PDT in the #appengine channel on

[google-appengine] Re: DatastoreNeedIndexException: no matching index found.

2009-08-04 Thread Jason (Google)
Are you sure that this is the only query in your application? Do you have auto-generation of indexes enabled? By any chance, have you tried using the non-JDOQL syntax? Query query = pm.newQuery(Entry.class); ListEntry results = (ListEntry) query.execute(); - Jason On Sun, Aug 2, 2009 at 11:31

[google-appengine] Re: Doing Appengine settings programmatically

2009-07-17 Thread Jason (Google)
This might work for deployment, but there's currently no way of programatically obtaining an application ID. Your users would have to register an app ID and enter it along with their account credentials. That said, we actively discourage developers from requesting Google credentials from users.

[google-appengine] Chat Time transcript for July 15, 2009

2009-07-17 Thread Jason (Google)
This past Wednesday, the App Engine team hosted the latest session of its bimonthly IRC office hours. A transcript of the session and a summary of the topics covered is provided below. The next session will take place on Wednesday, August 5th from 7:00-8:00 p.m. PDT in the #appengine channel on

[google-appengine] Re: Querying for N random records on Appengine datastore

2009-07-10 Thread Jason (Google)
No, IDs are not guaranteed contiguous. In my sample application, my IDs routinely jump from 1, 2, 3, 1000 for a lot of my kinds, so you can't count on continuity. I generally like the custom ID solution based on a sharded counter. This should guarantee continuity if you use a transaction... see

[google-appengine] Chat Time transcript: July 2, 2009

2009-07-02 Thread Jason (Google)
Yesterday, the App Engine team hosted another block of its bimonthly IRC office hours. A transcript of the session and a summary of the topics covered is provided below. The next session will take place on Wednesday, July 15th from 9:00-10:00 a.m. PDT in the #appengine channel on

[google-appengine] Re: Server Error (500) while uploading index definitions (again)

2009-06-22 Thread Jason (Google)
Hi Costi. How many indexes are you trying to deploy? There is a hard limit of 100, and it looks like you're very close to this number. - Jason On Mon, Jun 22, 2009 at 5:44 AM, C Partac cpar...@gmail.com wrote: I have the same problem Server Error (500) on my applications cpedevtest01 and

[google-appengine] Re: Server Error (500) while uploading index definitions (again)

2009-06-22 Thread Jason (Google)
OK, I nudged your indexes into the error state and reset your Datastore Indices Count quota, but make sure not to upload more than 100 indexes or you may see this issue again. - Jason On Mon, Jun 22, 2009 at 10:29 AM, Jason (Google) apija...@google.comwrote: Hi Costi. How many indexes are you

[google-appengine] Re: Server Error (500) while uploading index definitions (again)

2009-06-19 Thread Jason (Google)
:15 pm, Jason (Google) apija...@google.com wrote: I'm sorry that your issue hasn't been resolved yet. Can you send me your application's ID also? Thanks, - Jason On Thu, Jun 18, 2009 at 11:38 AM, gae123 pa...@gae123.com wrote: Nick, the error persists. It has been 6 days

[google-appengine] Re: Server Error (500) while uploading index definitions (again)

2009-06-18 Thread Jason (Google)
I'm sorry that your issue hasn't been resolved yet. Can you send me your application's ID also? Thanks, - Jason On Thu, Jun 18, 2009 at 11:38 AM, gae123 pa...@gae123.com wrote: Nick, the error persists. It has been 6 days since my original posting and we have not made much progress. I

[google-appengine] Just released: Python SDK 1.2.3

2009-06-18 Thread Jason (Google)
A new release of the Python SDK was made available earlier today. In addition to oft-requested support for Django 1.0 and asynchronous URL Fetch, this release introduces the experimental Task Queue API, which allows you to perform offline processing on App Engine by scheduling bundles of work

[google-appengine] View this page Google App Engine Open Source Projects

2009-06-11 Thread Jason (Google)
Added two open source projects Click on http://groups.google.com/group/google-appengine/web/google-app-engine-open-source-projects - or copy paste it into your browser's address bar if that doesn't work. --~--~-~--~~~---~--~~ You received this message because

[google-appengine] Chat Time transcript: June 3, 2009

2009-06-04 Thread Jason (Google)
Yesterday, the App Engine team hosted another block of its bimonthly IRC office hours. A transcript of the session and a summary of the topics covered is provided below. The next session will take place on Wednesday, June 17th from 9:00-10:00 a.m. PDT in the #appengine channel on

<    1   2   3   4   5   >