Re: [appengine-java] Re: entity is not persisting

2010-03-05 Thread aswath satrasala
I looked in to the DB Viewer, and as well, I was trying to retrieve the entity elsewhere immediately, and I got the message pm.currentTransaction().begin(); log.info("Getting global tenant"); Key key = KeyFactory.createKey(Tenant.class.getSimpleName(), GlobalTenant.globalTe

[appengine-java] searchable datastore

2010-03-05 Thread Prashant Gupta
Hi, I want to make my app's data searchable. is there any library or tool available which can make my task easier? 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-j...

[appengine-java] Re: Max length of a list property

2010-03-05 Thread Max
Thx John. Has google officially documented this constraint? On Mar 5, 11:06 pm, John Patterson wrote: > There is a max 5000 indexed properties for any Entity. > > http://groups.google.com/group/google-appengine/browse_thread/thread/... > > On 5 Mar 2010, at 21:48, Max wrote: > > > When I am tryin

Re: [appengine-java] Re: Unable to update app: Version not ready

2010-03-05 Thread John Patterson
Normally this error is transient and your app will deploy fine later. On 6 Mar 2010, at 06:22, markanson wrote: I am using Eclipse and I am repeatedly getting this error Unable to update app: Version not ready. See the deployment... I have tried changing the version number as well as changing

Re: [appengine-java] Re: How do you transfer a List from server to client?

2010-03-05 Thread Jeff Schnitzer
If you use the Google data classes (Key, GeoPt, Email, Link, User, etc) in your entities you will have trouble serializing them through GWT-RPC. Even though you're using JDO, you can still use Objectify's GWT integration to solve the problem: http://code.google.com/p/objectify-appengine/wiki/Obje

[appengine-java] cant Install Google App plugin for eclipse on windows 7

2010-03-05 Thread Ahmad
I was trying to use google app for my java based project it work on fedora but i could not install it on window 7. if any one can help me that how to install it on window 7 . i am using eclipse 3.5 [galilio]... i clicked on Help and then -- > install new software but now software

[appengine-java] Re: Unable to update app: Version not ready

2010-03-05 Thread markanson
I am using Eclipse and I am repeatedly getting this error Unable to update app: Version not ready. See the deployment... I have tried changing the version number as well as changing the Application ID. Even doing those things, I still get this error. mark On Feb 18, 2:45 pm, App Engine Team w

[appengine-java] Re: GAE Plugin not working.

2010-03-05 Thread Ahmad
I am also unable to install gae plugin for eclipse 3.5 -- gelilio , on windows7 -- 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 from t

Re: [appengine-java] Re: Best practices for datastore and JDO?

2010-03-05 Thread Sandeep Sathaye
Guillermo, We have not formally published any benchmarks yet but here are some current numbers for typical database operations. These tests were performed in client/server mode using Cloud2db JDBC driver. Cloud2db JDBC driver has ability to process queries/updates in incremental manner. This allow

[appengine-java] Re: How do you transfer a List from server to client?

2010-03-05 Thread novarse
Thanks Maly for your reply, I got it going. I'm using GWT and after reading the doco properly and adding a to my gwt.xml file and copying my jdo objects to that dir it all works. Real simple in the end On Mar 3, 11:36 pm, Chummar Maly wrote: >  All you need to do is put this code in a servlet an

[appengine-java] Re: "Policy prevented put operation" during stress testing

2010-03-05 Thread Jon Blower
I haven't done anywhere near 14,000 image transforms in the entire lifetime of the application (only 491 today for instance) so I don't think this is the reason I'm getting the OverQuotaException for image transforms. I haven't noticed my Quota page showing "limited" for any quantity, but haven't

Re: [appengine-java] Re: Objectify-Appengine, a typesafe data persistence tier for App Engine

2010-03-05 Thread Jeff Schnitzer
On Fri, Mar 5, 2010 at 12:34 AM, Nacho Coloma wrote: >> >> Having an id field instead of a key makes queries easier.  With >> Objectify, you can create a query without needing to know that the id >> is part of a key field: >> >> query.filter("id >", 5000).sort("-id") > > This would only work  with

Re: [appengine-java] Re: "Policy prevented put operation" during stress testing

2010-03-05 Thread Ikai L (Google)
Is there any chance you're hitting per minute quotas? http://code.google.com/appengine/docs/quotas.html Image transforms have this quota, for instance: 14,000 transforms/minute Memcache has a limit of 56/mb of writes and 284/mb of reads. On Fri, Mar 5, 2010 at 1:49 PM, Jon Blower wrote: > Hi

[appengine-java] Re: "Policy prevented put operation" during stress testing

2010-03-05 Thread Jon Blower
Hi Ikai, I'm afraid I don't have any unit test code easily available, but I could make a code sample when I have a little more time. In the meantime I have some more information. It's not just the memcache put operation that fails in this way. I've also seen similar failures of other API operat

Re: [appengine-java] delete log and entities

2010-03-05 Thread nicolas melendez
+1 NM On Tue, Feb 16, 2010 at 6:13 PM, Esteban Masoero wrote: > Hi, I'm also interested in a both features, mainly the datastore one. > Are we going to have something like this soon? > > Thanks, > > Esteban > > El 30/01/2010 6:08, Andrés Cerezo escribió: > > Hello!! Ho can I delete the logs and

[appengine-java] Re: Servlet Destroy - does it run? I wish it did.

2010-03-05 Thread Steve Pritchard
Thanks. At least I know now. On Mar 5, 3:00 pm, Don Schwarz wrote: > No, we do not implement any of the destruction lifecycle (for servlets, > filters, servlet context, etc.) > > I thought that we mentioned this explicitly in the documentation but I don't > see it now.  I'll get that fixed. > >

[appengine-java] Re: Best practices for datastore and JDO?

2010-03-05 Thread Guillermo Schwarz
Sandeep, Have you run any TPC benchmarks against Cloud2db? Cheers, Guillermo. On 5 mar, 16:07, Sandeep Sathaye wrote: > Hi Jacob, > > We just released a product called Cloud2db which could fit very well in your > architecture. Here are some details. > > Cloud2db Server provides a standards-base

Re: [appengine-java] Servlet Destroy - does it run? I wish it did.

2010-03-05 Thread Don Schwarz
No, we do not implement any of the destruction lifecycle (for servlets, filters, servlet context, etc.) I thought that we mentioned this explicitly in the documentation but I don't see it now. I'll get that fixed. On Fri, Mar 5, 2010 at 1:17 PM, Steve Pritchard wrote: > Based on empirical test

Re: [appengine-java] "Policy prevented put operation" during stress testing

2010-03-05 Thread Ikai L (Google)
Jon, do you happen to have unit test code that reproduces this that I can plug in to an app? I'd like to reproduce this. On Thu, Mar 4, 2010 at 1:31 PM, Jon Blower wrote: > Hi, > > I have a GAE-J application that involves requesting dynamically- > generated images.  The application has fairly hig

Re: [appengine-java] Multiple transactions at the same time

2010-03-05 Thread Ikai L (Google)
It sounds to me like all of this should either be: 1. In a single transaction - but you'll want to question how important this is. Distributed transactions are hard to do an expensive: http://danielwilkerson.com/dist-trans-gae.html 2. Versioned objects: you update each set of objects with a versio

Re: [appengine-java] elegant way of implementing sequence generator

2010-03-05 Thread Ikai L (Google)
Have you looked into Memcache's INCR? http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/memcache/MemcacheService.html#increment(java.lang.Object, long) This'll do it atomically, but you run the risk of it being volatile, so you'll have to account for that in your client

Re: [appengine-java] Threads in Java

2010-03-05 Thread John Patterson
Basically each request is a thread in app engine. There are a couple of ways to create multiple requests: task queues - when you don't need to wait for a response async url fetch - when you do need the results of your threads On 5 Mar 2010, at 23:54, Marios wrote: Hello there, I've just re

[appengine-java] Servlet Destroy - does it run? I wish it did.

2010-03-05 Thread Steve Pritchard
Based on empirical testing I suspect it does not run. Based on the GAE design that code only gets executed inside a request/ response cycle I suspect it does not run. Does anybody know for sure? It is part of the servlet spec. Is it documented anywhere that it does not run. If not it should be

Re: [appengine-java] Best practices for datastore and JDO?

2010-03-05 Thread Sandeep Sathaye
Hi Jacob, We just released a product called Cloud2db which could fit very well in your architecture. Here are some details. Cloud2db Server provides a standards-based abstraction layer over Google Datastore (Bigtable). This product provides you with performance and scalability of GAE along with

[appengine-java] Re: Threads in Java

2010-03-05 Thread Guillermo Schwarz
The idea is not to create any threads. Why would you want to do that? The same happens in J2EE (web container and EJB container), you are not allowed to create threads. Threads are used by the web container in order to attend several requests at once (in practice the same could be done using NIO)

Re: [appengine-java] Re: Unit testing Servlets

2010-03-05 Thread Ikai L (Google)
I'm researching this right now for an article I plan on writing, but it's not one of my highest priorities. I've heard HTTPUnit works (I have also heard it doesn't work). Lastly, and I know this works for sure but it is ugly, you could use raw JUnit with the test in the same package (parallel direc

[appengine-java] New Web Application Project button does not appear in Eclipse when Google App Engine is installed.

2010-03-05 Thread dilly
I have correctly installed the Google App Engine for Eclipse 3.5.1 However, I cannot create a new web application - the button simply does not appear in the new project wizard. How do I fix this? -- You received this message because you are subscribed to the Google Groups "Google App Engine for

[appengine-java] maven-datanucleus-plugin using JDO when JPA specified?

2010-03-05 Thread tkinsella
Hello, I'm trying to "enhance" my JPA entities using the maven-datanucleus- plugin. I have the following plugin configuration: org.datanucleus maven-datanucleus-plugin 2.0.0-release **/*.class true ASM JPA compile enhance

[appengine-java] Error in Deploying the Jersey App on google app engine

2010-03-05 Thread Rahul
I was trying to deploy the jersey application in Google App engine and getting the following error. Any clues com.sun.jersey.server.impl.ejb.EJBComponentProviderFactoryInitilizer getComponentProviderFactory: Linkage error when configuring to use the EJB interceptor binding API. JAX-RS EJB support

[appengine-java] Best practices for datastore and JDO?

2010-03-05 Thread vennervald
Hi Guys We have a small application running on JBoss, Seam, Hibernate and PostgreSQL that we are thinking about moving to GAE/J. To test the datastore we uploaded our data 1-1 so all our tables from Postgres were represented as entity types in the datastore with the entities relating to eachother

[appengine-java] Threads in Java

2010-03-05 Thread Marios
Hello there, I've just read the documentation on Google App Engine and I realised that you cannot create any threads in an application. You can only use the main one which is created automatically with any runnable java program. I am wondering if there is the possibility to create threads using the

[appengine-java] Re: Expires header automatically added (bug?)

2010-03-05 Thread George Moschovitis
> If you're serving > other files, you'll have to handle the ETag and If-None-Match headers > yourself, and I don't believe that we interfere with you doing this now. OK, good to know, thanks. -g. -- You received this message because you are subscribed to the Google Groups "Google App Engine f

[appengine-java] Re: Having aggressive instance restarts?

2010-03-05 Thread Wong
This is a post from GAE Developer on 15 Jan 2010. Until now the problem still persists. From: Ikai Lan Date: Fri, 15 Jan 2010 15:32:58 -0800 Local: Sat, Jan 16 2010 7:32 am Subject: App Engine cold starts and overly aggressive cycling Reply | Reply to author | Forward | Print | Individual messa

[appengine-java] Persistence layer template/pattern

2010-03-05 Thread dominity
Hi, guys. Is there any template/pattern for persistence layer implementation? I mean such template that could help manage owned/unowned relationships, transaction management, etc. It could be very useful to know about such kind of pattern for JDO API as well as for Low-level API. Also, is there an

Re: [appengine-java] Max length of a list property

2010-03-05 Thread John Patterson
There is a max 5000 indexed properties for any Entity. http://groups.google.com/group/google-appengine/browse_thread/thread/d5f4dcb7d00ed4c6 On 5 Mar 2010, at 21:48, Max wrote: When I am trying to persist a ArrayList with size = 5000. The app-engine throws following exception. Any ideas on the

[appengine-java] Max length of a list property

2010-03-05 Thread Max
When I am trying to persist a ArrayList with size = 5000. The app-engine throws following exception. Any ideas on the max length of listProperties? Nested in javax.servlet.ServletException: java.lang.IllegalArgumentException: Too many indexed properties for entity: app: "testing0601",path < Elem

[appengine-java] Having aggressive instance restarts?

2010-03-05 Thread Jake
Hello all, My application has been having very frequent restarts, even under load. In some cases, the application restarts on every single request. I've been in contact with some GAE folks, but the most recent e-mail suggested that I "encourage others to post similar trends and expose holes in o

[appengine-java] Re: entity is not persisting

2010-03-05 Thread datanucleus
Yes it does persist, the log says so. And your evidence for saying it doesn't is what exactly ? Looked in the DB viewer ? -- 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...@go

[appengine-java] Doing some analysis in picture (represented by an array of byte ), encoding in JPG.

2010-03-05 Thread thierry Le conniat
Hello, my application receive by mail, pictures which are encoding in jpg. I would like to make some analysis in this picture (represented by an array of byte ), comparison column by column, but GAE'S Image API don't provide such function and many classes from javax.io... are not authorized . So

[appengine-java] entity is not persisting

2010-03-05 Thread aswath satrasala
Hello, I am trying to persist a simple class and does not persist. pm.currentTransaction().begin(); Tenant tenant = new Tenant(); tenant.setName(globalTenantName); pm.makePersistent(tenant); pm.currentTransaction().commit(); @PersistenceCapable(identityType

[appengine-java] Re: A user need to be register to gtalk to send a message to a XMPP App engine application?

2010-03-05 Thread seleronm
Please invite it by using [XMPP Addresses] from gtalk for appengine. Please refer to the following links for details of [XMPP Addresses]. http://code.google.com/intl/us/appengine/docs/java/xmpp/overview.html#XMPP_Addresses Please try. Thanks. On 3月5日, 午前4:21, nicolas melendez wrote: > Hi There

[appengine-java] Re: JDO Level2 Cache setup for dummies

2010-03-05 Thread Frederik Pfisterer
Is it possible that DN L2 caching in GAE drives down CPU milliseconds used but overall response times get slower? On 5 Mrz., 09:52, Frederik Pfisterer wrote: > Thanks DN. > For anyone interested, I'm using datanucleus-cache-1.1.1.jar now and > it seems to work just fine. > > On 4 Mrz., 23:41, dat

[appengine-java] Re: JDO Level2 Cache setup for dummies

2010-03-05 Thread Frederik Pfisterer
Thanks DN. For anyone interested, I'm using datanucleus-cache-1.1.1.jar now and it seems to work just fine. On 4 Mrz., 23:41, datanucleus wrote: > GAE/J does not (yet) support DN 2.x -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group

[appengine-java] Re: Objectify-Appengine, a typesafe data persistence tier for App Engine

2010-03-05 Thread Nacho Coloma
Hi Jeff, thanks for the insightful points. I am the SimpleDS author, and thought that maybe some of these issues need further explanation: >  * Not enough use of generics.  Key, Query, and PreparedQuery should > all be generified classes. We tried that at first, but there is little benefit from t

[appengine-java] Re: Receiving Email: url-pattern problem

2010-03-05 Thread Dimedrol
Nope. The same error: *** /_ah/mail/str...@myapp.appspotmail.com 404 906ms 971cpu_ms 0kb 0.1.0.20 - - [05/Mar/2010:00:07:06 -0800] "POST /_ah/mail/ str...@myapp.appspotmail.com HTTP/1.1" 404 234 - - *** This mapping, I think, mentioned in manual. This don't work fo