Re: [appengine-java] GAE Authentication Broken

2011-04-25 Thread Fabrizio Accatino
Not sure... but since you are connecting through https, try to get the SACSID cookie instead of the ACSID. fabrizio On Sun, Apr 24, 2011 at 11:04 PM, Konstantin Weitz konstantin.we...@googlemail.com wrote: Hi guys, I'm trying to authenticate at a web service, running on gae, with

[appengine-java] request.getRequestURI() returns WEB-INF/views/whatever.jsp

2011-04-25 Thread Eliot Stock
From the example code, I should be able to call userService.createLoginURL(request.getRequestURI()) and expect to get a destination URL for after login that matches where I am now. If I do this from a scriptlet inside a JSP, however, the request URI is WEB-INF/views/whatever.jsp, which is NOT

Re: [appengine-java] GAE Authentication Broken

2011-04-25 Thread Konstantin Weitz
How do I specify explicitly in the url that I want a SACSID cookie? I tryed to modify the continue argument to be https but it didn't work continue=https://localhost/. Before my technique broke I used to get the SACSID cookie, this is how i checked I really did, for(Cookie

Re: [appengine-java] GAE Authentication Broken

2011-04-25 Thread Konstantin Weitz
I think my authentication token may just have expired. http://stackoverflow.com/questions/1996686/authtoken-from-accountmanager-in-android-client-no-longer-working I didn't check yet but the symptoms seem to match. It sure would be nice if the error message I get from the server would be more

[appengine-java] [google-appengine] OpenID+OAuth+MarketPlace

2011-04-25 Thread Felipe Teixeira
Hi, How i can get secret key with any domain in marketplace , e.g : Consumer pay to get my application , send to application your domainm, and the next stop is autentication account with admin , to get secret key and insert in application. P.s : I already can use the marketplace, but secret

Re: [appengine-java] GAE Authentication Broken

2011-04-25 Thread Fabrizio Accatino
In your first piece of code you used https. So you need to get the secure auth cookie from app engine (SACSID). IMHO My codes. It manages both cookies. http://fhtino.blogspot.com/2011/02/connet-android-app-to-google-app-engine.html fabrizio On Mon, Apr 25, 2011 at 12:22 PM,

[appengine-java] pdfJet issue

2011-04-25 Thread omer yaari
i cant seem to make pdfjet compile... 1. no such constructure, PDF pdf=new PDF(), like the one from the examples given in the odfjet home page, it wants an outputstream... 2. no such method wrap() for PDF types( that the exception i'm getting...) pls help, -- You received this message because

[appengine-java] Re: java.lang.NoSuchMethodError: javax.persistence.EntityManager.createNamedQuery

2011-04-25 Thread datanucleus
Something you have there is using JPA2, yet the GAE/J code is only for JPA1. Identify what is causing that error, and fix it to use JPA1. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to

[appengine-java] Re: java.lang.NoSuchMethodError: javax.persistence.EntityManager.createNamedQuery

2011-04-25 Thread datanucleus
This shit happens to me all the time. You JUST need to edit your persisting class, add a space somewhere, and have datanucleus rebuild your class persistence stuff. Which is nothing to do with his problem. The problem in your case is Google's Eclipse plugin seems to have problems detecting

[appengine-java] How to add parameters to HTTP Post

2011-04-25 Thread Icarus
Hi, I am trying the Google App Engine for Java link for making a HTTP Post request from my Web App. I am using the following code from the example : http://code.google.com/appengine/docs/java/urlfetch/usingjavanet.html URL url = new URL(http://www.example.com/comment;);

[appengine-java] Re: Bulkloader upload generates new entries instead of updating existing ones

2011-04-25 Thread Adam Musial-Bright
Finally I found a solution to my own question. Google store has problem with id/name recognition in java entities defines as Long: @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Long id; To solve the this, an import_transform for the bulkloader config is needed:

Re: [appengine-java] Απ: Google Plugin for Eclipse beta available

2011-04-25 Thread Rajeev Dayal
Hi George, On Sun, Apr 24, 2011 at 9:48 AM, George Moschovitis george.moschovi...@gmail.com wrote: I created a simple web app using the GPE wizzard (no GWT). I added the Google Contacts API (using the wizzard in the beta GPE). Then, I added the following line in my servlet:

Re: [appengine-java] Re: GAE on Mac OS X not working on local Jetty

2011-04-25 Thread Rajeev Dayal
On Thu, Apr 21, 2011 at 1:24 PM, James Moore jamesthepi...@gmail.comwrote: On Mar 30, 10:34 am, Ikai Lan (Google) ika...@google.com wrote: Just a quick update: there should be a fix going out for this when we release the final 1.4.3 SDK. What was the fix? Or more precisely, what do we

[appengine-java] Help with local testing of Task Queue

2011-04-25 Thread Amar Z
Hi, I am developing a new application and need help utilizing task queues. Here is the problem: when I startup my application locally and insert tasks into the default task queue, they fail to be invoked with a 405 status code, with the following error message showing up in my log displayed in

Re: [appengine-java] Re: Channel API

2011-04-25 Thread Ravi Sharma
Thanks for the reply Moishe. This helps at least now i know i am going in right direction. On Mon, Apr 25, 2011 at 2:42 PM, Moishe mois...@google.com wrote: My question: 1) Is it the right way to distribute the message to each client. My app requirment is that everybody(online user)

