[appengine-java] Re: Problem with exception on server startup when GAE sdk is in svn

2012-02-22 Thread Max Ross (Google)
It's a bug triggered by the fact that the .svn directories are read-only. If you make those directories writable the problem *should* go away. Please try that out and let me know. Thanks, Max -- You received this message because you are subscribed to the Google Groups Google App Engine

[appengine-java] Re: Deploying two apps to one datastore memcache

2011-12-09 Thread Max
How about deploy as two versions? So that different versions of instance are loaded independently. With regards to admin console, you might be interested at Yaachttp://code.google.com/p/yaac/. So that you don't have to develop some general admin functions in your version again. -- You

[appengine-java] Yaac 0.4 is out! Insert statement is now supported

2011-12-08 Thread Max
clause (optional): MAX, MIN, SUM, COUNT, AVG Scalar functions: UCASE / LCASE / MID / LEN / ROUND / FORMAT / NOW / TYPE / DATETIME / KEY / USER/ GEOPT, etc. Inter properties comparison in where clause: eg, *where property1 = property2* Powerful Arithmetic Expressions: eg, *where property1 + 5

[appengine-java] Re: Creating a new entity kind using the Datastore Viewer

2011-12-08 Thread Max
version. Cheers, Max -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/K5OlqadScswJ. To post to this group, send email to google

[appengine-java] Re: How to efficiently implement Quotas

2011-11-26 Thread Max
We use memcache + datastore counter and it works quite well. Let's say datastore counter will be updated every time count % 1000 == 0. then even the memcache crashed then you lose 1000 uncharged API call at most. -- You received this message because you are subscribed to the Google Groups

[appengine-java] Re: Is BlobInfoFactory thread safe?

2011-11-20 Thread Max
Hi Marcel, What is your use case? Why do you want to know if it's thread safe? You can't create new thread inside appengine sandbox. Regards, Max -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion

[appengine-java] Re: prefetchSize vs chunkSize

