Re: [google-appengine] Audio

2010-02-08 Thread Ikai L (Google)
You'll want to add it to our issues tracker and get as many folks to star it as possible: http://code.google.com/p/googleappengine/issues/list On Sat, Feb 6, 2010 at 12:43 PM, ProfessorMD rkc...@gmail.com wrote: Does Google App Engine have support for the Java Sound API? If not, how do we go

Re: [google-appengine] obsolete indexes

2010-02-08 Thread Ikai L (Google)
Have you tried the appcfg.py vacuum_indexes command yet? On Mon, Feb 8, 2010 at 10:59 AM, Satoshi satoshi.nakaj...@gmail.com wrote: I have an app on Google App Engine, which has evolved over time. As the result, a model Plan on the server has six indexes even though I need only four of them.

Re: [google-appengine] Re: 1.3.1 SDK Prerelease - help us verify

2010-02-08 Thread Ikai L (Google)
is inclusive or not. The performance of continuing the fetch from a cursor should be the same as the performance of the first entities you got from a query. On Mon, Feb 8, 2010 at 4:33 PM, Stephen sdea...@gmail.com wrote: On Feb 8, 7:06 pm, Ikai L (Google) ika...@google.com wrote

Re: [google-appengine] GAE/J recommended best practices.

2010-02-08 Thread Ikai L (Google)
That's a pretty general question, but in general, here are some performance tips: - Retrieving entities by key is the fastest way to retrieve data. If you can avoid complex queries and do this instead where possible, you'll squeeze a lot of performance out of the datastore. - Memcache slow data

Re: [google-appengine] Re: Can't access Datastore Viewer

2010-02-08 Thread Ikai L (Google)
Datastore viewer issues are likely related to type validation issues. Are you using specialized types such as PhoneNumber, Email Address or URL fields in your model? Are these always being set, or are null or invalid values being set? On Sat, Feb 6, 2010 at 6:12 PM, Shai levys...@gmail.com wrote:

Re: [google-appengine] Re: 1.3.1 SDK Prerelease - help us verify

2010-02-08 Thread Ikai L (Google)
, Ikai L (Google) ika...@google.com wrote: I got beaten to this answer. No, there is no traversal to get to the offset. BigTable has an underlying mechanism for range queries on keys. Indexes are essentially a key comprised of a concatenation of application ID, entity type, column, value

Re: [appengine-java] Re: Incorrect number of entities returned

2010-02-05 Thread Ikai L (Google)
Any chance you can post all the code? This way we can just load it up in our development environment of choice and run it. On Thu, Feb 4, 2010 at 7:21 PM, aswath satrasala aswath.satras...@gmail.com wrote: Any help here... Thanks. On Wed, Feb 3, 2010 at 5:35 PM, aswath satrasala

Re: [appengine-java] Re: Getting the size of a http request?

2010-02-05 Thread Ikai L (Google)
custom client application (and not the browser). Thanks, Arun On Jan 28, 4:31 am, Ikai L (Google) ika...@google.com wrote: Are there places where this isn't reliably set? In my servlet I am calling: int contentLength = request.getContentLength(); This works with the following

Re: [appengine-java] Re: production memcache grabTail namespace isolation broken

2010-02-05 Thread Ikai L (Google)
the queue with a head/tail pointer, using the increment call... This works, but if grabTail worked as advertised, that would be more elegant. Regards, Viktor On Feb 2, 7:28 pm, Ikai L (Google) ika...@google.com wrote: That's interesting. Let me follow up with the team to try to understand

Re: [appengine-java] Re: 1.3.1 SDK Prerelease - help us verify

2010-02-04 Thread Ikai L (Google)
, Cool! It might be trivial but, I've filed an issue with SDK 1.3.1 prerelease. http://code.google.com/p/googleappengine/issues/detail?id=2721 -- Takashi Matsuo Kay's daddy On Thu, Feb 4, 2010 at 7:05 AM, Ikai L (Google) ika...@google.com wrote: Hello App Engine

Re: [appengine-java] Using Memcache...

2010-02-04 Thread Ikai L (Google)
John means you don't have to worry about synchronized, but be aware of Memcache race conditions if you do frequent reads and saves from Memcache. You can't lock Memcache. On Thu, Feb 4, 2010 at 11:06 AM, John Patterson jdpatter...@gmail.comwrote: You don't need to worry about concurrency in

Re: [appengine-java] How to build a java desktop client for my hosted app engine application ?

2010-02-04 Thread Ikai L (Google)
This article should help: http://krasserm.blogspot.com/2010/01/accessing-security-enabled-google-app.html On Mon, Feb 1, 2010 at 3:23 AM, Guwalani Mahendra guwalani.mahen...@gmail.com wrote: How to build a java desktop client for my hosted app engine application ? I have tried to write a

