Re: [appengine-java] Re: Persistent Identity of JPA Entities

2010-05-19 Thread Luca Masini
You're completely right, but I want the JPA provider to do that for me :) Thank you for your help. On 5/20/10, Chau Huynh wrote: > I just wonder if you need an unique ID only, then you can let Google do it > for you (sorry if this interrupted your discussion) > http://code.google.com/appengine/d

[appengine-java] jspx extension

2010-05-19 Thread Michael B
I'm sure I'm making an obvious mistake here, but it seems my jspx files don't seem to get compiled while my jsp do even if I fill them with jspx-type content. How do I get the GAE to also compile my jspx files? Other then renaming jspx to jsp being a hassle it also seems very dirty. -- You recei

Re: [appengine-java] Re: Persistent Identity of JPA Entities

2010-05-19 Thread Chau Huynh
I just wonder if you need an unique ID only, then you can let Google do it for you (sorry if this interrupted your discussion) http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/DatastoreService.html#allocateIds%28com.google.appengine.api.datastore.Key,%20java.lan

[appengine-java] Re: Persistent Identity of JPA Entities

2010-05-19 Thread Luca
Some more infos. The behavious of DataNucleus depends on the strategy I choose to generate the @Id field. When I use GAE I always use the GenerationType.IDENTITY because I read that on JDO docs (http://code.google.com/appengine/docs/java/datastore/ dataclasses.html: Primary keys of type Key requ

[appengine-java] Re: List all entitie kinds from the datastore

2010-05-19 Thread Didier Durand
Hi Ladislav Did you try on GAE itself or on your local dev server: stats don't work locally see http://groups.google.com/group/google-appengine-java/browse_thread/thread/f2595bcaa2256a93/68a5a9a28502410b?lnk=gst&q=Statistics#68a5a9a28502410b or http://groups.google.com/group/google-appengine-java

[appengine-java] Re: Cross-browser testing with GAE

2010-05-19 Thread Thomas
Hi: I am using Eclipse 3.4 plugin for GAE/J. The steps to make DevServer serving clients from any IP addresses are below: . Project > Properties > Run/Debug Setting > [Choose the configuartion of your project] > Edit > Arguments . Add the '-a 0.0.0.0' (excluding the single quote) argument int

Re: [appengine-java] java.lang.IllegalArgumentException: can't operate on multiple entity groups in a single transaction

2010-05-19 Thread Yasuo Higa
Hi laurent, > You can't work with more than one entity group in a single > transaction.  This is a limitation of GAE, although other people have > built distributed 2pc-style transactions on top of the datastore. > Slim3 supports Global Transactions between multiple entity groups: http://sites.goo

Re: [appengine-java] java.lang.IllegalArgumentException: can't operate on multiple entity groups in a single transaction

2010-05-19 Thread Jeff Schnitzer
You can't work with more than one entity group in a single transaction. This is a limitation of GAE, although other people have built distributed 2pc-style transactions on top of the datastore. This should help: http://code.google.com/p/objectify-appengine/wiki/Concepts#Transactions Jeff On We

Re: [appengine-java] SDK 1.3.4 released!

2010-05-19 Thread Ravi Sharma
When i am unzipping the file i am getting following error D:\library\appengine-java-sdk-1.3.4.zip: CRC failed in appengine-java-sdk-1.3.4\lib\appengine-tools-api.jar. The file is corrupt D:\library\appengine-java-sdk-1.3.4.zip: CRC failed in appengine-java-sdk-1.3.4\lib\impl\appengine-api.ja

[appengine-java] java.lang.ExceptionInInitializerError

2010-05-19 Thread laurent
Hello, i've this exception @SuppressWarnings("serial") public class GreetingServiceImpl extends RemoteServiceServlet implements GreetingService { static { ObjectifyService.register(Lock.class); ObjectifyService.register(Connection.class);

Re: [appengine-java] SDK 1.3.4 released!

2010-05-19 Thread Patrick Brown
Hi Ravi After my ( it's ) initial failure I went back in and chose that installation directory again a second time then was able to select it in the "Use specific SDK" combobox. I am very new to all these tools so I can't help much more, hopefully someone else will jump in. Let me know if you

[appengine-java] java.lang.IllegalArgumentException: can't operate on multiple entity groups in a single transaction

2010-05-19 Thread laurent
i've searched for this error but don't find what it is. my code : ObjectifyService.register(Lock.class); ObjectifyService.register(Connection.class); ObjectifyService.register(Assignment.class); if (ObjectifyService.begin().query(Con

Re: [appengine-java] SDK 1.3.4 released!

2010-05-19 Thread Ravi Sharma
In my folder D:\library\appengine-java-sdk-1.3.4, i have following folders bin config demos docs lib src and few files On Wed, May 19, 2010 at 10:05 PM, Patrick Brown wrote: > Hi > >I saw this problem when I installed, the sdk was actually in a sub > folder of appengine-java-sdk-1.3.4, afte

Re: [appengine-java] SDK 1.3.4 released!

2010-05-19 Thread Patrick Brown
Hi I saw this problem when I installed, the sdk was actually in a sub folder of appengine-java-sdk-1.3.4, after moving it out it worked well. Is this your issue also? Thanks, Patrick On Wed, May 19, 2010 at 4:38 PM, Ravi Sharma wrote: > I Downloaded the SDK and tried to create SDK 1.3.4 in

[appengine-java] Re: 1MB limit and multi-put in datastore bug?

2010-05-19 Thread Mouseclicker
Not sure that I have understood your code correctly, but as expected I get the same error: com.google.apphosting.api.ApiProxy$RequestTooLargeException: The request to API call datastore_v3.Put() was too large. at com.google.appengine.tools.development.ApiProxyLocalImpl $AsyncApiCall.call(A

[appengine-java] Re: Bad Java latency today

2010-05-19 Thread François Masurel
Even worse today : http://code.google.com/status/appengine/detail/serving-java/2010/05/19 On 17 mai, 18:06, François Masurel wrote: > http://code.google.com/status/appengine/detail/serving-java/2010/05/17 > > Seems to be a different problem from last week as the datastore seems > to be going fin

Re: [appengine-java] SDK 1.3.4 released!

2010-05-19 Thread Ravi Sharma
I Downloaded the SDK and tried to create SDK 1.3.4 in eclipse. The Zip file was unzipped as D:\library\appengine-java-sdk-1.3.4, so while adding SDK in eclipse i choose this as Installation dir. But after choosing it says failed to initialize App ENgine SDK at D:\library\appengine-java-sdk-1.3.4. A

[appengine-java] Re: Upload to Blob Storage from Silverlight 4

2010-05-19 Thread Patrick Brown
Hi I just noticed something interesting - on the dev server if I can see my __BlobUploadSessions__ created prior to forwarding my call on to have the blobs created, if I skip that forward the sessions stay as I would expect, if I do the same on the AppEngine I don't see the __BlobUploadSessions

[appengine-java] Re: Datastore - update a non-root entity does nothing

2010-05-19 Thread BimboJones
Hi, Did you close the PersistenceManager before making the changes? Is the key generated by appengine? On 19 Maio, 10:21, Xuel wrote: > Hello everybody ! > > I've been working with the wicket-gae-template which provides a good > entry in gae, however I have a big issue : > > I have 3 entities,

[appengine-java] Re: Upload to Blob Storage from Silverlight 4

2010-05-19 Thread Patrick Brown
Hi Sorry to reply to my own message but I am a bit stuck for now, has anyone done anything similar or have any pointers on where I should research? Thanks, Patrick On May 17, 2:13 pm, Patrick Brown wrote: > Hello > >    I have a silverlight application hosted in my Index.html page that > I a

[appengine-java] Re: convertMegacyclesToCpuSeconds delivers wrong values

2010-05-19 Thread Torquester
This was a bug, fixed as of Version 1.3.3 - April 21, 2010 according to release notes: "Fixed an error where QuotaService.getCpuTimeInMegaCycles() was returning cycles instead of megacycles" On Mar 24, 1:32 am, Torquester wrote: > I get values around 100, but according to the doc the value s

[appengine-java] Re: 1MB limit and multi-put in datastore bug?

2010-05-19 Thread Mouseclicker
Great Thanks for sharing this! First two short remarks: Your ...- src.jar only contains the .class files and the URL pointing to the subversion is wrong. But no problem I was able to get it with a subversion client. You have created a wrapper around the datastore service, hiding its limitations. In

[appengine-java] Google App Engine For Business

2010-05-19 Thread Corby
I've been reading about the partnership with VMWare to delivery Google App Engine For Business. This product looks like it will address all of the major issues that have kept us off of GAE/J so far (overly restrictive whitelist classloader, lack of relational database). Is the GAE/J team working o

[appengine-java] Cross-browser testing with GAE

2010-05-19 Thread JavaJosh
I'm developing a webapp and want to test in different browsers, but cannot test with IE. I am stymied by the GAE development server's refusal to answer to any address other than "localhost", which is necessary to get my Windows VM to talk to the server. I have VMWare Fusion running IE6 with a so-ca

[appengine-java] SDK 1.3.4 released!

2010-05-19 Thread Ikai L (Google)
Hello, App Engine developers! Hopefully you're all following along the Google I/O keynote and seen our blog posts with new App Engine annoucements. Well, we've got another exciting announcement: SDK 1.3.4 is LIVE! Get it below: http://code.google.com/appengine/downloads.html Release notes are be

[appengine-java] Re: Facebook/social website design problem

2010-05-19 Thread Ravi
Thanks a lot Tristan, yes i did misunderstood you. Thanks for clarification. Yes this way it will work.One row update and all friends can see the data. Once again Thanks a lot Tristan, you saved me some hassle and few GB of space. One last question on this thread. Now my UserActivity will have d

Re: [appengine-java] Re: XMPP --> GAE in outage for our application

2010-05-19 Thread Ikai L (Google)
We're receiving an "All clear" from Jerome. Can anyone else confirm whether the issue is still appearing? On Wed, May 19, 2010 at 5:29 AM, Mihai Parparita wrote: > I'm also seeing this for app IDs partychapp and push-bot. Most of the > XMPP requests do not make it to the app (i.e. they're logged

[appengine-java] cannot email more than 10 people at a time in GAE

2010-05-19 Thread Pla Gong
Hi, I am new to Google Application Engine. I have an application that gives me a string of email addresses, then I composes a message and sent it out to all 80+ email addresses in the list. When I do this, I get I am following error: Error: Server Error The server encountered an error and coul

[appengine-java] Re: XMPP --> GAE in outage for our application

2010-05-19 Thread Mihai Parparita
I'm also seeing this for app IDs partychapp and push-bot. Most of the XMPP requests do not make it to the app (i.e. they're logged as /_ah/ xmpp/message/chat/ requests). Mihai On May 19, 5:04 am, Terry wrote: > The same problem for my apps. > > On May 19, 3:49 pm, Jerome wrote: > > > > > > > Fo

[appengine-java] Task queue with Spring Security 3

2010-05-19 Thread jt
Hi, Can the task queue url access checks be integrated with Spring Security 3 authentication and authorization instead of Google Accounts? I am currently developing an app with Spring 3 and Spring Security 3 with authentication and authorization based on Spring Security 3 users and roles (the logi

[appengine-java] Re: Facebook/social website design problem

2010-05-19 Thread Tristan
I think you misunderstand what I proposed Class UserActivity { Key id; Key activityId; // id of activity class Key userId; // id of User class whom this user activity belongs to --- vvv ADD THIS vvv --- List friendIds; // list of all of userId's friends } When you create an update to your status

[appengine-java] Re: 500 Error Caused by: java.lang.NoSuchMethodException: org.codehaus.groovy.runtime.dgm$692.()

2010-05-19 Thread Scott
Are you guys including the Httpbuilder jar? Because my application works perfectly until I add that monster, then I get the same errors as you. If I then remove it, they go away. I have tried deploying several times with the only difference being the HttpBuilder jar, thus I have concluded that t

[appengine-java] Re: Facebook/social website design problem

2010-05-19 Thread Ravi
Thanks Tristan I like the idea of UserRegistrar class, may be i will use this to keep the Friend relation. But still worried about UserActivity as GAE doesn't support more then 30 parameters in contains query. So i will be able to query UserActivity only for 30 users at one time(then run remaining

[appengine-java] Introducing - Objectify module for the Play Framework

2010-05-19 Thread Dave Cheong
Hi all, I know on this forum there are some developers building apps with the Objectify library, which provides a great abstraction when working with the Datastore. I'm not sure how many people out there have heard of the Play Framework - it is a super lightweight application framework that makes

[appengine-java] Re: Persistent Identity of JPA Entities

2010-05-19 Thread Luca
Thank you for your reply. The fact is that yet we must switch from Relational to NoSQL, if also I must understand tricky parts of a JPA engine that behave differently from all the others, well, then I think I'll switch to Objectify or something like this On 19 Mag, 11:26, Ravi wrote: > Just

[appengine-java] Re: Persistent Identity of JPA Entities

2010-05-19 Thread Ravi
Just to put my 2 cents... Even in JDO same thing happening. I got frustrated first but then i just accepted it/ignored it(5-6 months back)...that may be they wont fix it or they are not able to do it on GAE... But yes you are right frameworks like Hibernate does provide key as soon as you call the

[appengine-java] Datastore - update a non-root entity does nothing

2010-05-19 Thread Xuel
Hello everybody ! I've been working with the wicket-gae-template which provides a good entry in gae, however I have a big issue : I have 3 entities, Astre, Region and Colon ; Astre has a list of Region ; Region has a list of Colon. Astre { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStr

[appengine-java] Re: XMPP --> GAE in outage for our application

2010-05-19 Thread Terry
The same problem for my apps. On May 19, 3:49 pm, Jerome wrote: > For at least two hours, most of our customers are unable to send XMPP > messages to our GAE application. > > Checking in the logs, all the users unable to talk with our app do not > have their Gtalk requests logged in /_ah/xmpp/mes

[appengine-java] XMPP --> GAE in outage for our application

2010-05-19 Thread Jerome
For at least two hours, most of our customers are unable to send XMPP messages to our GAE application. Checking in the logs, all the users unable to talk with our app do not have their Gtalk requests logged in /_ah/xmpp/message/chat/, so basically GAE does not receive or map the requests to the se