Re: [appengine-java] New Data Field NullPointer

2010-01-01 Thread Jeffrey Goetsch
. Jeffrey Goetsch wrote: Why do I get a NullPointerException when I add a new primitive field to an object? Why doesn't JDO just recognize that it is a primitive and leave the default value? Thanks, --Jeff -- You received this message because you are subscribed to the Google

[appengine-java] New Data Field NullPointer

2009-12-31 Thread Jeffrey Goetsch
Why do I get a NullPointerException when I add a new primitive field to an object? Why doesn't JDO just recognize that it is a primitive and leave the default value? Thanks, --Jeff -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group.

[appengine-java] Email Expensive

2009-12-17 Thread Jeffrey Goetsch
Why is email so expensive? I have an internal mail system, that will email the user when ever they receive an email. Let say that I have 100,000 users that receive one email a day. That is $10 per day in email cost alone. This seems extremely high cost. I think I might have 10 times that

Re: [appengine-java] Re: Datanucleus Exception - deletePersistent() called recursively

2009-12-03 Thread Jeffrey Goetsch
availableTime; } On Tue, Dec 1, 2009 at 9:49 AM, Max Ross (Google) maxr+appeng...@google.commaxr%2bappeng...@google.com wrote: Could you please post the model objects that are involved? Also, what version of the SDK are you using? Thanks, Max On Mon, Nov 30, 2009 at 2:26 PM, Jeffrey Goetsch jeffg

Re: [appengine-java] Why no GAE system property?

2009-12-03 Thread Jeffrey Goetsch
Could you create a Servlet that is loaded on launch, and set this kind of property? I think this is a workaround until they can do it officially. --Jeff On Thu, Dec 3, 2009 at 10:39 AM, Toby Reyelts to...@google.com wrote: Yes, I totally agree that the current official way of checking for App

[appengine-java] Transaction Error with No Transactions

2009-11-30 Thread Jeffrey Goetsch
I am getting an exception that I pasted below. It describes a transaction error, but I have not programmed any transactions. On top of that, the request that I made should not have changed any data. Has anyone else been getting errors like this? Caused by: java.lang.IllegalArgumentException:

Re: [appengine-java] My indexes are stuck in BUILDING state after deploying my app for the first time (i.e. on an empty datastore)

2009-11-30 Thread Jeffrey Goetsch
I was having about 2 hour index build times. I think a lot of people were launching over the weekend. --Jeff On Sun, Nov 29, 2009 at 8:36 PM, Tim Cooper tco...@gmail.com wrote: I've just deployed my AppEngine application for the first time. It was working perfectly when running in the

Re: [appengine-java] google app engine exception affected app's performance

2009-11-30 Thread Jeffrey Goetsch
I am seeing the same error. I believe this happens when appengine shuts down your server and then restarts the server. I have read the exception is harmless, but the slow start seems to indicate different. My startup time takes about 8 seconds. I have created cron, that runs every minute.

[appengine-java] Changing Log Format

2009-11-30 Thread Jeffrey Goetsch
I know that it is not possible to change the log format currently, but I wanted to make a request for this feature. Currently the default logging prints the class and method that makes the call to the logging API. For me this always the same method, because I use a utility method that adds the

Re: [appengine-java] First Request High CPU

2009-11-30 Thread Jeffrey Goetsch
application startup time. It's also been suggested that we should look at a billing enabled option for keeping a certain number of instances warm at all times. On Sun, Nov 29, 2009 at 11:22 PM, Jeffrey Goetsch jeffg@gmail.comwrote: I have noticed that the first request to a server instance

[appengine-java] Datanucleus Exception - deletePersistent() called recursively

2009-11-30 Thread Jeffrey Goetsch
I am getting this exception when I try and remove an Owned object from a Set. Let me know if you need more then the stack trace. Thanks, Jeffrey Caused by: org.datanucleus.exceptions.NucleusUserException: deletePersistent() called recursively at

[appengine-java] Re: Datanucleus Exception - deletePersistent() called recursively

2009-11-30 Thread Jeffrey Goetsch
Update: This appears to happen when I remove the last entry in the Set. --Jeff On Mon, Nov 30, 2009 at 2:21 PM, Jeffrey Goetsch jeffg@gmail.comwrote: I am getting this exception when I try and remove an Owned object from a Set. Let me know if you need more then the stack trace

[appengine-java] Pay to Reserve JVM

2009-11-30 Thread Jeffrey Goetsch
There is a feature request to allow you to Pay to Reserve a JVM. They are wanting to see if people would be willing to pay, and how much they are will to pay. If you are interested in this feature, please vote on the ticket and comment how much you are willing to pay.

Re: [appengine-java] Re: Transaction Error with No Transactions

2009-11-30 Thread Jeffrey Goetsch
triggers this error. I assume if a transaction is NOT active then NO read locks occur and all updates are considered Singleton updates. Note that updates in JDO are triggered by simply using a setter on a persisted Entity attribute. On Nov 30, 11:26 am, Jeffrey Goetsch jeffg@gmail.com

[appengine-java] First Request High CPU

2009-11-29 Thread Jeffrey Goetsch
I have noticed that the first request to a server instance has really high CPU usage (7000+ milliseconds). After the server is up, the same request takes only 20 milliseconds. I am not using Spring or any other framework. It appears that the time is used during the first execute call on a

Re: [appengine-java] Datastore Issues

2009-11-25 Thread Jeffrey Goetsch
with opening, closing and retrieving instances of PersistenceManager. On Tue, Nov 24, 2009 at 10:34 AM, Jeffrey Goetsch jeffg@gmail.comwrote: Here is a subset of the code. It doesn't run or have the logic that changes the values. I have included the ChallengeDao, which highlights what I had

Re: [appengine-java] Datastore Issues

2009-11-24 Thread Jeffrey Goetsch
? It'd be great for the community to take a look at what you are doing and see if there's anything that jumps out at us. On Sat, Nov 21, 2009 at 11:46 PM, Jeffrey Goetsch jeffg@gmail.comwrote: I have been having a lot of trouble with JDO objects not storing, or at least not storing some

Re: [appengine-java] Re: updating object doesn't work anymore

2009-11-22 Thread Jeffrey Goetsch
I am not using OpenPersistenceManagerInViewFilter, but I am using Spring to create the PersistenceManager at the beginning of the a request. If am changing many objects, and I seem to have problems where they don't get stored to the datastore. I can check right before I close the

[appengine-java] Datastore Issues

2009-11-21 Thread Jeffrey Goetsch
at simplifying the issue to post to this list, but as the code gets simpler the issues seem to go away. I am willing to share my larger code base with developers that are working on trying to fix these problems, but I don't want make a general post to everyone. Thanks, Jeffrey Goetsch -- You

[appengine-java] Re: JDO Collection Load Issue

2009-10-28 Thread Jeffrey Goetsch
Jason, Thanks for the reply and checking the code. It is the null issue that is causing this issue, but I had a second issue that I will start a new thread for. Thanks, Jeff On Fri, Oct 23, 2009 at 4:01 PM, Jason (Google) apija...@google.com wrote: Hi Jeff. I'm having trouble reproducing