Re: [appengine-java] ArrayOutOfBoundsException with inheritance

2010-02-04 Thread Ikai L (Google)
Does this only happen if you set a child object for the parent object? It'd be helpful to figure out what exact operation causes this to happen. On Sat, Jan 30, 2010 at 1:28 PM, Sydney sydney.henr...@gmail.com wrote: I want to use the following model in the datastore but when I make my data

Re: [appengine-java] Templating a web site

2010-02-04 Thread Ikai L (Google)
1. I'm not familiar with page templates, but you should see if JSP does what you need. There are a ton of JSP/EL/JSTL tutorials on the web: http://www.google.com/search?sourceid=chromeie=UTF-8q=introduction+to+jsp 2. String localization is done via ResourceBundles in Java:

Re: [appengine-java] Re: non-deterministic datastore behaviour while unit testing

2010-02-04 Thread Ikai L (Google)
We're including helpers for unit testing in 1.3.1. I'm a bit curious as to whether or not this will solve the issues with tests being non-deterministic: https://groups.google.com/group/google-appengine/browse_thread/thread/ddef6d9fa4aa0ae2?pli=1 The fact that it's non-deterministic seems to

Re: [appengine-java] Need to update the type of primary key on existing objects in GAE Java

2010-02-04 Thread Ikai L (Google)
It'll probably be easiest to recreate the entities. The thing about Keys is that at the lowest layer, every entity's primary key is a Key object. A risky possibility for daredevils: I *think* but I am not sure that if you just changed the property to a Key, it would function for the reason I just

[appengine-java] 1.3.1 SDK Prerelease - help us verify

2010-02-03 Thread Ikai L (Google)
Hello App Engine Developers, As part of our ongoing efforts to improve release quality and transparency, we will start prereleasing SDKs for early testing. We hope this gives developers a chance to participate in our release process by trying out new changes and sending feedback. As of this

Re: [google-appengine] [noob] How to download existing appengine project?

2010-02-03 Thread Ikai L (Google)
://en.wikipedia.org/wiki/File_synchronization On 8 December 2009 00:31, Ikai L (Google) ika...@google.com wrote: No, you won't be able to download the source. This is something you'll want to use a source control system like Subversion or Git for. On Sat, Dec 5, 2009 at 7:46 PM, Jake S. jak...@gmail.com

Re: [google-appengine] ancestor/subquery

2010-02-03 Thread Ikai L (Google)
You can do an IN-like query, but this just translates to multiple key queries. http://code.google.com/appengine/docs/java/datastore/queriesandindexes.html What exactly are you trying to do? The solution is likely to modify your persistence model for App Engine's distributed datastore. On Mon,

Re: [appengine-java] Re: production memcache grabTail namespace isolation broken

2010-02-02 Thread Ikai L (Google)
. Current namespace should be set and not empty for the service. For each namespace memcache maintains a separate LRU list. Regards, Viktor On Feb 1, 9:22 pm, Ikai L (Google) ika...@google.com wrote: I'll raise the issue with some other members of the team, but it seems like

Re: [appengine-java] My application stopped working

2010-02-02 Thread Ikai L (Google)
This issue should have been resolved: http://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/7fb8a39149de3b55 http://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/7fb8a39149de3b55Please let us know if you are continuing to be affected.

Re: [appengine-java] non-deterministic datastore behaviour while unit testing

2010-02-02 Thread Ikai L (Google)
Can you post test cases that produce non-deterministic behavior? If this is reproducible, please create an issue with the entities and test cases in question and let us know: http://code.google.com/p/googleappengine/issues/ On Tue, Feb 2, 2010 at 6:48 AM, Markus Scheidgen

Re: [appengine-java] Re: Unsupported method contains while parsing expression:

2010-02-02 Thread Ikai L (Google)
Oy, this is what I get for not running code before posting it. Good looking out. On Tue, Feb 2, 2010 at 1:06 AM, datanucleus andy_jeffer...@yahoo.comwrote: query.setFilter(aliases == alias); That is invalid JDOQL syntax; the spec is the spec and JDOQL uses Java syntax. If you have a

Re: [appengine-java] dynamic class load

2010-02-02 Thread Ikai L (Google)
Yes. Run your server using Debug. Eclipse will automatically compile your classes on save. The only exception is certain types of changes to classes that need to be enhanced after compilation. Eclipse will prompt you to restart. On Tue, Feb 2, 2010 at 4:04 PM, javaness enesa...@gmail.com wrote:

Re: [appengine-java] Two ManyToOne relationships in one class