[appengine-java] Backup restore of my app - Is this really a joke or am I missing something?

2011-04-25 Thread mscwd01
Hey Okay, I have a simple request - I want to backup all of my apps data on my local machine so that in the event of my data becoming corrupt or lost I can do a restore. So I search backup/restore on gae and only really find the bulk loader as a solution. The trouble is it really isn't a

Re: [appengine-java] Backup restore of my app - Is this really a joke or am I missing something?

2011-04-25 Thread jem...@gmail.com
What do you expect for a beta and free service? - Reply message - From: mscwd01 mscw...@gmail.com Date: Mon, Apr 25, 2011 6:44 pm Subject: [appengine-java] Backup restore of my app - Is this really a joke or am I missing something? To: Google App Engine for Java

[appengine-java] A vector inside datastore

2011-04-25 Thread Milanista
Hi all I am new to appengine and I am in kind of a dilemma now I am trying to store a vector of objects for one field of data store Class A - which is the data store which is pushed when a request comes in which also contain ArrayListClassB class B is defined as a java class

Re: [google-appengine] Appropriate way to save hundreds of thousands of ids per user

2011-04-25 Thread Nischal Shetty
I will indeed try a few ways to do this. But pulling all rows individually would be an overkill because every query gives us 1000 rows at a time which means I would hit the 30s limit while I'm at it :( For searching the IDs that I have at hand, I would not need to deserialize the array of ids. I

Re: [google-appengine] ConcurrentModificationException

2011-04-25 Thread Matija
Hi, as you probably know you have stumble upon gae transaction internal design. They set their internal entity group on any datastore statement when transaction is active and I am not sure that they intended to allow us to set it directly. From my standpoint they should prevent contention by

[google-appengine] Re: ApplicationError: 1 Too many indexed properties for entity

2011-04-25 Thread ZS
Anyone knows the App Engine limit? (How many indexes can I use on a single property?) -- 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,

[google-appengine] could not deploy java appengine project today.

2011-04-25 Thread Feng Wang
Hi, When I click Deploy App Engine Project button today, then enter my password, I always get Email and password not match error. I could log into https://appengine.google.com/ with the same credential with no problem. No idea what is wrong, please help. Please point me to the correct

[google-appengine] Re: Critical: Exceeded soft process size limit with 227.66 MB after servicing nnnn requests total

2011-04-25 Thread mcilrain
This error means that there is a memory leak in your application. -- 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 to

[google-appengine] OpenID+OAuth+MarketPlace

