Re: [appengine-java] ANN: BatchFB 2.1, a Java Facebook library with automatic batching

2011-07-12 Thread Gal Dolber
Nice job, thanks for sharing! On Tue, Jul 12, 2011 at 2:55 AM, Jeff Schnitzer j...@infohazard.org wrote: This is the first time I've announced this opensource project in this forum because until now there wasn't anything GAE-specific about it. You can still use BatchFB outside of GAE, but

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

2011-07-12 Thread Gabriel Charette
I was looking to do this with the datastore actually. I just found a nice way of doing it (this will probably also work for memcache...?) At the beginning of you test case (in the main thread) put: final Environment testEnvironment = ApiProxy.getCurrentEnvironment(); And then inside your other

[appengine-java] Retreive Domain Name of Google Apps Api

2011-07-12 Thread Neha Chandra
Hi, I am trying to retreive Domain name but the code i have written it returning gmail.com. package com; import java.io.IOException; import com.google.appengine.api. users.UserService; import com.google.appengine.api.users.UserServiceFactory; import javax.servlet.http.HttpServlet; import

[appengine-java] Re: How to ensure two entities are updated WITHOUT using transactions?

2011-07-12 Thread Nichole
Here's an implementation. You might want to add checks for read staleness, and think about using a task structure for the operations to make retry easier. The unit test structure is from from http://code.google.com/appengine/docs/java/howto/unittesting.html package

[appengine-java] Re: 1.5.2 SDK Prerelease

2011-07-12 Thread Max
Great job! May I know more about *t**he datastore now never requires an exploding index *? Does that mean we don't need to build exploding index or simply can't build exploding index? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java

[appengine-java] Re: [google-appengine] Re: 1.5.2 SDK Prerelease

2011-07-12 Thread Pascal Voitot Dev
exactly the same question ;) On Tue, Jul 12, 2011 at 11:21 AM, Max thebb...@gmail.com wrote: Great job! May I know more about *t**he datastore now never requires an exploding index*? Does that mean we don't need to build exploding index or simply can't build exploding index? -- You

[appengine-java] Re: How to ensure two entities are updated WITHOUT using transactions?

2011-07-12 Thread mscwd01
That's awesome, many thanks for taking the time to explain that. On Jul 12, 9:37 am, Nichole nichole.k...@gmail.com wrote: Here's an implementation.  You might want to add checks for read staleness, and think about using a task structure for the operations to make retry easier. The unit test

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

2011-07-12 Thread Frank Leon Rose
Yeah, that's much cleaner. Thanks! -- 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 google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to

Re: [appengine-java] Best way to work with a CellTable and many-to-one relationship with objectify?

2011-07-12 Thread Drew Spencer
Thanks for the great reply as always Jeff. In contrast to you, my app is going to be used only by employees of my company, so preferably I would like to have all data sent over the wire encrypted. We're talking about employees of my company accessing data about our clients - so it is very

[appengine-java] Gmail's Report a bug like feature in gwt gae application

2011-07-12 Thread MANISH DHIMAN
Hello, We have a GWT application running on Google app engine. Is it possible to achieve this feature on Google App Engine. I have found some java programs which convert html files to png. But these programs are using java classes which are not included in white list by Google App Engine. Is it

Re: [appengine-java] Best way to work with a CellTable and many-to-one relationship with objectify?

2011-07-12 Thread Jeff Schnitzer
The public/private/protected/package status of java fields is 100% irrelevant from a security perspective. It's just there to help keep your code clean. The data is still being passed across the wire in a simple, easily-decoded protocol that any sniffer can translate. If you're passing

[appengine-java] Call to channel.open() fails silently

2011-07-12 Thread Sébastien Tromp
Hello, I am currently building a GWT + GAE app that uses Channels, thanks to the http://code.google.com/p/gwt-gae-channel/ library. Everything goes well locally (both hosted and web mode), but when the deployed app fails silently. I have several pages, and would like to use a Channel in several

[appengine-java] Re: Call to channel.open() fails silently

2011-07-12 Thread Sébastien Tromp
The only thing I can find that seems strange is this request (captured using Chrome Developer tools): 1. Request URL: http://test.latest.thefiveorbs2.appspot.com/_ah/channel/jsapi 2. Request Method: GET 3. Status Code: 302 Found By the way, the test URL is

Re: [appengine-java] Re: [google-appengine] Re: 1.5.2 SDK Prerelease

