[appengine-java] Re: Checking if I understand transactions correctly

2011-06-02 Thread Nichole
I think you might be a little confused about the difference between appengine's transaction in a distributed environment and an enterprise 2-phase transaction in a more classic client server architecture? appengine uses a distributed datastore, so entities are stored all over the place by

[appengine-java] can we use Spreadsheet api in GAE Java?

2011-06-02 Thread Rambo
Hi friends...! Am new to Google app engine Am deploying projects in GAE using Java codes But i dont know how to use Spreadsheet api in that Can we use spreadsheet api...? If so please tell me how...? Thanks in advance. -- You received this message because you are

Re: [appengine-java] can we use Spreadsheet api in GAE Java?

2011-06-02 Thread George Simon
Hi Rambo, First update appengine-web.xml by adding system-properties property name=com.google.gdata.DisableCookieHandler value=true/ /system-properties Also refer to the simple steps from Google http://code.google.com/apis/spreadsheets/data/2.0/developers_guide_java.html Thanks George

[appengine-java] the id allocated for a new entity was already in use, please try again.

2011-06-02 Thread Aswath Satrasala
Hello, I have the following Class Party { @Long id; KeyTenant tenantKey; String firstname; } Party p = new Party(); KeyTenant tenantKey = new KeyTenant(Tenant.class, mmc); p.setTenantKey(tenantKey); // create a Party in empty namespace KeyParty partyKey = ofy.put(p); Now, I do the following,

Re: [appengine-java] Map Reduce

2011-06-02 Thread Aswath Satrasala
I tried using the mapper with namespace entities. The mapper fails to run and complains com.google.appengine.tools.mapreduce.MapReduceServlet handleCommand: Got exception while running command java.lang.RuntimeException: Got an IOException while trying to make splits Caused by:

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

2011-06-02 Thread Drew Spencer
Hi coders, I have a little quandary here - I'm in the early stages of developing an app that in essence, manages the details of companies. The 'main' objects as it were, are accounts (ie a client of ours - it's a bit like a CRM system) I decided to use the company name as the unique ID, but

[appengine-java] Using deferred tasks in Apache Wicket

2011-06-02 Thread Ian Marshall
I have tried using deferred tasks in Apache Wicket. They do indeed run, but I cannot access the bulk of my data exchange code since it needs the context of an application and/or a session to work. I have reverted to using enqueued tasks to fire up a web page and do my processing from there. But

[appengine-java] Problem running the Hello World app

2011-06-02 Thread lionel mommeja
My config: Eclipse Version: 3.6.2 / Windows 7 64 Bits I carefully followed all the instructions to install the AppEngine eclipse plug-in and to execute the sample app. However I am getting the following problem. Any help very much appreciated. Cheers Jun 2, 2011 2:03:08 PM

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

2011-06-02 Thread Jeff Schnitzer
This is the classic synthetic key vs natural key debate, and the general consensus is that synthetic keys are almost always the way to go. For exactly the reasons you describe. Yup, I think you answered your own question :-) Jeff On Thu, Jun 2, 2011 at 4:21 AM, Drew Spencer

[appengine-java] Re: Java Backends not working

2011-06-02 Thread oceandrive
I dont see anything wrong with your xml file. I was able to deploy my backends here is my code ?xml version=1.0 encoding=UTF-8? backends backend name=mybackend classB2/class instances5/instances options dynamictrue/dynamic

[appengine-java] RuntimeException: Couldn't find MR with job ID: ... ??

2011-06-02 Thread Santosh kumar
Hi, Using mapper i am trying to allocate id's to the entities which are already in the name space. And i am using appengine-java-sdk-1.5.0. But when i run the mapper its throwing the exception. And i could not find what is the reason and also unable to stop the mapper ? what is this exception ?

[appengine-java] newbie question: redirect users (GWT 2.3.0)

2011-06-02 Thread meiaestro
Hi experts, I'v build a web application with three entry points so far: registration login start page As you can imagine I want to (or have to) be able to dynamically redirect a user - depending on his authentication/session validation, etc. - to the correct entry point, regardless which

[appengine-java] GData in Dev mode error, any hint?

2011-06-02 Thread Jimmy Huang
Hi everyone: I try to access spreadsheets in my app and get the following error. The app works fine as I deploy it in GAE but always get errors in dev mode. Can anyone helps? I will appreciate a lot. java.lang.NoClassDefFoundError: com/google/gdata/util/ AuthenticationException at

[appengine-java] How to add task to pushQueue and when task will execute

2011-06-02 Thread ramesh
Hi All, I am new to Google App Engine. I was trying to add task to queue. Its adding task to queue but task never gets executed. To add task to queue, i did following steps. 1) created queue.xml as... queue-entries queue namereadwebsitequeue/name rate20/s/rate