2011-04-25 Thread Felipe Teixeira
Hi, How i can get secret key with any domain in marketplace , e.g : Consumer pay to get my application , send to application your domainm, and the next stop is autentication account with admin , to get secret key and insert in application. P.s : I already can use the marketplace, but secret

Re: [google-appengine] OpenID+OAuth+MarketPlace

2011-04-25 Thread Gopal Patel
the key you get when testing oauth is different from what you will get for a approved app for google apps. and that same key can be used for all application that are installed my their respective domain admin. On Mon, Apr 25, 2011 at 6:09 PM, Felipe Teixeira felipe.teixe...@ipnetsolucoes.com.br

[google-appengine] Re: Critical: Exceeded soft process size limit with 227.66 MB after servicing nnnn requests total

2011-04-25 Thread MdeA
Well, it's kind of strange because it's happening only with the sitemap files. Also, it started happening a couple of days ago when I haven't done any changes to that section of the app. I'll try to change how sitemaps are return to see if that helps. I've always used the same template mechanism

[google-appengine] Re: ApplicationError: 1 Too many indexed properties for entity

2011-04-25 Thread Mike Wesner
5000 On Apr 25, 3:40 am, ZS zimon.spa...@gmail.com wrote: Anyone knows the App Engine limit? (How many indexes can I use on a single property?) -- 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] Re: ApplicationError: 1 Too many indexed properties for entity

2011-04-25 Thread Mike Wesner
I guess I should be more specific. You can have 5000 indexed items per entity, so that would be like a list property with 5000 items in it or two properties with 2500 items in each, etc... That is the limit you are hitting I assume. On Apr 25, 3:40 am, ZS zimon.spa...@gmail.com wrote: Anyone

[google-appengine] Re: datastore flashback?

2011-04-25 Thread Nick Rudnik
You should probably start a transaction, query for the entity, do the update, and commit the transaction. Otherwise, you could be inadvertently updating stale copies of the entity. If you expect many users to update the same entity concurrently, you will probably have contention issues which

Re: [google-appengine] Massive EC2 outage

2011-04-25 Thread kowsik
It's less about the data-center going down, but more about App design and distributing it across regions. All the apps that relied on their PaaS vendors that only provisioned in the us-east-1 region are all hurting right now (including us). If only PaaS offerings enabled regional affinity along

[google-appengine] Re: datastore flashback?

2011-04-25 Thread Nick Rudnik
Yes, you can do a query inside a transaction. It is required if you expect a transactionally consistent state before updating the entity. The query should have an ancestor filter, however. See the information here http://code.google.com/appengine/docs/python/datastore/transactions.html Even

[google-appengine] Cannot install Google App Engine Java SDK on Eclipse...

2011-04-25 Thread mykacky
I tried to install Google App Engine Java SDK etc from eclipse. but these message has been shown as error message on Eclipse Is there anyone to solve this? Cannot complete the install because one or more required items could not be found. Software being installed: Google Plugin for Eclipse

[google-appengine] Re: HTTP Error 403: Forbidden

2011-04-25 Thread problem-error.com
Idem, you respolve this problem? On 8 Apr, 02:48, Ben magnetbo...@gmail.com wrote: I've got tons of tasks stuck in my queues that are getting a HTTPError: HTTP Error 403: Forbidden error. Is anyone else getting these? I'm not seeing anything in the system status that is a problem. -- You

[google-appengine] Cannot install Google Apps Engine SDK on Eclipse Helios

2011-04-25 Thread mykacky
Now that I am trying to install Google Apps Engine SDK according to the manual http://code.google.com/eclipse/docs/install-eclipse-3.6.html But these error has been shown as following on Eclipse 3.6 Helios Cannot complete the install because one or more required items could not be found.

[google-appengine] R: Re: ApplicationError: 1 Too many indexed properties for entity