2010-02-02 Thread Ikai L (Google)
The explanation for the exception is in the exception text itself. Each entity's key contains the ancestor information for that entity: http://code.google.com/appengine/articles/storage_breakdown.html http://code.google.com/appengine/articles/storage_breakdown.htmlA path is a concatenation of

Re: [google-appengine] app engine down for me too

2010-02-02 Thread Ikai L (Google)
Hi Fred, We're aware of this issue. You can track the status of our work to resolve it in this thread: http://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/7fb8a39149de3b55 On Tue, Feb 2, 2010 at 6:53 AM, Fred fpar...@gmail.com wrote: Getting 500 server errors

Re: [google-appengine] http 500 error with http://appengine.google.com

2010-02-02 Thread Ikai L (Google)
Hi Geoff, We had an issue with auth cookies. More details can be found here: http://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/7fb8a39149de3b55 This issue has been resolved. On Tue, Feb 2, 2010 at 8:07 AM, Geoff gmor...@gmail.com wrote: If I access

Re: [google-appengine] Re: I can't get to my dashboard.

2010-02-02 Thread Ikai L (Google)
Hi everybody, This issue is likely related to our issues with our auth cookies. This issue has been resolved: http://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/7fb8a39149de3b55 On Tue, Feb 2, 2010 at 8:15 AM, Brian Papa brian.p...@gmail.com wrote: Was seeing

Re: [google-appengine] appcfg update throwing 1450 HTTP Error

2010-02-02 Thread Ikai L (Google)
Can you give it a shot again? If not, follow the instructions in this thread to clear your appcfg cookies: http://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/7fb8a39149de3b55 On Tue, Feb 2, 2010 at 6:00 AM, ben b...@hilltopbarn.net wrote: Hi all, For the

Re: [google-appengine] Re: Error: Server Error from specific domain bound to the app

2010-02-02 Thread Ikai L (Google)
There was an issue with auth cookies. This issue has been resolved: http://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/7fb8a39149de3b55 On Tue, Feb 2, 2010 at 9:11 AM, gwstuff gwsa...@gmail.com wrote: Hi, I have the exact same problem across 2 apps of mine -

Re: [google-appengine] Re: Sitewide 500 errors

2010-02-02 Thread Ikai L (Google)
Hi everybody, I just wanted to let you all know that this issue has been resolved. Here's the thread on the downtime-notify list: http://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/7fb8a39149de3b55 On Tue, Feb 2, 2010 at 8:54 AM, godDLL ycherkas...@gmail.com

Re: [google-appengine] Re: I can't get to my dashboard.

2010-02-02 Thread Ikai L (Google)
Can you post your app-id? Also, can you try accessing http://www.appspot.com ? On Tue, Feb 2, 2010 at 12:15 PM, robl robert@pumpkinmail.net wrote: Dispite assurances that this problem is fixed, I am still unable to reach my dashboard on https://appengine.google.com/. All my browsers

Re: [google-appengine] Re: Sitewide 500 errors

2010-02-02 Thread Ikai L (Google)
Can you post your app-id and a link to some of your static files returning errors? On Tue, Feb 2, 2010 at 10:39 AM, M.A. miika.aho...@gmail.com wrote: I use the users API only for very few pages. And I'm actually getting the 500 error even from static files (e.g. CSS). -- You received this

Re: [google-appengine] Re: I can't get to my dashboard.

2010-02-02 Thread Ikai L (Google)
On Feb 2, 3:30 pm, Ikai L (Google) ika...@google.com wrote: Can you post your app-id? Also, can you try accessinghttp:// www.appspot.com ? On Tue, Feb 2, 2010 at 12:15 PM, robl robert@pumpkinmail.net wrote: Dispite assurances that this problem is fixed, I am still unable

Re: [google-appengine] Implementing 'Join' in Google App Engine

2010-02-02 Thread Ikai L (Google)
It looks like you are modeling a One-To-Many relationship: http://code.google.com/appengine/docs/java/datastore/relationships.html Set the Position as the root entity and the Application as a child entity. If an Applicant is applying to multiple Positions, then you will want to explore

Re: [appengine-java] Secure JSP

2010-02-01 Thread Ikai L (Google)
You can do this with deployment descriptions or servlet filters. Here documentation about configuring web.xml to do this: http://code.google.com/appengine/docs/java/config/webxml.html On Sun, Jan 31, 2010 at 2:20 PM, Scott gocards...@gmail.com wrote: I have 1 jsp in my app that I want to

Re: [appengine-java] production memcache grabTail namespace isolation broken

2010-02-01 Thread Ikai L (Google)
I'll raise the issue with some other members of the team, but it seems like this is working as expected. A memcache namespace is nothing more than a prefix applied to a memcache key. There's no true partitioning mechanism within memcache. grabTail simply returns the item that would be expired by