2011-07-12 Thread Alfred Fuller
Hi, It means that there are alternatives to using exploding indexes (i.e. they are no longer required to execute a given query). You can still have them (there are cases where they are useful, namely to optimize query speed over write cost) and the SDK will still suggest them in many cases (as it

[appengine-java] Apache Shiro on Google App Engine

2011-07-12 Thread objectuser
If anyone is interested, I've posted a short guide to using Apache Shiro on Google App Engine: http://objectuser.wordpress.com/2011/06/30/apache-shiro-on-google-app-engine/ It focuses on my current stack, which includes Google Guice. I also use GWT, but that should mostly be irrelevant. --

[appengine-java] Unauthorized Sender Error when trying to send an email (User logged in with Google Account)

2011-07-12 Thread kghate
I are seeing an exception when trying to send an email via the app engine. The email is being sent via the current user account who is signed in to the app with their Google account (not a gmail account, but an email account that is a verified google account and the corresponding account

[appengine-java] Re: How to ensure two entities are updated WITHOUT using transactions?

2011-07-12 Thread Nichole
Yes, you'll need to add structure to the entity update method or surrounding it to persist the state of the entity (and use real entities! The test structure is purely to provide runnable code to demonstrate one way to approach the problem). For the 2nd update, if you recently fetched or

Re: [appengine-java] Unauthorized Sender Error when trying to send an email (User logged in with Google Account)

2011-07-12 Thread Bruno Fuster
Hi, Did you add the sender account to your permissions list? On Tue, Jul 12, 2011 at 10:22 PM, kghate kgh...@gmail.com wrote: I are seeing an exception when trying to send an email via the app engine. The email is being sent via the current user account who is signed in to the app with

Re: [google-appengine] Re: Weekend project: keep your app warm

2011-07-12 Thread Max
Agree with your point on tragedy of the commons. The thing is this is not a new concept. It's already a common practice among many appengine developers. Without my application, one can still write a dummy cron in 5 mins. Given that they (unfortunately including me at the moment) will do it

Re: [google-appengine] Scalability of inequality filters for multiple fields via Hilbert curve

2011-07-12 Thread Max
Thanks Nick, So is there a plan to implement multi-dimensional index in GAE? I have checked road map and can't find it http://code.google.com/appengine/docs/roadmap.html -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this

[google-appengine] Java Remote API - getting 302 error

2011-07-12 Thread Muneer Malik
Exception in thread main java.io.IOException: can't get appId from remote api; status code = 302 at com.google.appengine.tools.remoteapi.RemoteApiInstaller.getAppIdFromServer(RemoteApiInstaller.java:217) at

[google-appengine] index stuck in building state

2011-07-12 Thread Nick Bender
Hi, The following index has been building since last week. There is currently no data to index so this is very odd. Please delete the index DataPoint2 in the web app hiqu-log. Thanks, -N -- You received this message because you are subscribed to the Google Groups Google App Engine group. To

[google-appengine] Re: Java Remote API - getting 302 error

2011-07-12 Thread Muneer Malik
Did anyone try this yet? any ideas here? Thanks On Mon, Jul 11, 2011 at 10:51 AM, Muneer Malik tutti...@gmail.com wrote: Exception in thread main java.io.IOException: can't get appId from remote api; status code = 302 at

[google-appengine] Where to post production issues? (2 months with no response)

2011-07-12 Thread Robby Walker
As far as I can tell, the correct place to post production issues is the AppEngine code site - is that true? I posted a very serious issue over 2 months ago and have heard nothing? http://code.google.com/p/googleappengine/issues/detail?id=4972 -- You received this message because you are

[google-appengine] Django import errors

2011-07-12 Thread Tkm
Hello guys, I'm having problems with django imports inside GAE. Though I am google.appengine.dist.use_library inside my appengine_config module, from time to time (I haven't being able to reproduce the error enviroment so far) I get errors like 'Parent module 'django.template' not loaded'. This

[google-appengine] My master/slave to high replication datastore migration experience

2011-07-12 Thread kuanyong
Hey guys, I had a pretty good experience migrating a fairly complex python app from the master/slave datastore to the high replication datastore. I wrote a blog post to document a few things I learned along the way. I hope some of you will find it useful.

[google-appengine] com.google.cloud.sql.jdbc.internal.Exceptions.driverUrlNotInCorrectFormat ?

2011-07-12 Thread A G
I am perplexed by this error. According to GAEJ Will it play nice, an in memory database might work. So I tried H2 and blobdb, set up the driver as the following - bean id=dataSource class= org.springframework.jdbc.datasource.DriverManagerDataSource property name=driverClassName value=

[google-appengine] com.google.cloud.sql.jdbc.internal.Exceptions.driverUrlNotInCorrectFormat

2011-07-12 Thread A G
I am not sure if the previosu posted was successful, so I am reposting - In Spring's applicationContext.xml, I have - **bean id=dataSource class= org.springframework.jdbc.datasource.DriverManagerDataSource** **property name=driverClassName value= org.vnetcon.blobdb.driver.jdbc.BlobDBDriver */*

[google-appengine] Re: Cost of many operations in one transaction

2011-07-12 Thread Max
by my understanding, batch write on same entity group actually writes only once to datastore. For your second case, if you do it via async queries, then API call is the same but you will be charged way less CPU time than do it sequentially. PS: datastore API call is unlimited, so the only

[google-appengine] custom app url

2011-07-12 Thread rb.90
I am trying to add a custom URL to my App Engine Application. I've done this succesfully before with, but with this one I am seemingly missing something. My app name is flyanmeldelser-cdn (flyanmeldelser- cdn.appspot.com), which works just fine. I added a URL to the google apps system

[google-appengine] Re: GAE cold start time still too long

2011-07-12 Thread Max
Hi JH, Yes it's actually running on GAE Do you have some link on *Google has stated they do not approve of this method several times* Would like to take a look. Thanks, -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this

Re: [google-appengine] Re: Weekend project: keep your app warm

2011-07-12 Thread Phil Young
Isn't the end of point 4.4 applicable here... or otherwise access the Service in a manner intended to avoid incurring fees ...as you are avoiding paying the $9/month for an always running instance? Phil On 12 July 2011 08:10, Max thebb...@gmail.com wrote: Agree with your point on tragedy of

Re: [google-appengine] Re: Cost of many operations in one transaction

2011-07-12 Thread Timofey Koolin
See new pricing model http://www.google.com/enterprise/appengine/appengine_pricing.html 2011/7/12 Max thebb...@gmail.com by my understanding, batch write on same entity group actually writes only once to datastore. For your second case, if you do it via async queries, then API call is the

Re: [google-appengine] Re: Weekend project: keep your app warm

2011-07-12 Thread Max
my understanding is, you can't hack a service for free if it's supposed to be paid. By using my application, you still use / pay for your normal instance rather than always on instance. so this term is not applicable to this case. -- You received this message because you are subscribed to the

[google-appengine] Re: ConcurrentModificationExceptions thrown by SUCCESSFUL transactions

2011-07-12 Thread Ice13ill
This is kinda awkward... I mean, don't we use these exceptions to rollback and try again BECAUSE some operations are needed to be executed correctly and ONCE ?. For example, to increment a simple counter, to obtain unique successive values based on that counter. I don't think redesigning the whole

[google-appengine] Re: Where to post production issues? (2 months with no response)

2011-07-12 Thread Max
I believe you are doing the right way now :) Googlers in the group will help you sort out. Just private ping them with your app id -- 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] 1.5.2 SDK Prerelease