[appengine-java] Re: Sharing jsession between frontend and backend?

2011-06-02 Thread pdjamez
Not sure if this is the best pattern for using the backend to be honest. I would suggest that you don't use the backend for end user web requests. Here are a couple of alternatives: - Trigger the backend process using a task so it is independent of the client web request. Indicate to the end user

Re: [appengine-java] newbie question: redirect users (GWT 2.3.0)

2011-06-02 Thread A. Stevko
Most every GWT app has only one entry point not counting the static html in the war file. The three pages you described are commonly set up as separate panels/views that are dynamically placed into a main div within single page load. You may want to read up on using

Re: [appengine-java] Can't create application - SMS says account already verified

2011-06-02 Thread Ikai Lan (Google)
Please do a search when you ask a question: https://groups.google.com/forum/#!searchin/google-appengine/SMS$20account$20already$20verified https://groups.google.com/forum/#!searchin/google-appengine/SMS$20account$20already$20verified http://code.google.com/appengine/kb/sms.html

Re: [appengine-java] Can't create application - SMS says account already verified

2011-06-02 Thread Joe White
Ikai, thanks for your reply. I already did a search and I did not find the answer to my problem. On other posts, one of the developer there told the person that they fixed it and to try again. I have Verizon in the US and I have received numerous SMS messages before, even a calendar reminder a

[appengine-java] Re: How to add task to pushQueue and when task will execute

2011-06-02 Thread Didier Durand
Hi, Did you specifically read http://code.google.com/appengine/docs/java/tools/localunittesting.html#Writing_Task_Queue_Tests for local tests Via the provided sample, you can access the scheduling params of your task regards didier On Jun 2, 2:04 pm, ramesh chiluverirame...@gmail.com wrote:

[appengine-java] Re: RuntimeException: Couldn't find MR with job ID: ... ??

2011-06-02 Thread Didier Durand
Hi, Did you check the source code at http://appengine-mapreduce.googlecode.com/svn/trunk/java/src/com/google/appengine/tools/mapreduce/AppEngineJobContext.java the comments at the point where exception is thron may help you understand why you get it regards didier On Jun 2, 7:00 pm, Santosh

[appengine-java] Re: newbie question: redirect users (GWT 2.3.0)

2011-06-02 Thread Didier Durand
Hi, the beauty (or the horror...) of Java apps with GWT is that you can stay alway in the same page: so, you don't need multiple urls with redirects between them by any mean. You can just programmatically decide in the java code of your unique servlet which content you decide to put on the page.

[appengine-java] Old bug reappeared? createLoginURL() missing query string

2011-06-02 Thread July
Hi all: I'm Using GAE 1.5.0 java, reproduct the bug is easy: protected void doGet( HttpServletRequest req, HttpServletResponse resp ) throws ServletException, IOException { UserService userService = UserServiceFactory.getUserService(); if( !userService.isUserLoggedIn() )

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

2011-06-02 Thread Sergey Schetinin
Greg D wrote a while ago: I know I haven't been responding in this thread a lot but I've been reading what everyone is saying and working with the team here to map out some of the details in light of this. I'll post next week with another update on the additional aspects that are finalized

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

2011-06-02 Thread Vinuth Madinur
On Thu, Jun 2, 2011 at 6:24 PM, Sergey Schetinin ser...@maluke.com wrote: Greg D wrote a while ago: I know I haven't been responding in this thread a lot but I've been reading what everyone is saying and working with the team here to map out some of the details in light of this. I'll post

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

2011-06-02 Thread Sergey Schetinin
On 2 June 2011 16:01, Vinuth Madinur vinuth.madi...@gmail.com wrote: On Thu, Jun 2, 2011 at 6:24 PM, Sergey Schetinin ser...@maluke.com wrote: Greg D wrote a while ago: I know I haven't been responding in this thread a lot but I've been reading what everyone is saying and working with the

[google-appengine] Receiving mail at appspotmail.com. Message size limits, address filtering, spam protection?

2011-06-02 Thread J C
If I configure my app to respond to mail, is there any way to prevent a malicious user from spamming that address to drive up my incoming bandwidth and cpu costs? Also, is there a message size limit when sending to the app? Thanks! -- You received this message because you are subscribed to

Re: RE: [google-appengine] Re: Price comparison between GAE, EC2 Azure

2011-06-02 Thread Raymond C.
By asp.net is slow, and efficient language, are you comparing with java? the only language that will has concurrency support in GAE atm. -- 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] Receiving mail at appspotmail.com. Message size limits, address filtering, spam protection?

2011-06-02 Thread Felipe Meirelles
You can protect yourself from spam/filter messages by using a gmail/google apps mail box to forward the message to your application. The message size seems to have no limit, even for attachments (I tested up to 10mb). On Thu, Jun 2, 2011 at 10:38 AM, J C ciho...@gmail.com wrote: If I configure

Re: [google-appengine] Receiving mail at appspotmail.com. Message size limits, address filtering, spam protection?

2011-06-02 Thread J C
Security through obscurity is really the only way? -- 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/-/Qkg2dHQteVktRGNK. To post to this group, send

[google-appengine] Re: Physical server location

2011-06-02 Thread Jonathan Chen
Isn't it prudent to say that GAE will do all the loadbalancing for you when they have more datacenters overseas? On Jun 1, 10:45 am, Geoffrey Spear geoffsp...@gmail.com wrote: On Jun 1, 1:32 pm, prasanna pjaganat...@gmail.com wrote: Hi Is there a way to specify the preferred location where

[google-appengine] Authorize 3rd party account to deploy my app

2011-06-02 Thread roberto.cr
I want to know if I can allow a second account (other than me, the app owner) to be able to deploy an app on my behalf. The main purpose would be to have an app (an online IDE) deploy a customer app without asking for his login/pass info (safety reasons). Thanks in advance! -- You received

Re: [google-appengine] Re: Physical server location

2011-06-02 Thread Jeff Schnitzer
On Thu, Jun 2, 2011 at 8:52 AM, Jonathan Chen tamasia...@gmail.com wrote: Isn't it prudent to say that GAE will do all the loadbalancing for you when they have more datacenters overseas? I wouldn't count on this happening anytime soon. It would be difficult to maintain application performance

Re: [google-appengine] Authorize 3rd party account to deploy my app

2011-06-02 Thread Felipe Meirelles
Yep, you can achieve this through Administration Permissions in your app dashboard. The account has to be a google account AFAIK. On Thu, Jun 2, 2011 at 1:22 PM, roberto.cr roberto...@gmail.com wrote: I want to know if I can allow a second account (other than me, the app owner) to be able to

[google-appengine] Re: Channel use/reuse question

2011-06-02 Thread Ben Bederson
*Thank you* Moishe. Problem solved - I was going batty, being convinced it was a problem with my code... - Ben On May 17, 9:06 am, Moishe mois...@google.com wrote: Hi there. You've discovered a bug in the dev_appserver; this case should work fine in production and will be fixed in 1.5.1.

[google-appengine] QuotaExceededError.QUOTA_EXCEEDED RequestsPerMinute. Please retry your request after 30 seconds.'

2011-06-02 Thread y...@esearchvision.com
Hi to the Google support team, We keep getting lots of quota exceeded messages: QuotaExceededError.QUOTA_EXCEEDED @ ; trigger:'You have exceeded the quota in the following categories : RequestsPerMinute. Please retry your request after 30 seconds.' Could you increase the limit? Thanks Yaron

[google-appengine] UrlConnection timeout limited to 10 seconds

2011-06-02 Thread NightHawk
Hi, I'm using URLConnection interface to make http requests to an endpoint. Unfortunately that endpoint takes more than 10 seconds to respond to my request. As I could test, and read in the specs, the GAE limits the connection timeout to 10 seconds. Is there any way where I can avoid or raise

[google-appengine] My index building stuck for more than 24 hours

2011-06-02 Thread Sudhesh Suresh
Hi, wrote a new app 2 days ago and realised that I need to tweak one feature and that needed a kind of query needing composite index. Added that index manually but that index shows building for more than 24 hours now. My entity hardly 10-15 rows. Other entities of my app are also very tiny.

[google-appengine] Backend process start through taskqueue.add

2011-06-02 Thread Mark Walker
Hi all, hopefully this is a simple one. I'm trying to get a long running process started on a backend, and are using the following to attempt to start it. taskparams = { 'params': { 'system': 'netsuite', }, 'url': %s %

[google-appengine] Problems with the Google Directions Widget

2011-06-02 Thread Kim
Hello Google App Engine, Hope that you are well. The Google Directions Widget is no longer working correctly on my church's Web site at: http://triumphantchurch.org/contactus.html It worked fined initially, but for some reason it is not working now. To make sure, I cut-and-pasted the the

[google-appengine] Substituting Google Login with Facebook Login, or Dual Login Google/Facebook

2011-06-02 Thread aeonzamaek
Hi everyone, I'm currently working on a project whose login system is entirely based on Google Login. Thats is, sessions, datastore, and so on. I would like to use Facebook Login (Connect with facebook). So my questions are: 1. Is it possible to substitute Google Login with Facebook Login? 2.

Re: [google-appengine] Substituting Google Login with Facebook Login, or Dual Login Google/Facebook

2011-06-02 Thread Felipe Meirelles
It's possible to implement a SSO (single sign on) with SAML. Its also possible to use a federated login with OpenID or OAuth. I didn't tried the federated login option yet, but it should be a lot easier to implement than SAML (wich lacks of documentation) Have a look here:

Re: [google-appengine] Substituting Google Login with Facebook Login, or Dual Login Google/Facebook

2011-06-02 Thread Hery Ratsimihah
Easier but undocumented. All right! Thank you so much for your answer. I'll take a look at this material, and let you know how it goes :) On Jun 2, 2011, at 1:55 PM, Felipe Meirelles wrote: It's possible to implement a SSO (single sign on) with SAML. Its also possible to use a federated login

Re: [google-appengine] Substituting Google Login with Facebook Login, or Dual Login Google/Facebook

2011-06-02 Thread Felipe Meirelles
Actualy, SAML is the one that lacks of docs. Thats why I think OAuth/OpenID is easier to start. Reading what I wrote realy leads to understand the other way :b On Thu, Jun 2, 2011 at 2:57 PM, Hery Ratsimihah aeonzam...@gmail.comwrote: Easier but undocumented. All right! Thank you so much for

[google-appengine] Re: Backend process start through taskqueue.add

2011-06-02 Thread Justin Haugh
Hey Mark, Backends support in dev_appserver is currently experimental, and while most things work, Task Queues are something that's fairly broken at the moment. When you run with --backends, the dev_appserver divides itself into multiple processes, and all tasks are currently run by Remote

[google-appengine] Re: Receiving mail at appspotmail.com. Message size limits, address filtering, spam protection?

2011-06-02 Thread Darien Caldwell
On Jun 2, 7:54 am, J C ciho...@gmail.com wrote: Security through obscurity is really the only way?   You make it sound like a bad thing. All security is through obscurity. Even RSA encryption is only as good as not knowing the key to decode it. Whoever started that Security through Obscurity

RE: [google-appengine] Re: Receiving mail at appspotmail.com. Message size limits, address filtering, spam protection?

2011-06-02 Thread Brandon Wirtz
Not all security is through obscurity. I have a 800 pound Gorrilla who guards my server. Now that I told you that, it's not obscurity, it's Brutish Strength. Well that and he is really good at configuring a Pix Firewall, he got his CNE while learning ASL. -Brandon -Original Message-

[google-appengine] pointing custom domain to google backend instance

2011-06-02 Thread radzish
Hello, I would like to expose one of my backend so it accepts client requests. I configured it adding public option. Everything works fine via backendName.appName.appspot.com. Now I wont to point my custom domain to that backend. I tried to do so the way it described in documentation of adding

Re: [google-appengine] Infinite loop backend gets stuck

2011-06-02 Thread radzish
Hi, Thanks for reply. I found reason why it get stuck: it was running out of memory. I have investigated my code and could not find any reasons of memory leak. Moreover, I created very simple backend that mimics behavior of my original one and still experienced the leak. What I did is i

Re: [google-appengine] Infinite loop backend gets stuck

2011-06-02 Thread radzish
About link with reference to logging api.. Are there anything like this in Java? -- 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/-/MHpaZmFUOWRzaEFK.

Re: [google-appengine] Receiving mail at appspotmail.com. Message size limits, address filtering, spam protection?

2011-06-02 Thread Ikai Lan (Google)
This isn't really an example of security via obscurity. Assume the incoming email handler is some random value - that could be considered your shared secret. A more precise definition can be found here: http://en.wikipedia.org/wiki/Kerckhoffs's_Principle. Even if an attacker knows you're doing

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

2011-06-02 Thread Vanni Totaro
Hi Greg, 2nd next week ending :) Any update for us? Regards, Vanni -- 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/-/alFhQ1RKWE1NWWtK. To post to

[google-appengine] Channel API and development server behavior

2011-06-02 Thread PK
I recently started using channels in one of my apps (python). Everything seems to work as expected but I noticed my CPU working very hard (MacOS). With the DEBUG on I see several channel polling messages per second. I am wondering whether this is normal or I should start digging on what I am

[google-appengine] Lots of errors recently

2011-06-02 Thread Ricky Button
As of a few hours ago, I've been getting quite a few 500 errors and deadline exceeded exceptions, but my code has not changed at all. When requests do actually go through, the response times are very high, (20-25 seconds) but the cpu ms used is very low, which leads me to believe that the

[google-appengine] Re: Lots of errors recently

2011-06-02 Thread Ricky Button
Also, getting 500 errors (deadline) on a missing favicon instead of a 404. -- 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/-/dHlReENiQ0l1RjhK. To post

Re: [google-appengine] Re: Price comparison between GAE, EC2 Azure

2011-06-02 Thread Anders
Imagine that I was a greedy business manager at Google. Then I would cram in 100 instances into each GAE server with one (multicore) CPU. That's 100 * 0.08 * 24 * 30 = $5,760 per month for each server. How's that for profit margin? Larry Page would of course be very glad. Not. -- You received