Re: [appengine-java] change timezone of date that is already persisted

2010-02-01 Thread Ikai L (Google)
The way to do this is to create a series of tasks that update each entity one by one. The question I'd like to ask, however, is why you'd want to do this. It's typically best practice to store time information as UTC and convert as needed for display or computation due to weirdness with

Re: [google-appengine] Charged $0.01... consequently my credit card was blocked

2010-02-01 Thread Ikai L (Google)
Mike, Yikes, really sorry about that. You're right, it doesn't make any sense to charge 0.01 (On a positive note, I saw your site linked in another groups post and it's pretty awesome: http://www.shoesofprey.com). I've raised the issue so that we can talk about ways we can reduce the chances that

Re: [appengine-java] setting null for entity field

2010-01-29 Thread Ikai L (Google)
Can you post sample code? On Thu, Jan 28, 2010 at 9:56 PM, Andrei gml...@gmail.com wrote: i am trying to set entity property to null, but it does not persist it to db, it just keeps old string value how do i set property to null? Thanks -- You received this message because you are

Re: [appengine-java] UserService and form data

2010-01-29 Thread Ikai L (Google)
What about this: 1. Submit the form to your servlet 2. Check to see if the User is logged in or not 3. If the User is not logged in, serialize the form data and cache it in the session, then redirect the User to a login URL 4. After login, repopulate the form You may also be able to save

Re: [appengine-java] integrating goog checkout

2010-01-29 Thread Ikai L (Google)
You should be able to. Start looking here: http://code.google.com/apis/checkout/developer/index.html On Fri, Jan 29, 2010 at 10:52 AM, Andrei gml...@gmail.com wrote: Is there any way to use google checkout api from GAE? -- You received this message because you are subscribed to the Google

Re: [google-appengine] Select columns

2010-01-29 Thread Ikai L (Google)
Hi Manny, A few things to first remember - App Engine's datastore is not a database, but a distributed key value store with additional features. Thus, we should be careful not to frame our thinking in terms of RDBMS schemas. For this reason, I like to avoid using database terminology that can

Re: [google-appengine] Bulletproofing for when Model.put() fails

2010-01-29 Thread Ikai L (Google)
Here's the Java version of implementing hooks for JDO and JPA: http://gae-java-persistence.blogspot.com/2009/11/case-insensitive-queries.html On Fri, Jan 29, 2010 at 6:57 AM, Nick Johnson (Google) nick.john...@google.com wrote: Hi J, On Fri, Jan 29, 2010 at 3:18 PM, J

Re: [appengine-java] How can I install my GAE application into other user accounts?

2010-01-28 Thread Ikai L (Google)
You should just be able to change the application ID in application-web.xml and push it. On Thu, Jan 28, 2010 at 8:23 AM, mjustin michael.jus...@gmx.net wrote: Hello, is there a way to copy my GAE application into somebody elses account? I would like to make it as easy as possible for the

Re: [appengine-java] Question about server side security

2010-01-28 Thread Ikai L (Google)
Hi there, From this page: http://code.google.com/apis/apps/profiles/developers_guide_protocol.html http://code.google.com/apis/apps/profiles/developers_guide_protocol.htmlIt looks like it's possible to use AuthSub or OAuth, which would preclude you from having to store a username and password.

Re: [appengine-java] Re: SocialWok.com presentation qusetion on workaround on join

2010-01-28 Thread Ikai L (Google)
Can you summarize the technique used? As far as join table goes, App Engine's datastore isn't relational. Filtered queries will work differently and were built with scalability characteristics in mind. Sometimes these characteristics will overlap with functionality that SQL provides and may even

Re: [appengine-java] Questions about JDO/JPA versioning

2010-01-28 Thread Ikai L (Google)
1. No, the parent will not be updated. You are updating a Child - not a parent. However - you will want to be very careful with Child entities in a Collection. I believe there is an outstanding issues where if you only update the Child entity, the Parent entity will not know the Collection has

Re: [appengine-java] Are java.lang.String properties on an entity limited to 500 chars or 500 bytes (which may be 250 chars depending on encoding). Please clarify.

2010-01-28 Thread Ikai L (Google)
It should be 500 characters. We need to fix the documentation: http://code.google.com/p/googleappengine/issues/detail?id=2519 On Thu, Jan 28, 2010 at 4:19 PM, Ugorji ugo...@gmail.com wrote: http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/Text.html It

Re: [appengine-java] java ip to location library

2010-01-28 Thread Ikai L (Google)
There's another thread about this topic here: http://groups.google.com/group/google-appengine/browse_thread/thread/ebebbacc69688925 http://groups.google.com/group/google-appengine/browse_thread/thread/ebebbacc69688925Typically, this won't exist in a library - it's just data. You'll need to find

Re: [google-appengine] Quota's

2010-01-28 Thread Ikai L (Google)
Hi Magnus, Yes, you're right. This is posted because we still track this quota even though it is impossible to exceed it (if you enable billing, your quota goes to a bit over 1 terabyte). If we ever increase the free incoming bandwidth quota, 4 gigabytes would be the limit of incoming URLFetch

Re: [appengine-java] SMS Facility

2010-01-27 Thread Ikai L (Google)
There's no APIs natively for SMS. However, many mobile service providers have email gateways for SMS. Here's a quick list on Wikipedia: http://en.wikipedia.org/wiki/List_of_carriers_providing_SMS_transit http://en.wikipedia.org/wiki/List_of_carriers_providing_SMS_transitMy experience has been

Re: [appengine-java] Re: vs-accounting.appspot.com - datastore viewer error

2010-01-27 Thread Ikai L (Google)
What does you local indexes file look like? Can you post the indexes listed in your production admin console? On Tue, Jan 26, 2010 at 11:24 PM, aswath satrasala aswath.satras...@gmail.com wrote: Hello GAE team, Further observations made while testing the app. I am not able to write entities

Re: [appengine-java] JDO - GWT - JUNIT testing examples

2010-01-27 Thread Ikai L (Google)
I'm no expert on how to unit test GWT, but in terms of testing the server, for a unit test it probably is a better idea to simply test the servlet. I've heard HtmlUnit is pretty good for this. Here's a guide for setting up JUnit to work with the datastore:

Re: [appengine-java] 30 seconds

2010-01-27 Thread Ikai L (Google)
What's Camel? This is the only thing I was able to find on Google: http://camel.apache.org/python.html On Tue, Jan 26, 2010 at 9:40 PM, elwis elwest...@gmail.com wrote: Hi all, I'm playing around with the Appengine and thought about using it as an integration platform with Camel in the

Re: [appengine-java] Not allowed to access system class loader.

2010-01-27 Thread Ikai L (Google)
Is this preventing your task from running? This is generally a harmless exception. Here's another thread on the subject, though your stack trace is a bit different:

Re: [appengine-java] Trouble with Consuming Web Service from a Background Thread.

2010-01-27 Thread Ikai L (Google)
You won't be able to create a thread in App Engine. It's strange that you're getting a NullPointerException, however. This is documented here: http://code.google.com/appengine/docs/java/overview.html On Wed, Jan 27, 2010 at 12:53 PM, Viji Sarathy viji.sara...@gmail.comwrote: Hi, I am trying

Re: [appengine-java] Getting the size of a http request?

2010-01-27 Thread Ikai L (Google)
Are there places where this isn't reliably set? In my servlet I am calling: int contentLength = request.getContentLength(); This works with the following form: form action=/content_length method=POST enctype=multipart/form-data input type=file name=somefile / input type=text

Re: [appengine-java] Re: Can't get JUnit to test making a JDO object persistent

2010-01-27 Thread Ikai L (Google)
I'm not entirely sure what you're doing with inheritance, but does this open issue help? http://code.google.com/p/datanucleus-appengine/issues/detail?id=25 On Wed, Jan 27, 2010 at 5:08 PM, Will Bunker w...@thebunkers.com wrote: Realize that I totally misunderstood the @inheritance properties.

Re: [appengine-java] SocialWok.com presentation qusetion on workaround on join

2010-01-27 Thread Ikai L (Google)
On Tue, Jan 26, 2010 at 5:41 PM, asianCoolz second.co...@gmail.com wrote: DatastoreService dataSvc =...; Query query = new Query(MessageRecipients) .addFilter(recipients), FilterOperator.EQUAL,userid) .addSort(date, SortDirection.DESCENDING) .setKeysOnly(); // -- Only fetch keys!