2011-04-25 Thread ZS
I think my problem is different, see my index.yaml I have 16 auto-generated indexed properties: - name: tags - name: tags - name: tags ... Now the indexes status is Serving** but I have this error when I try to submit two or more tags. I can submit only one tag, try

[google-appengine] App fb-views.appspot.com is stealing passwords...

2011-04-25 Thread Maya
... And users information through its Facebook profile view hoax, does anyone know where to report it to Google? -- 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

[google-appengine] Re: Error running the example for Channel API at http://code.google.com/p/java-channel-tic-tac-toe/

2011-04-25 Thread Wei Fang
find the file under the war folder. On Mon, Apr 25, 2011 at 12:41 AM, wayne e.wf...@gmail.com wrote: Hi, I tried to run the sample of the GAE Channel API at http://code.google.com/p/java-channel-tic-tac-toe/. And get the error of FileNotFoundException for index-template. To my memory, it

[google-appengine] Java Unit Testing - Datastore index config ignored?

2011-04-25 Thread Braam Smith
Hi I'm building my first GAE app, starting from the bottom up (i.e. datastore first). AppEngine SDK 1.4.3 via Google Plugin for Eclipse Helios 3.6.1, with Objectify 2.2.3 to abstract datastore interactions. I haven't yet used the dev server as I haven't yet built the web front- end that will use

[google-appengine] converting image formats with GAE image services

2011-04-25 Thread Alex
I read images in different formats, resize some of them and I need to save them in PNG format. It is not a problem for those images I do resize - I can provide OutputEncoding parameter to applyTransformation function. But what about the images that I don't need to resize - all I need is to

[google-appengine] TaskQueue of GAE Stop

2011-04-25 Thread nobjas
Hi, Everyone. I'm using google app engine in my project and process many tasks in queue. Today I found that task queue is not working.(at 15:00UTC) This is a report of GAE. Maximum Rate: 50/s Tasks in Queue: 78,127 Run in Last Minute: 7 Running: 0 and app id of my project is

[google-appengine] Error running the example for Channel API at http://code.google.com/p/java-channel-tic-tac-toe/

2011-04-25 Thread wayne
Hi, I tried to run the sample of the GAE Channel API at http://code.google.com/p/java-channel-tic-tac-toe/. And get the error of FileNotFoundException for index-template. To my memory, it is not allowed to have files I/O in the GAE environment,am I understanding it wrong? Or do I miss

[google-appengine] XMPP get_presence with user authentication

2011-04-25 Thread Rishi Bedi
Hi all, One component of an application I'm building involves displaying a message to the user about whether one of his/her contacts is online. I found that the xmpp.get_presence method should be able to handle this well in Python, and I tried to implement it. Everything works fine, but the app

[google-appengine] how to work around this eror: DeadlineExceededError

2011-04-25 Thread HTK GAE
Hi all, when i try to use query in google app datasotore like this: authority = Authority.all().filter('twitterUser =',user).get() I have this error: DeadlineExceededError. Please help me to overcome this error. Thanks -- You received this message because you are subscribed to the Google

[google-appengine] Data compression behavior on static files is inconsistent

2011-04-25 Thread DFB
Hi, I developed a GWT / SmartGWT based app and deployed it on the app engine. I'm trying to optimize the performance of the app. Using firebug, I found that some static content is not returned to the client in the compressed format (even though the request header says

Re: [google-appengine] ConcurrentModificationException

2011-04-25 Thread Jeff Schnitzer
I really don't understand what's being asked. You don't manually set an entity group; the rule is the same for low-level datastore transactions - for any txn, you can only access one entity group. You get exceptions when you violate this rule. An Objectify (class) instance is created with a

Re: [google-appengine] Java Unit Testing - Datastore index config ignored?

2011-04-25 Thread Jeff Schnitzer
Read the last bullet point here: http://code.google.com/p/objectify-appengine/wiki/Concepts?tm=6#Indexes You've stumbled across one of the quirks of appengine - entities do not participate in a multi-property index unless every individual property also participates in a single-property index.

