[appengine-java] Re: "captcha required" error when deployed, works locally

2010-03-28 Thread dflorey
Unfortunately Google changed this without warning. You'll have to handle the captcha now when dealing with user/password credentials (or use authsub). How to handle captchas is described in the docs, it's pretty straightforward. On Mar 28, 9:05 pm, Brice wrote: > Good afternoon, > > I'm working o

[appengine-java] Re: GWT Code Server Disconnected

2010-03-28 Thread Vaclav Bartacek
I use Linux and Apache Ant without problems. Linux 2.6.23.9-mactel x86_64 java version "1.6.0_03" 64bit GWT SDK 2.0.3 GAE SDK 1.3.1 or 1.3.2 See http://code.google.com/webtoolkit/doc/latest/tutorial/appengine.html Here is the interesting part of my build.xml:

[appengine-java] Re: Timeout using GData API

2010-03-28 Thread Kenyth
The same issue here. Has someone found a solution so far? On Mar 26, 3:55 am, "Shinichiroh Takezaki [Virtual Technology]" wrote: > Hi > > I made a patch that the GData API library to execute asynchronously. > > see:http://code.google.com/p/reflexworks/source/browse/trunk/gdataclientp... > > sourc

[appengine-java] Problems loading a new JRuby on Rails app

2010-03-28 Thread AkitaOnRails
Hi, I've been following this tutorial http://gist.github.com/268192 on how to load a Rails 2.3.5 app on the App Engine. It is very small, using DataMapper and it's running properly in the local development sandbox. It also published without any errors, but when I try to load it (http://urlakita.app

[appengine-java] JPA query contains stale data.

2010-03-28 Thread danblack
Hello. I'm using JPA for the App Engine datastore. And I've got some problems. I've got an entity than contains entities (s). Here is my actions. I start transaction then update entity then flush updates to database. Then I get all entities of class Item(s) for a container which contains my updat

[appengine-java] Re: Blobstore UploadBlobServlet.java NPE

2010-03-28 Thread Miguel
I have the same problem. It does not matter the url to the servlet i use to work with de keys of the blobs, i always have the same NPC. Any help about what we are doing wrong ? Thanks On 11 feb, 21:21, Stevko wrote: > I'm trying to post files into theblobstoreon my dev station using > eclipse.

[appengine-java] Best way to manage your live JDO database?

2010-03-28 Thread George Tang
Hey all, Just out of curiousity, how do you guys manage your live dbs? for your development servers you obviously have the _ah/admin section, but what do you use live? Best, George -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group.

[appengine-java] Re: log4j init fails

2010-03-28 Thread Eurig Jones
I'm getting the same problem. my log4j.properties is in the root of my source folder and it's giving me this issue. On Mar 12, 10:25 pm, Rajeev Dayal wrote: > Can you post a copy of your log4j.properties file? > > On Thu, Mar 11, 2010 at 12:45 PM, AJ Chen wrote: > > yes, log4j.properties is copi

[appengine-java] Unable to read file in Classpath

2010-03-28 Thread Eurig Jones
My app has a configuration file which I place in the classpath and read using commons-configuration's XMLConfiguration class... XmlConfiguration config = new XmlConfiguration("config.xml"); Before I started porting my app to app engine, this worked fine. But now I get this an exception (below). I

[appengine-java] allowMultipleRelationsOfSameType = true

2010-03-28 Thread scott
I have upgraded to AE SDK 1.3.2, and am still having problems retrieving a class that contains multiple properties of the same type, i.e. class A { class B x; class B y; } With the allowMultipleRelationsOfSameType= true, the persistence is OK, but the retrieve returns duplicate value for proper

[appengine-java] bouncycastle add provider failure

2010-03-28 Thread ZaeX
Hi, I have tried to add the bouncycastle JCE provider in the code, it works in Eclipse jetty server, but failed on GAE. I wonder if it's because my coding mistake or 'Security.addProvider' is forbidden by GAE. the stack trace is here: 03-27 01:31AM 01.275 javax.servlet.ServletContext log: unavail

[appengine-java] Charging Application Users for Data Storage

2010-03-28 Thread Gareth Davies
I am currently working on my first Java application for Google App Engine. It would allow users to record discrete amounts of data (recorded with an Android application) by posting to a service (currently XML over HTTP). I have reviewed the Billing-related GAE documents and understand that after a

[appengine-java] Grails, Spring, and Thread Issue

2010-03-28 Thread hutch
Hi all - I am aware of the thread policies in GAE, but I am not sure what changed, when I recently deployed a grails app (which i've done in the past w\out issues), and now all of a sudden it appears that Spring (as a part of grails) is attempting register a bean which requires threading, and then

[appengine-java] Problem with AppStats

2010-03-28 Thread George Tang
Hey Everyone, I just downloaded the new SDK and i was excited to use app stats. After following the instructions to set it up, I tried testing it on my localdev server and I got a nullpointerexception WARNING: /appstats/stats java.lang.NullPointerException at java.io.Reader.(Reader.java:6

[appengine-java] JPA: Query contains stale data (bug or future)?

2010-03-28 Thread danblack
Hello. I'm using JPA support for managing the App Engine datastore. And I've got some problems. I've got an entity than contains entities (s). Here is my actions. I starts transaction then updates entity then flush updates to database. Than I gets all entities Item(s) for a container which contai

[appengine-java] Looking to brush-up on my Java

2010-03-28 Thread aeshanw
Its been a very long time since I used J2EE. been doing web dev in LAMP for the past couple of years. Im looking to get back in the game. Can anyone reccommend a good book on Java development for the AppEngine? I'm looking to get a good background on the Platform, which should help me better under

[appengine-java] Slow JAXB context initialization

2010-03-28 Thread maco
Hi ! I have a problem with JAXB context initialization. After some of my model optimization the local development server takes to start up (JAXBContext initialization included) about 7 seconds (as unit test it takes 1 second only. My CPU 3.06 GHz Core 2 Duo - GAE 1.3.1). However, on App Engine it

[appengine-java] Lost record updates after server restart

2010-03-28 Thread mozey
Hello everyone, I have a simple issue, and i'm sure its fix is simple as well. I have written a simple app's scaffolding front end. And i notice that when i add new records, they get persisted, but when i update records. The effect will last until i restart my server. Where could i start looking t

[appengine-java] Contacts/Address Book App?

2010-03-28 Thread iwas9409
Instead of writing a Contacts/Address Book App from scratch, is there a place I can go to find canned apps that I can tweak OR can someone send me anything to get me started? -Tom -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To

[appengine-java] Workflow Engine

2010-03-28 Thread David Sowerby
Has anyone successfully implemented a Java workflow engine on GAE? (or perhaps considering it). I'm thinking of something like Bonita (http://www.bonitasoft.com/) or Enhydra Shark (http://www.enhydra.org/workflow/shark/index.html) and would welcome feedback from anyone who has tried it -- You re

[appengine-java] Mysql migration to app engine

2010-03-28 Thread Rodri
Hello, I have a eclipse plugin that save logs in a mysql db. I want to save the logs in my app engine, How can i migrate the db to app engine? Thanks and Regards Rodrigo -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to th

[appengine-java] Eventually consistent reads and JDO

2010-03-28 Thread Isdal
Hi all, Thanks for all new new features in 1.3.2! I was just wondering if it is possible to use the "ReadPolicy.Consistency.EVENTUAL" feature and still use the JDO interface. I am currently getting a PersistenceManager with: JDOHelper.getPersistenceManagerFactory("transactions- optional"); Is t

[appengine-java] Development server requires custom indexes for inequality filters on keys

2010-03-28 Thread James
I was trying to do an inequality query on the Keys of an entity on the development server and received the following error: SEVERE: QUERY ERROR: com.google.appengine.api.datastore.DatastoreNeedIndexException: Query com.google.appengine.api.datastore.dev.LocalCompositeIndexManager $indexcomponentso

[appengine-java] Re: Update to GAE/J 1.3.2 -> Project in Eclipse broken

2010-03-28 Thread Moritz
I have the same problem: "The App Engine SDK '/{project-root}/war' on the project's build path is not valid" where "{project-root} is the root directory of my project. When I create a new project, this error does not occur, but I cannot spot any differences in the configuration files of both projec

[appengine-java] Re: Best way to perform search on DataStore - Design Question

2010-03-28 Thread Tristan
another way is to implement a full-text search yourself... implementing this would work: http://www.miislita.com/term-vector/term-vector-3.html (use tri-grams instead of full words as tokens) i would recommend low-level datastore api for that, also, your index term entities will blow up beyond 1

[appengine-java] Workaround for Spring transactions throw GenericSignatureFormatError

2010-03-28 Thread Thomas
Please refer to http://code.google.com/p/googleappengine/issues/detail?id=1381 comment #20 -- 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-j...@googlegroups.com. To unsubscribe

Re: [appengine-java] Adding, updating and deleting fields in app engine's datastore

2010-03-28 Thread Chau Huynh
You might want to use wrapper class (Long instead of long) to add new field to load existing data. To remove a property, you will need to update your Java class first, right? Later retrieval of an instance, the field is not get loaded, then you save/persist and the field is gone. About changing p

[appengine-java] Re: Problem with login when testing locally

2010-03-28 Thread seleronm
Hi, I think I want to try it. Can post do you the source? thanks. > I'm getting this exception trying to use GAE to login in my local > environment. > > java.lang.NullPointerException >         at > com.google.appengine.api.users.dev.LoginCookieUtils.encodeEmailAsUserId(LoginCookieUtils.java: >

[appengine-java] Update to GAE/J 1.3.2 -> Project in Eclipse broken

2010-03-28 Thread Joa
I've tried to update GAE to 1.3.2. Now the project is broken and I seem to be not even able to revert back to 1.3.1. I've taken the following steps: - Trying to locate instructions. Couldn't find any, so this must be simple... - Updated Google plugin through Help -> Check for updates. Checks out

[appengine-java] "captcha required" error when deployed, works locally

2010-03-28 Thread Brice
Good afternoon, I'm working on the basics of a new appengine app and I've started incorporating the Google Calendar API via the gdata client. The code I have is quite simple at this point, just creating a CalendarService, calling "setUserCredentials", requesting a feed (not sure if the URL is righ

[appengine-java] Re: GAEJ Access to Google Calendar, How to Authenticate ?

2010-03-28 Thread ska
Thank's Seleronm, the AuthSubUtil was my missing part to fix my problem. Regards Stephan On 26 Mrz., 08:53, seleronm wrote: > Hi, > > Though I am not an expert. > If you use not UserService but > [com.google.gdata.client.http.AuthSubUtil] the problem might be > solved. > > I think that this li

[appengine-java] Re: Could not open the requested socket: Address already in use: bind

2010-03-28 Thread Sarath
I had this issue too. This was very annoying. Ctrl+c closes ant but not the appengine java process. I started using App Engine plugin. It has no such problem. =Sarath On Mar 27, 5:25 am, nicolas melendez wrote: > if you use eclipse, you can kill it from debug window. > NM > > On Fri, Mar 26, 20

Re: [appengine-java] Re: Class XXX has multiple relationship fields of type YYYY

2010-03-28 Thread John Patterson
There are alternatives: Twig, Objectify, SimpleDS, Slim3, Siena. Take your pick and get your app working today. On 28 Mar 2010, at 21:47, Trung wrote: Hi GAE team, Any workarounds for this issue? Thanks On Feb 14, 8:55 am, Payam wrote: The problem is still not solved. Although you can

[appengine-java] Re: Class XXX has multiple relationship fields of type YYYY

2010-03-28 Thread Trung
Hi GAE team, Any workarounds for this issue? Thanks On Feb 14, 8:55 am, Payam wrote: > The problem is still not solved. > Although you can "persist" an object with multiple relations of the > same type. When you actually query the object, the retrieved object > has duplicates for the multiple

[appengine-java] Re: Spring 2.5 Transactions - anyone got this working?

2010-03-28 Thread objectuser
I think you're going to be disappointed. Spring transactions work in the SDK but not on the GAE host. Here's how to set them up if you still want to do it (this currently still works for me in the SDK 1.3.2): http://objectuser.wordpress.com/2009/06/30/spring-jdo-in-google-app-engine/ But here's

[appengine-java] Spring 2.5 Transactions - anyone got this working?

2010-03-28 Thread Carl Ballantyne
Hi All, I have been trying for a while now to get Spring managed transactions working on GAE without success. I have searched these forums and the web and find a few examples, all slightly different, and none of which work for me. I am getting the error "class javax.jdo.JDOUserException: Transacti

Re: [appengine-java] CPU Quota Exceeded on Startup

2010-03-28 Thread m seleron
Hi, The previous benchmark was carried out may be useful to you http://groups.google.com/group/google-appengine/browse_thread/thread/11b2f2b425e10e38/ In the future, in the roadmap [Ability to reserve instances to reduce application loading overhead] By and expects to be alleviated. thanks. 201