[appengine-java] Objectify index question

2011-04-04 Thread gholler
If we index a field after many entities have already been created, how
can we get the app engine to re-index all the data for the entity?
Do we have to 'touch' (update) each and every instance of the entity
to get the index build on that field so we can query using the
console?

G

-- 
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-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Reoccurring DeadlineExceededExceptions at request.getSession()

2011-02-01 Thread gholler
I have seen, for some time, DeadlineExceededExceptions in our apps log
where it appears to be hanging on a request.getSession().  In our app
we have an authentication filter that sets and removes an attribute on
the session and this error happens at least twice a day.
Has anyone else seen this behavior?  Does anyone know what going on
here?

George Holler

-- 
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-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Auto generating datastore-indexes.xml during unit tests

2010-11-11 Thread gholler
Hi Didier, thanks for your reply.  Those instructions are for
generating an index file while running the dev server and hitting it
locally with your browser.  What I am talking about is during running
JUnit test cases using the LocalServiceTestHelper.  That helper lets
you write unit tests against the datastore and seems ideal to be able
to generate indexes from since your unit tests should hit every kind
of query you have.

G

On Nov 10, 11:03 pm, Didier Durand  wrote:
> Hi George,
>
> Did you follow the instructions 
> ofhttp://code.google.com/appengine/docs/java/config/indexconfig.html#Us...
> ?
>
> That should be the answer to your question
> regards
> didier
>
> On Nov 10, 8:26 pm, gholler  wrote:
>
> > Is it possible to auto-generate the datastore-indexes.xml while
> > running JUnit tests that use the LocalServiceTestHelper (with
> > LocalDatastoreServiceTestConfig)?
> > It seems like it would be great to have the file automatically
> > generated and then deployed with maven.
> > Unfortunately I don't see the file being generated.
>
> > Thanks,
> > George

-- 
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 this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Auto generating datastore-indexes.xml during unit tests

2010-11-11 Thread gholler
Hi Didier, thanks for your reply.  Those instructions are for
generating an index file while running the dev server and hitting it
locally with your browser.  What I am talking about is during running
JUnit test cases using the LocalServiceTestHelper.  That helper lets
you write unit tests against the datastore and seems ideal to be able
to generate indexes from since your unit tests should hit every kind
of query you have.

G

On Nov 10, 11:03 pm, Didier Durand  wrote:
> Hi George,
>
> Did you follow the instructions 
> ofhttp://code.google.com/appengine/docs/java/config/indexconfig.html#Us...
> ?
>
> That should be the answer to your question
> regards
> didier
>
> On Nov 10, 8:26 pm, gholler  wrote:
>
> > Is it possible to auto-generate the datastore-indexes.xml while
> > running JUnit tests that use the LocalServiceTestHelper (with
> > LocalDatastoreServiceTestConfig)?
> > It seems like it would be great to have the file automatically
> > generated and then deployed with maven.
> > Unfortunately I don't see the file being generated.
>
> > Thanks,
> > George

-- 
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 this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Auto generating datastore-indexes.xml during unit tests

2010-11-10 Thread gholler
Is it possible to auto-generate the datastore-indexes.xml while
running JUnit tests that use the LocalServiceTestHelper (with
LocalDatastoreServiceTestConfig)?
It seems like it would be great to have the file automatically
generated and then deployed with maven.
Unfortunately I don't see the file being generated.

Thanks,
George

-- 
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 this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Occasional NoClassDefFoundError

2010-11-01 Thread gholler
Thanks for the reply.  We deploy with maven from a clean slate.
The errors we see are in the initialization of a filter that runs fine
99% of the time.
G

On Nov 1, 9:18 am, Cyrille Vincey  wrote:
> I have seen the same error from times to times.
> If you're on eclipse, this error may disappear if you clean your project
> prior to deploying it.
> Eclipse > Project > Clean...
>
> On 01/11/10 14:15, "gholler"  wrote:
>
> >In the last couple of days we've been seeing
> >java.lang.NoClassDefFoundError exceptions in our log for our GAE Java
> >app.  The class in question is one of ours that works and has worked
> >for months.  What could this be? Is this caused by problems with a
> >static server behind the scenes?  Has anyone else seen this?
>
> >Thanks,
> >George
>
> >--
> >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 this group, send email to
> >google-appengine-java+unsubscr...@googlegroups.com.
> >For more options, visit this group at
> >http://groups.google.com/group/google-appengine-java?hl=en.

-- 
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 this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Occasional NoClassDefFoundError

2010-11-01 Thread gholler
Thanks for the reply.  We deploy with maven from a clean slate.
The errors we see are in the initialization of a filter that runs fine
99% of the time.
G

On Nov 1, 9:18 am, Cyrille Vincey  wrote:
> I have seen the same error from times to times.
> If you're on eclipse, this error may disappear if you clean your project
> prior to deploying it.
> Eclipse > Project > Clean...
>
> On 01/11/10 14:15, "gholler"  wrote:
>
> >In the last couple of days we've been seeing
> >java.lang.NoClassDefFoundError exceptions in our log for our GAE Java
> >app.  The class in question is one of ours that works and has worked
> >for months.  What could this be? Is this caused by problems with a
> >static server behind the scenes?  Has anyone else seen this?
>
> >Thanks,
> >George
>
> >--
> >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 this group, send email to
> >google-appengine-java+unsubscr...@googlegroups.com.
> >For more options, visit this group at
> >http://groups.google.com/group/google-appengine-java?hl=en.