2011-11-20 Thread Max
+1 I am also curious on the answer. I found following code snippet in class QueryTranslator, it looks to some degree these two are the same and prefetchSize overrides chunkSize? DatastorePb.Query proto = new DatastorePb.Query(); if (fetchOptions.getPrefetchSize() != null) {

[appengine-java] Re: Creating a new entity kind using the Datastore Viewer

2011-11-18 Thread Max
no, at the moment you can't and you can't add new property to existing entity -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit

[appengine-java] Re: Can I upload an image to Blobstore using the admin console?

2011-11-18 Thread Max
no, at the moment you can't -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/s_9aLOndvM4J. To post to this group, send email to

[appengine-java] Re: Creating a new entity kind using the Datastore Viewer

2011-11-18 Thread Max
Did you search similar tickets before create one? I believe this has been requested for many times. You link doesn't work :) -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit

[appengine-java] Gql4J, gql for appengine java sdk

2011-11-17 Thread Max
homepage. Any feedback is welcome! Cheers, Max -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/h16ZUObl3X0J. To post to this group, send

[appengine-java] Re: Gql4J, gql for appengine java sdk

2011-11-17 Thread Max
Re-paste usage again, don't know why there are some strange style on first one DatastoreService datastore = DatastoreServiceFactory.getDatastoreService(); GqlQuery gql = new GqlQuery(SELECT * WHERE ANCESTOR IS KEY(:1, :2) LIMIT 100 OFFSET 1000, Person, Amy); IterableEntity result =

[appengine-java] Re: Joins Concept in GQL Using Java

2011-11-16 Thread Max
you can't perform join query with GQL -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/RBoQDGQAq8EJ. To post to this group, send email

[appengine-java] Re: Select query using LIKE

2011-11-16 Thread Max
Hi Ravi, If you just want to execute like query for reporting purpose, you may want to look at Yaac project : http://code.google.com/p/yaac/ Sandbox is available for anyone to play with: http://sandbox.yetanotheradminconsole.appspot.com/#query: You can then execute some query like : *select

[appengine-java] Re: Templating Frameworks

2011-11-16 Thread Max
checkout play framework GAE module it's using Groovy template, which is quite nice and clean -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit

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

2011-11-07 Thread Max Ross (Google)
5 put() RPCs plus one more for the commit, although you could use a batch put to turn this into 1 put() RPC plus one more for the commit. These are implementation details though. We may at some point just hold on to the entire mutation until commit time (easy if you're not asking us to generate

[appengine-java] DataNucleus App Engine Plugin v2.0.0-RC1 available for testing

2011-11-01 Thread Max Ross (Google)
JPA 2, JDO 3, unowned relationships, and tons of bug fixes. https://plus.google.com/102837845875216819095/posts/9U9VFWqhPx7 -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit

Re: [appengine-java] Re: JDO and XG transactions - Performance

2011-10-18 Thread Max Ross (Google)
. Max -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/mq8YLNx0kaoJ. To post to this group, send email to google-appengine-java

[appengine-java] Re: XG Transactions with JDO/JPA

2011-10-13 Thread Max Ross (Google)
Enabling HR locally is described here: http://code.google.com/appengine/docs/java/tools/devserver.html#Using_the_Datastore -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit

[appengine-java] XG Transactions with JDO/JPA

2011-10-12 Thread Max Ross (Google)
=datanucleus-appengine-1.0.10.final.jar and follow the installation instructions on that page. Please let me know if you have any problems with it. Sorry for the trouble, Max -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view

[appengine-java] Deployment failing consistently!

2011-08-29 Thread Max Hwang
Internal Server Error Anyone else seen this? -Max -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/8nxq5PO4m4oJ. To post to this group

[appengine-java] Re: Self join and group by

2011-08-02 Thread Max
you can merge join entities to itself without ordering for group by, you will need to pre-index (partition) your data when writing to datastore, or you can do this in memory -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view

[appengine-java] Make use of appengine versions? Looking for your sugestion

2011-08-01 Thread Max
bottleneck for those non-default versions? eg, max instance can't exceed certain no? 2) How transactions are managed across different versions? eg, can I assume version 1 can't commit changes to certain entity group if version 2 has already started one on that entity group? What's your opinion? any

[appengine-java] Persistence issue

2011-08-01 Thread max
Thank you for your help Max PS: sorry for my english -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/Tl0P5tYxk8wJ. To post to this group

[appengine-java] Re: HashMap within an Embedded Class

2011-07-22 Thread Max
This is a known bug and seems still not fixed yet. You will need to manually serialize in you code Also, if you just started coding on GAE, check out Objectify / Twig / Siena etc. These are all very good frameworks. -- You received this message because you are subscribed to the Google

Re: [appengine-java] How to run quatz(kind) of scheduler service on appengine?

2011-07-22 Thread Max
You can have deploy your quatrz scheduler in EC2 and the only job is pinging your corresponding appengine URL according to the schedule. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit

[appengine-java] Re: 1.5.2 SDK Prerelease

2011-07-12 Thread Max
Great job! May I know more about *t**he datastore now never requires an exploding index *? Does that mean we don't need to build exploding index or simply can't build exploding index? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java

Re: [appengine-java] Re: Fast MVC Framework for GAE?

2011-07-10 Thread Max
I use Play framework with GAE module, it works quite nice and performance is ok. Personally I don't have good experience with Spring roo -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit

[appengine-java] Re: Fast MVC Framework for GAE?

2011-07-09 Thread Max
for warm up issue, there are several options, including always on instance, cron job, etc you may want to take a look at this page http://www.keepyourappwarm.com/ -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this

[appengine-java] Scalability of inequality filters for multiple fields via Hilbert curve

2011-07-04 Thread Max
Hi all, Would like to know if there are any of you guys ever tried to use space filling curve like Hilbert curve to build index for multiple inequality filters. Seems like for any continuous field like long or date, the number of ranges (to be merged) to perform a accurate query is

[appengine-java] JDO M-N Attributed Relation

2011-06-22 Thread Max Pfeiffer
://www.datanucleus.org/products/accessplatform/guides/jdo/many_many_attributed/index.html? If it work, pleas give me a small example how to implement. Thanks for your help, Max -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view

[appengine-java] M-N Attributed Relation

2011-06-22 Thread Max Pfeiffer
Hallo again, i am doing a the App Engine JDO tutorial and plaining with relations. Is it possible to do m-n attributed relation such as explain in the JDO Guides? If it is possible please give a small example how to use it. Thank you for your Help. Regards, Max App Engine JDO tutorial

[appengine-java] Re: Using Serializable object in session

2011-05-31 Thread Max
this is more a java question than GAE question check out this http://java.sun.com/developer/technicalArticles/Programming/serialization/ -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to

Re: [appengine-java] Re: why the development of java tools fall far behind that of python's?

2011-05-26 Thread Max Ross (Google)
and not something we're happy about having to recommend, but it doesn't take much effort and it does work. Max On Thu, May 26, 2011 at 9:37 AM, Mitch Rudominer rudomi...@google.comwrote: Tapir, thanks for your feedback. I agree that there have been several cases where features have come out in Python

[appengine-java] Re: Is possible to create a datastore index programmatically

2011-05-23 Thread Max
+1 This will be a quite useful feature to develop a powerful framework -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group,

Re: [appengine-java] Re: After upgrade to GAE SDK 1.5.0 - Cache is not working

2011-05-18 Thread Max
Still waiting for the new jar to appear here http://repo1.maven.org/maven2/com/google/appengine/appengine-jsr107cache/ -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to

[appengine-java] Re: Can remote api be used inside a GAE java app.

2011-05-12 Thread Max Ross
This is on our radar but it's not yet supported. Max -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email

[appengine-java] Re: Will movement out of preview status give free access to SQL

2011-05-12 Thread Max Ross
We don't have anything to announce related to SQL pricing and quotas, but the access for Java apps will be through JDBC. Max -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine

[appengine-java] Re: Backends Javadoc Reference not uploaded

2011-05-12 Thread Max Ross
I see it here in com.google.appengine.api.backends: http://code.google.com/appengine/docs/java/javadoc/ Where are you looking? Max -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google

[appengine-java] Re: How can I make the session to be held open as long as the user got its browser opened?

2011-04-10 Thread Max
have you tried to use memcache or simply store session into datastore? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send

[appengine-java] Re: cost effective way to store PDF and word docs in datastore / blobstore service

2011-01-05 Thread Max
You can just enable billing with a very low daily limit No harm, right? On Dec 25 2010, 4:29 pm, Khor Yong Hao fyh...@gmail.com wrote: It is possible to store one page / two page PDF (smaller than 1 mb) inside normal datastore. By using byte[] in entity datatype. On Sat, Dec 25, 2010 at

[appengine-java] Re: Datastore Backup and Restore (for Java)

2011-01-04 Thread Max
You can also dump your datastore to other application as well On Jan 5, 1:37 pm, Didier Durand durand.did...@gmail.com wrote: Hi, There a bulk import / export feature on the roadmap: it will be usable for backups. Seehttp://code.google.com/appengine/docs/roadmap.html If I needed it, I would

[appengine-java] Re: new bee need suggestion on persistance

2011-01-04 Thread Max
I would suggest to play with low level API before you make decision between JDO/JPA/Objectify/twig That will help you better understand bigtable. On Jan 5, 1:29 pm, Didier Durand durand.did...@gmail.com wrote: Hi, I am also a big fan of Objectify: simple to understand, efficient,

[appengine-java] Re: how to upload local_db.bin database file to appengine app

2011-01-04 Thread Max
You can take a look at Python bulkuploader On Jan 5, 1:44 pm, Didier Durand durand.did...@gmail.com wrote: Hi, Not knowing all details of you app, the most generic way is to write some code and run and the dev server. Basically: it has to read all your entities from local ds ans post them

[appengine-java] Re: How to make reference(a.k.a Foriegn keys) in Bigtable datastore using JDO

2011-01-04 Thread Max
If the referenced entity is in the same entity group, use object reference directly. Otherwise create a Key object On Jan 3, 8:49 pm, rajeev jha rajeevjha...@gmail.com wrote: Hello friends, How to create foreign keys using JDO in Bigtable Datastore likewise using python we can achieve using

[appengine-java] Re: JDO - Add a child - Error

2011-01-04 Thread Max
have you tried to detach after you persist? On Dec 21 2010, 9:36 am, lisandrodc lisandr...@gmail.com wrote: Hi! I have a problem when add a class Equipo(child) one Torneo(parent). The code: Transaction tx = pm.currentTransaction();                 try {                         tx.begin();

[appengine-java] Re: Unable to navigate my app in production server, while in development server works fine

2011-01-04 Thread Max
Would you mind to post your index.jsp as well? I suspect it's because GAE server is case sensitive, and the thrown exception is not serializable On Jan 4, 10:05 pm, Markel Arizaga markel.ariz...@gmail.com wrote: Hi, I got stuck. I Googled and have been searching in the forums during the last

[appengine-java] Re: Basic Text Search Not Working

2011-01-04 Thread Max
this query is a startsWith query, ie, 'queryString%' Are you expecting a '%queryString%' match? On Jan 3, 11:45 pm, Andy Haaf ah...@google.com wrote: I followed the instructions at: http://googlecode.blogspot.com/2010/05/google-app-engine-basic-text-s... but search is only working for exact

Re: [appengine-java] Re: How to completely erase the datastore of an app

2011-01-01 Thread Max
CRI, Unfortunately, no, I don't have any advice around index management. Max On Dec 31, 2010, at 9:46 AM, cghersi wrote: Hi Max, I've got a similar servlet too... I was guessing if there was a built-in method in GAE API. I would like also to delete and rebuild my indexes, but I

Re: [appengine-java] Re: How to completely erase the datastore of an app

2010-12-30 Thread Max
Hi CRI, I ran into this as well, however, the Datastore viewer only allows someone to view a certain number of entries at a time. If you're app has thousands of saved entities, it can be time consuming to delete them all. I created a few simple tasks to do this for me. I make these both

Re: [appengine-java] Re: DataStore embeds equals signs (=) into saved file

2010-12-20 Thread Max
to yours and found the issue and its solution: http://groups.google.com/group/google-appengine-python/browse_thread/thread/0ac4ab5266fb3781 Hope it helps didier On Dec 4, 9:04 pm, Max 6738...@gmail.com wrote: Hi, My GAE application strips attachments from inbound emails and saves them

Re: [appengine-java] Multiple Async get vs one Sync batch get?

2010-12-17 Thread Max Ross (Google)
in different entity groups? Thanks, Max On Fri, Dec 17, 2010 at 4:11 PM, Ikai Lan (Google) ikai.l+gro...@google.comikai.l%2bgro...@google.com wrote: Very cool. Thanks for posting! What kind of processing are you doing after you retrieve the entities? I'm surprised it made a difference. -- Ikai Lan

Re: [appengine-java] Re: Issue processing the Receive Mail Handle multiple times

2010-12-13 Thread Max
it can be executed multiple times: Google highly recommend to guarantee to work on a true idempotence of the code in such cases. regards didier On Dec 12, 10:22 pm, Max 6738...@gmail.com wrote: Hi, My application receives emails and performs duties based on the content of the email

[appengine-java] DataStore embeds equals signs (=) into saved file

2010-12-04 Thread Max
Hi, My GAE application strips attachments from inbound emails and saves them as byte[]. Objectify translates the byte[] to a com.google.appengine.api.datastore.Blob (does not utilize BlobStore). For some files, it embeds equal signs in places where the original document doesn't have any

Re: [appengine-java] Re: datanucleus-appengine

2010-12-03 Thread Max Ross (Google)
a patch with thorough test cases we will be happy to work with you to get it submitted. Thanks, Max On Fri, Dec 3, 2010 at 1:32 PM, George Moschovitis george.moschovi...@gmail.com wrote: You're eager optimizing your support problem, when really the problem you should be solving is what do I

Re: [appengine-java] no async queries on AsyncDatastoreService for 1.4.0?

2010-11-29 Thread Max Ross (Google)
definitely interested in exposing these batches directly, and an explicitly async API for these batches makes a lot of sense since fetching these batches would map directly to something expensive on the server side. Hope this helps, Max On Fri, Nov 26, 2010 at 4:41 PM, Luke lvale...@gmail.com wrote: i

Re: [appengine-java] test inbound email with attachments on development server

2010-11-22 Thread Max
I would like to see this also. Two of my app's basic functions involving receiving and processing email attachments. thx, MG On Nov 22, 2010, at 11:56 AM, john byrne wrote: Can the test web page http://localhost:/_ah/admin/inboundmail; be extended to include the ability to include an

Re: [appengine-java] How can i store an image to a blobstore without using a form?

2010-11-21 Thread Max
I would like to do this also. I am currently storing files as byte[] but I receive corrupted files about 5% of the time and it is seemingly random. I'm using Objectify and I think it translates the byte[] to a Blob but doesn't use the Blobstore. I believe it would be possible using the

Re: [appengine-java] Re: pdf

2010-11-18 Thread Max
file types and can get the text from them using Docs Viewer. thanks! Max On Nov 18, 2010, at 1:18 PM, Robert Lancer wrote: Try this http://docs.google.com/viewer On Nov 18, 7:23 am, thangavel s thangaveln...@gmail.com wrote: hi, how to use OCR in pdf and way to convert pdf to image

Re: [appengine-java] How to send spreadsheet as an attachment on Google App Engine?

2010-11-14 Thread Max
Vikas, I have a servlet that uses JXL to build an Excel spreadsheet and send it via email. Below is the code. However, I do not export any of the data from Google Spreadsheets. If the Google Spreadsheets API doesn't let you get the byte[], you'd probably need a JXL - Google Spreadsheets

[appengine-java] Re: memcache package not in classpath

2010-10-26 Thread Max
Thanks a lot for sharing this! -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to

Re: [appengine-java] SDK 1.3.8 released!

2010-10-15 Thread Max Ross (Google)
Guillaume, Which FetchOptions class are you looking at? The last update I see to either of them was back in April and they were backwards compatible changes. Thanks, Max On Fri, Oct 15, 2010 at 5:51 AM, Guillaume Laforge glafo...@gmail.comwrote: Excellent, thank you! The instances view

Re: [appengine-java] Any changes to access levels in com.google.appengine.api.datastore recently?

2010-10-15 Thread Max Ross (Google)
/fields? If so that's not safe, since we only guarantee backwards compatibility for the public API. If not then I'll need more info. Thanks, Max On Thu, Oct 14, 2010 at 12:14 PM, Darren Clarke dar...@redaranj.com wrote: Has anything changed with class access levels (public vs. private

[appengine-java] Using Paging with Google Visualizations

2010-09-28 Thread Max
Hi Folks, Has anyone used some of the paging techniques with the Google Table Visualization? I am trying to successfully combine the example provided at the below link with either Objectify cursors (also linked to) or another paging technique. If anyone has advice or an example, I would

[appengine-java] OCR on Google App Engine

2010-08-04 Thread Max
Hi, I'm trying to implement the capability to text extraction from images (TIF/PDF) on Google App Engine. Has anyone had success with this? Is the best option to utilize a web service? I was able to find OCRWebService.com, but that only has a SOAP interface and not REST. I found OCR Terminal

[appengine-java] JDO - How to Model a Transferable Relationship?

2010-07-18 Thread max
() of the related object. I think I am missing something rather simple, but I can't get it working. Do I need other annotations? Can someone post a simple example? thanks! Max -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post

Re: [appengine-java] Re: CloudCover: Cannot schedule instance of TestClass because of not an available class

2010-07-14 Thread Max Ross (Google)
Thanks for trying CloudCover! Unfortunately CloudCover's support for datastore tests rely on an App Engine feature called Namespaces that is not yet available to all apps. This feature should be widely available soon, at which point your error message will go away. Sorry for the trouble, Max

[appengine-java] Re: Application restart for almost every request? What happened?

2010-06-29 Thread Max
This is really one of the core problems why you cannot use GAE for anything serious. Even if you get enough traffic, some users suffer from instance recycling every second (read the comments at the issue). -- You received this message because you are subscribed to the Google Groups Google App

Re: [appengine-java] CloudCover: Cannot schedule instance of TestClass because of not an available class

2010-06-12 Thread Max Ross (Google)
This most likely means that your tests aren't available as part of your application. Are you certain you uploaded them? On Fri, Jun 11, 2010 at 11:31 PM, Art art...@gmail.com wrote: Dear group, I would like to know how to make CloudCover (http://code.google.com/p/ cloudcover/) work. At

Re: [appengine-java] The API call datastore_v3.Put() is temporarily unavailable.

2010-05-05 Thread Max Ross (Google)
://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/4857b46e4e6ff0f9 Thanks, Max On Wed, May 5, 2010 at 1:41 PM, hector hrov...@gmail.com wrote: Getting this error on Java App Engine. -- You received this message because you are subscribed to the Google Groups Google App

Re: [appengine-java] Unable to update app: Error posting to URL: Error 500

2010-05-05 Thread Max Ross (Google)
://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/4857b46e4e6ff0f9 Thanks, Max On Wed, May 5, 2010 at 1:45 PM, Rahul rahul.jun...@gmail.com wrote: Suddenly i have started getting the following exception exception when trying to deploy the application to appengine from

Re: [appengine-java] Re: The API call datastore_v3.Put() is temporarily unavailable.

2010-05-05 Thread Max Ross (Google)
Hi Jerome, What error were you getting instead of ApiProxy.CapabilityDisabledException? Do you have a stack trace I can look at? Thanks, Max On Wed, May 5, 2010 at 1:57 PM, Jerome jerome.mou...@gmail.com wrote: Well... based on the announcement, we were supposed to receive

Re: [appengine-java] Error uploading project to App Engine

2010-04-28 Thread Max Ross (Google)
://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/4857b46e4e6ff0f9 Thanks, Max On Wed, Apr 28, 2010 at 1:42 PM, Rahul Ravikumar tikura...@gmail.comwrote: When i try to update my project using the Eclipse plugin - I see the following error message in my eclipse log. I am

Re: [appengine-java] Re: ApiProxyLocalImpl class not public

2010-04-26 Thread Max Ross (Google)
What aspect of the local datastore are you trying to configure that isn't covered by LocalDatastoreServiceTestConfig()? I don't think you should have to configure the ApiProxyLocal or the LocalServerEnvironment directly. On Sun, Apr 25, 2010 at 3:40 PM, mvsoares mavsoa...@gmail.com wrote:

Re: [appengine-java] Re: ApiProxyLocalImpl class not public

2010-04-26 Thread Max Ross (Google)
Your JDO config is not related to LocalServiceTestHelper or LocalDatastoreServiceTestConfig. If you create your PersistenceManager in the typical way after you create a LocalServiceTestHelper with a LocalDatastoreServiceTestConfig and then call helper.setUp() you should be all set. Max 2010/4

Re: [appengine-java] Re: TaskOptions.countdownMillis not used

2010-04-23 Thread Max Ross (Google)
The dev server used to not execute tasks automatically at all but now the functionality emulates prod pretty closely. On Fri, Apr 23, 2010 at 6:02 AM, James jamesk...@gmail.com wrote: Are you seeing this on the dev server or in production? I vaguely recall reading somewhere that the dev

Re: [appengine-java] Re: TaskOptions.countdownMillis not used

2010-04-23 Thread Max Ross (Google)
The difference between 2 seconds and immediate isn't much. How are you measuring? Do you have logs that show the time at which the task was enqueued and the time at which it executes? Thanks, Max On Fri, Apr 23, 2010 at 12:31 PM, Fabrizio fht...@gmail.com wrote: Production. On Apr 23, 3

Re: [appengine-java] QueueFactory and NoClassDefFoundError

2010-04-23 Thread Max Ross (Google)
Felipe Quintella Correia felipequintell...@gmail.com I'll be sure it's on the runtime classpath as soon as I am home. Thank you Felipe Quintella 2010/4/22 Max Ross (Google) maxr+appeng...@google.commaxr%2bappeng...@google.com Make sure appengine-api-labs.jar is on your runtime

Re: [appengine-java] QueueFactory and NoClassDefFoundError

2010-04-22 Thread Max Ross (Google)
Make sure appengine-api-labs.jar is on your runtime classpath. Max On Wed, Apr 21, 2010 at 9:00 PM, Felipe Quintella felipequintell...@gmail.com wrote: Hello there. I'm new to Google AppEngine, but I'm already searched and can't find the answer to my problem. I am trying to add a task

Re: [appengine-java] TaskOptions.countdownMillis not used

2010-04-22 Thread Max Ross (Google)
What is the value of the delay variable? On Thu, Apr 22, 2010 at 1:21 PM, Fabrizio fht...@gmail.com wrote: Hello, I need to add a task in the TaskQueue. But I need a small delay before exectution (2 seconds). I use countdownMillis(long) to delay the execution. But execution starts

Re: [appengine-java] Google: Please, stop using the Builder pattern in the Low-Level API!

2010-04-01 Thread Max Ross (Google)
FetchOptions.withDefaults(). Is that right? Thanks, Max On Thu, Apr 1, 2010 at 3:07 AM, Jeff Schnitzer j...@infohazard.org wrote: This is a genuine, heartfelt plea: The Builder pattern (DatastoreServiceConfig, FetchOptions) makes code extra annoying when layering an API on top of the low-level API

Re: [appengine-java] com.google.appengine.api.datastore.DatastoreServiceConfig; not resolved by Eclipse with GAE plugin v1.3.2

2010-04-01 Thread Max Ross (Google)
Hi Didier, I can't say what's going on with your plugin but this is almost certainly a classpath issue. DatastoreServiceConfig was introduced in 1.3.2 so make sure you have the appengine-api.jar that shipped with SDK 1.3.2 in your classpath. Max On Thu, Apr 1, 2010 at 4:01 AM, Didier Durand

Re: [appengine-java] Google: Please, stop using the Builder pattern in the Low-Level API!

2010-04-01 Thread Max Ross (Google)
enough of a hint about the intended usage. So here we are. API design is hard. Max On Thu, Apr 1, 2010 at 12:14 PM, Jeff Schnitzer j...@infohazard.org wrote: Oh, I wasn't suggesting a constructor that takes all the arguments, I'm just wondering why this: FetchOptions opts

Re: [appengine-java] Re: Errors after updating to 1.3.2

2010-03-31 Thread Max Ross (Google)
The method that can't be found was added in 1.3.2 so, as John says, this is almost certainly a classpath problem. My guess is that you have an old version of appengine-api.jar on your classpath somewhere. On Tue, Mar 30, 2010 at 8:26 PM, Featheast Lee featheast@gmail.comwrote: I tried to

[appengine-java] Re: How to query objects with criterias defined in child entities

2010-03-16 Thread Max
sorting order 2, use in-memory zig-zag method to obtain User keys match all query 3, use a batch get to obtain all User entities Please correct me if my understanding is wrong. Best regards, Max On Mar 16, 10:53 am, John Patterson jdpatter...@gmail.com wrote: Hi Max, in that case definitely the model

[appengine-java] Re: How to query objects with criterias defined in child entities

2010-03-16 Thread Max
to query with n filters on one relation index entity *should be* to query with n filters on User with many UserSkill entity children On Mar 16, 2:05 pm, Max thebb...@gmail.com wrote: Hi John, Thanks for your reply. To be honest I am quite disappointed that GAE can not perform such query

[appengine-java] Re: How to query objects with criterias defined in child entities

2010-03-15 Thread Max
their mutual skills 2, given n skills, how to find full list of users having all n skills Best regards, Max On Mar 15, 5:59 pm, John Patterson jdpatter...@gmail.com wrote: I was meaning just put the UserSkills of the two people into the set.   Each person only has a small number of skills yeah

Re: [appengine-java] Re: Memory Leak in the EntityManagerFactory?

2010-03-15 Thread Max Ross (Google)
No problem David, these things happen, and I'm glad to hear you've found the culprit. Thanks for doing all the digging. Max On Mon, Mar 15, 2010 at 2:19 PM, David Fuelling sappe...@gmail.com wrote: Hey Max, I'm eating crow now. Turns out this is *not* a bug in the datastore code. I

[appengine-java] Re: How to query objects with criterias defined in child entities

2010-03-14 Thread Max
Thanks Jeff, If I would like to find all users that have java level 5 and c++ level 2, then how to write a query in your suggested data model? Best regards, Max On Mar 10, 12:18 pm, Jeff Schnitzer j...@infohazard.org wrote: Create a UserSkill entity with a parent key of User.  Do a keysOnly

Re: [appengine-java] can not remove with @Order annotation

2010-03-14 Thread Max Ross (Google)
Please post your model object definitions and the stack trace. Thanks! Max On Sun, Mar 14, 2010 at 8:51 PM, Philip Tucker ptuc...@gmail.com wrote: If I annotate a dependent 1:many relationship with @Order(mappedBy = foo), I get a NPE when I try to remove something from the list. When I

[appengine-java] Re: How to query objects with criterias defined in child entities

2010-03-14 Thread Max
two users? On Mar 10, 12:21 pm, John Patterson jdpatter...@gmail.com wrote: On 10 Mar 2010, at 10:53, Max wrote: Rusty Wright suggested a list of user keys to be stored in skill entity. But that means only 5000 users can have the same skill. If you use the Relation Index Entity pattern

Re: [appengine-java] Memory Leak in the EntityManagerFactory?

2010-03-12 Thread Max Ross (Google)
Thanks for the report David, this certainly seems suspicious. There is at least one memory leak I'm aware of but it's related to transactions so that's probably not what you're bumping into. Have you tried taking a heap dump to see what exactly is building up? On Fri, Mar 12, 2010 at 1:27 PM,

Re: [appengine-java] Re: Error when deleting entities - Id cannot be zero

2010-03-12 Thread Max Ross (Google)
What version of the sdk are you using? On Fri, Mar 12, 2010 at 1:36 PM, Pavel Byles pavelby...@gmail.com wrote: Anyone? On Fri, Mar 12, 2010 at 8:41 AM, Pavel Byles pavelby...@gmail.com wrote: I'm trying to delete all entities in my datastore but I receive the following error:

Re: [appengine-java] Re: Error when deleting entities - Id cannot be zero

2010-03-12 Thread Max Ross (Google)
Which version of the App Engine SDK? On Fri, Mar 12, 2010 at 1:43 PM, Pavel Byles pavelby...@gmail.com wrote: GWT: 2.0.3 On Fri, Mar 12, 2010 at 4:38 PM, Max Ross (Google) maxr+appeng...@google.com maxr%2bappeng...@google.com wrote: What version of the sdk are you using? On Fri, Mar 12

[appengine-java] How to query objects with criterias defined in child entities

2010-03-09 Thread Max
? Many thanks, Max -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr

Re: [appengine-java] TransactionalTaskException when enqueuing more than 5 tasks

2010-03-08 Thread Max Ross (Google)
Yes, the limit is 5: http://code.google.com/appengine/docs/python/datastore/transactions.html#What_Can_Be_Done_In_a_Transaction On Mon, Mar 8, 2010 at 4:10 AM, JD liva...@gmail.com wrote: I am enqueuing tasks within a transaction. tx.begin() for (int i=0;i10;i++) { Queue queue =

Re: [appengine-java] TransactionalTaskException when enqueuing more than 5 tasks

2010-03-08 Thread Max Ross (Google)
Oops, that was the python link. Java link is http://code.google.com/appengine/docs/java/datastore/transactions.html#What_Can_Be_Done_In_a_Transaction On Mon, Mar 8, 2010 at 10:02 AM, Max Ross (Google) maxr+appeng...@google.com maxr%2bappeng...@google.com wrote: Yes, the limit is 5: http

[appengine-java] Re: Tag search

2010-03-08 Thread Max
L (Google) ika...@google.com wrote: How many different kinds of tags are there? Is this an exploding indexes situation? http://code.google.com/appengine/docs/python/datastore/queriesandinde... On Tue, Feb 16, 2010 at 12:34 PM, Max max.seven@gmail.com wrote: I am sorry but it does

[appengine-java] Max length of a list property

2010-03-05 Thread Max
When I am trying to persist a ArrayListString with size = 5000. The app-engine throws following exception. Any ideas on the max length of listProperties? Nested in javax.servlet.ServletException: java.lang.IllegalArgumentException: Too many indexed properties for entity: app: testing0601,path

[appengine-java] Re: Max length of a list property

2010-03-05 Thread Max
Thx John. Has google officially documented this constraint? On Mar 5, 11:06 pm, John Patterson jdpatter...@gmail.com wrote: There is a max 5000 indexed properties for any Entity. http://groups.google.com/group/google-appengine/browse_thread/thread/... On 5 Mar 2010, at 21:48, Max wrote

  1   2   3   >