[appengine-java] Re: Total Stored Data billing is misleading

2011-08-16 Thread GoSharp Lite
For the past few days, I start to use DeferredTask extensively for numerical calculation. Results of my numerical calculation are good, but there is one huge problem. The 'Total Stored Data' increases from 3.00 GBytes to 11.50 GBytes. Since my numerical calculation does not save entities into

[appengine-java] Elevations API, polyline encoding, Google App Engine

2011-08-16 Thread Martin Newstead
I hope someone can help me get some ideas on how to debug this problem. I have build an application that needs to use the Google Elevations webservice API to get some elevations for some lat/lon pairs. I am encoding the data using my own Java implementation of the polyline encoding algorithm. My

Re: [appengine-java] Channel API not working on development server

2011-08-16 Thread Sébastien Tromp
I have had the Channel API working in development without any additional configuration (using 1.5.1 Java). When you say not working, do you have any error message or exception (either on client or server side)? -- Sébastien Tromp On Tue, Aug 16, 2011 at 7:42 AM, Sekhar allur...@gmail.com wrote:

Re: [appengine-java] Re: javax.mail.SendFailedException: Send failure:Unauthorized Sender: Unauthorized sender

2011-08-16 Thread Andrei Cosmin Fifiiţă
I also removed the dot from the sender's email, but it didn't work. Do I also have to remove the user from Permissions list, and add it (send invitation) again without the dot ? On 16 August 2011 01:17, Greg gmstanl...@gmail.com wrote: I had the same problem - the application broke even though

Re: [appengine-java] Re: javax.mail.SendFailedException: Send failure:Unauthorized Sender: Unauthorized sender