Re: [appengine-java] Question: best practice to persist medium-large data?

2010-01-26 Thread Ikai L (Google)
There aren't current plans to create yet another API for datastore operations. That's why we created the datastore API - so folks could build convenience functions as needed. I don't see anything wrong with mixing JDO/JPA with another tool for datastore access, other than adding unnecessary

Re: [appengine-java] problem with the position of MessageBox

2010-01-26 Thread Ikai L (Google)
This actually looks like a Google Web Toolkit question. You'll probably get better help in that group: https://groups.google.com/group/Google-Web-Toolkit?pli=1 2010/1/26 Andrés Cerezo acerezoguil...@gmail.com Hello!! i've the problem of the screen of the attach I need to situate the

Re: [appengine-java] Quirks with key name concurrency / uniqueness control

2010-01-26 Thread Ikai L (Google)
Todd, I think there's actually a misunderstanding here - we don't guarantee uniqueness of a key name. A String key is encoded into a datastore Key. The datastore is, at its lowest layer, a key-value store. Uniqueness is guaranteed because if you save an entity using a Key that is already used in

Re: [appengine-java] Big entities, exploding indexes and owned relationships

2010-01-26 Thread Ikai L (Google)
This shouldn't cause an exploding index. Under the hood, we are embedding Account's key information into the keys of the Child and creating index entries for each of the Child classes. Now, creating massive entity groups may certainly have some performance implications, but that's why we recommend

