[appengine-java] Can pm.makePersistentAll() help me write 12,000 objects?

2010-02-24 Thread Tim Cooper
I have been trying to write 12,000 objects in a single page request. These objects are all very small and the total amount of memory is not large. There is no index on these objects - the only GQL queries I make on them are based on the primary key. Ikai has said: That is - if you have to

[appengine-java] Re: Local datastore is empty after migrating to 1.3.1

2010-02-24 Thread Itzik Yatom
Same problem On Feb 23, 10:21 pm, Scott Hernandez scotthernan...@gmail.com wrote: I got a read error when I tried running with my existing (v1.3.0) data-store file; I created a new one (by renaming the old one) and restarting. I suspect the internal format is different and the old format

[appengine-java] Re: way to interactively query datastore?

2010-02-24 Thread vbart
I can offer only listing solution, based on our free GQL dynamic parser - http://audao.spoledge.com/download.jsp The full JSP you can find here: http://vaclavb.blogspot.com/2010/02/google-app-engine-data-viewer-gql-java.html The GQL parser (class GqlDynamic) converts GQL queries into low-level

[appengine-java] Chat Time transcript for February 17, 2010

2010-02-24 Thread Jason (Google)
Last Wednesday, the App Engine team hosted the latest session of its bimonthly IRC office hours. A transcript of the session and a summary of the topics covered is provided below. The next session will take place next Wednesday, March 3rd from 7:00-8:00 p.m. PST in the #appengine channel on

[appengine-java] Chat Time transcript for February 3, 2010

2010-02-24 Thread Jason (Google)
The high-level summary and complete transcript of the February 3rd edition of the IRC office hours is pasted below. Please join us on the first and third Wednesday of every month in the #appengine channel on irc.freenode.net. On the first Wednesday, we meet in the channel from 7:00-8:00 p.m. PST

[appengine-java] Re: cron jobs

2010-02-24 Thread lakshmi
Hi, I am trying to send email for every hour. i write the code of cron.xml like above.But now the admin console shows status as follows. Cron Job Schedule/Last Run/Last Status (All times are UTC) /emailing repeated every one hour every 1 hours (UTC)

Re: [appengine-java] How to Install Google App Plugin for Eclipse Galileo

2010-02-24 Thread Miguel Méndez
The following link explains how to install from zips: http://code.google.com/eclipse/docs/install-from-zip.html. On Tue, Feb 23, 2010 at 11:43 PM, Ashish Mishra ashish.mishr...@gmail.comwrote: Hi, I want to know, how can i install the plugin manually of Google App Engine. Since on my machine

[appengine-java] Help needed with Error

2010-02-24 Thread Sandeep
I have been getting this error since my last deployment. Everything works fine in my local setup but on the server it throws this exception. Caused by: java.io.NotSerializableException: org.datanucleus.store.appengine.query.DatastoreQuery$2 at

[appengine-java] Re: Help needed with Error

2010-02-24 Thread seleronm
Hi, This might be useful. Follow this thread: http://groups.google.com/group/google-appengine/browse_thread/thread/685d2e9db4063a69 Please confirm. thanks. On 2月24日, 午後11:25, Sandeep sandeep.ba...@gmail.com wrote: I have been getting this error since my last deployment. Everything works

[appengine-java] Deployment with Eclipse plug-in

2010-02-24 Thread dominity
Hey, guys. Currently I've got this message during deployment. java.io.IOException: Error posting to URL: http://appengine.google.com/api/appversion/create?app_id=caretransferapacversion=1; 500 Internal Server Error htmlhead meta http-equiv=content-type content=text/html;charset=utf-8 title500

[appengine-java] Re: Deployment with Eclipse plug-in

2010-02-24 Thread Sandeep
Same here, haven't been able to deploy my updated app too. java.io.IOException: Error posting to URL: http://appengine.google.com/api/appversion/create?app_id=mdvk-chnversion=1; 500 Internal Server Error htmlhead meta http-equiv=content-type content=text/html;charset=utf-8 title500 Server

[appengine-java] Re: Help needed with Error

2010-02-24 Thread Sandeep
Couldn't derive anything useful from the other thread. I believe the problem is with something on the server end and not the code. Something that has been working for the last 4 weeks cannot crash so abruptly in one screen and continue working on the other. Right now, it seems like the entire

