[appengine-java] Re: Using async-session-persistence

2011-09-26 Thread Peter Dev
http://code.google.com/appengine/articles/managing-resources.html

For Java HTTP sessions, write asynchronously - HTTP sessions (Java)
lets you configure your application to asynchronously write http
session data to the datastore by adding  to your appengine-web.xml.

but parameter 'queue-name'
is required! :-)

















On Sep 3, 8:53 pm, John  wrote:
> http://code.google.com/p/googleappengine/issues/detail?id=5774
>
> Star it
>
> On Aug 30, 7:28 pm, Spines  wrote:
>
>
>
>
>
>
>
> > I'm getting this same error after enablingasync-session-persistence,
> > except 100% of the time. It shows this error in the logs:
>
> > javax.servlet.ServletContext log: _ah_queue_deferred: Deferred task
> > failed exception:
> > com.google.apphosting.utils.servlet.DeferredTaskServlet
> > $DeferredTaskException: java.lang.ClassNotFoundException:
> > com.google.apphosting.runtime.jetty.DeferredDatastoreSessionStore
> > $DeferredSave
>
> > Any ideas?
>
> > On Aug 1, 7:34 am, gk  wrote:
>
> > > Greetings,
>
> > > still have not found any clues what could cause "async-session-> > 
> > > persistence" tasks to fail with HTTP status code 415 (Unsupported
> > > Media Type).
>
> > > Any ideas?
>
> > > On Jul 27, 9:16 pm, gk  wrote:
>
> > > > I am experimenting with  > > > queue-name="default"/> to store https session data; at first it seems
> > > > to work fine with the "default" default queue settings; multithreading
> > > > is switched on for the application.
>
> > > > It appears that there is some kind of collision, as the tasks seem to
> > > > succeed when the rate of incoming requests is low.
>
> > > > When I open a browser window and reload 50 pages from the site at once
> > > > it seems to work fine and the queue is filled up with some tasks. Most
> > > > ot the tasks succeed.
>
> > > > The problem is that around 30% of the "async-session-persistence"
> > > > tasks fail repeatedly with HTTP status code 415 (Unsupported Media
> > > > Type) and there is no further indication of the cause in the queue or
> > > > in the server log.

-- 
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: Using async-session-persistence

2011-09-03 Thread John
http://code.google.com/p/googleappengine/issues/detail?id=5774

Star it

On Aug 30, 7:28 pm, Spines  wrote:
> I'm getting this same error after enabling async-session-persistence,
> except 100% of the time. It shows this error in the logs:
>
> javax.servlet.ServletContext log: _ah_queue_deferred: Deferred task
> failed exception:
> com.google.apphosting.utils.servlet.DeferredTaskServlet
> $DeferredTaskException: java.lang.ClassNotFoundException:
> com.google.apphosting.runtime.jetty.DeferredDatastoreSessionStore
> $DeferredSave
>
> Any ideas?
>
> On Aug 1, 7:34 am, gk  wrote:
>
>
>
>
>
>
>
> > Greetings,
>
> > still have not found any clues what could cause "async-session-
> > persistence" tasks to fail with HTTP status code 415 (Unsupported
> > Media Type).
>
> > Any ideas?
>
> > On Jul 27, 9:16 pm, gk  wrote:
>
> > > I am experimenting with  > > queue-name="default"/> to store https session data; at first it seems
> > > to work fine with the "default" default queue settings; multithreading
> > > is switched on for the application.
>
> > > It appears that there is some kind of collision, as the tasks seem to
> > > succeed when the rate of incoming requests is low.
>
> > > When I open a browser window and reload 50 pages from the site at once
> > > it seems to work fine and the queue is filled up with some tasks. Most
> > > ot the tasks succeed.
>
> > > The problem is that around 30% of the "async-session-persistence"
> > > tasks fail repeatedly with HTTP status code 415 (Unsupported Media
> > > Type) and there is no further indication of the cause in the queue or
> > > in the server log.

-- 
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: Using async-session-persistence

2011-08-30 Thread Spines
I'm getting this same error after enabling async-session-persistence,
except 100% of the time. It shows this error in the logs:

javax.servlet.ServletContext log: _ah_queue_deferred: Deferred task
failed exception:
com.google.apphosting.utils.servlet.DeferredTaskServlet
$DeferredTaskException: java.lang.ClassNotFoundException:
com.google.apphosting.runtime.jetty.DeferredDatastoreSessionStore
$DeferredSave

Any ideas?

On Aug 1, 7:34 am, gk  wrote:
> Greetings,
>
> still have not found any clues what could cause "async-session-
> persistence" tasks to fail with HTTP status code 415 (Unsupported
> Media Type).
>
> Any ideas?
>
> On Jul 27, 9:16 pm, gk  wrote:
>
>
>
>
>
>
>
> > I am experimenting with  > queue-name="default"/> to store https session data; at first it seems
> > to work fine with the "default" default queue settings; multithreading
> > is switched on for the application.
>
> > It appears that there is some kind of collision, as the tasks seem to
> > succeed when the rate of incoming requests is low.
>
> > When I open a browser window and reload 50 pages from the site at once
> > it seems to work fine and the queue is filled up with some tasks. Most
> > ot the tasks succeed.
>
> > The problem is that around 30% of the "async-session-persistence"
> > tasks fail repeatedly with HTTP status code 415 (Unsupported Media
> > Type) and there is no further indication of the cause in the queue or
> > in the server log.

-- 
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: Using async-session-persistence

2011-08-01 Thread gk
Greetings,

still have not found any clues what could cause "async-session-
persistence" tasks to fail with HTTP status code 415 (Unsupported
Media Type).

Any ideas?

On Jul 27, 9:16 pm, gk  wrote:
> I am experimenting with  queue-name="default"/> to store https session data; at first it seems
> to work fine with the "default" default queue settings; multithreading
> is switched on for the application.
>
> It appears that there is some kind of collision, as the tasks seem to
> succeed when the rate of incoming requests is low.
>
> When I open a browser window and reload 50 pages from the site at once
> it seems to work fine and the queue is filled up with some tasks. Most
> ot the tasks succeed.
>
> The problem is that around 30% of the "async-session-persistence"
> tasks fail repeatedly with HTTP status code 415 (Unsupported Media
> Type) and there is no further indication of the cause in the queue or
> in the server log.

-- 
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.