Re: [appengine-java] does makePersistent operate as a batch put with owned relationships?

2010-01-26 Thread Ikai L (Google)
It should. What behavior are you seeing in your tests? On Thu, Jan 21, 2010 at 8:02 PM, Houston startup coder stephenh...@gmail.com wrote: The first sentence here is very clear about how calling makePersistent on an object with relationships automatically saves all the new or modified

Re: [appengine-java] appcfg.sh update suddenly doesn't work

2010-01-26 Thread Ikai L (Google)
This should be working. There was an issue with application updates around this time. Let us know if you're still having this problem. On Sat, Jan 23, 2010 at 11:35 PM, Thomas Wiradikusuma wiradikus...@gmail.com wrote: Hi all, I created a new project, tested it in localhost, everything was

Re: [appengine-java] version not ready

2010-01-26 Thread Ikai L (Google)
I'm wondering if this was a momentary outage or something to do with the way appengine-web.xml is configured. Can you post this file? On Thu, Jan 21, 2010 at 1:41 PM, jamie jwb.pub...@gmail.com wrote: hi! I am having problems similar to

Re: [appengine-java] Grails - com.google.apphosting.utils.jetty.RuntimeAppEngineWebAppContext

2010-01-26 Thread Ikai L (Google)
Does this issue just occur on the first request coming into your application or on every request? This looks like a DeadlineExceededError, which will sometimes occur on a loading request due to the fact that initializing the Groovy interpreter as well as Grails can sometimes take many seconds.

Re: [appengine-java] Re: Quirks with key name concurrency / uniqueness control

2010-01-26 Thread Ikai L (Google)
... On Jan 26, 2:28 pm, Ikai L (Google) ika...@google.com wrote: I think there's actually a misunderstanding here - we don't guarantee uniqueness of a key name. A String key is encoded into a datastore Key. The datastore is, at its lowest layer, a key-value store. Uniqueness is guaranteed because

Re: [google-appengine] Does starting up a new instance cause the user to wait for it to initialize?

2010-01-26 Thread Ikai L (Google)
Yes, you're right. As a new instance is being spun up, there will be some user that will have to deal with a loading request. On Sun, Jan 24, 2010 at 3:50 PM, Spines kwste...@gmail.com wrote: If I could get a definitive answer on this that would be great. I know that when your Google App

Re: [appengine-java] Re: error is coming on appspot but local working fine

2010-01-22 Thread Ikai L (Google)
Strange that it would work locally. MultipartFile doesn't sound like something that is serializable. You'll want to store your data using the Blob class we provide, anyway. Are you storing this in the datastore or a session? You'll want to minimize the amount of data you store in a session. On

Re: [appengine-java] Re: One to many sample application needed on GWT

2010-01-22 Thread Ikai L (Google)
? On Jan 20, 4:50 pm, Ikai L (Google) ika...@google.com wrote: There should be plenty of examples around, but here is one from Max Ross's blog: http://gae-java-persistence.blogspot.com/2009/10/creating-bidrectiona... We're looking at expanding the capabilities of the App Engine Cookbook

Re: [appengine-java] authentication questions

2010-01-22 Thread Ikai L (Google)
Yes, that's possible. The Users Service is convenience, especially for those people using Google App Engine with a Google Apps Domain. You'll need to create your own User model and maintain the session state yourself, however. On Thu, Jan 21, 2010 at 5:36 AM, ale aleee...@gmail.com wrote: Hi,

Re: [appengine-java] Re: App Engine cold starts and overly aggressive cycling

2010-01-22 Thread Ikai L (Google)
Hey everybody, I just wanted to give an update about this issue. We've changed resource allocation for our Java developers, which should result in much less app evictions. Some of you may have already noticed an improvement. I've already received several encouraging messages from developers who

Re: [google-appengine] Re: memcache longevity

2010-01-22 Thread Ikai L (Google)
It'd better to store values in Memcache than in local memory because you are not guaranteed which application instance a request will go to. Memcache can be accessed by any instance, not just the originating one. You're not guaranteed session affinity. On Fri, Jan 22, 2010 at 7:02 AM, Andrei

Re: [google-appengine] How can I deploy Android app to google App engine cloud ?