[appengine-java] GAE Alternatives?

2010-02-24 Thread A1programmer
Are there any good alternatives to Google App Engine out there? I am finding that I cannot rely on GAE for a production quality environment. -- 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

[appengine-java] Re: Will a solution to the Java load latency come in Q2?

2010-02-24 Thread Sandeep
Hi, One of the suggestions I have seen is to keep your home page as a static HTML and as light as possible. This should enable loading app within a couple of seconds even if the app is not loaded on any server. Offcourse, if the kind of service provided through your site and the user base demands

Re: [appengine-java] GAE Alternatives?

2010-02-24 Thread Paul Hammant
Nope, but one *imagines* that others (Spring/VMWare, JBoss/RedHat, Oracle/Sun/Tangasol, Terracotta, Gigaspaces and Intalio/Jetty) are part way through delivery, or are planning, or finding partners. There's a huge attraction to the tiny resource requirement to maintain a WAR file deployment

[appengine-java] [OT] Re: GAE Alternatives?

2010-02-24 Thread Guillermo Schwarz
I think Sun didn't have clear ideas on what was possible and what clients wanted. They didn't separate their business in hardware and JavaSoft apart and that bad management decision took its toll. Microsoft is doing the same mistake: Is it a toy maker or a hardware maker or an operating system

[appengine-java] Store List of own objects in datastore

2010-02-24 Thread DreamFlasher
Hi, if I wanted to have a product which contains reviews to it, and Product is a class and Review as well, how would I do that? I tried @Persistent(defaultFetchGroup = true) private LinkedListReview reviews = new LinkedListReview(); in class Product. I would like to get the attached objects

[appengine-java] Google App Engine down or just my app?

2010-02-24 Thread Ronen
Hey, Trying to reach: https://appengine.google.com/ Get an internal server error (500). In addition, can't deploy my app from eclipse. Following error: eclipse.buildId=M20090917-0800 java.version=1.6.0_18 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32,

[appengine-java] Re: why my app on GAE first access is so slow

2010-02-24 Thread charming30
Any valid answers for this question yet? On Jan 6, 7:33 pm, Jorge athenas...@gmail.com wrote: It´s been a lot of discussion about this topic lately. See for instance Tragedy of the Commons, and Cold Starts. I own dedicated servers with other hosts and what I´ve been doing is automatically

[appengine-java] org.datanucleus.exceptions.NucleusUserException: Object Manager has been closed

2010-02-24 Thread Taylor Leese
Why does the code below result in org.datanucleus.exceptions.NucleusUserException: Object Manager has been closed? The exception appears to be thrown at query.getResultList(). I'm using Spring JPA. bean id=entityManagerFactory class=org.springframework.orm.jpa.LocalEntityManagerFactoryBean

[appengine-java] Re: Will a solution to the Java load latency come in Q2?

2010-02-24 Thread Jorge
There are dozens of threads with this topic and the discussions go on and on. Many ask, many complain, and nobody answers with commitment (Google). Some suggest the stupid solution of pinging your app every so often. No offense, Timofy Koolin, I use the same stupid solution myself!!! Me too I'm

[appengine-java] Re: App Engine and Spring slow start up

2010-02-24 Thread charming30
Has the above mentioned offline precompilatio in 1.3.1 been able to solve your issue, I plan to use Spring on Java for my Business App which is complex and could be based on SOA. Kindly let me know if your issue was resolved or reduced by using the above fix. On Feb 20, 12:05 am, luijar

[appengine-java] Re: Help needed with Error

2010-02-24 Thread Keith
If you are trying to put the reult of a query directly into memcache then you should read http://groups.google.com/group/google-appengine-java/msg/1d835ac8245d1d48. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this

[appengine-java] Read-only mode exceptions

2010-02-24 Thread Millisecond
I'm trying to make my app robust to survive through these read-only modes that we seem to be in fairly often lately. All calls to the cache were surrounded with a try-catch for MemcacheServiceException as spelled out here (even though I don't use a StrictErrorHandler, during the last maintenance

[appengine-java] Re: GAE Alternatives?