2011-08-16 Thread Taiga
Hi. My Application's sender success to sending email meet these requirements: * The application enable billing. * The sender is Billing Administrator. Does your application's sender have the role of Billing Administrator ? (I got these requirements on Google-App-Engine-Japan group's user.)

Re: [appengine-java] Re: javax.mail.SendFailedException: Send failure:Unauthorized Sender: Unauthorized sender

2011-08-16 Thread Andrei Cosmin Fifiiţă
The sender is not Billing administrator. The users that i tested (that didn't contain a dot) worked without being billing admins. Also, I believe there can only be one billing administrator right ? On 16 August 2011 13:06, Taiga tsutsumita...@gmail.com wrote: Hi. My Application's sender

Re: [appengine-java] Re: javax.mail.SendFailedException: Send failure:Unauthorized Sender: Unauthorized sender

2011-08-16 Thread Taiga
Hi, Ice13ill Thank you. I tried to send mail from user not Billing Administrator, and Success! The billing admins' role does not matter about this problem, I got. -- Taiga tsutsu...@gmail.com 2011年8月16日火曜日19時09分13秒 UTC+9 Ice13ill: The sender is not Billing administrator. The users that i

Re: [appengine-java] Re: javax.mail.SendFailedException: Send failure:Unauthorized Sender: Unauthorized sender

2011-08-16 Thread Andrei Cosmin Fifiiţă
Well, i still cannot use my original email address without the dot (i changed the sender in my code), but it seams that others managed to succeed... is there something i'm missing? On Aug 16, 2011 1:41 PM, Taiga tsutsumita...@gmail.com wrote: Hi, Ice13ill Thank you. I tried to send mail from

Re: [appengine-java] Re: javax.mail.SendFailedException: Send failure:Unauthorized Sender: Unauthorized sender

2011-08-16 Thread Asmaa EL MOKHTARI
hi Andrei, You must log in to your App Engine account by the sender mail without dot . 2011/8/16 Andrei Cosmin Fifiiţă andrei.fifi...@gmail.com Well, i still cannot use my original email address without the dot (i changed the sender in my code), but it seams that others managed to

Re: [appengine-java] Re: javax.mail.SendFailedException: Send failure:Unauthorized Sender: Unauthorized sender

2011-08-16 Thread Andrei Cosmin Fifiiţă
So that means i have to remove the user from Permissions and add it again? On Aug 16, 2011 1:59 PM, Asmaa EL MOKHTARI elmokhtari.as...@gmail.com wrote: hi Andrei, You must log in to your App Engine account by the sender mail without dot . 2011/8/16 Andrei Cosmin Fifiiţă

Re: [appengine-java] Re: javax.mail.SendFailedException: Send failure:Unauthorized Sender: Unauthorized sender

2011-08-16 Thread Asmaa EL MOKHTARI
if your admin adress contains a dot, in this case, you should add a new developper to your app in the permission list (who has a mail adress without dot ). After that, you log in the google appengine account by the new adress mail.And don't forget to modify the email sender in your code as well.

Re: [appengine-java] Re: javax.mail.SendFailedException: Send failure:Unauthorized Sender: Unauthorized sender

2011-08-16 Thread Taiga
Please let me confirm this, one more, before remove the user. Do your original email address uses federated login ? (and do your good-working tested email does not uses federated login ?) There are some trouble about sending email from federated login user. (I got the information on

Re: [appengine-java] Re: javax.mail.SendFailedException: Send failure:Unauthorized Sender: Unauthorized sender

2011-08-16 Thread Andrei Cosmin Fifiiţă
The original email is at gmail.com, as well as the email that works. My app has the federated login option selected, but it has nothing to do with the users that send the emails. On Aug 16, 2011 2:19 PM, Taiga tsutsumita...@gmail.com wrote: Please let me confirm this, one more, before remove the

Re: [appengine-java] Re: javax.mail.SendFailedException: Send failure:Unauthorized Sender: Unauthorized sender

2011-08-16 Thread Asmaa EL MOKHTARI
for me, i don't use the federated login. 2011/8/16 Andrei Cosmin Fifiiţă andrei.fifi...@gmail.com The original email is at gmail.com, as well as the email that works. My app has the federated login option selected, but it has nothing to do with the users that send the emails. On Aug 16,

Re: [appengine-java] Re: javax.mail.SendFailedException: Send failure:Unauthorized Sender: Unauthorized sender

2011-08-16 Thread Andrei Cosmin Fifiiţă
I removed the user and add it again, sending invitation to the address without dot. When I accepted the invitation, i logged in typing the address without the dot. After accepting the invitation the email was registered as it was originally created (with a dot), so it did not work :( I don't know

Re: [appengine-java] Re: javax.mail.SendFailedException: Send failure:Unauthorized Sender: Unauthorized sender

2011-08-16 Thread Taiga
Do you invite the address as owner ? (or does the address has owner role now ?) 2011年8月16日火曜日20時51分11秒 UTC+9 Ice13ill: I removed the user and add it again, sending invitation to the address without dot. When I accepted the invitation, i logged in typing the address without the dot. After

Re: [appengine-java] Eclipse GAE with OSX Lion

2011-08-16 Thread objectuser
I've not had any problems with Lion either. Working fine. -- 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/-/lIAdDf8NweQJ. To post to

Re: [appengine-java] Re: javax.mail.SendFailedException: Send failure:Unauthorized Sender: Unauthorized sender

2011-08-16 Thread Asmaa EL MOKHTARI
this doesn't mean that it doesn't work. you may need to clear your browser's cache, close it and try again to login in the app engine account with the new mail adress (without dot .) 2011/8/16 Andrei Cosmin Fifiiţă andrei.fifi...@gmail.com I removed the user and add it again, sending

Re: [appengine-java] Re: javax.mail.SendFailedException: Send failure:Unauthorized Sender: Unauthorized sender

2011-08-16 Thread Andrei Cosmin Fifiiţă
I tested as Developer and Owner. The problem is that even though i invited the user using its address without the dot, App Engine seas the original email address, created with a dot. My code uses the address without the dot when trying to send an email, but still, doesn't work... The new user

Re: [appengine-java] Re: javax.mail.SendFailedException: Send failure:Unauthorized Sender: Unauthorized sender

2011-08-16 Thread Asmaa EL MOKHTARI
are you using the same email adress whout dot . ? because in other GAE forum, i found this: (As a workaround, I tried adding the same gmail address I've been using, but without the .'s in it, as a developer. No dice. It let me accept the invitation, but then the new non-dot developer

Re: [appengine-java] Re: javax.mail.SendFailedException: Send failure:Unauthorized Sender: Unauthorized sender

2011-08-16 Thread Andrei Cosmin Fifiiţă
Well, yes, that is what i tried... I thought it worked for some people but i has wrong... I knew that removing the dot was actually a representation of the same address, that's why i removed the account from Permissions, and add it again... Anyways, this is somehow annoying so i hope they'll fix

Re: [appengine-java] Re: javax.mail.SendFailedException: Send failure:Unauthorized Sender: Unauthorized sender

2011-08-16 Thread Taiga
Yes, It seems that there are no faults on you any more... I'm waiting next information about this issue from googler. -- Taiga tsutsumita...@gmail.com 2011年8月16日火曜日21時33分17秒 UTC+9 Ice13ill: Well, yes, that is what i tried... I thought it worked for some people but i has wrong... I knew that

Re: [appengine-java] How to HTTP Request a public Google Doc from GAE Java?

2011-08-16 Thread Aswath Satrasala
Hi, You can use gdata-java-client http://code.google.com/p/gdata-java-client/ Also, look at http://code.google.com/appengine/articles/java/retrieving_gdata_feeds.html -Aswath www.AccountingGuru.in. On Tue, Aug 16, 2011 at 1:38 AM, Slaine lennart.ben...@gmail.com wrote: Hi all, Does anyone

Re: [appengine-java] How to HTTP Request a public Google Doc from GAE Java?

2011-08-16 Thread Lennart Benoot
Thanks for your feedback. Correct me if I'm wrong but I believe what you are referring to is authenticated access to these documents. That's what I want to avoid and why these documents are web published and accessible to all. Or is it possible tot retreive these documents with gdata client

[appengine-java] QUOTAs, usage limits

2011-08-16 Thread Martin Newstead
I am building my application to use the Google Elevations Webservice API which has usage quotas which is apparantly checked by IP of the caller, 1000 requests perday. what does this mean in the GAE environment ? will the Elevations webservice always see my app with the same IP ? Will other apps in

[appengine-java] Re: QUOTAs, usage limits

2011-08-16 Thread Simon Knott
It means that you will very likely require a proxy server in the middle. GAE doesn't allow you to present a single, static IP address and all GAE-hosted applications will be detected as the same IP range - I know for Twitter / Facebook there have been a number of developers who have hit

[appengine-java] Banning users from my app.

2011-08-16 Thread Rohan Chandiramani
Greetings gentlemen, I haven't found ANY articles either here or on SO about discussing methods of keeping the bad people out of your app, so i'l just ask it here. I want to be able to press a button that will ban the user from accessing my app and the most straightforward thing i can think of

[appengine-java] Using long text with JPA for GAE

2011-08-16 Thread Thierry Templier
Hello, I would like to use long text through JPA. I read that String properties can only contain 500 characters and Text properties must be used for longer texts. I wonder if it's possible to configure the type of text through JPA annotations. I would like to be independant from any GAE class

[appengine-java] Simple Throttling filter doesn't work

2011-08-16 Thread Kesava Neeli
I have a simple filter defined in web.xml like this. filter filter-nameThrottlingFilter/filter-name filter-classcom.xyz.filters.ThrottlingFilter/filter-class /filter filter-mapping filter-nameThrottlingFilter/filter-name url-pattern/*/url-pattern

Re: [appengine-java] Banning users from my app.

2011-08-16 Thread Renan Mobile
Hello, I didn't figure out another way. So i check if the user is ban in each RPC call Atenciosamente, - Presidente Renan Franca Renan Mobile ltda: http://renanmobile.com - Soluções em Dispositivos Móveis (Smartphones) com integração via web. Soluções em: Android (Smartphones);

[appengine-java] Re: Simple Throttling filter doesn't work

2011-08-16 Thread Kesava Neeli
Team, Anyone has thoughts on above problem? I tested the same code in Tomcat/Jboss and it works fine. I could see the filter kicking in correctly after 2 concurrent active requests. Looks like it's not possible only in appengine. I was trying to safegaurd the application from any DOS kind of

Re: [appengine-java] DatastoretimeExceptions

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

Re: [appengine-java] Delay for later request

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

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

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

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

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

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

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

Re: [appengine-java] send email in eclipse development mode?

2011-08-16 Thread Ikai Lan (Google)
Typically I mock out the email sending and just make sure the right data is being passed, but there are definitely bits that can only be tested with real email. For those I usually use a staging server. In general, you want to test as much as possible with unit tests. -- Ikai Lan Developer

Re: [appengine-java] Deploy button in Eclipse does not prompt for administrator account username

2011-08-16 Thread Ikai Lan (Google)
You need to go to: appengine.google.com and register an application ID. You can't use one that's taken. Once that's done, put that into your appengine-web.xml. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Sun, Aug 14, 2011 at 10:26 PM, C

[appengine-java] Re: Simple Throttling filter doesn't work

2011-08-16 Thread Simon Knott
A few questions / comments: - How many instances can you see being started in your GAE application, in the admin console? This code only works on the assumption that you have one JVM running and it's very likely that you have more than one. i.e. To put it bluntly, this code is

Re: [appengine-java] Banning users from my app.

2011-08-16 Thread Ikai Lan (Google)
Yep. Datastore call and possibly Memcache (usually when someone is banned they stay banned). A optimization here would to cache something like a bloom filter ( http://www.google.com/search?sourceid=chromeie=UTF-8q=bloom+filter) in local memory, and if a user hashes to in the set, check again to

Re: [appengine-java] - datastore owned parent to child query capabilities

2011-08-16 Thread Ikai Lan (Google)
No, there isn't. You'll have to figure out a way to create indexes. How about a list property on the parent entity? Think denormalization: in App Engine you're using best off storing the same data multiple times. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com |

Re: [appengine-java] MemcacheService.increment incrementAll doesn't have Expiration setting

2011-08-16 Thread Ikai Lan (Google)
I *believe* you can putAll the values first so there's an expiration, then the increment will respect that. A different implementation might be to use the minute in the Memcache key itself. I've used this in the past for throttling. You'd have a memcache key with something like:

Re: [appengine-java] User Service with Datastore on Development Server - different getUserId()

2011-08-16 Thread Ikai Lan (Google)
Do you have any code that shows this in action? Preferably break this down to as simple a case as possible. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Sat, Aug 6, 2011 at 4:44 AM, lippo patrick.reh...@googlemail.com wrote: My local App

Re: [appengine-java] Elevations API, polyline encoding, Google App Engine

2011-08-16 Thread JT
A lot of stuff works outside gaej, just fyi. So don't scratched your head too much. On Aug 16, 2011 4:33 AM, Martin Newstead skankmar...@hotmail.com wrote: I hope someone can help me get some ideas on how to debug this problem. I have build an application that needs to use the Google

[appengine-java] Re: Simple Throttling filter doesn't work

2011-08-16 Thread Kesava Neeli
Thanks for the reply. I figured it that was the case. There's no way in GAE to know how many VMs are there for our app. I would need to run a much bigger load to make sure i hit the same server concurrently and see if I hit this. As you said, this code is not applicable on GAE in general. --

Re: [appengine-java] Re: date comparison fails

2011-08-16 Thread Vik
Hie This has become blocking for us. Please advise Thankx and Regards Vik Founder http://www.sakshum.org http://blog.sakshum.org On Sun, Aug 14, 2011 at 5:46 PM, Vik vik@gmail.com wrote: Does not work for me Not sure why it fails . I even tried: Query query =

Re: [appengine-java] Re: date comparison fails

2011-08-16 Thread Simon Knott
A few questions: - Is this happening on your development or production server? - Have you created any custom indexes? - Also, have you turned off property indexes at all? Cheers, Simon -- You received this message because you are subscribed to the Google Groups Google App Engine

Re: [appengine-java] Re: date comparison fails

2011-08-16 Thread Vik
Hie This is happening on my development server. I have not created any indexes at all. My local index files has an entry relevant to this (generated automaticaly) as: datastore-index kind=AdUsage ancestor=false source=auto property name=vendorSeq direction=asc/ property

Re: [appengine-java] Re: date comparison fails

2011-08-16 Thread Simon Knott
Can you post your Entity class, with annotations, and the code for setting up the today variable in the query? My only guess at the moment is that the millisecond component of the date is not equal. -- You received this message because you are subscribed to the Google Groups Google App

Re: [appengine-java] Re: date comparison fails

2011-08-16 Thread Vik
Hie Here is the class: public class AdUsage { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Long adUsageId; @Persistent private Long vendorSeq; @Persistent private Long smsUsed; @Persistent private Date smsUseDate; public AdUsage(Long vendorSeq, Long

Re: [appengine-java] Re: date comparison fails

2011-08-16 Thread Simon Knott
Hmm, can you please check the milliseconds components of both the stored object and your query object. You're resetting all properties of the time apart from the milliseconds bit! -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group.

Re: [appengine-java] Re: date comparison fails

2011-08-16 Thread Vik
Assuming it may differ and causing the issues then what is the right way to do this? I dont see set millisec component to 0 in calendar or date object Thankx and Regards Vik Founder http://www.sakshum.org http://blog.sakshum.org On Wed, Aug 17, 2011 at 11:10 AM, Simon Knott