Re: [google-appengine] Massive EC2 outage

2011-04-25 Thread Ikai Lan (Google)
In the event of a primary data center outage, we would failover to a secondary data center. If you are using High Replication datastore, you should not experience any downtime while this happens. In addition, any data that are successfully committed will have been guaranteed to have been written.

Re: [google-appengine] Re: Suggestion: Another added value service, Google Urchin on app engine.

2011-04-25 Thread Jeff Schnitzer
I would love to know if this works. My offhand guess is that it won't because analytics seems tied to the notion of a session, and a zillion requests from a single IP address (or even worse, a cluster of IP addresses) will probably confuse it. But I am by no means an expert. Please try it and

Re: [google-appengine] OpenID+OAuth+MarketPlace

2011-04-25 Thread Felipe Teixeira
Yes I know that part, thanks your help =D.. But the problem is the following. How to install automatically and get the token ( i can install application but before i need set the consumer key and cosumer secret manual way in web.xml. for example: public void init(ServletConfig config) throws

[google-appengine] Images upload help

2011-04-25 Thread Massimiliano
Hi, Can some one help me? *I have this error: * File /base/data/home/apps/maxfotoservice/1.349974609984865274/main.py, line 28, in post fotos.Tlink = images.get_serving_url(fotos.link, 94) NameError: global name 'images' is not defined *This is my code:* from google.appengine.ext import

RE: [google-appengine] Massive EC2 outage

2011-04-25 Thread Brandon Wirtz
If aliens attack and shut down all the communication satellites will High Replication protect us? From: google-appengine@googlegroups.com [mailto:google-appengine@googlegroups.com] On Behalf Of Ikai Lan (Google) Sent: Monday, April 25, 2011 11:32 AM To: Google App Engine Subject: Re:

[google-appengine] Re: Images upload help

2011-04-25 Thread Massimiliano
Sorry, now It's working. 2011/4/25 Massimiliano massimiliano.pietr...@gmail.com Hi, Can some one help me? *I have this error: * File /base/data/home/apps/maxfotoservice/1.349974609984865274/main.py, line 28, in post fotos.Tlink = images.get_serving_url(fotos.link, 94) NameError:

[google-appengine] Re: Appropriate way to save hundreds of thousands of ids per user

2011-04-25 Thread nickmilon
1) the 1000 entities (rows) limit has been lifted long time ago. 2) tasks are not limited by the 30s limit - can run for 10 minutes. Happy coding ;-) Nick On Apr 25, 9:01 am, Nischal Shetty nischalshett...@gmail.com wrote: I will indeed try a few ways to do this. But pulling all rows

Re: Ang.: RE: RE: [google-appengine] Advantages of GAE

2011-04-25 Thread nickmilon
One major advantage of GAE it is that is more green than alternatives. Charging by resource usage (cpu cycles, bandwidth etc) forces us to energy efficient programming style. Also I am sure G datacenters are much more efficient than someone's LAMP stack. Nick On Apr 25, 8:42 am, Niklas

[google-appengine] Re: Massive EC2 outage

2011-04-25 Thread Geoffrey Spear
On Apr 25, 2:54 pm, Brandon Wirtz drak...@digerat.com wrote: If aliens attack and shut down all the communication satellites will High Replication protect us? Unless they take out lots of fiber optic cables as well, they won't have much effect. Satellites introduce way too much latency. --

[google-appengine] Re: R: Re: ApplicationError: 1 Too many indexed properties for entity

2011-04-25 Thread ZS
Here you can see the screenshot of my *Entity and Indexes* http://freeadtags.appspot.com/static/Datastore_Indexes.jpg -- 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

[google-appengine] Re: App fb-views.appspot.com is stealing passwords...

2011-04-25 Thread Kaan Soral
I hope scammers like these don't make facebook ban appengine On Apr 24, 12:18 am, Maya kfo...@gmail.com wrote: ... And users information through its Facebook profile view hoax, does anyone know where to report it to Google? -- You received this message because you are subscribed to the Google