2010-02-24 Thread Corby
On Feb 24, 10:39 am, A1programmer derrick.simp...@gmail.com wrote: Are there any good alternatives to Google App Engine out there? I am finding that I cannot rely on GAE for a production quality environment. I am very excited about the future of Google App Engine, but I am in the same boat,

Re: [appengine-java] Re: solution to the Java load latency

2010-02-24 Thread Ikai L (Google)
The correct solution is to drive more traffic to your application, and we discourage pinging. We're working on solutions that will reduce load times all around. The issue with pinging your application, as some users do, is that it decreases resources from the global pool and increases the amount

Re: [appengine-java] Google App Engine down or just my app?

2010-02-24 Thread Ikai L (Google)
Yes, there was an outage, but this should have been resolved. You may want to subscribe to this mailing list: http://groups.google.com/group/google-appengine-downtime-notify On Wed, Feb 24, 2010 at 9:00 AM, Ronen rbabay...@gmail.com wrote: Hey, Trying to reach:

Re: [appengine-java] Re: Deployment with Eclipse plug-in

2010-02-24 Thread Keith Platfoot
This is likely related to the unscheduled outage earlier today. See http://code.google.com/status/appengine Keith On Wed, Feb 24, 2010 at 11:28 AM, Sandeep sandeep.ba...@gmail.com wrote: Same here, haven't been able to deploy my updated app too. java.io.IOException: Error posting to URL:

[appengine-java] Re: Problem with persistance

2010-02-24 Thread Jake
http://code.google.com/appengine/docs/java/datastore/relationships.html#Owned_One_to_One_Relationships You create a bidirectional one-to-one relationship using fields on both classes, with an annotation on the child class's field to declare that the fields represent a bidirectional relationship.

Re: [appengine-java] Can pm.makePersistentAll() help me write 12,000 objects?

2010-02-24 Thread Jeff Schnitzer
I think this is actually an interesting question, and brings up a discussion worth having: Is datastore performance reasonable? I don't want to make this a discussion of reliability, which is a separate issue. It just seems to me that the datastore is actually kinda pokey, taking seconds to

Re: [appengine-java] Re: solution to the Java load latency

2010-02-24 Thread Ikai L (Google)
I'm glad you understand some of the challenges we are facing. We have several proposed solutions, but each solution has a tradeoff. Sun's investment in the JVM is massive, and they focused on building a virtual machine that pays a bit more of an upfront cost for a bigger performance benefit over

[appengine-java] Datanucleus log

2010-02-24 Thread markm208
Probably a simple, easy question but... I am getting this error message when datanucleus enhancement takes place: DataNucleus Enhancer completed with an error. Please review the enhancer log for full details. Some classes may have been enhanced but some caused errors DataNucleus Enhancer

[appengine-java] Re: Datanucleus log

2010-02-24 Thread datanucleus
Rename your get() method to getXXX or something else. Sadly GAE/J uses an ancient version of DataNucleus. -- 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.

[appengine-java] Re: Datanucleus log

2010-02-24 Thread markm208
Aah... I see, that worked. get() is a loaded name, I should have known better. I am still curious about the location of the log file mentioned in the error, can you provide some help there? Thanks! On Feb 24, 1:48 pm, datanucleus andy_jeffer...@yahoo.com wrote: Rename your get() method to

[appengine-java] uniqueness control ideas

2010-02-24 Thread atomi
I've been trying to devise a way to maintain uniqueness among different entities by storing some kind of UUID based on the fields I want unique for that entity Using JDO, and a GenericDAO (groovy) Here is the method for put() in my GenericDAO: def put(Object object) { Collection objects = list();

[appengine-java] Re: Can pm.makePersistentAll() help me write 12,000 objects?

2010-02-24 Thread Guillermo Schwarz
Ikai, Maybe you are right. Maybe not. I'm not an expert in datastore internals, but here is my point of view. This paper claims that Berkeley DB Java edition can insert about 15,000 records per second. http://www.oracle.com/database/docs/bdb-je-architecture-whitepaper.pdf The graphic is on

Re: [appengine-java] Re: Can pm.makePersistentAll() help me write 12,000 objects?

2010-02-24 Thread Ikai L (Google)
Simple key-only writes can definitely do it, but there's a few places where you can introduce overhead: - serialization - network I/O - indexes My point wasn't necessarily that it wasn't possible. makePersistentAll does use a batch write, and there are definitely sites that can do 12,000+ writes

