Re: [appengine-java] Re: Blobstore: storing multiple blobs, retrieving blobkeys in doGet, form dissappears in appspot deployment

2011-07-27 Thread Brandon Donnelson
I'm not sure yet to where it is failing. Can you send the exception/trace too? First step I do is check the ./war/WEB-INF/appengine-generated and see if the file arrived from the upload, if its not there, the form url is not working should be something like _ah If you can get the blobkey

Re: [appengine-java] Task queue locking up

2011-07-27 Thread Eduardo Garcia Lopez
Thanks Ikai, I'll open a new thread with this to see if anyone experienced this problem. -- 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] Task queues locking

2011-07-27 Thread Eduardo Garcia Lopez
Hi, I have been experiencing locks with task queues since last week, specially when I use dynamic instances in my backends. During minutes, the CPU load goes to 0% on all instances of a given backend that only processes task queues; the queue keeps growing, but no single task is executed (and

[appengine-java] Channel Presence - HowTo ?

2011-07-27 Thread Sébastien Tromp
Hello, In the Presence sectiono of the Channel documentation, it says: When you enable channel_presence, your application receives POSTs to the following URL paths: - POSTs to /_ah/channel/connected/ signal that the client has connected to the channel and can receive messages. -

[appengine-java] Aw: Eclipse: Importing types from other projects

2011-07-27 Thread superkrizz
Bump: I'll put it more simply: Is there any other way of using external classes in Eclipse-AppEngine-Projects other than copying their code into the project? Regards, Chris -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view

[appengine-java] Sending email in Java development environment

2011-07-27 Thread Bruce Davis
Thanks in advance for help with this newbie question. The documentation states: When an application running in the development server calls the Mail service to send an email message, the message is printed to the log. The Java development server does not send the email message. What log is

[appengine-java] Blobstore and upload question

2011-07-27 Thread GeorgeS
Sorry if this is double-posted by I waited 24 hours and never saw the original... I'm working with GAE and GWT using Java and I have a couple of questions that I hope someone can point to some documentation or a good example to answer. In my application I need to upload a simple text file

[appengine-java] Reading back blobstore and uploads from .Net app?

2011-07-27 Thread GeorgeS
I'm having some issues using the Blobstore and FileServices and wonder if someone could point me at some documentation or samples? I have a GAE app with an uploader service and I can upload text files from my app (using a FormPanel with a GWT FileUploader) with not problems. I can see the

[appengine-java] XMPP message receive error

2011-07-27 Thread Hideki (Wyse)
Hi, We are developing GAE app with using XMPP service. This GAE app communicates with XMPP bots which is associated with gmail account through talk.google.com XMPP server. GAE --(XMPP message as request)- XMPP Bot on Desktop -(XMPP message as response) GAE We have been

[appengine-java] Traffic from single IP address problem.

2011-07-27 Thread frooti
Hi, i want to host an SMS application on GAE . All my traffic comes from SMS GATEWAY with a single IP address. Is that fine ? or Will there be any problems like unusual traffic errors or any other issues ? thanks in advance, ravi. -- You received this message because you are subscribed

[appengine-java] Re: Moderation enabled

2011-07-27 Thread GeorgeS
I posted a question yesterday but after 24 hours it hadn't shown up... just reposted. Sorry if it is a double-post. -- 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: FK Maps not supported error when using HashMaps

2011-07-27 Thread Kesava Neeli
Any one has suggestions on this? GAE doc says A datastore property can have more than one value. In JDO, this is represented by a single field with a Collection type, where the collection is of one of the core value

[appengine-java] Aw: Eclipse: Importing types from other projects

2011-07-27 Thread superkrizz
I found an answer: http://blog.christoffer.me/2011/01/sharing-code-between-multiple-java.html -- 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: Channel API questions

2011-07-27 Thread Ice13ill
Even though it is the same channel, when i call the create method (let's say i hit refresh on my browser, and the channel is created at page load) my Channel Api quota for created channels rises... On Jul 27, 7:01 am, Moishe mois...@google.com wrote: Answers below: On Jul 26, 10:21 am,

Re: [appengine-java] Traffic from single IP address problem.

2011-07-27 Thread Jayr Motta
Frooti, It will work fine, you just have to be aware of the URLFetch service limitations, if you're going to communicate with the SMS gateway through http request / response, then the limitation is that your request / response should not take more than 10 seconds, but you can also try another

Re: [appengine-java] Traffic from single IP address problem.

2011-07-27 Thread ravi teja
Hi Jayr, Thanks for your reply Jayr . I will make my question more clear. My users send queries through SMS which will be routed to my app from SMS GATEWAY(single IP address) . My app processes those queries and reply back through SMS (again through SMS GATEWAY) .I can reply using URL

[google-appengine] Re: Jersey 1.8 issue

2011-07-27 Thread Hugo Visser
Hi Yann, I'm running an older version of Jersey on app engine (1.3) which runs fine. One tip that I can give you is not to use classpath scanning as you do now. Just create an Application and register that in your web xml (it's easier to debug too). That will give you better start up performance

[google-appengine] Re : Re: Jersey 1.8 issue

2011-07-27 Thread Yann Lambret
Hi Hugo, Thanks for your answer. I put indeed the right package name in the web.xml, I also tried with the parent packages but without success. I going to try your solution and let you know how it goes. Yann -- You received this message because you are subscribed to the Google Groups Google

Re: [google-appengine] Re: GAE starting unnecessary instances

2011-07-27 Thread Johan Euphrosine
The gist of the discussion is: - Idle Dynamic Instances get traffic in priority over Idle Always On Instances. - People have shown in the thread that 'Max Idle Instance' knob could be used to workaround this behavior by preventing too many Dynamic Instances from spawning. - This is not really

Re: [google-appengine] Created new app but application does not exist

2011-07-27 Thread Sameer Lodha
Most probably, the user id you are using for the app upload does not have the rights to the application. In the App Engine Console, go to Administration - Permissions. Here you can setup the permissions. Hope this helps. Sam On Wed, Jul 27, 2011 at 2:13 AM, Peter Liu tinyee...@gmail.com

Re: [google-appengine] Created new app but application does not exist

2011-07-27 Thread Sameer Lodha
By user id I meant - Your Google ID. On Wed, Jul 27, 2011 at 2:43 PM, Sameer Lodha sams...@gmail.com wrote: Most probably, the user id you are using for the app upload does not have the rights to the application. In the App Engine Console, go to Administration - Permissions. Here you can

[google-appengine] Re: GAE starting unnecessary instances

2011-07-27 Thread pdknsk
It seems like the service is moving in a direction in which devs will have to adjust many knobs, rather than have Google handle it automagically in the background. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send

[google-appengine] Any sample program for DeferredTask ?

2011-07-27 Thread suersh babu
Hi, I am searching for sample program for DeferredTask, also document for DeferredTask is not very descriptive. Any sample program would be really appreciated. Regards Suresh Babu G http://www.accountingguru.in/ -- You received this message because you are subscribed to the Google Groups

Re: [google-appengine] TransactionFailedError: Is the transaction committed or not?

2011-07-27 Thread Joshua Smith
Can you give an example? Because that approach would seem to be unreliable in a two-writer scenario. On Jul 26, 2011, at 10:11 PM, Robert Kluin wrote: Well, I generally put revision numbers on my entities. In my transctions, before the update, I check that the revision number currently on

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

2011-07-27 Thread Anders
I think Google will provide a reasonably fair pricing model. I heard about how Groupon takes 50% of the money and pay their business partners with a 90 days delay. That sounds disgustingly greedy to me. And the person who mentioned that then said that Google has a similar service where they

[google-appengine] Re: Created new app but application does not exist

2011-07-27 Thread Peter Liu
That does it! I forgot I logged into another account. The error from the creation process and the error message from the deployment is confusing. On Jul 27, 5:14 pm, Sameer Lodha sams...@gmail.com wrote: By user id I meant - Your Google ID. On Wed, Jul 27, 2011 at 2:43 PM, Sameer Lodha

[google-appengine] Pre-allocating datastore IDs - plumbing this with db.Model

2011-07-27 Thread Tim
This is a bit of an advanced question for the experts with regards to Keys, IDs, Models and the db.allocate_ids() functionality - those who can answer it won't need much more explanation, so apologies if it doesn't make much sense to everyone else (but you may want to file it away in case you

[google-appengine] Re: Pre-allocating datastore IDs - plumbing this with db.Model

2011-07-27 Thread Tim
Forgot one extra question about the docs Key docs say quote href='http://code.google.com/appengine/docs/python/datastore/keyclass.html#Key_from_path' Key.from_path(kind, id_or_name, parent=none, namespace=None, **kwds) [snip] For example, the following call creates a key for an entity of

[google-appengine] Mail API Calls Quota

2011-07-27 Thread BB
I'm thinking about using the Mail API for a password retrieval service which probably would exceed the Mail API Calls limit pr. day. The recipients will be requesting individual emails at different times during a day. So no bulk mail. Each password retrieval will require one call to the Mail API.

[google-appengine] Unable to Login

2011-07-27 Thread Kelvin Santiago
So today at 8:42 PM CST I'm trying to login into the appengine dashboard and I'm unable to do so. I loging and all I'm getting is an error saying 302 Moved The document has moved here. Anyone having this same issue? I have tried Chrome, IE, Opera. Chrome says too many redirects, IE just

[google-appengine] Scalebility and n-tier architecture on GAE

2011-07-27 Thread Robert Åkerblom-Andersson
Hi, I am designing the architecture for an enterprise application that should be designed to be able to handle a big number of users and for big traffic loads and therefor I have been doing some research on scalability and n-tier architectures. I found this blog post to have many good points

[google-appengine] How do I do this query in JDO on server?

2011-07-27 Thread SergiBC
Hello, I do this query in Datastore viewer -- select from + MyClass.class.getName() + WHERE id = KEY('MyClass', 415011) and it works. But how do I do this in java? Thank you -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to

[google-appengine] SMS verification failure: already assoc

2011-07-27 Thread MadCow
Hello! I activated appengine with my personal phone on my business/ Google apps account (chris...@bakedon.com). Because of that, I cannot activate my personal account (mad...@gmail.com) because it says the number is already in use with another account. Is there some way I can activate/verify my

[google-appengine] Channel Api for devloping multiplayer game

2011-07-27 Thread Hariprasath Mohankumar
Hi Everyone, Im using the channel api for developing a simple multiplayer game. In order to get the user presence im handling the posts on /_ah/channel/disconnected/ and /_ah/ channel/connected/ and writing it to the database using models in the google app

[google-appengine] Persisting Lists

2011-07-27 Thread Bruno Sandivilli
Hi, i'm modeling a social network, i use to create a table with the relations like (userid,friendid) but in nosql, im planning to simple add a list of id to each user, like User { ListInteger firends }. Is this wrong(it works, but and the performance) ? -- You received this message because you

[google-appengine] Re: Created new app but application does not exist

2011-07-27 Thread MadCow
I had the same thing happen to me today. After a short while it worked so maybe it needs to propagate through the system? Did you receive the email stating it had been created? I tried several other things so its possible one of those other things did the trick. On Jul 26, 1:43 pm, Peter Liu

Re: [google-appengine] Persisting Lists

2011-07-27 Thread Pascal Voitot Dev
Hi, You can look at this post on stackoverflow to have a few more info! The most known issues are: - the limit of 5000 elements per list - the famous index explosion issue (last GAE version tells that index explosion won't happen but I don't know exactly what it means) Pascal On Tue, Jul 26,

[google-appengine] Re: Mail API Calls Quota

2011-07-27 Thread pdknsk
You have 1,700,000 calls free per day when you enable billing. http://code.google.com/appengine/docs/quotas.html#Mail -- 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

Re: [google-appengine] Re: GAE starting unnecessary instances

2011-07-27 Thread Johan Euphrosine
Actually the latter knobs I listed were suggestion from the community but feel free to raise a different voice. The only knobs Google provide so far are: - maximum number of idle instances - minimum pending latency See http://code.google.com/appengine/docs/adminconsole/performancesettings.html

Re: [google-appengine] Persisting Lists

2011-07-27 Thread Bruno Sandivilli
Ok, thanks! This is not a proble since facebook have this limit too. But for Followers a have to implement some workarround for this(since followers is a more big number); Any ideas? Thanks 2011/7/27 Pascal Voitot Dev pascal.voitot@gmail.com Hi, You can look at this post on stackoverflow

Re: [google-appengine] Persisting Lists

2011-07-27 Thread Pascal Voitot Dev
You could copy the followers (a very light entity) as child entities of your parent! In this way, followers and parent user will be in the same entity group and can be retrieved in the same transaction! But you can't retrieve more than 1000 entities in a single request so you need to manage

[google-appengine] Re: GAE structure of python project

2011-07-27 Thread Ernesto Oltra
Personally I wouldn't include third_party packages in the repository, but write a README file pointing the releases of what projects i need. It depends. My structure: static/images/... static/css/... static/js/... static/favicon.ico static/robots.txt templates/... conf/... This is a

[google-appengine] Re: Created new app but application does not exist

2011-07-27 Thread Jose Montes de Oca
Hi Peter, It would be good to see what was the first error you were receiving. But on regards the second one, the error is not confusing it just means you were trying to deploy an app from a google account that did not was an owner/developer of the app ID, therefore that application did not

[google-appengine] Re: GAE structure of python project

2011-07-27 Thread Ernesto Oltra
Oops, and if I need external libraries I usually create a third_party folder containing all the files. -- 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] Channel API between front and backend instances

2011-07-27 Thread WanderingGAE
Is it possible for a channel (Channel API) to be created in one instance (frontend) and used in a backend instance? I've tried sharing the channel id using memcache, but the Backend instance's channel messages just do not arrive at the client. The client does receive an instance from the

Re: [google-appengine] Persisting Lists

2011-07-27 Thread Ernesto Oltra
A little correction, you could fetch more than 1000 results (the limit has been disposed time ago) but it's not recommendable have more than 200/300 results (more or less, for perfomance). I strongly recommend you seeing this video about ListProperty, fan-outs, etc (Google I/O 2009):

Re: [google-appengine] Persisting Lists

2011-07-27 Thread Ernesto Oltra
And for followers, you could too shard the lists. You can have several entities, each with, about 100 results or so (or 1000, or 2000, I prefer 100 for easy of serializing/deserializing). All these would have the user as ancestor. When listing, take only one entity, deserializing its lists

[google-appengine] Re: SMS verification failure: already assoc

2011-07-27 Thread Ernesto Oltra
http://appengine.google.com/waitlist/sms_issues -- 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/-/OIl8VNmaoDkJ. To post to this group, send email to

[google-appengine] Re: Deploy application size limit

2011-07-27 Thread Rodrigo Teixo
Hi Jose. The gwt compilation is set to OBFUSCATED, Log level: Info I was seeing the Modules permutation directory above the WAR folder and they have a average of 1MB each, and the DEPLOY folder that contains the same folders of the modules have many files .symbolMap each folder. So for

Re: [google-appengine] Persisting Lists

2011-07-27 Thread Bruno Sandivilli
Ok, Thanks! I catch it. This solved my problem I was wondering , this is ok for listing users and etc, but the hard thig is, when the user post a message i will have to send this message to 200.000 users. How would i select this users to append this feed into their profiles? Thanks again.

[google-appengine] Re: Deploy application size limit

2011-07-27 Thread Jose Montes de Oca
Hi Rodrigo, Because this is an issue related to how GWT compiles, I'll recommend you post your question on the GWT group: https://groups.google.com/forum/#!forum/google-web-toolkit If you don't find any help there, just follow up here to see what else I can do. Hope this helps! Best, Jose

[google-appengine] Re : Re: Jersey 1.8 issue

2011-07-27 Thread Yann Lambret
Hugo, It worked like a charm, thanks a lot for your help about this, you saved my day (week ?). Cheers Yann -- 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: Channel Api for devloping multiplayer game

2011-07-27 Thread Everson Alves da Silva
Hello Hariprasath, I recommend you first try it with the new release 1.5.2. Channel Api wasn't working for me in 1.5.1 and got fixed with the new release. Also, tokens expire after 2 hours. Jhonny Everson Creator of the 'Taking a Break' iPhone app for Facebook and Twitter

[google-appengine] GAE Starts dynamic instances for no reason... causing unnecessary cold start delays

2011-07-27 Thread Mike Lawrence
I purchased 3 Always-On instances. My site is under construction with no traffic. When I hit my site, GAE fires up a new dynamic instance to service the request when there are 3 idle instances! My app starts in 2.0 seconds (using stripes) But GAE takes 9.4 seconds to reply (why?). Really annoying.

[google-appengine] which custom HTTP header names allowed?

2011-07-27 Thread Carter
We have a proxy that needs to send the client's IP address to GAE. We tried setting a custom HTTP header of X-client-ip, but that seems to get filtered by GAE. We could include the info in use User-Agent, but that seems hack-ish. The doc (http://code.google.com/appengine/docs/java/runtime.html )

Re: [google-appengine] GAE Starts dynamic instances for no reason... causing unnecessary cold start delays

2011-07-27 Thread Jon McAlister
So, there's a couple of things going on here. I'll see if I can help explain. The first is that with 1.5.2 we changed how resident instances work, so that if a dynamic instance existed, the scheduler would prefer an idle dynamic instance to an idle resident instance. Further, if a resident

Re: [google-appengine] Anyone At OSCon Portland?

2011-07-27 Thread Wesley C (Google)
Yup, I'm here but leaving tomorrow morning and have dinner plans for tonight, so I won't be able to get together for this trip. As far as other App Engine staff goes, Andrew from the Go team is here if you wanted to reach out to him as he's doing a talk called A Tour of Go. Brian, who is on the

[google-appengine] Re: Any sample program for DeferredTask ?

2011-07-27 Thread Tim Hoffman
Hi I assume due to the capilisation you used you are referring to Java examples (which I can't help with) but in case your interested in python - have a look at http://blog.notdot.net/tag/deferred Rgds T -- You received this message because you are subscribed to the Google Groups Google App

[google-appengine] Re: Any sample program for DeferredTask ?

2011-07-27 Thread Tim Hoffman
And of course http://code.google.com/appengine/articles/deferred.html -- 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/-/kZfeD2AlUKIJ. To post to this

Re: [google-appengine] Persisting Lists

2011-07-27 Thread Ernesto Oltra
Wow... so many users.. Perhaps asking the Google+ guys.. =) The only idea I have right now, is use taskqueues (or in the same request, it depends on latency) to create a «notification», referencing the post, and the users. Then, list the most recents notifications for the user. Delete the old

Re: [google-appengine] TransactionFailedError: Is the transaction committed or not?

2011-07-27 Thread Tim Hoffman
If you always get modify put within a transaction how would it be unreliable? Rgds Tim -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit

Re: [google-appengine] Duplicate Properties

2011-07-27 Thread Tim Hoffman
I would put money on a schema change and there are entities in the datastore with different types for the same property name ;-) I am pretty sure the Stats only identify candidate kinds to download and not the actual property name/types during the download. Tim -- You received this message

