Re: [appengine-java] Re: datastore

2012-03-14 Thread Ikai Lan (Google)
Hi, I've sort of soft closed this group. I was supposed to put it into read-only mode a week ago, but I wanted to see if questions would still trickle in. This type of question seems pretty good for StackOverflow, where we're increasing our efforts to grow the community there. Try posting it and

Re: [appengine-java] How to initialize class guestbook.PMF ?

2012-03-14 Thread Ikai Lan (Google)
Hi, This might be a good question for StackOverflow. We're trying to migrate these types of questions over there: https://groups.google.com/forum/#!topic/google-appengine/Z6XN_64cA7w Likely: 1. It doesn't exist 2. You are importing it incorrectly -- Ikai Lan Developer Programs Engineer,

Re: [appengine-java] RestMQ on GAE

2012-03-05 Thread Ikai Lan (Google)
A quick search digs up this: https://github.com/gleicon/restmq-appengine Warning: I haven't tried the app yet. Also - just a quick note: we will be turning this group (google-appengine-java) read-only very soon as part of our migration of QA to StackOverflow. See more details here:

Re: [appengine-java] RestMQ on GAE

2012-03-05 Thread Ikai Lan (Google)
, Google App Engine plus.ikailan.com On Mon, Mar 5, 2012 at 5:00 PM, Ikai Lan (Google) ika...@google.com wrote: A quick search digs up this: https://github.com/gleicon/restmq-appengine Warning: I haven't tried the app yet. Also - just a quick note: we will be turning this group (google

Re: [appengine-java] how to beata open to certain country

2012-02-21 Thread Ikai Lan (Google)
App Engine provides a geolocation header. Check this out: http://googleappengine.blogspot.com/2011/06/app-engine-151-release.html It's a best effort geo-IP mapping. Give it a try. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com On Mon, Feb 20, 2012 at 6:12 PM,

Re: [appengine-java] GAE + Cloud SQL + Hibernate

2012-02-14 Thread Ikai Lan (Google)
On Tue, Feb 14, 2012 at 10:12 AM, Paul Ford paul.f...@mavenwave.com wrote: Ikai, This is great so Hibernate on GAE works for Cloud SQL but not Datastore. I understand. Thanks paul On Tue, Feb 14, 2012 at 11:57 AM, Ikai Lan (Google) ika...@google.comwrote: Hibernate works. I've gotten Cloud

Re: [appengine-java] max keys for memcache

2012-02-13 Thread Ikai Lan (Google)
There isn't a limit per se (that I know of), but our implementation of Memcache has two LRU (least recently used) queues that are used to expire content based on recency of access: a global LRU for that particular Memcache instance, and an LRU for your app. The amount of memory used is subject to

Re: [appengine-java] Batch puts

2012-02-08 Thread Ikai Lan (Google)
App Engine plus.ikailan.com On Tue, Feb 7, 2012 at 4:53 PM, Andrew Myers am2...@gmail.com wrote: Thanks Ikai. Appreciate the clarification! All the best, Andrew. On 8 February 2012 11:42, Ikai Lan (Google) ika...@google.com wrote: Andrew, multiple writes of entities in a single batch

Re: [appengine-java] Batch puts

2012-02-07 Thread Ikai Lan (Google)
Andrew, multiple writes of entities in a single batch put to the same entity group count as 1 entity group write (but many more datastore write ops - this might be confusing), so you won't run into contention issues. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com

Re: [appengine-java] Google App Engine community support is moving to Stack Overflow

2012-02-06 Thread Ikai Lan (Google)
It looks like your question has already been answered: http://stackoverflow.com/questions/9124564/datastore-access-is-horribly-slow-on-dev-server-if-you-have-more-than-few-object The datastore stub is that: a stub. You cannot reliable depend on it for performance data. -- Ikai Lan Developer

Re: [appengine-java] writing then reading entity does not fetch entity from datastore

2012-02-03 Thread Ikai Lan (Google)
Can you post the code? Are you reading by key? If you are using a query, you might be exposed to the eventually consistent nature of global queries in the datastore. Or is this only in the dev appserver? -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com On Fri, Feb 3,

Re: [appengine-java] lost trying to understand JDO on BigTable: please help coding example

2012-01-24 Thread Ikai Lan (Google)
You don't need to implement a Primary Key class. Specify the primary field as a Key and generate the key using KeyFactory: http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/KeyFactory.Builder.html You can autogenerate IDs with this method:

Re: [appengine-java] OAuth and google chrome

2012-01-18 Thread Ikai Lan (Google)
This is strange - there should be nothing browser specific about the session. Try to isolate the behavior by removing OAuth out of the equation. What happens when you store a variable in session scope without the OAuth flow? Does it change each time? -- Ikai Lan Developer Programs Engineer,

Re: [appengine-java] JPA and Entity Groups

2012-01-18 Thread Ikai Lan (Google)
Answers below. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com On Tue, Jan 17, 2012 at 9:24 AM, Paul Bartosik paulhbarto...@gmail.comwrote: I have spent a bit of time banging up against Entity Group issues. In all cases, the problem was with my JPA. I had made

Re: [appengine-java] JPA and Entity Groups

2012-01-18 Thread Ikai Lan (Google)
that as of a recent release, you can do cross entity-group transactions. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com On Wed, Jan 18, 2012 at 11:22 AM, Ikai Lan (Google) ika...@google.comwrote: Answers below. -- Ikai Lan Developer Programs Engineer, Google App Engine

Re: [appengine-java] JPA and Entity Groups

2012-01-18 Thread Ikai Lan (Google)
plus.ikailan.com On Wed, Jan 18, 2012 at 11:48 AM, Ikai Lan (Google) ika...@google.comwrote: On second examination, I could be wrong about JPA. I'll need to test this and see. http://stackoverflow.com/questions/4909012/how-to-create-an-object-in-a-specific-entity-group-with-jpa-google-appengine-j If you

Re: [appengine-java] Abridged summary of google-appengine-java@googlegroups.com - 8 Messages in 5 Topics