2011-07-12 Thread Johan Euphrosine
Hi everyone, Prerelease SDK for 1.5.2 is ready for testing, feel free to download and give it a try for local verification: http://code.google.com/p/googleappengine/downloads/list See release notes below. Happy testing! App Engine Python SDK - Release Notes Version 1.5.2

Re: [google-appengine] index stuck in building state

2011-07-12 Thread Johan Euphrosine
Done. The index has been move into Error state. On Mon, Jul 11, 2011 at 7:00 PM, Nick Bender n...@hiqu.biz wrote: Hi, The following index has been building since last week. There is currently no data to index so this is very odd. Please delete the index DataPoint2 in the web app hiqu-log.

Re: [google-appengine] Re: Weekend project: keep your app warm

2011-07-12 Thread Jeff Schnitzer
I can't believe I'm still writing about this... at the very least you're hacking around the $9/mo fee for an always-on instance. The free tier of appengine works because all those zillions of little test apps and experiments that people create don't actually occupy resources beyond a small

[google-appengine] Re: 1.5.2 SDK Prerelease

2011-07-12 Thread Max
Great job! May I know more about *t**he datastore now never requires an exploding index *? Does that mean we don't need to build exploding index or simply can't build exploding index? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To

Re: [google-appengine] Re: 1.5.2 SDK Prerelease

2011-07-12 Thread Pascal Voitot Dev
exactly the same question ;) On Tue, Jul 12, 2011 at 11:21 AM, Max thebb...@gmail.com wrote: Great job! May I know more about *t**he datastore now never requires an exploding index*? Does that mean we don't need to build exploding index or simply can't build exploding index? -- You

Re: [google-appengine] Re: Weekend project: keep your app warm