2010-01-22 Thread Ikai L (Google)
Yes, Google App Engine can provide the backend services for your Android application via HTTP. In fact, there are several iPhone and Android applications using Google App Engine to provide a shared backend service for all of their users. Games, for instance, have been known to use GAE to host

Re: [google-appengine] hi i need Google Plugin for Eclipse, for Eclipse 3.5.1(Galileo):

2010-01-22 Thread Ikai L (Google)
Have you seen the instructions for installing the plugin? They are here: http://code.google.com/appengine/docs/java/tools/eclipse.html On Thu, Jan 21, 2010 at 3:26 AM, cnu srinu.g.mc...@gmail.com wrote: hi i am using ubuntu 9.10 in this Eclipse 3.5.1 (Galileo) is installed now i need

Re: [appengine-java] Referencing projects

2010-01-21 Thread Ikai L (Google)
Hi there! If you're learning Java, it's probably overkill to create 4 different projects, even for different layers of the application. It's probably enough to simply create different packages and sort through them that way. For development, you can get away with putting the JAR files in your

Re: [appengine-java] Re: Referencing projects

2010-01-21 Thread Ikai L (Google)
as I manually copy the JAR files into the WEB-INF/lib folder. I will go check out the link you supplied, but if you or any one else can provide some more insight I would really appreciate it. Thanks Maurits On Jan 21, 8:29 pm, Ikai L (Google) ika...@google.com wrote: Hi there! If you're

Re: [google-appengine] Re: How to test my application with local database

2010-01-21 Thread Ikai L (Google)
Hey, 1. Nope, I don't see any problem with discussing it now. We're already talking about it, so it'd be more confusing if we moved the thread to a different group. 2. There IS a Netbeans GAE plugin! It's not officially supported, but I've used this in the past with great success:

Re: [appengine-java] Using Restlet to access datastore.

2010-01-20 Thread Ikai L (Google)
PM, Ikai L (Google) ika...@google.com wrote: As far as I know, there isn't a native Restlet API for datastore access. One more way to access the datastore is using the low-level API: http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/package-summary.html

Re: [appengine-java] Re: Put (insert) data store operations use increasingly high amount of CPU as the number of entities increases

2010-01-20 Thread Ikai L (Google)
is right, it is basically 1 to many owned relationship and as the number of child entities grows so does the insert operations time. I can't figure out why! Any idea why??? Thanks, Lucian On Jan 15, 8:55 pm, Ikai L (Google) ika...@google.com wrote: Brett Slakin on the App Engine team gave

Re: [appengine-java] One to many sample application needed on GWT

2010-01-20 Thread Ikai L (Google)
There should be plenty of examples around, but here is one from Max Ross's blog: http://gae-java-persistence.blogspot.com/2009/10/creating-bidrectional-owned-one-to-many.html We're looking at expanding the capabilities of the App Engine Cookbook to support examples like this contributed by the

Re: [appengine-java] Use Google login cred to logon in one GAE in other GAE app

2010-01-20 Thread Ikai L (Google)
No, you won't be able to authenticate the second application once a user is logged into the first. If you think about the security issues here - and there are many - this is something that just won't work and won't be supported in the manner you have described. One solution to the problem you

Re: [appengine-java] Re: Put (insert) data store operations use increasingly high amount of CPU as the number of entities increases

2010-01-20 Thread Ikai L (Google)
as the group gets larger. Also, I have no custom indexes with two list properties, so I don't think I have an exploding index problem. On Jan 20, 11:45 pm, Ikai L (Google) ika...@google.com wrote: How many child entities does a model have? Is it in a transaction? Index updates are synchronous

Re: [appengine-java] Re: Put (insert) data store operations use increasingly high amount of CPU as the number of entities increases

2010-01-20 Thread Ikai L (Google)
by 10 seconds per 1000 entities. On Jan 21, 12:01 am, Ikai L (Google) ika...@google.com wrote: How much does the CPU time increase by? On Wed, Jan 20, 2010 at 1:59 PM, Lucian Baciu lucianba...@gmail.com wrote: In total my model has about 4000 entities. The shape of my model

Re: [google-appengine] Disable Billing and Change Budget buttons missing on the Billing Settings page

2010-01-20 Thread Ikai L (Google)
Hi Johann, Sorry for this delay. We'd really like Billing Issues to go through our issue tracker and not the groups: http://code.google.com/support/bin/request.py?contact_type=AppEngineBillingSupport http://code.google.com/support/bin/request.py?contact_type=AppEngineBillingSupportCan you post

Re: [appengine-java] Re: Memcache question