2012-01-13 Thread Ikai Lan (Google)
] proxying datastore request [3 Updates] how to get the correct time for germany? [2 Updates] problem with Content-type: null with css files Ikai Lan (Google) ika...@google.com Jan 11 05:22PM -0800 We have an SDK update that resolves this issue on upload (I've also posted

Re: [appengine-java] Abridged summary of google-appengine-java@googlegroups.com - 8 Messages in 5 Topics

2012-01-13 Thread Ikai Lan (Google)
transaction. We'd definitely like to improve these docs, however. Do you have any suggestions or areas where this documentation seems confusing? -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Fri, Jan 13, 2012 at 12:23 PM, Ikai Lan (Google) ika

Re: [appengine-java] Re: problem with Content-type: null with css files

2012-01-13 Thread Ikai Lan (Google)
, Ikai Lan (Google) ika...@google.comwrote: We have an SDK update that resolves this issue on upload (I've also posted in a separate thread about this): http://code.google.com/p/googleappengine/downloads/detail?name=appengine-java-sdk-1.6.1.1.zip -- Ikai Lan Developer Programs Engineer

[appengine-java] Announcing - Java Threads Trusted Tester program

2012-01-13 Thread Ikai Lan (Google)
Hey everyone, We're announcing a new trusted tester program for Java developers: Java threads. This is a feature we’d like to release sometime in one of the next upcoming versions. You’d be able to create Threads using a ThreadFactory (so existing libraries that create threads through other means

Re: [appengine-java] proxying datastore request

2012-01-12 Thread Ikai Lan (Google)
This seems like something you might do in a servlet filter. Have you considered user specific namespaces if you completely want user data in silos? You can set the namespace in the servlet filter: http://code.google.com/appengine/docs/java/multitenancy/multitenancy.html -- Ikai Lan Developer

Re: [appengine-java] proxying datastore request

2012-01-11 Thread Ikai Lan (Google)
Hi there! - a logged in user could manipulate the RPC call (he could for example exchange his userID by the ID of someone else and access the data of this user) - to avoid that I need to verify that the user ID matches the session ID assigned when he logged in. Can you describe how

[appengine-java] Minor update to Java SDK: 1.6.1.1

2012-01-11 Thread Ikai Lan (Google)
Hey everyone, There's a new version of the Java SDK available for download. You can get it here: http://code.google.com/p/googleappengine/downloads/detail?name=appengine-java-sdk-1.6.1.1.zip It's a minor version bump. We had to address an issue with the Java SDK that was causing CSS files to

Re: [appengine-java] Re: problem with Content-type: null with css files

2012-01-11 Thread Ikai Lan (Google)
We have an SDK update that resolves this issue on upload (I've also posted in a separate thread about this): http://code.google.com/p/googleappengine/downloads/detail?name=appengine-java-sdk-1.6.1.1.zip -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com |

Re: [appengine-java] Re: problem with Content-type: null with css files

2012-01-09 Thread Ikai Lan (Google)
Are you all on the 1.6.1 SDK? Is someone experiencing this deploying with an older SDK? If someone has a deterministically reproducible case that you can share with us (project files and everything), it'd be very helpful for us to nail this bug. We aren't able to do this with our test apps (big

Re: [appengine-java] Re: problem with Content-type: null with css files

2012-01-09 Thread Ikai Lan (Google)
It sounds like the data about this XML snippet is still inconclusive. - Jon Stevens reports that if you change the extension to .css, it works - Matt, in addition to using Jon's fix to the fix, you needed to increment the version to fix the broken mime-type So it's possible the XML snippet might

Re: [appengine-java] DataStoreFactory

2012-01-06 Thread Ikai Lan (Google)
No, these should be part of the App Engine SDK. Are you using the Eclipse plugin? When you create a new Web Application Project these are already included. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Thu, Jan 5, 2012 at 2:13 AM, SAS

Re: [appengine-java] Full Text Search Status?

2012-01-04 Thread Ikai Lan (Google)
In general we don't release ETAs on APIs, so I don't have anything new to announce at this time. Hope you've noticed that we've moved to monthly releases, so if everything goes to plan, likely in one of the next few releases (though probably not the next one). -- Ikai Lan Developer Programs

Re: [appengine-java] Anybody else unable to use com.google.api.services.plus? Suggestions please!

2012-01-04 Thread Ikai Lan (Google)
Is that file included in google-api-java-client-1.6.0-beta.zip? I see this: dependencies google-http-client-extensions-android2-1.6.0-beta.jar google-api-client-1.6.0-beta.jar google-http-client-extensions-android2-1.6.0-beta-sources.jar google-api-client-1.6.0-beta-sources.jar

Re: [appengine-java] An O/R mapper to use with cloud sql

2012-01-03 Thread Ikai Lan (Google)
I've gotten Cloud SQL to work with Hibernate before. Remove the Datanucleus JAR files from war/WEB-INF/lib and you should be fine. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Mon, Jan 2, 2012 at 11:06 PM, Jeff Schnitzer j...@infohazard.org

Re: [appengine-java] Re: Indexes - how to deal with them?

2011-12-22 Thread Ikai Lan (Google)
Paul, yes. Whenever you update an entity, any property that is not explicitly marked as unindexed will generate 2 index writes. Any update to that property will cause 2 writes to delete the old indexes and 2 writes to write the new ones. The indexes are used in queries, e.g.: select from user

Re: [appengine-java] Re: Datastore write operations

2011-12-22 Thread Ikai Lan (Google)
That's not how to make a property unindexed in JDO. Read this blog post: http://gae-java-persistence.blogspot.com/2009/11/unindexed-properties.html -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Wed, Dec 21, 2011 at 9:39 PM, Mukesh Joshi

Re: [appengine-java] What happened to Will it Play

2011-12-21 Thread Ikai Lan (Google)
We moved it here after Google Groups deprecated groups pages: http://code.google.com/p/googleappengine/wiki/WillItPlayInJava As a warning: this page has not been updated in a LONG time. Going forward, we'll be looking at all the resources that are currently available and either consolidating

Re: [appengine-java] Datastore write operations

2011-12-21 Thread Ikai Lan (Google)
Can you post your class definition? -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Wed, Dec 21, 2011 at 4:39 PM, Mukesh Joshi joshi.mukesh...@gmail.comwrote: I am doing a simple prototype to figure out the app engine datastore using *JDO*.

Re: [appengine-java] Re: JMS Queue service in Google App Engine

2011-12-19 Thread Ikai Lan (Google)
it possible to do like this? the above given link seems to be used to assigning task not a queue. Regards, Suresh On Dec 17, 2:34 am, Ikai Lan (Google) ika...@google.com wrote: Read this documentation about Task Queues and the Pull Queues: http://code.google.com/appengine/docs/java/taskqueue

Re: [appengine-java] need advise on processing of imported large number of mails

2011-12-19 Thread Ikai Lan (Google)
Save the data to the datastore and pass the key of the datastore object. Then, in the task queue task, retrieve the data from the datastore. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Sat, Dec 17, 2011 at 8:40 AM, Vik vik@gmail.com

Re: [appengine-java] Use of com.google.appengine.repackaged

2011-12-19 Thread Ikai Lan (Google)
I usually just use the Apache Commons one: http://commons.apache.org/codec/apidocs/org/apache/commons/codec/binary/Base64.html -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Mon, Dec 19, 2011 at 11:03 AM, Carter jcmas...@gmail.com wrote:

Re: [appengine-java] LocalDatastoreServiceTestConfig does not keep modificatins

2011-12-16 Thread Ikai Lan (Google)
This is to be expected. You're tearing down the helper between test runs. All tests are green because you are not using assertions. Example: assertNotNull(someInstance); There's something very bad happening in these tests: you don't ever want state to leak across tests. This is a very bad

Re: [appengine-java] JMS Queue service in Google App Engine

2011-12-16 Thread Ikai Lan (Google)
Read this documentation about Task Queues and the Pull Queues: http://code.google.com/appengine/docs/java/taskqueue/overview.html I think this is the functionality you are looking for. It's not JMS, though. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com |

Re: [appengine-java] Master/Slave - High Replication migration experience

2011-12-15 Thread Ikai Lan (Google)
Okay. If there's anything I can do to make things better for you in this case please let me know. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Wed, Dec 14, 2011 at 7:08 PM, Kyle Baley k...@baley.org wrote: Alas, bad timing, I suppose. We

Re: [appengine-java] May datastore reuse a deleted entity key?

2011-12-15 Thread Ikai Lan (Google)
If you are using auto generated keys or keys generated using the allocateIds() method, no, this should never happen. In fact, any key created using allocateId will never appear again even if you never save an entity with that key. One thing to note is that that IDs are not monotonically

Re: [appengine-java] Text Search API

2011-12-15 Thread Ikai Lan (Google)
Phil, I believe you should also be able to develop against the local SDK. It just won't work when deployed. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Thu, Dec 15, 2011 at 3:49 PM, Amy Unruh amyu+gro...@google.com wrote: Phil, It's

Re: [appengine-java] Design principles for a class with a lot of parameters

2011-12-14 Thread Ikai Lan (Google)
There are 2 main differences: 1. Indexes. You probably want to mark most of the items as unindexed to lower the cost of a datastore write and datastore storage. 2. Possible serialization/deserialization time. Items are stored as protocol buffers (http://code.google.com/p/protobuf/). I don't know

Re: [appengine-java] How to make someone an admin for your app.

2011-12-14 Thread Ikai Lan (Google)
... I was about to write an answer, too. Thanks for the laugh! -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Wed, Dec 14, 2011 at 7:18 AM, Drew Spencer slugmand...@gmail.com wrote: Hi coders, I've just managed to deploy my first app to my

Re: [appengine-java] App is very slow on production - how to fix it?

2011-12-14 Thread Ikai Lan (Google)
Could this be startup time? A loading request? This is when we have to start up the JVM and the Wicket framework. Do subsequent requests return much faster? -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Wed, Dec 14, 2011 at 1:17 AM, Paul

Re: [appengine-java] Indexes - how to deal with them?

2011-12-14 Thread Ikai Lan (Google)
Every property creates 2 indexes, so if you don't want to incur write operations, mark properties you will never query on (select from people where age=26 - you need both an ASC and DESC index on the age property) as unindexed. Here's an old but good talk about how these indexes are used and why

Re: [appengine-java] Re: Master/Slave - High Replication migration experience

2011-12-14 Thread Ikai Lan (Google)
I believe namespaces should work. What doesn't work is blobstore entities (datastore blobs DO work). -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Tue, Dec 13, 2011 at 11:17 PM, andrew andrew.macken...@bcntouch.comwrote: Ikai, Any

Re: [appengine-java] Master/Slave - High Replication migration experience

2011-12-13 Thread Ikai Lan (Google)
Kyle, Oy, I wish you had posted earlier. We've shipped a new migration tool as part of 1.6.1 that doesn't use datastore admin to do the copies. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Sun, Dec 11, 2011 at 6:38 PM, Kyle Baley

Re: [appengine-java] How to export a RDBMS

2011-12-06 Thread Ikai Lan (Google)
How much of App Engine's documentation have you read? http://code.google.com/appengine/ This is going to be non trivial, and the answer is not something I can write out in an email unless there's an understanding of the persistence model GAE uses. -- Ikai Lan Developer Programs Engineer, Google

Re: [appengine-java] Re: Users changing data

2011-11-04 Thread Ikai Lan (Google)
Java code removed) PreparedQuery pq = ds.prepare(new Query(UserForTesting)); ... pq.asIterable() ... e.getProperties() ... log(u.getUserId()); log('/'); log(u.getNickname()); ... On 4 November 2011 01:05, Ikai Lan (Google) ika...@google.com wrote: Can you

Re: [appengine-java] Re: Number of writes per second limitation

2011-11-04 Thread Ikai Lan (Google)
If all 4000 entites are in a single entity group, in theory you can do this because it counts as a single transactional write. There's a maximum RPC size of 11mb (implementation detail) so if you trip this, you're in some trouble - the RPC size include not only the size of the entity but also the

Re: [appengine-java] Number of writes per second limitation

2011-11-03 Thread Ikai Lan (Google)
I'm confused ... an Object[] array? This is bad for a ton of reasons. Calling put() 4000 times in a single request is just bad for a lot of reasons. I'm not sure I understand what problem you are trying to solve. Can you explain so we can help you put together a better solution? -- Ikai Lan

Re: [appengine-java] Users changing data

2011-11-03 Thread Ikai Lan (Google)
Can you post code? It's not clear to me what you're doing. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Thu, Nov 3, 2011 at 4:39 PM, Mat Jaggard matt...@jaggard.org.uk wrote: I have an entity that stores a user, however the user gets

Re: [appengine-java] matching url patterns in web.xml when using mail handlers and srping

2011-11-03 Thread Ikai Lan (Google)
It doesn't look like the servlet specification defines this: http://download.oracle.com/otndocs/jcp/servlet-3.0-public-oth-JSpec/ The servlet specification defines: /* and *.somesuffix. You might just have to write a servlet that routes as necessary based on the URL path. -- Ikai Lan Developer

Re: [appengine-java] Correct way to keep track of the number of Entities of one kind.

2011-10-14 Thread Ikai Lan (Google)
So I hate to make this more complicated but ... Yes, this is roughly the right approach. However, if you are creating entities at a rate higher than 1/s, this pattern will break. You'll need to use the sharded counter property: http://code.google.com/appengine/articles/sharding_counters.html

Re: [appengine-java] Does JDO auto remove indexes that now have unindexed properties?

2011-10-14 Thread Ikai Lan (Google)
Mark, Interesting that it does this. One thing you might try: 1. Run a mapper job 2. Read all the entities using the low level API 3. Explicitly set properties using the low level API's setProperty() and setUnindexedProperty() methods 4. Save entities back to the datastore This definitely

Re: [appengine-java] Help with sharded counters and loading results.

2011-10-06 Thread Ikai Lan (Google)
I solved this problem by spinning off a task queue with an ETA of 1-5 minutes that would flush the total count into a different entity. The tradeoff is that count totals are delayed and it's not even close to real time, but the advantage is that it gets the best of both worlds: This code lab is

Re: [appengine-java] GeoPt vs. two floats

2011-10-04 Thread Ikai Lan (Google)
AFAIK, there aren't any plans to do Geospatial indexing via GeoPt anytime in the near future. That being said, if we were to support this feature, it would make sense for us to start there or at least provide an API supporting GeoPt. Even if we didn't, you could just call getLatitude() and

[appengine-java] Prerelease SDK 1.5.5 available for download!

2011-10-03 Thread Ikai Lan (Google)
Hey everyone, Prerelease SDK 1.5.5 is now available for download! You can get it here: Python: http://code.google.com/p/googleappengine/downloads/detail?name=google_appengine_prerelease-1.5.5.zip Java:

Re: [appengine-java] Re: Howto return all values stored in memcache?

2011-10-03 Thread Ikai Lan (Google)
The publicly available Memcache doesn't have this functionality either, and it's really not as simple as you might think. What if there's a lot of data? Do you need a cursor? Should you lock all Memcache shards? And so forth. If you're interested in a project that does something similar, you

Re: [appengine-java] Gmail IMAP Access

2011-10-03 Thread Ikai Lan (Google)
Nope, because we don't have socket support yet. Socket support isn't on our roadmap, but it's something we've been thinking about to support these use cases: http://code.google.com/appengine/docs/roadmap.html -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com |

Re: [appengine-java] datastore - order by query in a many to many model

2011-10-03 Thread Ikai Lan (Google)
Hi Gabriel, Ah, you're hitting the first bump in learning to think non-relationally. Rather than creating 3 models, what about creating a List of categories for each Podcast and just storing that on the podcast? The tradeoff is that it won't be easy to rename a podcast category, but that

Re: [appengine-java] Re: Howto return all values stored in memcache?

2011-10-03 Thread Ikai Lan (Google)
else achieving this? On Oct 3, 10:56 pm, Ikai Lan (Google) ika...@google.com wrote: The publicly available Memcache doesn't have this functionality either, and it's really not as simple as you might think. What if there's a lot of data? Do you need a cursor? Should you lock all Memcache

Re: [appengine-java] Memcache objects remain only 5 minutes

2011-09-28 Thread Ikai Lan (Google)
You're right: there are no guarantees around how long an item will stay in Memcache. Memcache has two Least-Recently-Used lists of items, where if you don't read or write an item, it may be pushed off the list for space. There's a per app LRU and a global LRU for apps sharing the same memcache

Re: [appengine-java] Re: Disable 'refresh' in a page

2011-09-28 Thread Ikai Lan (Google)
I agree with everything everyone has said about disabling refresh. Don't interrupt basic browser functions. It's a bad idea. What problem are you trying to solve? There is probably a more intuitive way of doing this. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com |

Re: [appengine-java] Google App Engine Internet Crawler

2011-09-28 Thread Ikai Lan (Google)
You'll probably have to use chaining task queues or the backends API: http://code.google.com/appengine/docs/java/backends/overview.html This has the tendency to be pretty expensive, though, and you don't really get any benefits from using App Engine, so you might be better off crawling the

Re: [appengine-java] All prices being shown as $0.00 under Billing History

2011-09-28 Thread Ikai Lan (Google)
Do you have an affected app ID we can look at? -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Mon, Sep 26, 2011 at 9:22 PM, Arun Ramanujapuram arun_rama...@yahoo.comwrote: Hi, All prices are being shown as $0.00 under the Billing History

Re: [appengine-java] Transactions on entities in different entity groups ?

2011-09-28 Thread Ikai Lan (Google)
You currently can't, but we plan on rolling out a feature that will do this in the next few releases. It's currently in trusted tester at the moment. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Mon, Sep 26, 2011 at 10:59 PM, Santosh kumar

Re: [appengine-java] Will user service be available for DeferredTask?

2011-09-28 Thread Ikai Lan (Google)
No, deferred tasks run in a task queue. You will probably want to persist the user in the datastore and pass the userId as a parameter to the deferred task to be fetched. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Fri, Sep 23, 2011 at

Re: [appengine-java] The source code from a beginner

2011-09-21 Thread Ikai Lan (Google)
Hi Lucho, Some of the code is available here: http://code.google.com/p/googleappengine/source/browse/#svn%2Ftrunk%2Fjava Note that this can sometimes run a revision or so behind. I'm not sure this'll help you if you're having problems, though - we posted this for the benefit of framework and

[appengine-java] App Engine SDK 1.5.4 released!

2011-09-12 Thread Ikai Lan (Google)
Hey everyone, Just wanted to let you all know that App Engine SDK 1.5.4 has been released. The official announcement is here: http://googleappengine.blogspot.com/2011/09/app-engine-154-sdk-release.html The full release notes are below: Java 1.5.4 = - You can now specify the maximum

Re: [appengine-java] New Billing Model,

2011-09-09 Thread Ikai Lan (Google)
Without knowing what you are doing, as a general suggestion I say use rough approximations and charge per op instead of trying to match App Engine's pricing cent for cent. A few months ago, someone in this group posted a very good analogy about how everyone pays the same amount of money at a

Re: [appengine-java] Compiled jsp file: FileNotFoundException

2011-09-07 Thread Ikai Lan (Google)
I just posted to downtime notify, though we've already completed rolling back the change we made to high replication apps. We're working on rolling back the change for master/slave apps. I'll be updating both downtime-notify and this bug here:

Re: [appengine-java] Some Java classes are not uploaded during deploy

2011-09-07 Thread Ikai Lan (Google)
Your issue is likely related to this: http://code.google.com/p/googleappengine/issues/detail?id=5812 I just posted to the downtime-notify list about this. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Wed, Sep 7, 2011 at 2:13 PM, Paul

Re: [appengine-java] OAuth and Appengine java

2011-08-29 Thread Ikai Lan (Google)
Looks like you're trying to implement a consumer. You don't need to enable federated login. Can you provide your server side provider code? You can't use OAuth to auth against something expecting UserService. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com |

Re: [appengine-java] Exporting and Importing data from Java application

2011-08-25 Thread Ikai Lan (Google)
Yes, this can be done all in Java. You may have to write your own handlers, though. What have you written so far? The bulkloader is completely written in Python, -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Thu, Aug 25, 2011 at 9:38 AM,

Re: [appengine-java] Twitter real time notification using backends

2011-08-25 Thread Ikai Lan (Google)
No, it won't work in backends. It'll work up to the request deadline and stop. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Wed, Aug 24, 2011 at 12:56 PM, Efi Merdler-Kravitz efi.merd...@gmail.com wrote: Hello everybody, Did any of you

Re: [appengine-java] Re: Upload attachments Google Sites

2011-08-24 Thread Ikai Lan (Google)
at 10:28 PM, Thomas Wiradikusuma wiradikus...@gmail.com wrote: Hi Ikai, Just wondering, is it possible if instances are given limited space temp dir where programs can write to it? It will greatly help 3rd party frameworks which use file system for temp data. On Aug 24, 5:53 am, Ikai Lan

Re: [appengine-java] ClassNotFoundException for java.util.HashMap$Entry

2011-08-24 Thread Ikai Lan (Google)
It's hard to say based on this information alone. I hate to say it, but if you've got a good version and a bad version, it's time to binary search on what has changed between versions to zone in on the problem. If you use git git bisect is a lifesaver. -- Ikai Lan Developer Programs Engineer,

Re: [appengine-java] Problem deploying to GAE

2011-08-23 Thread Ikai Lan (Google)
There was a period of deploy issues; hopefully this has been resolved. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Fri, Aug 19, 2011 at 8:41 PM, Sarah sarah.aslani...@gmail.com wrote: Unable to update: java.io.IOException: Error posting

Re: [appengine-java] Upload attachments Google Sites

2011-08-23 Thread Ikai Lan (Google)
I just took a look at the GData library, and it shouldn't be that hard to convert an InputStream to a File instance. Here's something I found searching: http://www.roseindia.net/java/java-conversion/InputstreamToFile.shtml -- Ikai Lan Developer Programs Engineer, Google App Engine

Re: [appengine-java] How to use HTTPURLCONNECTION to post data to a form containing captcha+multiple choice values

2011-08-22 Thread Ikai Lan (Google)
Is your site showing the captcha? If so, I know I'm not answering the question, but have you considered this? http://www.google.com/recaptcha -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Sat, Aug 20, 2011 at 3:06 AM, Arvind Chari

Re: [appengine-java] Mail API calls - Quota

2011-08-22 Thread Ikai Lan (Google)
We've reduced the free quota on new applications. If you enable billing, you should still have the same billing quota. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Sun, Aug 21, 2011 at 7:41 AM, realdope rte...@gmail.com wrote: Hi,

Re: [appengine-java] Re: sitemap.xml and urllist.txt

2011-08-22 Thread Ikai Lan (Google)
Vik, it probably has something to with your web.xml file. On a related note, are you at all interested in GAE consulting? It sounds like you're carrying a lot of weight on your own shoulders, and there are plenty of experts in this forum that wouldn't mind taking on an additional contract! --

Re: [appengine-java] Cloud computing projects for engineering students

2011-08-22 Thread Ikai Lan (Google)
Feel free to repurpose anything you want from here: http://io-bootcamp-datastore.appspot.com/ It's a tutorial session I did about the datastore from Google IO. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Sun, Aug 21, 2011 at 5:29 AM,

Re: [appengine-java] Android authentication broken?

2011-08-22 Thread Ikai Lan (Google)
Can you describe the errors you're seeing? Exceptions that are thrown, etc? It doesn't work isn't a particularly helpful error report. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Mon, Aug 22, 2011 at 7:00 AM, Erlend Hamnaberg

Re: [appengine-java] ApplicationError: 10: Unknown when writing to blobstore using FileService

2011-08-19 Thread Ikai Lan (Google)
We're surfacing a bad error here. Basically, you get this error message if you hold the file open too long; we recommend around 30 seconds. I'll file a bug internally to get a better error message. Can you break this up into multiple writes? -- Ikai Lan Developer Programs Engineer, Google App

Re: [appengine-java] DatastoretimeExceptions

2011-08-18 Thread Ikai Lan (Google)
Satrasala aswath.satras...@gmail.com wrote: It is master/slave. Now, I am not seeing those exceptions. Thanks -Aswath On Wed, Aug 17, 2011 at 1:00 AM, Ikai Lan (Google) ika...@google.comwrote: Aswath, is your application on master/slave or high replication? -- Ikai Lan Developer

Re: [appengine-java] Re: java.net.SocketTimeoutException: Timeout while fetching

2011-08-18 Thread Ikai Lan (Google)
Oh, so you have two applications? What is application B doing that might timeout? Does it timeout 100% of the time or just sometimes? -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Wed, Aug 17, 2011 at 9:32 AM, Luke travalle...@gmail.com

Re: [appengine-java] Connecting App with domain, can't add domain to google apps

2011-08-17 Thread Ikai Lan (Google)
It's likely because you are using a banned word in the domain name. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Tue, Aug 16, 2011 at 2:19 PM, f1ames dr.odpowi...@gmail.com wrote: I created some app and I just wanted to add a domain. I

Re: [appengine-java] Deploy Issues in 1.5.3

2011-08-17 Thread Ikai Lan (Google)
Can you provide any more reproduction details? I'm going to try this in a bit but anything you can give us will help. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Wed, Aug 17, 2011 at 12:25 PM, Robert Lancer robert.lan...@gmail.comwrote:

Re: [appengine-java] Deploy Issues in 1.5.3

2011-08-17 Thread Ikai Lan (Google)
PM, Ikai Lan (Google) ika...@google.comwrote: Can you provide any more reproduction details? I'm going to try this in a bit but anything you can give us will help. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Wed, Aug 17, 2011 at 12:25

Re: [appengine-java] Does the SDK in WEB-INF/lib Get Deployed?

2011-08-17 Thread Ikai Lan (Google)
Yes, these get deployed, and yes they are needed online because they provide the interfaces to the APIs. These are essentially thin clients. Fortunately, because we calculate a hash on each of the files, they're not reuploaded each time because we already have an identical file online. I'm not

Re: [appengine-java] Deploy Issues in 1.5.3

2011-08-17 Thread Ikai Lan (Google)
Follow this issue: http://code.google.com/p/googleappengine/issues/detail?id=5612 -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Wed, Aug 17, 2011 at 1:59 PM, Ikai Lan (Google) ika...@google.comwrote: Alright, I've easily reproduced

Re: [appengine-java] Deploy Issues in 1.5.3

2011-08-17 Thread Ikai Lan (Google)
Looks like this is just the Eclipse plugin. Command line deploys with appcfg.cmd are going through just fine. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Wed, Aug 17, 2011 at 2:25 PM, Ikai Lan (Google) ika...@google.comwrote: Follow

Re: [appengine-java] DatastoretimeExceptions

2011-08-16 Thread Ikai Lan (Google)
Aswath, is your application on master/slave or high replication? -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Tue, Aug 9, 2011 at 3:59 AM, Aswath Satrasala aswath.satras...@gmail.com wrote: Hello All, Recently for the past 2-3 days, I

Re: [appengine-java] Delay for later request

2011-08-16 Thread Ikai Lan (Google)
It probably has to do with loading requests. Does your app take a long time to load? -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Tue, Aug 9, 2011 at 9:49 AM, WillSpecht willspe...@gmail.com wrote: I am have created a search bar similar to

Re: [appengine-java] Creating an image into the blobstore by programmation

2011-08-16 Thread Ikai Lan (Google)
What is the error you see? -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Sun, Aug 14, 2011 at 11:26 AM, Christian Goudreau goudreau.christ...@gmail.com wrote: Hi everyone, I tried unsuccessfully to create image pragmatically on the

Re: [appengine-java] Errors occurred during the build. Errors running builder 'Profiling Builder' on project ### Unknown local variable 7

2011-08-16 Thread Ikai Lan (Google)
Do you have 7 somewhere? Maybe you copied and pasted a line number? -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Sun, Aug 14, 2011 at 1:32 PM, scorpion pushkar...@gmail.com wrote: Hi Every1, Has any1 seen the above message. I get this

Re: [appengine-java] How to increase mapper quota?

2011-08-16 Thread Ikai Lan (Google)
What's your task queue quota set at? -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Fri, Aug 12, 2011 at 1:01 PM, Rob Patel robpate...@gmail.com wrote: I am using google app engine Mapper API to delete all rows (approx. 2M) for a particular

  1   2   3   4   5   >