2011-07-12 Thread Barry Hunter
On Tue, Jul 12, 2011 at 1:26 AM, jeffrey_t_b jbor...@gmail.com wrote: It must not be too bad from Google's perspective, as they include an example of a recache job in the GAE java cron documentation: If you are recaching something every 2 minutes, there is a certain expectation that you going

Re: [google-appengine] My master/slave to high replication datastore migration experience

2011-07-12 Thread Joshua Smith
You call that a pretty good experience? I call that a nightmare. Googlers would be wise to read that post and realize that many of the things he had to do are insanely complicated. About half of this stuff would not be necessary if google figured out a way to keep the same app ID when porting

[google-appengine] Timeout issues

2011-07-12 Thread John Wheeler
Hey, Is there any good reason for my URL fetch requests to be timing out right now? Your app engine just cost me two customers. You think you can hurry up and get this squared away so I don't lose any more business? Thanks?!? And, I've seen enough of the DeadlineExceededExceptions, why don't

[google-appengine] Re: Scheduled maintenance read-only downtime

2011-07-12 Thread Ryan Goldstein
Will this downtime affect apps that don't use the datastore (i.e. only use the Google Spreadsheets API to read/write data)? Thanks, -Ryan -- 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] Thursday 7/14 Downtime

2011-07-12 Thread Ryan Goldstein
Regarding https://groups.google.com/d/msg/google-appengine-downtime-notify/C7d8rXE-7sA/CUdvP1Z8vwAJ ... 1. I assume the subject stating July 15 is incorrect, and the real date is Thursday, July 14, as in the body. 2. Will this downtime affect apps that don't use the datastore (i.e. only use

Re: [google-appengine] Re: SMSLib With Google App Engine

2011-07-12 Thread Rohit Bhat
Thanks for the replies. I would want a free application preferably. That's the reason I chose SMSLib. Now although I can send and receive SMSes and perform other functions from my own laptop, the only hindrance is how to integrate it with GAE. So from what I gather, the suggestion by Gubbi

Re: [google-appengine] Timeout issues

2011-07-12 Thread Barry Hunter
Whooa! Detail overload. On the other hand, with all that detail, I am sure the engineers have diagnosed the exact issue, and are rushing to fix the issue right now. /sarc Its not that unsympathetic, but realistically if you want actual help, rather than just having a moan, then you could help

Re: [google-appengine] Re: SMSLib With Google App Engine

2011-07-12 Thread Rob Coops
You do realize that this means your site will only work as long as your laptop is switched on and in reach of a cell tower so it can sent the SMS? Anyway, I remember several years ago working with a SMS module connected to a linux machine, what we did (as the http server ran on a different

[google-appengine] Re: Java Remote API - getting 302 error

2011-07-12 Thread Muneer Malik
any clues / suggestion here ? not sure if my query was successfully posted ! thanks On Monday, July 11, 2011, Muneer Malik tutti...@gmail.com wrote: Did anyone try this yet? any ideas here? Thanks On Mon, Jul 11, 2011 at 10:51 AM, Muneer Malik tutti...@gmail.com wrote: Exception in

Re: [google-appengine] Re: SMSLib With Google App Engine

2011-07-12 Thread Rohit Bhat
I'm basically doing this for a project, but I can make use of a dedicated server if need be. The email method is indeed nice and pretty much solves the problem of the GSM module being on a different server. I'll just consult with my other team mates and decide the best option. Thanks for the

Re: [google-appengine] Re: ConcurrentModificationExceptions thrown by SUCCESSFUL transactions

2011-07-12 Thread Joshua Smith
Yeah, like the example of a transaction on the page with that caveat: http://code.google.com/appengine/docs/python/datastore/transactions.html First it says, Make sure your transactions are idempotent and then it gives an example which isn't. I'm not sure it's possible to do the task in that

Re: [google-appengine] Re: ConcurrentModificationExceptions thrown by SUCCESSFUL transactions

2011-07-12 Thread Joshua Smith
Or, later on that page, where it says: Transactional tasks are useful because they allow you to combine non-datastore actions to a transaction that depend on the transaction succeeding (such as sending an email to confirm a purchase). Does the caveat mean that in your example, the purchase

[google-appengine] Re: GAE Pricing Changes - Sucker Punching the Development Community

2011-07-12 Thread zdravko
Perhaps with a bit of an explanation you would like to address something that is incorrect ;?) On Jul 7, 11:32 am, Geoffrey Spear geoffsp...@gmail.com wrote: On Jul 7, 8:14 am, Drew Spencer slugmand...@gmail.com wrote: On Wednesday, 6 July 2011 16:45:23 UTC+1, zdravko wrote:

[google-appengine] Re: 1.5.2 SDK Prerelease

2011-07-12 Thread sebastián serrano
Hi, Thanks for the prerelease! Is nice to start playing with the new features for the new pricing model. Could you clarify about the exploding indexes change? is not clear to me either. Cheers, Sebastian www.devsar.com -- You received this message because you are subscribed to the Google

[google-appengine] GAE is missing requests

2011-07-12 Thread Nikolay Sohryakov
Hi, Sometimes GAE is missing my requests and instead of the requested page i get a clean page in my browser! Can you fix it please? I've tested it in different browsers on different computers. Thank you. -- You received this message because you are subscribed to the Google Groups Google App

[google-appengine] Re: Is taskID unique?

2011-07-12 Thread Nikolay Sohryakov
Something about that? -- 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/-/wWCeJR4zvGIJ. To post to this group, send email to

Re: [google-appengine] Timeout issues

2011-07-12 Thread vlad
Unless I am missing something URLfetch is used for accessing *other* services from GAE. You might want to look why those other services are slow. -- 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: custom app url

2011-07-12 Thread Zach
I'm experiencing custom domain errors, too. I have two previous applications with custom domains, but I currently get a server error whenever I try to add a new custom domain to a new application. Would appreciate any suggestions on how to go forward? Zach On Jul 11, 9:56 am, rb.90

[google-appengine] Re: 1.5.2 SDK Prerelease

2011-07-12 Thread pdknsk
The SDK now supports multiple concurrent transactions. What does this mean exactly? -- 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,

Re: [appengine-java] Re: [google-appengine] Re: 1.5.2 SDK Prerelease

2011-07-12 Thread Alfred Fuller
Hi, It means that there are alternatives to using exploding indexes (i.e. they are no longer required to execute a given query). You can still have them (there are cases where they are useful, namely to optimize query speed over write cost) and the SDK will still suggest them in many cases (as it

Re: [google-appengine] Re: 1.5.2 SDK Prerelease

2011-07-12 Thread Alfred Fuller
The Datastore itself has always supported multiple concurrent transactions. However the dev_appserver in the python SDK previously used a global lock and would deadlock if a single thread tried to start more than a single transaction. Now you can have multiple concurrent transactions running at

Re: [google-appengine] Re: SMSLib With Google App Engine

2011-07-12 Thread Nickolas Daskalou
You could use a Pull Queue instead of an email sending/polling system: http://code.google.com/appengine/docs/python/taskqueue/overview-pull.html Nick On 13 July 2011 01:13, Rohit Bhat smashingro...@gmail.com wrote: I'm basically doing this for a project, but I can make use of a dedicated

Re: [google-appengine] Timeout issues

2011-07-12 Thread John Wheeler
Vlad, I hear where you're coming from, but it turned out to be App Engine's fault. Google Engineer's you've apparently had problems making outbound HTTP calls to PayPal API endpoints for some time. There's lots of blog and news posts about it going back to 2008. I am using Java URLFetch and

[google-appengine] Help! App doesn't update correctly

2011-07-12 Thread de Witte
Hello, If I access my app via its domain url (www.domain.com) , it shows an old version of my app. Accessing via the appspot.com url, works fine. Never had this problem before, is it related to the recent transition of Google Apps? Gr, Wendel -- You received this message because you are

[google-appengine] SAML/SSO login not working

2011-07-12 Thread milosh zorica
hello i'm developing a secure log in solution based on GAIL after i log in with my credentials, it says it couldn't load a page. before it worked fine. yeah, i did all the set up changes in dashboard thanks m. -- Milosh Zorica http://www.linkedin.com/in/miloshzorica phone: +44 20 8144

Re: [google-appengine] Thursday 7/14 Downtime

2011-07-12 Thread Nick Johnson (Google)
Hi Ryan, On Wed, Jul 13, 2011 at 12:33 AM, Ryan Goldstein r...@moberg.com wrote: Regarding https://groups.google.com/d/msg/google-appengine-downtime-notify/C7d8rXE-7sA/CUdvP1Z8vwAJ ... 1. I assume the subject stating July 15 is incorrect, and the real date is Thursday, July 14, as in the

[google-appengine] About expando properties

2011-07-12 Thread Pol
Hi, Regarding expando properties: 1) Can you prevent them from being indexed (I couldn't find anything about this, but I'd like official confirmation)? 2) What's the practical number of expando properties you shouldn't go above? If they are all indexed, then surely that can be quite expensive,