Re: [google-appengine] Persisting Lists

2011-07-27 Thread Ernesto Oltra
I thought one thing and I said something completely differente -.-' I meant having a model, with the same key_id/key_name as the post and a list of users (say 4000/4500). When that super-start with 200.000 followers post something, run a taskqueue and save several models with the info. Then,

[google-appengine] Feedback Required

2011-07-27 Thread Sarfaraz
Hi, I have put up my first Financial portfolio management app on GAE + Python I would be glad to receive some valuable feedback from the community regarding its performance / Usability / User Experience. and how to make it better (performance wise) The URL is http://biz6001.appspot.com

[google-appengine] Sudden denial of access to apps.

2011-07-27 Thread Matt
Hi there, I've been using GAE for at least 2 years now and host about 5 websites with it. (All of which I can usually access via one or two accounts.) As of about 10 minutes ago when I attempt to logon using the standard: appengine.google.com/a/website-name It is now reporting:

Re: [google-appengine] GAE structure of python project

2011-07-27 Thread Robert Kluin
The libs directory is probably a good idea. In some cases I do include 3rd party libs in source control, it makes it dead simple to clone and start dev right away. Robert On Jul 26, 2011 3:42 AM, Vasyl Nakvasiuk vax...@gmail.com wrote: What about your structure of python project? Where do you

Re: [google-appengine] Scalebility and n-tier architecture on GAE

2011-07-27 Thread Robert Kluin
Hi, This is the whole point in app engine is that all of these things are already handled. Just write your app using Google's app engine sdk. Check out the getting started docs, they give an overview of this. Robert On Jul 27, 2011 11:14 AM, Robert Åkerblom-Andersson robert@gmail.com

[google-appengine] OAuth support for third party providers on AppEngine + Mobile; suggestions

2011-07-27 Thread Devraj Mukherjee
Hi all, We are building an Application that we hope to run on AppEngine, it will feature iOS and Android clients as well as a Web, Mobile Web interfaces. The native mobile applications will use the REST services to communicate with the server. The Application is a member based application, and