Re: [appengine-java] How to design an in-memory cache?

2011-06-15 Thread Jeff Schnitzer
Sounds like you could just keep it around for 30 minutes or an hour, refreshing it after it expires. What would be nice is to be able to perform the refresh asynchronously. Say it takes 5s to build a piece of data that every appserver uses for practically every request. Instead of relying on

[appengine-java] Usage of this forum

2011-06-15 Thread meiaestro
Hi Experts, as I am a Newbie in AppEngin and GWT and therefore of this forum I was wondering if I use it accurately. Reason of this question is, that my first questions have been read (and also answered) within just a few minutes. Now there hasn't had any reaction on my last 3 postings, so I

[appengine-java] Re: Usage of this forum

2011-06-15 Thread Simon Knott
Hi, I suspect that it is because your last few posts have been asking questions about only GWT - if you keep you GAE questions in this forum and the GWT questions in the GWT forum, I suspect you'll get more responses! Cheers, Simon -- You received this message because you are subscribed to

[appengine-java] Introduce a delay in client side java code

2011-06-15 Thread Ronald
I want to code on client side sending RPC to server per minute. As app engine does not allow Thread.sleep and timer, what is the workaround of that? -- 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

[appengine-java] Re: Long Term Authorisation

2011-06-15 Thread Ray
Hi Martin, OAuth might work for you. I'm building an app on GAE using OAuth to connect with meetup.com's API. It works like a charm once you figure out the OAuth workflow. I'm using OAuth v1, and the access tokens don't expire until the user explicitly revokes access to your application. People

[appengine-java] Re: How to design an in-memory cache?

2011-06-15 Thread J.Ganesan
Why not call memcacheService.delete( keyObject ) ? J.Ganesan On Jun 14, 8:25 pm, tempy fay...@gmail.com wrote: Hello all, I'm wondering if its possible to design a cache using data in static variables.  I have certain pieces of small and unchanging data, such as a banner for the top of the

[appengine-java] Re: Receiving incomplete HTML MimeMessage

2011-06-15 Thread John Wheeler
Hi Dan, I know it's been a while, but were you ever able to work around this? Thanks John -- 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: Multi-threaded datastore test in JUnit

2011-06-15 Thread esorf
Ok, I kept trying things until I found something that worked. The information is in a few posts out there as they touch on related issues. In each thread I call ApiProxy.setEnvironmentForCurrentThread(testEnvironment); The testEnvironment is just Environment testEnvironment = new

[appengine-java] Getting identity value after persist, with JPA and without transaction

2011-06-15 Thread SS Jong
I am using GAE SDK 1.5, running locally, I have entity id declared as: @Id @GeneratedValue(strategy=GenerationType.IDENTITY) private Long id; and transaction explicitly disabled in persistence.xml property name=datanucleus.appengine.autoCreateDatastoreTxns

Re: [appengine-java] Introduce a delay in client side java code

2011-06-15 Thread Ravi Sharma
I think you partially answered your self, If you cant do it on server then use Thread.sleep at client side. also you have option to use DelayQueue at client side(if its not GWT) http://download.oracle.com/javase/6/docs/api/java/util/concurrent/DelayQueue.html Put your all request on

[appengine-java] Jersey / Json problem: Could not initialize class com.sun.xml.bind.v2.runtime.reflect.opt.Injector