Re: [appengine-java] Re: way to interactively query datastore?

2010-02-24 Thread David Lam
On Wed, Feb 24, 2010 at 1:37 AM, vbart vaclav.barta...@spolecne.cz wrote: I can offer only listing solution, based on our free GQL dynamic parser - http://audao.spoledge.com/download.jsp The full JSP you can find here:

[appengine-java] Re: problem with Unowned relationship beetwen a Root entity and a Entity of an EntityGroup

2010-02-24 Thread nicolas melendez
Nobody helps :( NM El feb 23, 2010 11:08 a.m., nicolas melendez nfmelen...@gmail.com escribió: Hi, i have an Unowned relationship beetwen a *Root entity* and a Entity of an EntityGroup. *Root entity *isn't part of the* *entity group. So, to the Entity of an EntityGroup i set the key of my

[appengine-java] custom authentication when using Google Apps domain

2010-02-24 Thread Houston startup coder
We need users to be able to access our app on our domain, so I went into my Dashboard and clicked Add New URL to set this up, and then added a CNAME at GoDaddy. We use Google Apps for our domain internally, but do not want the users of our App Engine app accessing Mail, Documents, Sites, etc.

[appengine-java] Re: Can pm.makePersistentAll() help me write 12,000 objects?

2010-02-24 Thread Larry Cable
my experience with a relatively simple application via JDO makePersistentAll() was that I got DataStore Operation Timeout exceptions with batch sizes of approx 200-300 objects ... On Feb 24, 1:48 pm, Guillermo Schwarz guillermo.schw...@gmail.com wrote: I think we can safely assume that the

[appengine-java] Re: GAE Alternatives?

2010-02-24 Thread Larry Cable
I have to concur with Corby on this ... I was initially attracted to the end-to-end solution that GAE offered integrated as it is with Eclipse. In practice I have found it very frustrating to develop on GAE because of: - the class white list and 3rd party framework usage (i.e Spring) - the

[appengine-java] How expensive is a memcache instance?

2010-02-24 Thread Mouseclicker
The memcache is a really important feature to increase performance. However I am not sure how to design my application in regards of how to use memcache in the best way to cache various kinds of objects. Often you have the need to cache different types of objects in an application. It would be

Re: [appengine-java] How expensive is a memcache instance?

2010-02-24 Thread Ikai L (Google)
Nope, this is cheap. Do it as many times as you need. You're not instantiating a Memcache instance. You're instantiating a client instance. On Wed, Feb 24, 2010 at 3:24 PM, Mouseclicker jens.h...@googlemail.comwrote: The memcache is a really important feature to increase performance. However I

Re: [appengine-java] Re: GAE Alternatives?

2010-02-24 Thread AJ Chen
It depends on your app. For small business app, you may check out force.com, which offers free developer account. I use both GAE and force.com because I'm excited about connecting google cloud with salesforce cloud. but, GAE's current state of reliability and performance is a bit concern. Hope GAE

[appengine-java] Re: Problem whit upload form multipart

2010-02-24 Thread NIko Judo
Ok muchas gracias por sus respuestas, efectivamente habia 2 versiones de fileupload y common-io en el path build\web\WEB-INF\lib, esto es extraño porque edite las librerias de struts de mi proyecto y quite las mas antiguas, sin embargo Netbeans quitaba las referencias pero los archivos seguian en

[appengine-java] Re: Problem with persistance

2010-02-24 Thread Anton Klotz
Hi Jake, thanks a lot for your answer. After changing the mappedBy statement to child like this: @Persistent(mappedBy = mOfferDetails) private Offer mOffer; and removing mappedBy from parent, Offer object seems to be persisted. But when I get this object from the database with:

Re: [appengine-java] news on remote_api for java ?

2010-02-24 Thread Ikai L (Google)
You should be able to connect this: ?xml version=1.0 encoding=utf-8? web-app !-- Add this to your web.xml to enable remote API on Java. -- servlet servlet-nameremoteapi/servlet-name servlet-classcom.google.apphosting.utils.remoteapi.RemoteApiServlet/servlet-class /servlet

Re: [appengine-java] Deleting Entities By Query or the PersistenceManager's deletePersistentAll()

2010-02-24 Thread Ikai L (Google)
I'm not certain there's a big benefit either way, as you still have to remove all the indexes related to the entities. What have your benchmarks reported? On Wed, Feb 17, 2010 at 12:06 PM, Shai levys...@gmail.com wrote: Hi When I delete entities by query am I limited to 500 entities like when

Re: [appengine-java] Ghost rows in Datastore - cant get some rows in a queries until I resave them in the Datastore viewer

2010-02-24 Thread Ikai L (Google)
Were you able to resolve this? What's your app-id? On Wed, Feb 17, 2010 at 2:18 PM, Shai levys...@gmail.com wrote: HI, I encountered something strange when running queries in my application so I went to the Datastore Viewer and reproduced it in there, maybe someone can help me out: I have

Re: [appengine-java] java.lang.RuntimeException: Version not ready.

2010-02-24 Thread Ikai L (Google)
I've seen this issue with certain deploys where we may not report the correct error message, but I'm assuming you wrote a simple application that wouldn't have had any of those issues. This likely coincided with a maintenance period. You should be able to deploy. If you can't, please let us know

Re: [appengine-java] java.lang.RuntimeException: Version not ready.

2010-02-24 Thread Ikai L (Google)
Er, excuse me, the app-id is in the original email. In any case, please let us know if this has worked for you. On Wed, Feb 24, 2010 at 5:02 PM, Ikai L (Google) ika...@google.com wrote: I've seen this issue with certain deploys where we may not report the correct error message, but I'm

Re: [appengine-java] NullPointerException while running a new app

2010-02-24 Thread Ikai L (Google)
What's your application ID? On Fri, Feb 19, 2010 at 12:05 AM, Alberty Pascal alberty.pas...@gmail.comwrote: Hi all, while updating my application, I got the following stack for all request made on it. I try to deploy a really simple new application (created with Eclipse and its plugin) and

Re: [appengine-java] Performance testing my App

2010-02-24 Thread Ikai L (Google)
You should fill out the following form: http://code.google.com/support/bin/request.py?contact_type=AppEngineBillingSupport On Fri, Feb 19, 2010 at 4:53 AM, Sandeep sandeep.ba...@gmail.com wrote: Hi, I wanted to know what is the procedure/notifications that need to be followed to communicate

Re: [appengine-java] Child objects not stored on GEA using JDO from Scala code

2010-02-24 Thread Ikai L (Google)
You might want to ask on the Scala groups because I don't see a lot of Scala questions asked on this group. That being said, I've fiddled with Scala on App Engine before with some success. A few tips from what I've learned: - You don't need to create a Key. JDO will acquire a unique key for you.

Re: [appengine-java] Re: problem with Unowned relationship beetwen a Root entity and a Entity of an EntityGroup

2010-02-24 Thread Ikai L (Google)
Can you post code and a stack trace? If you have a JUnit test case that'd be helpful as well. On Wed, Feb 24, 2010 at 2:30 PM, nicolas melendez nfmelen...@gmail.comwrote: Nobody helps :( NM El feb 23, 2010 11:08 a.m., nicolas melendez nfmelen...@gmail.com escribió: Hi, i have an Unowned

Re: [appengine-java] Citical Security error in Accounts Java API: request.getUserPrincipal() gets wrong username/email

2010-02-24 Thread Ikai L (Google)
Probably OAuth, though I'm not sure how that will work with a gadget. In most places gadgets will include a user ID with the makeRequest. On Tue, Feb 23, 2010 at 12:23 PM, Thomas Schnocklake thomas.schnockl...@googlemail.com wrote: Thank you for your answer. So what would you suppose to use

Re: [appengine-java] Re: problem with Unowned relationship beetwen a Root entity and a Entity of an EntityGroup

2010-02-24 Thread nicolas melendez
Ok i will do one. Thanks. Nm El feb 24, 2010 10:32 p.m., Ikai L (Google) ika...@google.com escribió: Can you post code and a stack trace? If you have a JUnit test case that'd be helpful as well. On Wed, Feb 24, 2010 at 2:30 PM, nicolas melendez nfmelen...@gmail.com wrote: Nobody helps :(