[appengine-java] appcfg deployment hangs at jsp compile

2011-03-04 Thread lp
hi guys i cannot deploy to appengine because the appcfg hangs at 8% jsp compiling. i have deployed hundreds of these and i dunno what is wrong. i am losing my mind over this simple deployment. appcfg.cmd update c:\src\mingle\geoserver\trunk\target\geoserver-1.0- SNAPSHOT Reading application

[appengine-java] Re: Problem with query - jdo

2011-03-04 Thread lp
The persistence layer uses lazy-load approach, so when in jsp it tries to access to entities extracted from the database it throws exception because the persistence manager is just closed. So, how to avoid this problem? so either use eager fetch... not a good idea for large objects. OR use a

[appengine-java] Re: Error javax.persistence.PersistenceException: Illegal argument

2011-03-04 Thread lisandrodc
Hi Didier!... To what part of the blog do you you recount that it is associated with my worry? Regards Lisandro On Feb 28, 2:40 am, Didier Durand durand.did...@gmail.com wrote: Sorry, Got confused with Objectify that I use now in place of JDO/JPA. Look at this

[appengine-java] Re: Collection object not being updated

2011-03-04 Thread lisandrodc
Hi Cosmin! I have decided to use JPA due to the fact that with JDO I met several bugs associated with GAE and JPA I had fewer problems, beyond the restrictions that there imposes GAE of the correct use of the oriented object programming . Because of it I recommend to you to use for GAE, JPA...

[appengine-java] Problem using REST in GAE

2011-03-04 Thread Stefano Tonello
Hi guys!! In my project i have to check in the datastore if an e-mail is already present through this rest request: (using Spring Mvc+Json) @RequestMapping(method = RequestMethod.GET, value = /list_user/{email}, headers = Accept=application/json) public @ResponseBody boolean

[appengine-java] Re: Logging file size

2011-03-04 Thread Didier Durand
Hi, Interesting question! From the quota page: http://code.google.com/appengine/docs/quotas.html, it doesn't seem that there is not any official limit on logging. Maybe some googler will let us know if there is one anyway or not. On Mar 4, 4:30 pm, JT jem...@gmail.com wrote: I know there is a

[appengine-java] Data store transfer

2011-03-04 Thread Vik
Hie I was using my gmail account to signup and host a web app on GAE. We do have an google apps account. Earlier it was not possible to sign up GAE using apps accounts. But now it is., So, how can we move our existing data to the new app hosted on account signed up with google apps ? Thankx

[appengine-java] Re: Error javax.persistence.PersistenceException: Illegal argument

2011-03-04 Thread Didier Durand
Hi, Look at http://gae-java-persistence.blogspot.com/2009/10/executing-batch-gets.html http://gae-java-persistence.blogspot.com/2009/10/optimistic-locking-with-version.html regards didier On Mar 4, 1:45 pm, lisandrodc lisandr...@gmail.com wrote: Hi Didier!... To what part of the blog do

[appengine-java] logging with .info() causes 840cpu_ms an WARNING

2011-03-04 Thread micho
This request caused a new process to be started for your application, and thus caused your application code to be loaded for the first time. This request may thus take longer and use more CPU than a typical request for your application. How can I avoid that. If I change le log call from .info()

[appengine-java] Far too many 500 errors for some requests, 203 errors, high latency

2011-03-04 Thread Prashant Hegde
Dear Appengine team, Our application is experiencing 500 errors for the past 12 hours. Currently our pages are not coming up at all. One example of the log is as follows. - *2011-03-03 16:22:49.391 /admin/[OUR_URL] 500 10466ms 0cpu_ms 0kb AppEngine-Google;

[appengine-java] Re: Far too many 500 errors for some requests, 203 errors, high latency

2011-03-04 Thread Prashant Hegde
Follow up on some more troubleshooting we did, 1. we created another app id, and uploaded the same code, and we were able to get it working. 2. We created another version of the same code in the same appid, but it did not work 3. we suspected the data store and we cleaned up all our app, and now

[appengine-java] Re: eclipse shows error in .jsp but tutorial project runs

2011-03-04 Thread Alfredo Nuti
I'm getting exactly the same thing. How did you create you jsp file? I could not find a specific jsp file on the File/New so I created a generic file and named it guestbook.jsp. This may be the problem, but I could not find a way around it. On Mar 2, 5:43 pm, marsh...@marshallfarrier.com

[appengine-java] Re: Problem using REST in GAE

2011-03-04 Thread Andrea
A GET response ever with a HTTP STATUS ! ;) How are u making your GET request? Have you specify to include the HTTP HEADER ? Example for your REST (using curl command): curl -i -HAccept:application/json http://yourdomaid/restpath/list_user/somethingencoded For the other question i have no

[appengine-java] Re: Login redirect failing all of a sudden /_ah/conflogin

2011-03-04 Thread Glenn
What was the good workaround? Our login is broken, too. We have two App Engine apps: one is the front end and one the back end, with a REST API. When the user accesses the front end a call to the back end is made where redirect = userService.createLoginURL(gae front end); is called. In this

Re: [appengine-java] Re: Login redirect failing all of a sudden /_ah/conflogin

2011-03-04 Thread Jon McAlister
The workaround is to have the app perform the redirect. That is, createLoginUrl only works when the continue url is a url for the app. If you need the user to be sent to another app/host after login, then your app needs to do that redirect. On Fri, Mar 4, 2011 at 11:47 AM, Glenn

[appengine-java] Re: Could Not Verify SSL Certificate

2011-03-04 Thread Sam Edwards
Still experiencing the same problem with 1.4.2 On Feb 28, 1:35 pm, Rafael Nunes rafael.nu...@gmail.com wrote: Same problem here. Any news? On Feb 19, 12:05 am, mushion22 goodham...@gmail.com wrote: I have the same issue using 1.4.2 on OS X 10.6. The app works fine when deployed to

[appengine-java] Re: logging with .info() causes 840cpu_ms an WARNING

2011-03-04 Thread micho
Tanks, But Why is there only a loading Request with the .Info() logging ( for example None for warn())? On 4 Mrz., 21:18, Simon Knott knott.si...@gmail.com wrote: That is just the warning message which is output by GAE for a loading request for your app. Read about loading requests

Re: [appengine-java] how to keep fields unique

2011-03-04 Thread Ed Murphy
I'm struggling with a bug that is closely related to this thread. I think transactions all by themselves will not work here. This is because the transactions are optimistic. So, if the transaction looks like this (pseudo code) pm.currentTransaction.begin(); Object preexistingEntity =

Re: [appengine-java] how to keep fields unique

2011-03-04 Thread Ed Murphy
OK, here is something that looks promising; http://squeeville.com/2009/01/30/add-a-unique-constraint-to-google-app-engine/ This shows a solution in python, but the concept is applicable to Java. Basically, for the unique field, you create another database entity and derive a primary Key