Re: [appengine-java] Re: Need help choosing a frontend framework for a GAEj app, GWT seems like overkill

2010-09-10 Thread Ikai L (Google)
It's very hard to use GWT's RPC mechanism without using GWT. GWT's RPC mechanism is nice because it provides a server side implementation, but on the client side, you're still creating an AsyncCallback and programming in an asynchronous manner. This is an area where Javascript really shines because

Re: [appengine-java] Re: pm.store() failing silently

2010-09-10 Thread Ikai L (Google)
ible. So it seems that this is related to the > > servers where this entity is being persisted, which gets this flaky > > behavior. Not sure if this is a blobstore or datastore issue. > > > > On Sep 2, 2:14 pm, "Ikai L (Google)" wrote: > > > > > > &

Re: [appengine-java] Help: How to enable src auto-update in eclipse using app engine plugin for eclipse?

2010-09-09 Thread Ikai L (Google)
Is your server running in debug mode? Most classes should be hot reloadable. You'll still need to restart your server for web.xml changes. On Thu, Sep 9, 2010 at 12:56 AM, Felix wrote: > Hello, guys. I'm using Google App Engine 1.3.7 eclipse plugin with > eclipse 3.5 on a Windows 32bit machine.

Re: [appengine-java] Re: App Engine and Google Apps

2010-09-09 Thread Ikai L (Google)
ncompliance to HIPAA? What does Google > prevent from complying? > > Thanks, > Fred > > On 8 Sep., 20:13, "Ikai L (Google)" wrote: > > Yes, you can partition by namespace on domain. You shouldn't need OpenID > to > > get this to work. > >

Re: [appengine-java] Replace an object in the datastore with another not currently in the datastore?

2010-09-09 Thread Ikai L (Google)
With the low-level API, you would just set the Key of the old object to the one one and persist it. With managed persistence via PersistenceManager or EntityManager, I believe you can set a key and merge (but I'm not sure off the top of my head). On Wed, Sep 8, 2010 at 12:43 PM, Shaun wrote: > T

Re: [appengine-java] App Engine and Google Apps

2010-09-08 Thread Ikai L (Google)
Yes, you can partition by namespace on domain. You shouldn't need OpenID to get this to work. Just be aware that we've stated in the fact we are not HIPAA compliant: http://www.hhs.gov/ocr/privacy/ Check with your legal counsel before proceeding. On Wed, Sep 8, 2010 at 9:42 AM, Vishal Singh wr

Re: [appengine-java] Beating the 1MB datastore restriction

2010-09-08 Thread Ikai L (Google)
Have you taken a look at this? http://code.google.com/appengine/docs/java/blobstore/overview.html On Wed, Sep 8, 2010 at 8:02 AM, Rafael Barrera Oro wrote: > Hello there! > > I am trying to implement a basic file sharing service and, as you may > already know, the datastore imposes a 1MB limit f

Re: [appengine-java] Works in dev, not in prod. Max path length? Illegal characters?

2010-09-08 Thread Ikai L (Google)
This is just a guess, but can you make sure everything is escaped? For instance, the "\'" part looks problematic. In general, you want to avoid issues that can occur from weird naming - it's really not worth your time debugging these issues when you can just change the path. On Wed, Sep 8, 2010 at

Re: [appengine-java] Google Apps problem with Google App engine Admin Console Display

2010-09-07 Thread Ikai L (Google)
Try this: http://appengine.google.com/a/elon.edu On Mon, Sep 6, 2010 at 1:04 PM, powell...@gmail.com wrote: > Before our university, Elon, went to Google Apps for the students, the > students who had gmail accounts such as d...@gmail.com could easily > request and appengine account, create an ap

Re: [appengine-java] Memcache put: Error setting single item

2010-09-07 Thread Ikai L (Google)
Can you post any code? On Sun, Sep 5, 2010 at 9:37 PM, Subhash wrote: > Hi > > I am working on google app engine. I am using memCache for cache my > data. I am facing following error while using cache: > > com.google.appengine.api.memcache.MemcacheServiceException: Memcache > put: Error setting s

Re: [appengine-java] building indexes

2010-09-07 Thread Ikai L (Google)
Index building time depends on the amount of data you have as well as all other indexes being built globally. The index builder is a shared resource. The best practice is to upload a new staging version before you need it. All versions share the same datastore, so index building will begin before

Re: [appengine-java] image background color changed to red when using imagesservice and blobstoreservice

2010-09-03 Thread Ikai L (Google)
Can you post an example image? I've never seen this happen. On Fri, Sep 3, 2010 at 7:13 AM, jay wrote: > Dear All, > > When I used the blobstoreservice and imagesservice to upload a image, > sometimes, some pictures background were changed to red. > > This happend in dev enviroment. I havn't ch

Re: [appengine-java] Re: Uncaught exception from servlet

2010-09-03 Thread Ikai L (Google)
tail?id=1506 > be fixed? I'm guessing that this might be because of the version of > Jetty GAE for java is running on. > > Any why to get the time line for something like this? Also when I run > mvn gwt:run locally it works fine. > > Thanks > > Zach > > On

Re: [appengine-java] Uncaught exception from servlet

2010-09-02 Thread Ikai L (Google)
I'm not a Spring Roo expert, but this seems to offer a clue: java.lang.IllegalStateException: Unable to locate the default servlet for serving static content. Please set the 'defaultServletName' property explicitly. Does that property mean anything to you? On Wed, Sep 1, 2010 at 8:11 PM, zachari

Re: [appengine-java] Uncaught exception from servlet

2010-09-02 Thread Ikai L (Google)
I'm not a Spring Roo expert, but this seems to offer a clue: java.lang.IllegalStateException: Unable to locate the default servlet for serving static content. Please set the 'defaultServletName' property explicitly. Does that property mean anything to you? On Wed, Sep 1, 2010 at 8:11 PM, zachari

Re: [appengine-java] pm.store() failing silently

2010-09-02 Thread Ikai L (Google)
Does this consistently fail every 1/3 times, or at certain times? Not that it should matter, but how are you creating the PersistenceManager? On Wed, Sep 1, 2010 at 6:21 PM, John wrote: > This one is for App Engine team. Random silent failures, no > explanation. > > I have a piece of code which

Re: [appengine-java] Non-blocking HTTP Connection with httpcore-nio?

2010-09-01 Thread Ikai L (Google)
I'm guessing no. It probably uses classes not available here: http://code.google.com/appengine/docs/java/jrewhitelist.html You're not making outbound HTTP calls from your app instance; you're calling an API that uses Google's URLFetching infrastructure. On Wed, Sep 1, 2010 at 7:41 AM, apple wro

[appengine-java] How to use Google Plugin for Eclipse with Maven

2010-09-01 Thread Ikai L (Google)
Hey everyone, We've been trying to do better with regards to our Maven support. One of the members of my team, David Chandler, wrote this blog post about using GPE with Maven: http://googlewebtoolkit.blogspot.com/2010/08/how-to-use-google-plugin-for-eclipse.html There's a bit about App Engine. L

Re: [appengine-java] Downloading WAR files from appengine

2010-08-31 Thread Ikai L (Google)
No you need to provide your own backups. These WAR files would not be useful anyway unless you plan on editing .class files. On Tue, Aug 31, 2010 at 5:43 AM, Puneet wrote: > Hi, > > Is it possible to download war files that I have uploaded to app- > engine. I uploaded it through eclipse and now

Re: [appengine-java] Unable to upload application through eclipse3.5

2010-08-31 Thread Ikai L (Google)
The reason this is failing is because your url-patterns don't match this regular expression (http://www.regular-expressions.info/tutorial.html): '^(?!\^)/|\.|(\(.).*(?!\$).$' Start your urls with a "/" or ".* (catch all)" On Sat, Aug 28, 2010 at 10:35 AM, Saurabh Saxena < saurabhsaxena.saur...@g

Re: [appengine-java] Re: problem using limits and offsets with App Engine Low Level API

2010-08-31 Thread Ikai L (Google)
Hi Tom, Have you looked into cursors? http://code.google.com/appengine/docs/java/datastore/queriesandindexes.html#Query_Cursors On Sat, Aug 28, 2010 at 9:49 AM, tomkarren wrote: > I read that pagination has an unpublished limit of 2000. Anyone know > it that's still true? Seems to be the cas

[appengine-java] App Engine SDK 1.3.7 bugfix release

2010-08-30 Thread Ikai L (Google)
Hey everyone, I just wanted to let you all know that we're releasing a bugfix release, 1.3.7. You can see our blog post here: http://googleappengine.blogspot.com/2010/08/app-engine-137-sdk-bugfix-release.html There are two issues this release addresses: - Python SDK will correctly assign a name

Re: [appengine-java] CPU bandwidth cost $$ too expensive?

2010-08-30 Thread Ikai L (Google)
That seems a bit high. Can you run AppStats and let us know what you see? http://code.google.com/appengine/docs/java/tools/appstats.html On Fri, Aug 27, 2010 at 12:31 PM, akirekadu wrote: > > I wanted to benchmark GAE read performance. Around 10,000 entities are > being fetched from data store.

Re: [appengine-java] Creating unique ID for child Key with given parent Key

2010-08-26 Thread Ikai L (Google)
You might want to have a look at this: http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/DatastoreService.html#allocateIds(com.google.appengine.api.datastore.Key, java.lang.String, long) You can specify a parent and allocate IDs. The only caveat is that these m

Re: [appengine-java] How to do update Statement in GQL for Java

2010-08-26 Thread Ikai L (Google)
GQL is read only. You need to use the datastore API for write operations: http://code.google.com/appengine/docs/python/datastore/creatinggettinganddeletingdata.html On Wed, Aug 25, 2010 at 8:10 PM, TP Project TP Project < tpmpproj...@gmail.com> wrote: > Hi can any1 teach me how to use update sta

Re: [appengine-java] Count sent emails per day for a domain

2010-08-26 Thread Ikai L (Google)
This looks to be more of a Google Apps question. You'll want to direct your query here: http://www.google.com/support/a/?hl=en This forum is for asking about Google App Engine, a platform for developing applications. On Thu, Aug 26, 2010 at 4:51 AM, stelios wrote: > Hi, > > I thought this woul

Re: [appengine-java] Simultaneous access by multiple request

2010-08-25 Thread Ikai L (Google)
Use MemcacheService's increment feature instead: http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/memcache/MemcacheService.html#increment(java.lang.Object, long) This is guaranteed atomic. On Wed, Aug 25, 2010 at 7:36 AM, Janak wrote: > I have a Integer counter varia

Re: [appengine-java] Using BlobService doesn't work after deployment?

2010-08-25 Thread Ikai L (Google)
Blobstore requires a billing enabled application. There is no free quota for this feature. You will not be billed for low usage; you just need to have it on. On Wed, Aug 25, 2010 at 4:35 AM, Sree ... wrote: > Hi > > Am working on a small sample project using GWT+GAE/J, where the app allows > eac

Re: [appengine-java] How to Bulk Upload in Java

2010-08-25 Thread Ikai L (Google)
Check out this blog post I threw together: http://ikaisays.com/2010/08/11/using-the-app-engine-mapper-for-bulk-data-import/ This shows how to use the Python bulkloader with Java: http://ikaisays.com/2010/06/10/using-the-bulkloader-with-java-app-engine/ On Wed, Aug 25, 2010 at 12:43 AM, Sree ...

Re: [appengine-java] Adobe air support in GAE

2010-08-23 Thread Ikai L (Google)
Yes, AIR is a client side technology. Communicate with your App Engine app via HTTP or XMPP. On Mon, Aug 23, 2010 at 3:54 AM, aptest1 actiprocess wrote: > HI, > > Is it possible to use adobe air in GAE. > > Thanks > Mahesh > > -- > You received this message because you are subscribed to the Googl

Re: [appengine-java] Determine in runtime (Java) who deployed app

2010-08-20 Thread Ikai L (Google)
No, this doesn't exist in the API. What's the use case? You could probably write a pre-deploy hook via command line scripting to update a datastore entity somewhere (possibly even in another application), but this is probably easier to solve with internal communications or version numbers. On Fri,

Re: [appengine-java] Re: SDK 1.3.6 released!

2010-08-18 Thread Ikai L (Google)
It's not possible, you'll have to traverse the index no matter what. I advise counting either offline or on write if this is possible. With very large numbers, the 90% use case is that you want an approximation. There may be techniques for approximating (similar to Google Search or Gmail), but thes

[appengine-java] SDK 1.3.6 released!

2010-08-17 Thread Ikai L (Google)
Hey guys, This is just a heads up that App Engine SDK version 1.3.6 is officially released! Read more about it here: http://googleappengine.blogspot.com/2010/08/multi-tenancy-support-high-performance_17.html Release notes for Java are below: Version 1.3.6 - August 17, 2010 - Multitenancy is

Re: [appengine-java] Caching feed

2010-08-17 Thread Ikai L (Google)
You want to use App Engine cron: http://code.google.com/appengine/docs/java/config/cron.html On Mon, Aug 16, 2010 at 6:57 PM, HIRAK wrote: > Hi, > I am trying to implement a feed reader of my own using google app > engine. > Now, I dont want to parse the feed xml each time I get a request. >

Re: [appengine-java] Data store low-level API and query filters

2010-08-16 Thread Ikai L (Google)
It may or may not work in your scenario, but if you have a cursor pointing to the start of events after the end date, you can use an end cursor: http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/FetchOptions.html#endCursor(com.google.appengine.api.datastore.Curs

Re: [appengine-java] Re: Guestbook (as-is) works locally, but deployed on gae will give Error: Server Error at signin

2010-08-16 Thread Ikai L (Google)
The Guestbook demo doesn't use OpenID for authentication. Take a look at this article: http://code.google.com/appengine/articles/openid.html On Sun, Aug 15, 2010 at 2:30 AM, Simpatico wrote: > If I change the authentication option to Google API it works. > > On Aug 13, 9:09 pm, &

Re: [appengine-java] Re: Oracle sues Google on Java Patents and Copyright

2010-08-16 Thread Ikai L (Google)
Warning: I am not a lawyer. This lawsuit is about Android and Dalvik. Google App Engine should not be affected. Here's an interesting read I found about this subject: http://blog.headius.com/2010/08/my-thoughts-on-oracle-v-google.html On Mon, Aug 16, 2010 at 10:23 AM, Khor Yong Hao wrote: > go

Re: [appengine-java] jsp compilation fails

2010-08-16 Thread Ikai L (Google)
1. Is there a compilation error in your JSPs? 2. It should be a different error, but do you have a JRE and not a JDK installed? On Sat, Aug 14, 2010 at 7:36 AM, harsh wrote: > i am trying to update my web application on appspot but getting an > error log like this > can anyone have solution for

Re: [appengine-java] Reusing GWT Localization on Server Side

2010-08-16 Thread Ikai L (Google)
Since they're just properties files, you should be able to use the same messages as a shared resource in your local project, but I doubt you'd be able to use the same code. Have you also asked this question in the GWT groups? http://groups.google.com/group/Google-Web-Toolkit On Sun, Aug 15, 2010

Re: [appengine-java] deleting appengine types using JDO

2010-08-16 Thread Ikai L (Google)
If you delete an entity, Text and Blob properties in that entity will be deleted as well. On Sat, Aug 14, 2010 at 10:59 AM, Stevko wrote: > Using JDO api layers > > Do I need to use 'dependent=true' to delete Text and Blob types? > Or is it automatic like String, Long , and other native types? >

Re: [appengine-java] Guestbook (as-is) works locally, but deployed on gae will give Error: Server Error at signin

2010-08-13 Thread Ikai L (Google)
Do the log files provide any information? What's the URL to your application? On Thu, Aug 12, 2010 at 3:48 AM, Simpatico wrote: > I've deployed the guestbook as it's provided in the demos folder but > when I click to sign in I get: > > Error: Server Error > The server encountered an error and co

Re: [appengine-java] Re: HELP: My app is getting lots of HardDeadlineExceededError today.

2010-08-13 Thread Ikai L (Google)
at is going on. > > > > Current version of the app is running a sc2pf6.appstat.com. The older > > version is running at sc2pf2.appspot.com. > > > > On Aug 9, 3:51 pm, "Ikai L (Google)" wrote: > > > > > > > > > I've got a

Re: [appengine-java] Problems with OAuth

2010-08-11 Thread Ikai L (Google)
You do need to register your application to get a consumer key and secret:: http://code.google.com/apis/accounts/docs/OAuth.html#prepRegister http://code.google.com/apis/accounts/docs/RegistrationForWebAppsAuto.html Here's a tool written by a friend of mine that I used to verify an OAuth setup, u

Re: [appengine-java] Native geospatial support

2010-08-11 Thread Ikai L (Google)
In general we don't give more specific ETAs for feature releases than "soon" "very soon" "next release" or "on the roadmap" ( http://code.google.com/appengine/docs/roadmap.html). I would suggest looking at something like GeoModel in the meantime if you are looking to do bounding box searches: http:

Re: [appengine-java] Retrieving the n nearest Points(Location) returned by distance

2010-08-10 Thread Ikai L (Google)
We don't do spatial indexing yet. However, read up on Geomodel: http://code.google.com/p/geomodel/ http://code.google.com/apis/maps/articles/geospatial.html On Tue, Aug 10, 2010 at 7:26 AM, fvisticot wrote: > I have entities with a GeoPt property > > In input, i have a longitude/latitude (curr

Re: [appengine-java] Monitoring the Task Queue

2010-08-10 Thread Ikai L (Google)
There are a few open feature requests for this. You'll want to star them: http://code.google.com/p/googleappengine/issues/list?can=2&q=task+queue&colspec=ID+Type+Status+Priority+Stars+Owner+Summary+Log+Component&cells=tiles On Tue, Aug 10, 2010 at 6:48 AM, fvisticot wrote: > Is there an API ava

Re: [appengine-java] Stored Data- how billed?

2010-08-10 Thread Ikai L (Google)
We should be taking the average per month, so if you have 25gb averaged over a month, you are charged 25gb x $0.15 = $4 for storage. More likely than not, you will be incurring CPU costs, not storage costs. On Mon, Aug 9, 2010 at 4:39 PM, Shawn Brown wrote: > Hi, > > About storage costs, > > If I

Re: [appengine-java] What are benefits of using Core Value Types?

2010-08-09 Thread Ikai L (Google)
In the Python API, these just make it easier to serialize to XML. As of right now, there's no added benefit of using these fields other than type safety, but you can probably build this yourself. On Mon, Aug 9, 2010 at 8:25 AM, Sam E. wrote: > I'm curious what the benefits are for using a few of

Re: [appengine-java] Change authentication from Google Apps

2010-08-09 Thread Ikai L (Google)
Can't you do this under the Application Settings page? It's under "Authentication Options". On Mon, Aug 9, 2010 at 11:42 AM, Alex Bertram wrote: > Hi, > I have an app that was originally created with Google Apps > authentication, now I'd like to change it to use OpenId, in the > configuration p

Re: [appengine-java] Alternate for Like Clause

2010-08-09 Thread Ikai L (Google)
You can do a startswith query by using the "greater than" filter, but no, you cannot do substring match without iterating over entity properties in memory. On Mon, Aug 9, 2010 at 6:51 AM, MANISH DHIMAN wrote: > Hi Friends > Is there any alternative for LIKE clause in java. > > -- > You received

Re: [appengine-java] Lucene in GAE

2010-08-09 Thread Ikai L (Google)
It's tricky. Lucene uses the filesystem, but you can subclass Directory, or IndexWriter and make it work (if you disable Lucene's concurrency options). There are a few projects that do this, but not completely. I looked into this a while ago and think it can be done, but I haven't had the time to l

Re: [appengine-java] Unmatched encountered. in script from dev mode

2010-08-09 Thread Ikai L (Google)
Is this a Google Web Toolkit question? There's no Safari plugin for App Engine. On Sun, Aug 8, 2010 at 9:56 PM, Shawn Brown wrote: > Hi, > > > **[safari plugin seems broken]** > > In Dev mode when accessing my page, I immdiately see > > [The HTML that caused this error was generated by a script.

Re: [appengine-java] EL works, but eclipse underlines red, and says can't find tag library - solutions?

2010-08-09 Thread Ikai L (Google)
You know, I've had Eclipse installed across several computers, and I'm not sure which versions run what, but I've had JSP work on about half of them. I've never looked too much into the cause. Do you have WTP installed? I want to say this should solve your issue, except I am fairly certain it works

Re: [appengine-java] Bulk loader and JPQL query

2010-08-09 Thread Ikai L (Google)
>> Yes, you're right. It is uploaded as String. >>> >>> Is it the property of the bulkloader to upload the data as String or have >>> I done something wrong because I have declared the source and destination as >>> integers? >>> >>> Also, I h

Re: [appengine-java] sharded counter report

2010-08-09 Thread Ikai L (Google)
Yes, this will most definitely see a 30 second time limit if you have a large enough number of counter. I suggest generating the report using Appengine Mapreduce: http://code.google.com/p/appengine-mapreduce/ I wrote up a few examples about how to aggregate data here: http://ikaisays.com/2010/07/

Re: [appengine-java] Access application by more than one domain

2010-08-09 Thread Ikai L (Google)
You should be able to point more than one domain to an application. You can find this information from the URLHeaders. Note that this isn't a very secure way of segmenting data, but is more use for showing different layouts optimized for different audiences. On Thu, Aug 5, 2010 at 4:37 AM, Gleidso

Re: [appengine-java] Callback URL Handling

2010-08-09 Thread Ikai L (Google)
405 is a method not allowed error. Is your application throwing the 405? On Thu, Aug 5, 2010 at 3:56 PM, compeng4lf wrote: > I am having trouble with the callback URL in my application. I > successfully authenticate on twitter, but then on the callback i get a > 405 ERROR. > > I am trying to gr

Re: [appengine-java] OCR on Google App Engine

2010-08-09 Thread Ikai L (Google)
Is the interface of OCRWebService.com SOAP over HTTP? You should be able to use URLFetch. On Tue, Aug 3, 2010 at 12:37 PM, Max wrote: > Hi, > > I'm trying to implement the capability to text extraction from images > (TIF/PDF) on Google App Engine. Has anyone had success with this? Is > the bes

Re: [appengine-java] Re: HELP: My app is getting lots of HardDeadlineExceededError today.

2010-08-09 Thread Ikai L (Google)
I've got a few questions for you: 1. What is your application ID? 2. What are you doing in the tasks? 3. Are you using transactions or entity groups? 4. Are you writing to the same datastore entities? My guess is that you are running into write contention in the datastore. It'd be very helpful to

Re: [appengine-java] Re: Prerelease SDK 1.3.6 is out!

2010-08-04 Thread Ikai L (Google)
Hey guys, Here's a sample app that uses the namespaces feature: http://code.google.com/p/google-app-engine-samples/source/browse/#svn/trunk/gwtguestbook-namespaces/src/com/google/gwt/sample/gwtguestbook/server On Tue, Aug 3, 2010 at 2:16 PM, Mouseclicker wrote: > The namespace/multi clientele

Re: [appengine-java] Remove unused Datastore entities?

2010-08-03 Thread Ikai L (Google)
Sort of. The datastore is schemaless, so each entity maintains its own list of what properties it has. If you read the entities and resave them without the entities you want deleted, they will not be stored. Note that this is different from a "NULL" entity - properties with values set to null are s

Re: [appengine-java] can OpenID run on GAE (java, not py)

2010-08-03 Thread Ikai L (Google)
If you just want to use federated login, Wesley's article here has some Java code samples: http://code.google.com/appengine/articles/openid.html On Mon, Aug 2, 2010 at 8:01 AM, ohad wrote: > hi > i tried to make an application on GAE, that demos the openID > authentication mechanism. > > i saw

Re: [appengine-java] Re: Programmatically Deleting a Large Set of Entities from the Datastore

2010-08-03 Thread Ikai L (Google)
Another option is to use the Mapper API. Here's a simple example: http://ikaisays.com/2010/07/09/using-the-java-mapper-framework-for-app-engine/ The Mapper API provides an admin interface for administering your jobs. On Fri, Jul 30, 2010 at 12:22 PM, Steven Speek wrote: > Dear Viji, > I had th

Re: [appengine-java] Re: Check capability API for write-access?

2010-08-03 Thread Ikai L (Google)
coltsith wrote: > > Okay, thanks guys. I'll keep on the lookout for the next release. > > > > On Jul 15, 7:50 pm, Don Schwarz wrote: > > > > > > > > > This will be supported in Java in the next release. > > > > > On Thu, Jul 15,

Re: [appengine-java] ip addresses for GAE

2010-08-03 Thread Ikai L (Google)
App Engine addresses can change, and this doesn't prevent other App Engine applications from accessing your other server. Consider a shared key infrastructure instead where you pass along a request that is hashed along with the key. On Sat, Jul 31, 2010 at 4:42 PM, Andrei wrote: > I want GAE app

Re: [appengine-java] Use google accounts to register for app

2010-08-03 Thread Ikai L (Google)
You'll have to build it yourself. The correct approach is probably to build a new model with the User's ID as the Key (to preserve a 1:1 mapping) and have a flag for an approved account. On Thu, Jul 29, 2010 at 3:12 AM, kas wrote: > I am writing an app that I want to require people to register f

Re: [appengine-java] Bulk loader and JPQL query

2010-08-03 Thread Ikai L (Google)
It may have been uploaded as a string. Does the datastore viewer state that it is a String or Long? Try "1" in your query. On Wed, Jul 28, 2010 at 2:11 PM, Deepika M wrote: > Hi, > > I am trying to use the bulk loader to upload information about edges for > Java app engine. > > > I have an Edge

Re: [appengine-java] Can I use goo.gl if I'm building a service on GAE?

2010-08-03 Thread Ikai L (Google)
I found these links: http://www.labnol.org/internet/create-google-short-url/11748/ This may be a violation of Terms of Service, however. You may want to look into URL shorteners that have official APIs such as bit.ly. On Wed, Jul 28, 2010 at 2:15 AM, Erik Lydecker wrote: > Can I use goo.gl if I

Re: [appengine-java] Spoiled by GAE for Python

2010-08-03 Thread Ikai L (Google)
I think that's a bit unfair. There are various known issues with Django, and this may simply be a case of "the grass is greener." Nevertheless, I do understand where you are coming from, but a lot of that can be chalked up to the nature of Java. That being said, I've been looking at Slim3 recently

[appengine-java] Prerelease SDK 1.3.6 is out!

2010-08-02 Thread Ikai L (Google)
Hey everybody, Just wanted to let everyone know that the prerelease SDK for 1.3.6 is out. If you're interested in downloading the SDKs, you can find it here: http://code.google.com/p/googleappengine/downloads/list Not all features that work locally in the new version are guaranteed to work in a

Re: [appengine-java] Reindex unindexed properties

2010-07-30 Thread Ikai L (Google)
You may need to make a small change before re-putting it. On Fri, Jul 30, 2010 at 11:35 AM, Lucian Baciu wrote: > I have an entity with an unindexed property that I now need to index. > So, I've iterated over all entities retrieved each one and then > updated back to the datastore ("touch" each o

Re: [appengine-java] Four questions, mostly about JavaMail

2010-07-29 Thread Ikai L (Google)
(Tip: more white space in your emails, this could just have been a side effect of your client) 1. Probably just convention, and the fact that many .info TLDs are spam domains 2. Why not just override the servlet's init() method? This is a much more standard approach. 3. You need to set the "from"

Re: [appengine-java] Servlet 3 support?

2010-07-29 Thread Ikai L (Google)
You and me both. It's not something that's on our roadmap, but we're looking into it. On Thu, Jul 29, 2010 at 8:41 AM, Guillaume Laforge wrote: > Starred! > > Really looking forward forgetting about web.xml altogether :-) > > On Wed, Jul 28, 2010 at 23:53, Jeff Schnitzer wrote: > > Please star t

Re: [appengine-java] Can I restore my source from GAE?

2010-07-28 Thread Ikai L (Google)
No, you cannot do this. See related discussions: http://groups.google.com/group/google-appengine/search?group=google-appengine&q=download+source&qt_g=Search+this+group On Wed, Jul 28, 2010 at 3:54 AM, Елена Соколовская < beatrix.xirt...@gmail.com> wrote: > Help me please! I loosed my source code

Re: [appengine-java] VMware + Google App Engine

2010-07-27 Thread Ikai L (Google)
The partnership right now, if I'm not mistaken, is more of a partnership with SpringSource. At any rate, I don't have any news to report - for updates, stay tuned and subscribe to the VMWare blog: http://blogs.vmware.com/console/2010/05/google-and-vmwares-open-paas-strategy.html And the App Engin

Re: [appengine-java] Google Translate in GAE

2010-07-27 Thread Ikai L (Google)
The only API right now is the AJAX API (as you mentioned) http://code.google.com/apis/ajaxlanguage/ You'll want to make sure you're following the terms of service of the API if you decide to do anything like caching. On Tue, Jul 27, 2010 at 9:24 AM, Prateek wrote: > Dear GAE, > > I am looking

Re: [appengine-java] cron log

2010-07-27 Thread Ikai L (Google)
What does your cron job do? On Thu, Jul 22, 2010 at 11:22 AM, Andrei wrote: > I have cron job that runs every 2 hours, but it ran 20 times in last > few minutes with message > > Request was aborted after waiting too long to attempt to service your > request. This may happen sporadically when the

Re: [appengine-java] Get objects back in the order they were inserted into the data store?

2010-07-21 Thread Ikai L (Google)
You'll need an index no matter what, as if you did this, you'd need Key descending. Note that this may not be exact insert order but it'll be pretty close. This seems to save an index, though, as doing it another way requires both ascending and descending indexes. On Wed, Jul 21, 2010 at 5:52 AM,

Re: [appengine-java] next gen queries

2010-07-21 Thread Ikai L (Google)
We don't have an ETA yet. We'll announce it when it's ready. On Mon, Jul 19, 2010 at 11:08 AM, pac wrote: > In Alfred Fuller's presentation (http://www.youtube.com/watch? > v=ofhEyDBpngM&feature=channel), he mentioned that limit of 5000 list > items and need for number of composite indexes for l

Re: [appengine-java] How to "close" an object before second transaction?

2010-07-21 Thread Ikai L (Google)
Can you start the transaction before you do the fetch? The way you're writing it won't result in what you want to do. If that still doesn't work, just retrieve a new instance of the PersistenceManager. This is cheap so it won't cost you significant additional CPU. On Mon, Jul 19, 2010 at 5:59 AM,

Re: [appengine-java] Share session between 3rd party domain (google apps) and appspot.com?

2010-07-21 Thread Ikai L (Google)
There's no single sign on capability yet, but if you use OpenID, the use experience can come pretty close. On Mon, Jul 19, 2010 at 3:27 AM, Just wrote: > Hi, > > is it possible to share the session between a google apps domain and > appspot.com? > I wanted to use the ssl of appspot.com for secur

Re: [appengine-java] Date, Calendar question (multiple instances of web application behaviour) clarification

2010-07-21 Thread Ikai L (Google)
It should just be whatever the date is on the current instance. In general, do not ever rely on dates to be synchronized. Clock skew is a reality of distributed computing, and you'll have to work around it. What exactly is the problem you're trying to solve? On Sun, Jul 18, 2010 at 11:23 PM, Marcu

Re: [appengine-java] app works in IE but not in Firefox and safari!

2010-07-21 Thread Ikai L (Google)
Looks okay to me. You might want to post better reproduction steps: http://www.softwaretestinghelp.com/how-to-write-good-bug-report/ On Fri, Jul 16, 2010 at 3:45 PM, karasu kuro wrote: > app: > http://easyalarm97531.appspot.com > works fine in IE but not in Firefox and Safari. > > IE version:6.

Re: [appengine-java] Entity relationship table

2010-07-18 Thread Ikai L (Google)
The best practice is probably to create list properties with Keys representing friend IDs. This is a good video to watch: http://www.youtube.com/watch?v=AgaL6NGpkB8 On Fri, Jul 16, 2010 at 8:03 AM, dmetri333 wrote: > Im relatively new too GAE and the Datastore, and i had a question on > the bes

Re: [appengine-java] app works in IE but not in Firefox and safari!

2010-07-18 Thread Ikai L (Google)
Can you post code? My guess is you aren't setting content type to text/html. On Fri, Jul 16, 2010 at 1:01 AM, karasu kuro wrote: > IE version:3.0.28 > Firefox version:3.6.6 > Safari(Mac) version:5.0 > Eclipse Java EE IDE for Web Developers.:Hellios > Java version:1.6.0_21 > > http://easyalarm975

Re: [appengine-java] Re: Check capability API for write-access?

2010-07-15 Thread Ikai L (Google)
I'd appreciate if members of this group didn't "bump" topics - it creates noise, and we do make an effort to respond to topics, even older ones. There's capabilities API, unfortunately, this is Python only for now. http://www.slideshare.net/jasonacooper/strategies-for-maintaining-app-engine-avail

Re: [appengine-java] How to handle simultaneous requests (for same action) ?

2010-07-14 Thread Ikai L (Google)
Is this a slow running request? App Engine favors many small requests. We will not autoscale your application if the majority of your requests take a long time to complete. On Fri, Jul 9, 2010 at 5:42 AM, sree wrote: > sending request simultaneously with 15 seconds time interval for the > same a

Re: [appengine-java] How to query a __key__ in Datastore Viewer

2010-07-12 Thread Ikai L (Google)
Try this: SELECT * FROM PreparedTransaction WHERE __key__=KEY('agdwYXllbGV4cjkLEhNQcmVwYXJlZFRyYW5zYWN0aW9uIiAwMDAwMGNjMjMwYzg2MTFjZTFhOWZjZDJkZDEzMWMyNww') This is documented here: http://code.google.com/appengine/docs/python/datastore/gqlreference.html On Mon, Jul 12, 2010 at 6:25 AM, cse.zh.

Re: [appengine-java] dynamically resizing a textarea

2010-07-12 Thread Ikai L (Google)
You'll need to do this in the client using Javascript. You can't do client side UI on the server. If you're using Google Web Toolkit, you may have better luck finding an answer here: https://groups.google.com/group/Google-Web-Toolkit?pli=1 On Sun, Jul 11, 2010 at 11:24 PM, Brandon A wrote: > I'

Re: [appengine-java] Re: Enabling SSL for a Servlet

2010-07-09 Thread Ikai L (Google)
ke the OpenID chatter to a new thread, since we've clearly resolved any issues with HTTPS and appspot on this one. On Fri, Jul 9, 2010 at 5:36 PM, Ikai L (Google) wrote: > BTW - there is a known issue with HTTPS and OpenID. I was just using that > site to demonstrate that we *do* s

Re: [appengine-java] Re: Enabling SSL for a Servlet

2010-07-09 Thread Ikai L (Google)
BTW - there is a known issue with HTTPS and OpenID. I was just using that site to demonstrate that we *do* serve HTTPS for all applications if a user requests them on port 443. On Fri, Jul 9, 2010 at 5:33 PM, Ikai L (Google) wrote: > I'm running OS X on my laptop. This works in Firefo

Re: [appengine-java] Re: Enabling SSL for a Servlet

2010-07-09 Thread Ikai L (Google)
I'm running OS X on my laptop. This works in Firefox 3.6 as well as Chrome 5.0.375.99. Can you try this from the command line? curl https://ikai-openid-demo.appspot.com I'm wondering if there are weird settings at a lower level - for instance, some weird proxy action going on, or a company netwo

Re: [appengine-java] Re: Enabling SSL for a Servlet

2010-07-09 Thread Ikai L (Google)
This is strange. SSL connects on port 443, not port 80. Point your browser here: https://ikai-openid-demo.appspot.com:443 On Fri, Jul 9, 2010 at 3:59 AM, Shawn Brown wrote: > > "Secure Connection Failed > > An error occurred during a connection to ikai-openid-demo.appspot.com: > > 80. > > > > SS

Re: [appengine-java] Re: achieving URL redirection (.htaccess) functionality with app engine?

2010-07-09 Thread Ikai L (Google)
, Jul 8, 2010 at 2:27 PM, John Denley wrote: > Thanks Ikai, I guess its just that I didnt know what I needed to be > searching for! :D this seems to be just what I needed (should really be > core GAE technology though IMHO!) > > On 8 July 2010 20:32, Ikai L (Google) wrote: >

Re: [appengine-java] Re: achieving URL redirection (.htaccess) functionality with app engine?

2010-07-08 Thread Ikai L (Google)
You'd write a servlet filter that matches on the regex, redirecting as needed. A quick search turned up this: http://code.google.com/p/urlrewritefilter/ I just searched for: servlet filter url rewriting http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=servlet+filter+url+rewriting On Thu,

Re: [appengine-java] generating sequence for persistence classes like Country and so on ...

2010-07-08 Thread Ikai L (Google)
Why not just load these from a flatfile and load it into local memory? The number of countries in the world is something that changes very infrequently. On Mon, Jul 5, 2010 at 12:28 PM, cscsaba wrote: > Hello, > > What is the best practice to generation sequence ids for persistence > classes lik

Re: [appengine-java] Error on closing PersistenceManager

2010-07-08 Thread Ikai L (Google)
What are you trying to persist, and can you post the code where you are persisting it? On Mon, Jul 5, 2010 at 4:07 PM, Chuck wrote: > With a fresh checkout of the Google plugins for Eclipse, my > development server (Mac Snow Leopard) is reporting: > > Somehow org.datanucleus.sco.UnsetOwners.stor

Re: [appengine-java] Enabling SSL for a Servlet

2010-07-08 Thread Ikai L (Google)
You shouldn't have to do anything. Just deploy your application and browse to the SSL version. Here's an OpenID demo app I wrote. It's accessible both here: http://ikai-openid-demo.appspot.com/ And here: https://ikai-openid-demo.appspot.com/ I didn't do anything at all. On Mon, Jul 5, 2010 at

Re: [appengine-java] can't figure out how to use JSTL to escape xml (guestbook tutorial)

2010-07-07 Thread Ikai L (Google)
If you already have EL enabled with this tag at the top of your page: <%@ page isELIgnored="false" %> Can't you just use this? ${g.content} On Mon, Jul 5, 2010 at 9:44 PM, decitrig wrote: > In the tutorial, I've added the following to the guestbook.jsp file: > > <%@ taglib uri="http://java.su

Re: [appengine-java] Question about Blobstore billing

2010-07-02 Thread Ikai L (Google)
If you disable billing, we do not delete your blobs, however, users will be shown the same error messages they see if Blobstore is not enabled when billing is off. On Fri, Jul 2, 2010 at 5:48 AM, Thomas wrote: > Hi all: > >I have enabled billing for one of my sites. My question is that if >

  1   2   3   4   5   6   7   8   >