2010-01-19 Thread Ikai L (Google)
Andrei, No, this is fundamentally impossible with Memcache. Memcache values are lazily expired at GET time. When you set an expiration on a Memcache item, all you are really doing is telling Memcache to look at that timestamp whenever a read operation takes place, throwing it away if it's past

Re: [appengine-java] EntityProto and Property documentation

2010-01-19 Thread Ikai L (Google)
If you're looking to use hooks but don't want to fuss with the low-level API, Max Ross posted a great article about hooks at the JDO/JPA layer: http://gae-java-persistence.blogspot.com/2009/11/case-insensitive-queries.html

Re: [appengine-java] Unable to open DataViewer

2010-01-19 Thread Ikai L (Google)
Hi there, 1. We've heard some reports related to browser cache. Try using shift-refresh on your browser or delete your cache. 2. You are not guaranteed that the ID will be sequential (1, 2, 3, 4, etc), just that it will be unique. A large reason of why this is has to do with the distributed

Re: [appengine-java] junit test fails, then works with no code change.

2010-01-19 Thread Ikai L (Google)
Can you post some code? It'd be helpful to see what you're doing. On Fri, Jan 15, 2010 at 1:01 PM, Sector7B joe.greenaw...@gmail.com wrote: Hi, I have some unit tests to test my dao. Just starting out. So I have simple tests that do crud operations. findbyid, delete, update, etc. In

Re: [appengine-java] Using a Key in a query filter

2010-01-19 Thread Ikai L (Google)
Max Ross just posted a blog post about this: http://gae-java-persistence.blogspot.com/2010/01/querying-with-key-parameters.html http://gae-java-persistence.blogspot.com/2010/01/querying-with-key-parameters.htmlIt sounds like you are enforcing the uniqueness constraint by encoding it as a Key -

Re: [google-appengine] Re: AppEngine boot times in Ruby, Python, and Java (benchmarks)

2010-01-19 Thread Ikai L (Google)
Hi, Thanks for reporting this. I've been suspecting that something is going on with our Java applications due to just the number of reports of aggressive cycling. You've already posted in the other thread - but I'd like to invite any other developers seeing this issue to report their experience

Re: [google-appengine] Optimum keys-only request size

2010-01-19 Thread Ikai L (Google)
In general the number of keys requested should not cause the query time to greatly increase, but it depends on the complexity of the query. A true keys only request should only cause us to traverse an index. Composite queries will require us to merge-join indexes, but, computationally, this should

Re: [appengine-java] Put (insert) data store operations use increasingly high amount of CPU as the number of entities increases

2010-01-15 Thread Ikai L (Google)
Brett Slakin on the App Engine team gave a great talk about a problem similar to what you are describing at last year's Google I/O and how to solve it. You may want to check this video out: http://code.google.com/events/io/2009/sessions/BuildingScalableComplexApps.html

Re: [appengine-java] Re: Unable to run on local server after an upgrade to 1.2.8

2010-01-15 Thread Ikai L (Google)
firefox i nubuntu 9.04) Can anyone help ? On Dec 11 2009, 10:42 pm, Ikai L (Google) ika...@google.com wrote: Are you seeing this error on a new project? Can you provide steps to reproduce? 2009/12/10 Viðar Svansson vidarsv...@gmail.com This seems to only happen if you

Re: [appengine-java] Help with One to Many owned relationship and Datastore

2010-01-15 Thread Ikai L (Google)
If you use the loop to continue to addChild() on the Key, your Key will look something like this: Page1-IMG_A-IMG_B-IMG_C What you want are Keys that look like this: Page1-IMG_A Page2-IMG_B If you continue to set children on the same builder object, you will likely be setting Images to be

Re: [google-appengine] Re: How to test my application with local database

2010-01-15 Thread Ikai L (Google)
My recommendation is to use the datastore mock that ships with the SDK as well as the version of Jetty that ships with the SDK. This is going to be the closest thing you'll get to what's in production. You're likely looking at MySQL because the local datastore does not meet some development need

Re: [google-appengine] I can not receive SMS messages

2010-01-15 Thread Ikai L (Google)
Can you add yourself to the SMS waitlist? https://appengine.google.com/waitlist/sms_issues On Thu, Jan 14, 2010 at 5:51 PM, 1e0n jazzmo...@gmail.com wrote: Hello, administrators,I am sorry I can not receive SMS messages, please help me! -- You received this message because you are

Re: [google-appengine] How can i run my persistance test cases in a standalone mode?

2010-01-15 Thread Ikai L (Google)
Have you taken a look at this page in the docs? http://code.google.com/appengine/docs/java/howto/unittesting.html It shows you how to set up a standalone environment for JUnit. It looks like you're writing your tests using a custom Testing class, but the same principles should apply. On Fri,

<    5   6   7   8   9   10   11   12   13   >