2011-06-15 Thread Raphael André Bauer
Hi, I wrote a really simple rest interface setup using jersey-server / jersey-guice / jersey-json (1.7) and delivering json as output. It runs without any problems on the local dev environment, but I am getting a Could not initialize class com.sun.xml.bind.v2.runtime.reflect.opt.Injector (full

[appengine-java] 1.5.1 SDK Prerelease

2011-06-15 Thread Johan Euphrosine
Hi everyone, Prerelease SDK for 1.5.1 is ready for testing, feel free to download and give it a try for local verification: http://code.google.com/p/googleappengine/downloads/list See release notes below: notice ProtoRPC, Channel API presence, WebP support, X-AppEngine-Country header and a lot

[appengine-java] Re: How to design an in-memory cache?

2011-06-15 Thread tempy
Didier and J. Ganesan, I'm not talking about memcache. I want something as simple as a static map with synchronized access, within which I would cache data. Jeff, how would one accomplish that 30 minute timeout, without threads, timers, etc. I suppose I could keep the time of entry, and if

Re: [appengine-java] Re: When to use a String as ID? (using Objectify and GWT)

2011-06-15 Thread Drew Spencer
Thanks Jeff, I think I will use Longs as you suggest. I was originally thinking why add an extra piece of data when there's a unique value there? Well, now I know why! Just one question - the DatastoreService.allocateIdRange() - when would this be used? I have read the javadoc and understand

[appengine-java] Re: Multi-threaded datastore test in JUnit

2011-06-15 Thread Inderjeet Singh
I am running into a similar issue. I am using Memcache as the data store. To simulate access by different clients, I am using multiple threads that access the same memcache. However, thread A is not seeing the data put by thread B. I tried using ApiProxy.setEnvironmentForCurrentThread with a

Re: [appengine-java] Re: How to design an in-memory cache?

2011-06-15 Thread Prashant
Hi, I am using such implementation, with 15 mins refresh time, for my application. you can see the implementation here ... https://code.google.com/p/claymus/source/browse/trunk/src/com/claymus/Localcache.java On Wed, Jun 15, 2011 at 3:37 PM, tempy fay...@gmail.com wrote: Didier and J.

[appengine-java] Re: How to design an in-memory cache?

2011-06-15 Thread tempy
Prashant, thats exactly what we were talking about, that code looks great, thanks! On Jun 15, 12:46 pm, Prashant antsh...@gmail.com wrote: Hi, I am using such implementation, with 15 mins refresh time, for my application. you can see the implementation here ...

[appengine-java] Instructions for migrating a GAE-Java app to the HR datastore

2011-06-15 Thread tempy
I've finally decided to upgrade, while my data still isn't huge. Maybe I'm missing something, but I'm yet to find an article or blog post or group entry that has simple recommended steps, instead I'm piecing the procedure together. As I understand it, it goes something like this: - Install

Re: [appengine-java] Re: Channel API (Java) doesn't work locally, but in production mode.

2011-06-15 Thread Zerot Samsa
Any ideas? This problem is starting to get really frustrating :( Help would be very appreciated :) On Mon, Jun 13, 2011 at 3:24 PM, Zerot Samsa zerotsa...@gmail.com wrote: Yes, that's the value returned by ChannelService.createChannel(channelId), where channelId is the email address of an

[appengine-java] Re: Jersey / Json problem: Could not initialize class com.sun.xml.bind.v2.runtime.reflect.opt.Injector

2011-06-15 Thread Raphael André Bauer
On Wed, Jun 15, 2011 at 11:28 AM, Raphael André Bauer raphael.andre.ba...@gmail.com wrote: Hi, I wrote a really simple rest interface setup using jersey-server / jersey-guice / jersey-json (1.7) and delivering json as output. It runs without any problems on the local dev environment, but I

[appengine-java] Re: 1.5.1 SDK Prerelease

2011-06-15 Thread Dan Dubois
Great news! Where can I find more information about the Channel API's user presence functionality? Best wishes, Dan -- 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: Multi-threaded datastore test in JUnit

2011-06-15 Thread esorf
Hi, Inder. I ran the following test, which indicates to me that memcache is shared nicely between threads. @Test public void testThreadedMemcacheAccess() throws InterruptedException { final String key = foo; final String value = bar; Thread t = new Thread(new Runnable() { public void run() {

[appengine-java] How to compare date in query

2011-06-15 Thread hairinwind
What I want to do query.setFileter(startTime now ) how to pass in the parameter for 'now'? I tried both below and non of them works query.setFileter(startTime + (new Date())) query.setFileter(startTime + (new Date().getTime())) Please suggest! Thanks! -- You received this message

[appengine-java] Re: Channel API (Java) doesn't work locally, but in production mode.

2011-06-15 Thread Moishe
First, what version of the SDK are you using? It looks like you're using something before 1.5.0 (based on the text of the error message) -- can you try with 1.5.0? Basically the logic that's happening here is: - the application calls create channel - the dev appserver gins up a token

[appengine-java] Re: Multi-threaded datastore test in JUnit

2011-06-15 Thread Inderjeet Singh
Thanks for the detailed reply and the code to reproduce that it works, Frank. I am using Memcache as the datastore as a temporary measure and for faster performance. In my application, I can live with the fact that the cache can be cleared out. Thanks Inder -- You received this message

[appengine-java] Newbie question: how to create the memcache across several instances

2011-06-15 Thread Inderjeet Singh
Hi Folks, Pardon the somewhat basic question, I did try going through various online guides but never really got the answer to this one. I am running app-engine with 3 instances. I share data across these instances using Memcache. What is the right way to instantiate it such that all three

[appengine-java] Re: 1.5.1 SDK Prerelease

2011-06-15 Thread Tapir
Warning: Failed startup of context com.google.apphosting.utils.jetty.DevAppEngineWebAppContext@17b40fe{/,/ home/xxx/.build/war} [java] java.lang.NullPointerException [java] at com.google.appengine.tools.appstats.Recorder.checkNotNull(Recorder.java: 365) [java] at

[appengine-java] I must stay at v1.40 for a long time, just for a serious bug each for v1.43 and v1.50

2011-06-15 Thread Tapir
For v1.43: the bug is http://code.google.com/p/googleappengine/issues/detail?id=4653 For v1.50, the bug is http://code.google.com/p/googleappengine/issues/detail?id=5053 Hi, googlers, could you be more serious on the app engine java sdk? -- You received this message because you are subscribed

Re: [appengine-java] Re: Channel API (Java) doesn't work locally, but in production mode.

2011-06-15 Thread Zerot Samsa
Thanks for the quick reply. At least now I get what's happening under the hood ;) I will try to simplify the client id and will inform you about the result. We are using SDK 1.4.2 Do you think that might be the problem? If so, we will try to migrate to 1.5. Thanks so far. I will post the result

Re: [appengine-java] Read entity by key returns wrong result type

2011-06-15 Thread Zerot Samsa
To clear things up: SDK = 1.4.2 The bug appears very often in development mode and very rarely in production mode. Any ideas? Thanks, Z On Sun, Jun 12, 2011 at 3:36 PM, Zerot Samsa zerotsa...@gmail.com wrote: Hi! I have a very strange problem when retrieving entities from the datastore (I'm

Re: [appengine-java] Re: When to use a String as ID? (using Objectify and GWT)

2011-06-15 Thread Jeff Schnitzer
One case is when you need to save several different entities that all reference each other. Let's say A has a reference to B, and B has a reference to A. If you relied on key autogeneration you would need 3 puts: * Put A (which initializes the id) * Set B.a to the id of A, put B * Set A.b to

[appengine-java] Re: Is Google planning to offer HR datastore migration feature

2011-06-15 Thread Brendan Doherty
I have not gone live with my app yet, so I don't mind losing all my data, but i'd rather not lose my appid (at least until ssl on domains are sorted). Is it possible to switch to HR from M/S and keep the app id? -- You received this message because you are subscribed to the Google Groups

[appengine-java] Re: 1.5.1 SDK Prerelease

2011-06-15 Thread nischalshetty
You guys fixed the Struts 2 issue! Thank you so much :) -- 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/-/WGeEfLI0hvoJ. To post to this

[appengine-java] Re: No of namespaces limit ?

2011-06-15 Thread Aswath Satrasala
Any replies on this... -Aswath On Tue, Jun 14, 2011 at 9:44 PM, Aswath Satrasala aswath.satras...@gmail.com wrote: Hello, Is there any limit on the number of namespaces per app-id.? -Aswath www.AccountingGuru.in -- You received this message because you are subscribed to the Google

Re: [appengine-java] Re: No of namespaces limit ?

2011-06-15 Thread Ikai Lan (Google)
No limit. Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine On Thu, Jun 16, 2011 at 10:18 AM, Aswath Satrasala aswath.satras...@gmail.com wrote: Any replies on

Re: [giannim] Re: [appengine-java] Re: No of namespaces limit ?

2011-06-15 Thread Gianni Mariani
There are costs for large numbers of namespaces but there are no hard limits on number of namespaces per app-id. The costs are somewhat obvious, e.g. an __namespace__ query will take longer, meaning you'll need to segment your query, there will be datastore stats on a per namespace basis, meaning

[appengine-java] Re: Newbie question: how to create the memcache across several instances

2011-06-15 Thread Didier Durand
Hi, Memcache on GAE is based on JSR-107: see http://jcp.org/en/jsr/detail?id=107 The purpose of jsr 107 is Specifies API and semantics for temporary, in memory caching of Java objects, including object creation, shared access, spooling, invalidation, and consistency across JVMs So, memcache is

[appengine-java] Re: When to use a String as ID? (using Objectify and GWT)

2011-06-15 Thread Thomas Wiradikusuma
Sorry for the stupid question, but in what scenarios would we need to allocate id? Usually if I need the id to be something, i just use string (e.g. email address), otherwise, just let datastore set it for me (when persisting). On Jun 15, 6:26 pm, Drew Spencer slugmand...@gmail.com wrote: Just

Re: [google-appengine] Handling File Uploads

2011-06-15 Thread Nick Johnson (Google)
http://blog.notdot.net/2009/9/Handling-file-uploads-in-App-Engine -Nick On Tue, Jun 14, 2011 at 9:33 PM, Tim meer...@gmail.com wrote: On the topic of file uploads (if you'll pardon slight hijacking of the thread), when using the provided webapp framework, I couldn't find a way to get hold

[google-appengine] CPU cost of creating an XMPP channel

2011-06-15 Thread Andrin von Rechenberg
Hey there I have an application running on GAE with about 200'000 visitors a day ( www.miumeet.com). AppEngine is expensive, but I'm willing to pay the price for the great service we get. About *25% percent of the cost from the whole app come from the xmpp.createChannel rpc.* I can do more over

[google-appengine] Download logs from the command line - is there a way to get the entire log in one request?

2011-06-15 Thread lizi
Hi, I'm new to GAE and I'm trying to use the command line to download the logs. So far it seems that I have to perform 2 requests in order to get the entire log: - first request - with the severity=0 option to get my application logs - second request - without any filter on the severity and this

[google-appengine] command line request_logs - what happened to include_all option/performance data?

2011-06-15 Thread li
Hi, I'm trying to use the command line in order to download my log files from the GAE. I saw that there should be an option to download the log files with the performance information (cpu etc.) using the include_all option (see http://code.google.com/p/googleappengine/issues/detail?id=2416) I

Re: [google-appengine] Duplex Web Service possible ?

2011-06-15 Thread Branko Vukelic
On Tue, Jun 14, 2011 at 4:53 PM, Barry Hunter barrybhun...@gmail.com wrote: xmpp directly might be useful as a communication medium. I dont really know much about it. Perhaps you can use it without involving AppEngine. Or AppEngine could be a 'controller' or a 'mediator' so that devices can

[google-appengine] No connection in storing data

2011-06-15 Thread gaara
Hi Everybody, I tried using google app engine to store data but i still have this error Unable to access https://appengine.google.com/api/updatecheck?runtime=javarelease=1.4.3timestamp=1300990822api_versions=['1.0'] it seems that there is no link between my application code and the Datastore

[google-appengine] Error with google app engine

2011-06-15 Thread gaara
Hi, Could someone figure out about the source of those errors, Please help,, Gaara INFO: Unable to access https://appengine.google.com/api/updatecheck?runtime=javarelease=1.4.3timestamp=1300990822api_versions=['1.0'] javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException:

[google-appengine] USENIX 'ATC 2011

2011-06-15 Thread Sapan
Hi everyone, Just thought I'd drop a note asking if any Google App Engine users or developers will be around at USENIX 'ATC - http://www.usenix.org/events/atc11/cfp/. If so, then it would be great to get together informally, or if there are enough people then perhaps even organize a BoF group.

[google-appengine] *jpa*.jar don't appear in my classpath

2011-06-15 Thread gaara
Hi everyone, i tried to work with tha datastore api but it seems that there is no connection and the link to *jpa*.jar and *datanucleus*.jar don't appear in my classpath by default,is that the mistake or what,can someone help please. Peace, Gaara -- You received this message because you are

[google-appengine] Deploy app for django-norel

2011-06-15 Thread Greg_s
I am having major issues getting my app to deploy. I have been working with django-norel test app and the all buttons pressed app. I managed to deploy an app the other day, but I couldnt create a superuser via manage.py remote createsuperuser since I kept getting a 400 bad request not

[google-appengine] Multiple Relations of Same Type

2011-06-15 Thread david
Hi, I have 3 classes: MyClass, MySubClass and ProblemClass The first one have two MySubClass objects: MySubClass1 and MySubClass2 Each MySubClass has a ProblemClass object: ProblemClass1 and ProblemClass2 Just before call 'manager.makePersistent(MyClass);' I checked the attribute in both

[google-appengine] Creating a highly writable object

2011-06-15 Thread thecheatah
I am trying to implement a system for an object that will be updated a lot. The way I was thinking was to turn the updates into inserts then have a batch job that executes the inserts in batches to update the highly writable object. The inserts can either be sorted by time or by some sort of an

[google-appengine] Google App engine PHP post back problem

2011-06-15 Thread twweptweep
i have uploaded a php web application to *google app engine* , but all the POST back pages are open as a *'save as'* without post backing the data ! .. any one has a solution for this ? or a alternative for POST ? -- You received this message because you are subscribed to the Google Groups

Re: [google-appengine] Re: FAQ for out of preview pricing changes

2011-06-15 Thread Jvy
Hi Greg, I think the new pricing is fair and we as Google developers will also like to see App Engine sustainable. One particular note about the Email XMPP API pricing. Which I think is a little bit steep. Will Google consider to give more allowance to email quota/pricing sending from

[google-appengine] Re: order by property in reference table.

2011-06-15 Thread sergey
No, you need addition Property in userData for this. But may be for you work something like this: entity = country.all().order('name') for entry in entity for current_userData in entry.userData_set #current_userData - is you userData.all().order('country.name') On Jun 14, 12:43 pm,

[google-appengine] Re: define inheritance relationship between kinds in GAE

2011-06-15 Thread Owen
Ikai Could you expand on this example a bit, or provide a link that discusses it? I'm very interested in best practices for datastore structure. I've read a number of comments that indicate that ReferenceProperty implementations can be datastore intensive and that it's better to find creative

[google-appengine] Email limit reached

2011-06-15 Thread Theis Borg
Hi all I have just reached my 2,000 limit on free emails. And now GAE will not send any more emails :-( Billing is enabled so I think that I should be able to send more than 2,000 emails with a maximum rate of 5,100??? Can someone please enlighten me? TIA q:o) Theis -- You received

Re: [google-appengine] Creating a highly writable object

2011-06-15 Thread Ravi Sharma
if A B C and are not dependent on each other and ordering doesnt matter for you e.g. if you process C A B..then also its fine then you can put a another column in this insert table. say processed. When inserting make it N(if string) or false(boolean). and query that entity based on this column.

[google-appengine] 1.5.1 SDK Prerelease

2011-06-15 Thread Johan Euphrosine
Hi everyone, Prerelease SDK for 1.5.1 is ready for testing, feel free to download and give it a try for local verification: http://code.google.com/p/googleappengine/downloads/list See release notes below: notice ProtoRPC, Channel API presence, WebP support, X-AppEngine-Country header and a lot

[google-appengine] Datastore API

2011-06-15 Thread gaara
Hi, can anyone give me a link to a simple tutorial to start Datastore java API, please help ,i tried it but it seems that there is no connection between UI in the API and the code,, Peace, Gaara -- You received this message because you are subscribed to the Google Groups Google App Engine

Re: [google-appengine] Handling File Uploads

2011-06-15 Thread Tim
Thanks for that Nick. Seems I must have been sleeping when looking at that part of the webapp docs - getting the appropriate field from the request.POST file = self.request.POST[filefield] gets me an object with properties filename and type and value (for the actual decoded data) -

[google-appengine] Datastore API

2011-06-15 Thread gaara
Hi, First :What this sentence means ,Datastore has no entities in the Empty namespace. You need to add data programatically before you can use this tool to view and edit it.? Second : is all DSK version work well with Datastore Java API? Thanks, Gaara -- You received this message because you

[google-appengine] Re: SSL version

2011-06-15 Thread Khang Nguyen
I didn't know that it's just simply so. Thanks a lot for your information. On Jun 10, 12:06 pm, Robert Kluin robert.kl...@gmail.com wrote: Why don't you just go tohttps://appspot.comand view the connection and certificate info? On Wed, Jun 8, 2011 at 22:38, Khang Nguyen

[google-appengine] local_db.bin file is missed

2011-06-15 Thread gaara
Hi, the file local_db.bin is not generated for me please help Peace, Gaara -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email

[google-appengine] why appengine blocking mails ?

2011-06-15 Thread Korcan Ergün
Hi; I tried to send mails to my subscriber list.But when i send some mails to my subscribers my mails not sending by appengine. My all mails are blocking everthing looks fine but mails not sending . Can app engine have a simultaneus concurrency limit or secondly limit for mailing ? I tried to

Re: [google-appengine] define inheritance relationship between kinds in GAE

2011-06-15 Thread Ikai Lan (Google)
Maybe. I don't use PolyModel. Mostly because I think people go a little too overboard with OO. Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine On Tue, Jun 14, 2011

Re: [google-appengine] Re: define inheritance relationship between kinds in GAE

2011-06-15 Thread Ikai Lan (Google)
The most brief explanation I can offer is this: think of the datastore as a giant key-value store. Design your persistence to this model as much as possible such that you can do as much using get by key. Minimize the total phases of RPCs - remember that you can batch get keys. Use queries

Re: [google-appengine] Re: define inheritance relationship between kinds in GAE

2011-06-15 Thread Ikai Lan (Google)
Oh ... and use entity groups. Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine On Wed, Jun 15, 2011 at 9:06 PM, Ikai Lan (Google) ika...@google.comwrote: The most

[google-appengine] Re: FAQ for out of preview pricing changes

2011-06-15 Thread JH
The email pricing is very competitive actually. And pretty much in line with Amazon SES. What I would like to know is if Google has any plans to improve mail delivery rate. For instance there are many threads in here about yahoo flagging gae mail as spam along with others. The reply was

[google-appengine] Re: 1.5.1 SDK Prerelease

2011-06-15 Thread Dan Dubois
Great news! Where can I find more information about the Channel API's user presence functionality? Best wishes, Dan -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit

[google-appengine] Copying data to new app for HR datastore, process seems broken, please help!

2011-06-15 Thread tempy
I'm trying to migrate to the HR datastore and have started the process, but with only about 15 MB worth of data it has already gone through 18 hours of CPU and does not seem to be anywhere near stopping. This doesn't smell right so I stopped it by pausing the default queue. The status does not

[google-appengine] Re: Creating a highly writable object

2011-06-15 Thread thecheatah
Ravi, Thanks for the feedback. I was thinking exactly along the lines of what you have said. The only problem that I see is that I plan on processing multiple inserts in one batch job. The inserts and the highly updated object will not be updatable in a single transaction. Thus, there might be

Re: [google-appengine] Re: Creating a highly writable object

2011-06-15 Thread Ravi Sharma
In those scenerio you can go ahead and do something extra... Keep a list of Keys in your highly updating object, and whenevr you process one insert and update it into main updating object make sure you put the key in this object's list property.,SO your main object will know if i have got the

[google-appengine] Re: Copying data to new app for HR datastore, process seems broken, please help!

2011-06-15 Thread tempy
I don't know if this helps any, but I can see that for every entity type, the last shard seems stuck. So, if entity X has 1 shard assigned to it, then the details will say that shard 0 is running, the last work item is unknown, and 1 second has elapsed. If entity Y has 26 shards assigned to it,

[google-appengine] Re: define inheritance relationship between kinds in GAE

2011-06-15 Thread Joops
Hello, Sorry, wouldn't normally ask something that I am sure I could google for, but as it is relevant to the discussion I thought I would pop it here. Ikai, you mentioned using a JSON Object to store rich information. I can understand the why, I just wandered about the how. Would the answer in

[google-appengine] Error with http://localhost:8888/_ah/logout

2011-06-15 Thread gaara
Can some help me to resolve the source of this error Thanks, Gaara java.lang.IllegalArgumentException at org.mortbay.jetty.Response.sendRedirect(Response.java:386) at javax.servlet.http.HttpServletResponseWrapper.sendRedirect(HttpServletResponseWrapper.java: 126) at

[google-appengine] Re: Copying data to new app for HR datastore, process seems broken, please help!

2011-06-15 Thread tempy
Word to the wise: The data-transfer utility does not like orphan objects. On Jun 15, 5:55 pm, tempy fay...@gmail.com wrote: I don't know if this helps any, but I can see that for every entity type, the last shard seems stuck. So, if entity X has 1 shard assigned to it, then the details will

[google-appengine] #appengine irc chat transcript 2011-06-15

2011-06-15 Thread Chiguireitor
[11:26:32] Chiguireitor guys, you tell me when i can fire the barrage of questions :D [11:26:50] aa_ Chiguireitor: you make it sound so fun [11:27:04] Chiguireitor lol [11:29:49] dunker yes im ready ! [11:31:16] +proppy_google trying to get more people in :) [11:31:21] Chiguireitor hehehe

[google-appengine] Re: Creating a highly writable object

2011-06-15 Thread thecheatah
This is actually a pretty good implementation. The only issue is the size of the processed task list. Instead of having two tasks, I am thinking that the one task will clean up the processed task list before it begins its work. Basically check that the processed inserts have indeed been deleted.

[google-appengine] Re: Upgrading from Master/Slave to HR

2011-06-15 Thread George
Don't attempt to delete and then recreate. You won't be able to reclaim your app id. Your best option is to create a new appengine app and have your live domain name point to that. That is - if you have people go to www.mysite.com and that points to mysite.appspot.com, just create a

[google-appengine] Very expensive write operation

2011-06-15 Thread popbuzz me
Hi, I am developing an app on GAE, and the model that I define has many properties, around 40, that one of each is large in size. I didn't consider that as a problem when I was designing it because I think storage is cheap that I would like to save as much information as possible. But after I

[google-appengine] Re: 500 Errors (DeadlineExceededError) on module imports and other random bits of code

2011-06-15 Thread Brandon Thomson
I have been experimenting with deploying a new version and switching the default when this happens; seems to fix the problem for a while. YMMV -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit

[google-appengine] Re: Duplex Web Service possible ?

2011-06-15 Thread Calvin
I'll second this. My experiments with PubNub were very promising. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/IY9qjYEjrDsJ. To post to this

[google-appengine] Re: Flash and XML

2011-06-15 Thread rc
The xml files in question reside within the same domain. On Jun 10, 11:36 pm, Calvin calvin.r...@gmail.com wrote: I think you need a crossdomain.xml file hosted on your app engine app.  Flash doesn't allow swfs to read data from other domains unless permission is granted by crossdomain.xml.

[google-appengine] Re: Flash and XML

2011-06-15 Thread rc
The xml files in question reside within the same domain and the .swf. Everything is hosted on GAE. On Jun 10, 11:36 pm, Calvin calvin.r...@gmail.com wrote: I think you need a crossdomain.xml file hosted on your app engine app.  Flash doesn't allow swfs to read data from other domains unless

Re: [google-appengine] Very expensive write operation

2011-06-15 Thread Jeff Schnitzer
You are probably indexing all of the properties (this is default behavior). Indexes are expensive to create and consume a large amount of storage as well. The solution is simply not to index what you don't need to query on. The mechanism to flag a property as unindexed varies with which GAE you

[google-appengine] Re: 1.5.1 SDK Prerelease

2011-06-15 Thread nischalshetty
You guys fixed the Struts 2 issue! Thank you so much :) -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/WGeEfLI0hvoJ. To post to this group, send

[google-appengine] Re: 500 Errors (DeadlineExceededError) on module imports and other random bits of code

2011-06-15 Thread Tom Phillips
I've been seeing more and more of these DeadlineExceededError exceptions over time especially in warmup requests. My /_ah/warmup should finish in about 6s (PersistenceManagerFactory, Jaxb). And I'm seeing these exceptions on user requests too even though the average latency is usually ~50ms.

[google-appengine] Re: 1.5.1 SDK Prerelease

2011-06-15 Thread Greg
Local times for logs... YES! You don't know how much half-baked mental arithmetic this is going to save me! And the client location header is going to be really useful too. Thanks! Greg. On Jun 15, 9:19 pm, Johan Euphrosine pro...@google.com wrote: Hi everyone, Prerelease SDK for 1.5.1

[google-appengine] Re: uploading data to GAE datastore

2011-06-15 Thread Owen
Bulkloader *DOES* work with HR per Barry's comments. The documentation is not up to date, which is frustrating, but it does work. You need the --url parameter and you need to add the s~ when uploading to production. On Jun 15, 7:46 am, Lancelot llaanncceello...@gmail.com wrote: So we do not have