-- 
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 this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Occasional NoClassDefFoundError

2010-11-01 Thread gholler
In the last couple of days we've been seeing
java.lang.NoClassDefFoundError exceptions in our log for our GAE Java
app.  The class in question is one of ours that works and has worked
for months.  What could this be? Is this caused by problems with a
static server behind the scenes?  Has anyone else seen this?

Thanks,
George

-- 
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 this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Why should app startup times be a problem.

2010-03-26 Thread gholler
Thanks for your replies.  I think we would want an option to pay to
keep at least one instance "warm" and ready to go at any time (I don't
know what makes sense for a fee though).
And as Guillermo says, that won't help us as new instances are needed
to scale.  There could be a fee for paying accounts to get those
special startup requests, and I also don't know what makes sense for a
fee there. It would also need to be able to handle more than 30
seconds, ideally it could be a task that keeps gettings called until
it returns a 200-299 status. The url for the task could be specified
in the appengine-web.xml.

G

-- 
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 this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Why should app startup times be a problem.

2010-03-25 Thread gholler
When GAE is load balancing your app, and it decides to start up a new
instance, why are they sending a client request as the first hit to
your app?  Unless your app is trivial, you're going to have some
startup time. It's not a good job of load balancing if requests are
sent to an instance that isn't even started yet.  This is killing our
app.  The load balancer should get an HTTP 200 back from our instance
before sending any real traffic that way.

Am I off-base here? Is anyone else deploying an app with a rich client
and a datastore back-end where this isn't a problem? I couldn't find
anyone at the Server Side Java Symposium last week that was deploying
to GAE.

G

-- 
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 this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Enable billing to avoid HardDeadlineExceededError?

2010-03-03 Thread gholler
Okay, the first thing mentioned was that you are using Spring. We are
doing an experiment removing Spring in our app to see what impact it
has on startup time.

On Mar 3, 7:57 pm, Wong  wrote:
> Hi,
>
> I am using Spring MVC. The application being cycled out overly
> aggressively (sometimes less than 1 min)
>
> http://groups.google.com/group/google-appengine-java/browse_thread/th...
>
> I register an HttpSessionListener to listen for "loading request"
> which takes more than 20 seconds.
>
> Due to the long loading request/cold start time, some requests hit the
> following  HardDeadlineExceededError exception.
>
> Log seen in my Admin Console:
> com.google.apphosting.runtime.HardDeadlineExceededError: This request
> (eb11499c97029f78) started at 2010/03/03 16:41:08.062 UTC and was
> still executing at 2010/03/03 16:41:37.260 UTC.
>
> This request used a high amount of CPU, and was roughly 1.5 times over
> the average request CPU limit. High CPU requests have a small quota,
> and if you exceed this quota, your app will be temporarily disabled.
>
> I am currently on free quota. If I enable billing and set to higher
> CPU quota, will I be able to avoid the HardDeadlineExceededError
> problem?

-- 
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 this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Enable billing to avoid HardDeadlineExceededError?

2010-03-03 Thread gholler
No, the 30 second limit is a hard limit. If a request can't finish in
30 seconds (or somewhat earlier), you get an exception. You then have
an undetermined amount of time before the app engine kills your
request and returns a 500 status code. You wouldn't happen to be using
Spring, would you?

On Mar 3, 7:57 pm, Wong  wrote:
> Hi,
>
> I am using Spring MVC. The application being cycled out overly
> aggressively (sometimes less than 1 min)
>
> http://groups.google.com/group/google-appengine-java/browse_thread/th...
>
> I register an HttpSessionListener to listen for "loading request"
> which takes more than 20 seconds.
>
> Due to the long loading request/cold start time, some requests hit the
> following  HardDeadlineExceededError exception.
>
> Log seen in my Admin Console:
> com.google.apphosting.runtime.HardDeadlineExceededError: This request
> (eb11499c97029f78) started at 2010/03/03 16:41:08.062 UTC and was
> still executing at 2010/03/03 16:41:37.260 UTC.
>
> This request used a high amount of CPU, and was roughly 1.5 times over
> the average request CPU limit. High CPU requests have a small quota,
> and if you exceed this quota, your app will be temporarily disabled.
>
> I am currently on free quota. If I enable billing and set to higher
> CPU quota, will I be able to avoid the HardDeadlineExceededError
> problem?

-- 
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 this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Exception When Uploading Application To AppEngine

2009-11-18 Thread gholler

I'm seeing the same thing here. All of a sudden I can't deploy to the
cloud. I'm using gae 1.2.2, and I'm getting the exact same error.  The
only thing that may have an effect is that I had someone else on my
team deploy to the same account (different app id), since then I
haven't been able to deploy. I can't believe that you can't have more
than one person ever deploy to an account. Any guidance would be
appreciated. Thanks.

G

--

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 this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=.