Re: [google-appengine] Re: Massive EC2 outage

2011-04-25 Thread Alfred Fuller
Ya, I would worry more about orbital to ground attacks, and even then they would probably target high population areas, military bases or governing bodies (or the power plants/facilities near these targets). In this case I think the odds are more that users will lose the ability to access your

[google-appengine] UNREACHABLE server ??

2011-04-25 Thread sebastian serrano
Hi I'm getting some weird errors on one of my apps (hopefully not a production one), there is no trace of the request on the log and the response content is: /EvaluationRuntime.HandleRequest to 127.0.0.1:33534 : UNREACHABLE server is not responding The request is pretty heavy and I'm doing

Re: [google-appengine] Re: Sharing a Task queue between two different applications

2011-04-25 Thread vlad
@robert - I was itching to advise the same (one app hitting another app's urls). After a little soul searching I abstained :) in the interest of improving coding practices. lol -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to

[google-appengine] Re: Advantages of GAE

2011-04-25 Thread Warwick Allison
You go from Managed to dedicated to Self hosting your logistics. Because at each stage of the game what is cheapest is based on your capacity and the mark up of the solution. Just never forget the concept of core competence. It may be that forever you are better to put your energies into

[google-appengine] Re: how to work around this eror: DeadlineExceededError

2011-04-25 Thread Andrew Steinborn
On Apr 25, 10:19 am, HTK GAE htk...@gmail.com wrote: Hi all, when i try to use query in google app datasotore like this: authority = Authority.all().filter('twitterUser =',user).get() I have this error: DeadlineExceededError. Please help me to overcome this error. Thanks You need to

[google-appengine] Re: App fb-views.appspot.com is stealing passwords...

2011-04-25 Thread Andrew Steinborn
Checked the app itself, the iframe on it isn't loading, We're clear. On Apr 25, 3:50 pm, Kaan Soral kaanso...@gmail.com wrote: I hope scammers like these don't make facebook ban appengine On Apr 24, 12:18 am, Maya kfo...@gmail.com wrote: ... And users information through its Facebook

RE: [google-appengine] Re: Massive EC2 outage

2011-04-25 Thread Brandon Wirtz
I was hoping to get some Googler to reply so I could quote them in an article that said Google says GAE Engineered to Survive Attacks By Aliens From: google-appengine@googlegroups.com [mailto:google-appengine@googlegroups.com] On Behalf Of Alfred Fuller Sent: Monday, April 25, 2011 1:15

Re: [google-appengine] Re: Massive EC2 outage

2011-04-25 Thread kowsik
If aliens attacked, they would probably cover up all the clouds with their war ships. So, doubt if replication would work, unless it's a basement private cloud. :) K. --- http://blitz.io http://twitter.com/pcapr On Mon, Apr 25, 2011 at 4:21 PM, Brandon Wirtz drak...@digerat.com wrote: I was

[google-appengine] Re: could not deploy java appengine project today.

2011-04-25 Thread Feng Wang
I found following on google cache: Hi Jacob,Is you email account a Google Apps account? Since the error states that the password doesn't match, I'm wondering if you could have a Google Apps account and a Google Account with the same email address but different passwords. Does that seem like a

Re: [google-appengine] Re: how to work around this eror: DeadlineExceededError

2011-04-25 Thread HTK GAE
Hi Andrew ,Thanks for your reply, could you point me more details. My apps working with many records. so the select query take many time to process. I know that there are task queue in google app engine. By using it, we can split, long process in to small task. But in the case of select query,

[google-appengine] Re: Java Unit Testing - Datastore index config ignored?

2011-04-25 Thread Braam Smith
Great thanks Jeff. Feel better about continuing to use the Test datastore then if it is behaving the same as the others. Thanks for humouring a noob. On Apr 26, 4:25 am, Jeff Schnitzer j...@infohazard.org wrote: Read the last bullet point here: