[appengine-java] com.google.appengine.api.memcache.MemcacheServiceException: Memcache put: Set failed to set 1 keys: [...@1669ea1

2010-12-02 Thread sagar misal
Till yesterday my application was performing well with more number of
users than today but today suddenly it started raising this exception
com.google.appengine.api.memcache.MemcacheServiceException: Memcache
put: Set failed to set 1 keys: [...@1669ea1
Can you please guide me what i need to do to avoid this
exception.Besides i have not used memcache services exhaustively .
 Thanks in advance.

-- 
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: data in xml format from data store

2010-12-02 Thread pac
That’s great then Stephen, appreciated the feedback. Thanks.

On Dec 2, 1:44 am, Stephen Johnson onepagewo...@gmail.com wrote:
 I believe Ikai's statement The 30 second limit is imposed on the time it
 takes the servlet to finish. is confirming what I said.

 On Wed, Dec 1, 2010 at 5:52 PM, pac parvez.chau...@gmail.com wrote:
  Hi Ikai,

  If you could confirm this - from earlier Stephen's post:

  then I think you
  will be safe even though it might take another minute or two for
  Google's
  infrastructure to stream it to the client. I have not tested this
  though.
  Can anyone confirm or deny this assumption on my part.

  is download outside 30 sec limit i.e. after servlet finished in 30
  seconds?

  Thanks.

  On Dec 1, 12:00 am, Ikai Lan (Google) 
  ikai.l+gro...@google.comikai.l%2bgro...@google.com

  wrote:
   The 30 second limit is imposed on the time it takes the servlet to
  finish.

   --
   Ikai Lan
   Developer Programs Engineer, Google App Engine
   Blogger:http://googleappengine.blogspot.com
   Reddit:http://www.reddit.com/r/appengine
   Twitter:http://twitter.com/app_engine

   On Mon, Nov 29, 2010 at 10:13 AM, Stephen Johnson 
  onepagewo...@gmail.comwrote:

I believe the 30 second limit is imposed on the time it takes for your
servlet to finish. Thus, if your servlet finished generating and
  returning
the file to the AppEngine infrastructure in 29 seconds, then I think
  you
will be safe even though it might take another minute or two for
  Google's
infrastructure to stream it to the client. I have not tested this
  though.
Can anyone confirm or deny this assumption on my part.

On Mon, Nov 29, 2010 at 10:57 AM, pac parvez.chau...@gmail.com
  wrote:

Sorry, did not see your post earlier Stephen.

I was not aware of this 10 minute feature to create a file, I will
look into.

File size will be greater then 10MB, it is an existing website which I
am thinking to port to gae, file size already gets around 12MB or so.

So I guess more than 10MB download will be an issue and I guess
download should also complete in 30 second, is that so?

On Nov 29, 5:37 pm, pac parvez.chau...@gmail.com wrote:
 A client will download a xml file instead of uploading.
 Records will be created (or updated, deleted) in a table/kind over
 time and all records from a kind need to be downloaded in form of a
 xml file, I hope I am explaining the issue bit more clearly.

 I am not sure if I could make use of blobstore in this case as it
  will
 require update of blobstore object (in background may be using task)
 every time a record gets added/updated/deleted i.e. if I create xml
 file programmaticaly and store as blobstore object.

 On Nov 29, 5:14 pm, Didier Durand durand.did...@gmail.com wrote:

  Hi,

  To emulate files, you have to use the Blob object in the datastore
  to
  store such xml content: see
  com.google.appengine.api.datastore.Blob
inhttp://
  code.google.com/appengine/docs/java/datastore/dataclasses.html.
..

  Blob has a limited max size: 1 Mbyte. So, you can use a collection
  (Vector, List, etc..)  of Blobs if you need more than 1 Mbytes.

  If your files get uploaded by a client, you can use the Blobstore
  where the max size is much bigger(2 Gbytes): seehttp://
code.google.com/appengine/docs/java/blobstore/overview.html

  You have to associate the blob with some other fields (name, size,
  last_updated) in you pojo to reproduce what you expect from a
  file.

  N.B. if you need to emulate a directory tree, you also have to
  write
  it by yourself.

  Finally, I would recommend alternative Objectify rather than
  standard
  JDO for such services.

  Hope this helps

  regards
  didier

  On Nov 29, 5:53 pm, pac parvez.chau...@gmail.com wrote:

   In a website I need to provide a feature to get data in xml
  format
   i.e. some url

   e.g.http://www.mysite.com../data.xml

   I think in gae I can not create a file. Any suggestions to
  create
such
   feature to get data from data store in this way?

   Data store will have large number of records, so in general, a
  file
   created from that could be of good few MBs.

--
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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
  google-appengine-java%2b­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 

[appengine-java] Re: How to deserialize a LIST using GSON ?

2010-12-02 Thread Valter Henrique
Hi, i found my solution here :

http://stackoverflow.com/questions/4318458/how-to-deserialize-a-list-using-gson-or-another-json-to-java

What you think about it ?
Is a good choice ?

Thanks by your answer.

Best regards,
Valter Henrique.

On 1 dez, 18:25, Didier Durand durand.did...@gmail.com wrote:
 Hi,

 Can you detail how you (de) serialize ? A code snippet would
 definitely help.
 Do you use an ObjectOutputStream or something else ? Let us know so
 that we can provide good help.

 I personally use ObjectOutputStream to serialize and then
 ObjectInputStream to deseriliaze and didn't encounter any problem
 until now.
 (I use this technique for example to be able to POST objects that
 represent the input args of a Task in GAE and then the deserialization
 happens when the Task is effectively run)

 regards
 didier

 On Nov 30, 9:41 pm, Valter Henrique valter@gmail.com wrote:

  Hi everyone,
  i can seralize a ListVide in my servlet on GAE.

  But i don't can deserialize it.

  Can someone help me, please?

  Best regards,
  Valter Henrique.

-- 
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: How to deserialize a LIST using GSON ?

2010-12-02 Thread Didier Durand
Gson is a good solution for what you want to do.

I tought that you wanted to serialize your object in the Java sense,
i.e as byte[]. This is more efficient if you move from Java to Java.
For example, if your client is Android. There is then no need to go
through intermediate Json translations.

According to your requirements, I would make sure not to lose any
semantics by going via JSON.

regards
didier

On Dec 2, 11:48 am, Valter Henrique valter@gmail.com wrote:
 Hi, i found my solution here :

 http://stackoverflow.com/questions/4318458/how-to-deserialize-a-list-...

 What you think about it ?
 Is a good choice ?

 Thanks by your answer.

 Best regards,
 Valter Henrique.

 On 1 dez, 18:25, Didier Durand durand.did...@gmail.com wrote:

  Hi,

  Can you detail how you (de) serialize ? A code snippet would
  definitely help.
  Do you use an ObjectOutputStream or something else ? Let us know so
  that we can provide good help.

  I personally use ObjectOutputStream to serialize and then
  ObjectInputStream to deseriliaze and didn't encounter any problem
  until now.
  (I use this technique for example to be able to POST objects that
  represent the input args of a Task in GAE and then the deserialization
  happens when the Task is effectively run)

  regards
  didier

  On Nov 30, 9:41 pm, Valter Henrique valter@gmail.com wrote:

   Hi everyone,
   i can seralize a ListVide in my servlet on GAE.

   But i don't can deserialize it.

   Can someone help me, please?

   Best regards,
   Valter Henrique.



-- 
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: Forcing user to re-enter login password using PAPE max_auth_age=0

2010-12-02 Thread dflorey
Hi,
did you manage to get this working?
I'm thinking about switching from my (working) step2 implementation to
app engine OpenID support.
Is logout working properly?
The warning seems to be removed from the docs.

Daniel

On Nov 30, 12:38 pm, AmaltasCoder agarwalmegh...@gmail.com wrote:
 I am using OpenID with GAE (Experimental - Federated Login). I don't
 get prompted for user/password when I hit logout and then hit login
 back again. Can someone please let me know what the problem is?

 I use the following code to create my login url's:

 UserService userService = UserServiceFactory.getUserService();
 HashSetString attributeRequestSet = new HashSetString();
 attributeRequestSet.add(openid.ns.pape=http://specs.openid.net/
 extensions/pape/1.0);
 attributeRequestSet.add(openid.pape.max_auth_age=0);
 String loginUrl = userService.createLoginURL(destinationUrl,
 gmail.com, gmail.com, attributeRequestSet);

 and code for my logout url's:

 UserService userService = UserServiceFactory.getUserService();
 User user = userService.getCurrentUser();
 String logoutUrl = userService.createLogoutURL(destinationUrl,
 user.getAuthDomain())

-- 
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: Forcing user to re-enter login password using PAPE max_auth_age=0

2010-12-02 Thread dflorey
PAPE seems to be unsupported:

http://code.google.com/intl/ja/appengine/articles/openid.html#uf

On Dec 2, 4:00 pm, dflorey daniel.flo...@gmail.com wrote:
 Hi,
 did you manage to get this working?
 I'm thinking about switching from my (working) step2 implementation to
 app engine OpenID support.
 Is logout working properly?
 The warning seems to be removed from the docs.

 Daniel

 On Nov 30, 12:38 pm, AmaltasCoder agarwalmegh...@gmail.com wrote:







  I am using OpenID with GAE (Experimental - Federated Login). I don't
  get prompted for user/password when I hit logout and then hit login
  back again. Can someone please let me know what the problem is?

  I use the following code to create my login url's:

  UserService userService = UserServiceFactory.getUserService();
  HashSetString attributeRequestSet = new HashSetString();
  attributeRequestSet.add(openid.ns.pape=http://specs.openid.net/
  extensions/pape/1.0);
  attributeRequestSet.add(openid.pape.max_auth_age=0);
  String loginUrl = userService.createLoginURL(destinationUrl,
  gmail.com, gmail.com, attributeRequestSet);

  and code for my logout url's:

  UserService userService = UserServiceFactory.getUserService();
  User user = userService.getCurrentUser();
  String logoutUrl = userService.createLogoutURL(destinationUrl,
  user.getAuthDomain())

-- 
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] process large file in BlobStore?

2010-12-02 Thread Toby
Hi,

I am trying to figure out how to programatically process a file from
the BlobStore. It is a CSV file of about 100MB. I read that the limit
is 1MB but I have seen in Pyton that it can be read partially (they
call it BlobReader).
Is this a feature currently not available in Java? Or is there a way I
can process this data step by step using the task-queue?

Thank you,
Toby

-- 
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: process large file in BlobStore?

2010-12-02 Thread Didier Durand
Hi,

you have to distinguish between a Blob stored in Datastore whose limit
is 1 Mbyte and a blob stored in the blobstore whose limit is 2 Gbytes

For the blob in the blobstore you access it by chunks via the api: see
the byte range in 
http://code.google.com/appengine/docs/java/blobstore/overview.html#Serving_a_Blob

To read those chunks, you have to use the BlobstoreInputStream and its
read() method. See
http://code.googlecom/appengine/docs/java/javadoc/com/google/appengine/api/blobstore/BlobstoreInputStream.html

regards
didier

On Dec 2, 6:23 pm, Toby toby.ro...@gmail.com wrote:
 Hi,

 I am trying to figure out how to programatically process a file from
 the BlobStore. It is a CSV file of about 100MB. I read that the limit
 is 1MB but I have seen in Pyton that it can be read partially (they
 call it BlobReader).
 Is this a feature currently not available in Java? Or is there a way I
 can process this data step by step using the task-queue?

 Thank you,
 Toby

-- 
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] Custom Domain Name - Server not found

2010-12-02 Thread Metin Döşlü
Still have the same problem. Do anybody has a solution or explanation?
http://groups.google.com/group/google-appengine-java/browse_thread/thread/7541a94c0d5895b7

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



Re: [appengine-java] 1.4 eclipse plugin

2010-12-02 Thread Guillaume Laforge
I don't see any Java API in the javadocs about the Channel API. Is it
normal??

On Thu, Dec 2, 2010 at 21:50, Guillaume Laforge glafo...@gmail.com wrote:

 Actually, one can download the SDK here at least:
 http://code.google.com/p/googleappengine/downloads/list


 On Thu, Dec 2, 2010 at 21:50, Guillaume Laforge glafo...@gmail.comwrote:

 It's not yet on the download area either, nor the documentation been
 updated.
 I guess the blog post was a bit in advance, and we'll see the artifacts
 shortly.
 We're all too excited and impatient :-)

 --
 Guillaume
 http://gaelyk.appspot.com


 On Thu, Dec 2, 2010 at 21:45, Matt Farnell mfarn...@gmail.com wrote:

 It seems 1.4 isn't yet available as on the eclipse plugin url
 http://dl.google.com/eclipse/plugin/3.6

 Is this an error or do we have to wait for a few extra days like last
 time?

 --
 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.




 --
 Guillaume Laforge
 Groovy Project Manager
 Head of Groovy Development at SpringSource
 http://www.springsource.com/g2one




 --
 Guillaume Laforge
 Groovy Project Manager
 Head of Groovy Development at SpringSource
 http://www.springsource.com/g2one




-- 
Guillaume Laforge
Groovy Project Manager
Head of Groovy Development at SpringSource
http://www.springsource.com/g2one

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



Re: [appengine-java] 1.4 eclipse plugin

2010-12-02 Thread Ikai Lan (Google)
The docs aren't live yet. They'll be live later in the day.

--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blogger: http://googleappengine.blogspot.com
Reddit: http://www.reddit.com/r/appengine
Twitter: http://twitter.com/app_engine



On Thu, Dec 2, 2010 at 1:05 PM, Guillaume Laforge glafo...@gmail.comwrote:

 I don't see any Java API in the javadocs about the Channel API. Is it
 normal??


 On Thu, Dec 2, 2010 at 21:50, Guillaume Laforge glafo...@gmail.comwrote:

 Actually, one can download the SDK here at least:
 http://code.google.com/p/googleappengine/downloads/list


 On Thu, Dec 2, 2010 at 21:50, Guillaume Laforge glafo...@gmail.comwrote:

 It's not yet on the download area either, nor the documentation been
 updated.
 I guess the blog post was a bit in advance, and we'll see the artifacts
 shortly.
 We're all too excited and impatient :-)

 --
 Guillaume
 http://gaelyk.appspot.com


 On Thu, Dec 2, 2010 at 21:45, Matt Farnell mfarn...@gmail.com wrote:

 It seems 1.4 isn't yet available as on the eclipse plugin url
 http://dl.google.com/eclipse/plugin/3.6

 Is this an error or do we have to wait for a few extra days like last
 time?

 --
 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.




 --
 Guillaume Laforge
 Groovy Project Manager
 Head of Groovy Development at SpringSource
 http://www.springsource.com/g2one




 --
 Guillaume Laforge
 Groovy Project Manager
 Head of Groovy Development at SpringSource
 http://www.springsource.com/g2one




 --
 Guillaume Laforge
 Groovy Project Manager
 Head of Groovy Development at SpringSource
 http://www.springsource.com/g2one

 --
 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.comgoogle-appengine-java%2bunsubscr...@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.



Re: [appengine-java] 1.4 eclipse plugin

2010-12-02 Thread Ikai Lan (Google)
They're still rolling out:

http://code.google.com/appengine/docs/java/channel/

If you see an error, wait a bit and refresh.

--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blogger: http://googleappengine.blogspot.com
Reddit: http://www.reddit.com/r/appengine
Twitter: http://twitter.com/app_engine



On Thu, Dec 2, 2010 at 1:10 PM, Ikai Lan (Google)
ikai.l+gro...@google.comikai.l%2bgro...@google.com
 wrote:

 The docs aren't live yet. They'll be live later in the day.

 --
 Ikai Lan
 Developer Programs Engineer, Google App Engine
 Blogger: http://googleappengine.blogspot.com
 Reddit: http://www.reddit.com/r/appengine
 Twitter: http://twitter.com/app_engine



 On Thu, Dec 2, 2010 at 1:05 PM, Guillaume Laforge glafo...@gmail.comwrote:

 I don't see any Java API in the javadocs about the Channel API. Is it
 normal??


 On Thu, Dec 2, 2010 at 21:50, Guillaume Laforge glafo...@gmail.comwrote:

 Actually, one can download the SDK here at least:
 http://code.google.com/p/googleappengine/downloads/list


 On Thu, Dec 2, 2010 at 21:50, Guillaume Laforge glafo...@gmail.comwrote:

 It's not yet on the download area either, nor the documentation been
 updated.
 I guess the blog post was a bit in advance, and we'll see the artifacts
 shortly.
 We're all too excited and impatient :-)

 --
 Guillaume
 http://gaelyk.appspot.com


 On Thu, Dec 2, 2010 at 21:45, Matt Farnell mfarn...@gmail.com wrote:

 It seems 1.4 isn't yet available as on the eclipse plugin url
 http://dl.google.com/eclipse/plugin/3.6

 Is this an error or do we have to wait for a few extra days like last
 time?

 --
 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.




 --
 Guillaume Laforge
 Groovy Project Manager
 Head of Groovy Development at SpringSource
 http://www.springsource.com/g2one




 --
 Guillaume Laforge
 Groovy Project Manager
 Head of Groovy Development at SpringSource
 http://www.springsource.com/g2one




 --
 Guillaume Laforge
 Groovy Project Manager
 Head of Groovy Development at SpringSource
 http://www.springsource.com/g2one

 --
 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.comgoogle-appengine-java%2bunsubscr...@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] jsessionid not present anymore

2010-12-02 Thread Ioan
Hello to all,
I develop my application since about 5 months and everything looked ok
till two days ago. I've noticed that suddenly I do not have jsessionid
cookie anymore in the responses from the server. This is strange since
in the last days i did not uploaded any version of my application and
in the last 5 months I had no issue with jsessionid.
I can see the other cookies are set correctly(i.e the one for the
language) so it's not the browser that does not accept cookies.
I'm running out of ideas and I'm a bit frustrated since my app works in
a bad way. Did any of you experienced similar (maybe in the last days?)?
Cheers
Ioan

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



Re: [appengine-java] jsessionid not present anymore

2010-12-02 Thread Stephen Johnson
My session cookies are working. Have you verified you still have:
sessions-enabledtrue/sessions-enabled
in your appengine-web.xml file.
Steve

On Thu, Dec 2, 2010 at 3:00 PM, Ioan trivia4...@yahoo.com wrote:

 Hello to all,
 I develop my application since about 5 months and everything looked ok till
 two days ago. I've noticed that suddenly I do not have jsessionid cookie
 anymore in the responses from the server. This is strange since in the last
 days i did not uploaded any version of my application and in the last 5
 months I had no issue with jsessionid.
 I can see the other cookies are set correctly(i.e the one for the language)
 so it's not the browser that does not accept cookies.
 I'm running out of ideas and I'm a bit frustrated since my app works in a
 bad way. Did any of you experienced similar (maybe in the last days?)?
 Cheers
 Ioan

 --
 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.comgoogle-appengine-java%2bunsubscr...@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] URLFetch weirdness

2010-12-02 Thread hector
Have you guys noticed any weirdness with URLFetch today?

One of my appspots is getting intermittent IOException through the
URLFetchService.  Most of the time it fails, once in a while it goes
through.  I've verified the target web service and it is up (and has
been up).

-- 
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] Announcing free online GWT/GAE mini-book

2010-12-02 Thread marius.andreiana
Hi everyone,


I'm glad to announce a free, online GWT 2.1  GAE mini-book. It's
available at
http://code.google.com/p/gwt-gae-book


The book aims to introduce engineers on how to professionally develop
applications using Google Web Toolkit and App Engine by developing a
full real application step by step.


I'd like to thank the following persons for reviewing the contents and
suggesting numerous improvements before making the book public:
Philippe Beaudoin, Christian Goudreau, John Patterson, Zack Grossbart.
Thanks!


Hope you'll find it useful. Looking forward to your feedback and
contributions,
Marius

-- 
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: 1.4 eclipse plugin

2010-12-02 Thread emerix
Great release! Are there some libraries/docs for GWT and the Channel
API ?

On Dec 2, 10:17 pm, Ikai Lan (Google) ikai.l+gro...@google.com
wrote:
 They're still rolling out:

 http://code.google.com/appengine/docs/java/channel/

 If you see an error, wait a bit and refresh.

 --
 Ikai Lan
 Developer Programs Engineer, Google App Engine
 Blogger:http://googleappengine.blogspot.com
 Reddit:http://www.reddit.com/r/appengine
 Twitter:http://twitter.com/app_engine

 On Thu, Dec 2, 2010 at 1:10 PM, Ikai Lan (Google)
 ikai.l+gro...@google.comikai.l%2bgro...@google.com







  wrote:
  The docs aren't live yet. They'll be live later in the day.

  --
  Ikai Lan
  Developer Programs Engineer, Google App Engine
  Blogger:http://googleappengine.blogspot.com
  Reddit:http://www.reddit.com/r/appengine
  Twitter:http://twitter.com/app_engine

  On Thu, Dec 2, 2010 at 1:05 PM, Guillaume Laforge glafo...@gmail.comwrote:

  I don't see any Java API in the javadocs about the Channel API. Is it
  normal??

  On Thu, Dec 2, 2010 at 21:50, Guillaume Laforge glafo...@gmail.comwrote:

  Actually, one can download the SDK here at least:
 http://code.google.com/p/googleappengine/downloads/list

  On Thu, Dec 2, 2010 at 21:50, Guillaume Laforge glafo...@gmail.comwrote:

  It's not yet on the download area either, nor the documentation been
  updated.
  I guess the blog post was a bit in advance, and we'll see the artifacts
  shortly.
  We're all too excited and impatient :-)

  --
  Guillaume
 http://gaelyk.appspot.com

  On Thu, Dec 2, 2010 at 21:45, Matt Farnell mfarn...@gmail.com wrote:

  It seems 1.4 isn't yet available as on the eclipse plugin url
 http://dl.google.com/eclipse/plugin/3.6

  Is this an error or do we have to wait for a few extra days like last
  time?

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

  --
  Guillaume Laforge
  Groovy Project Manager
  Head of Groovy Development at SpringSource
 http://www.springsource.com/g2one

  --
  Guillaume Laforge
  Groovy Project Manager
  Head of Groovy Development at SpringSource
 http://www.springsource.com/g2one

  --
  Guillaume Laforge
  Groovy Project Manager
  Head of Groovy Development at SpringSource
 http://www.springsource.com/g2one

  --
  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.comgoogle-appengine-java%2B
   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] Old Tasks stopped working -- http://gae/api/appversion/cloneblobs?... return HTTP 500!

2010-12-02 Thread Dom Derrien
Hi,

I've an application heavily relying on tasks and sooner this
afternoon, the tasks stopped to be scheduled as normal. No error
reported, just them having disappeared.

Thinking it might be a side-effect of the deprecation of the API from
the labs, I updated my environment for 1.4.0, upgraded mock classes,
ran series of unit tests, etc. and when I was ready to deploy the
updated code with a new version number, I got something starting with:


Unable to update:
java.io.IOException: Error posting to URL:
https://appengine.google.com/api/appversion/cloneblobs?app_id=anothersocialeconomyversion=maelzel-40;
500 Internal Server Error

htmlhead
meta http-equiv=content-type content=text/html;charset=utf-8
title500 Server Error/title
/head
body text=#00 bgcolor=#ff
h1Error: Server Error/h1
h2The server encountered an error and could not complete your
request.pIf the problem persists, please A HREF=http://
code.google.com/appengine/community.htmlreport/A your problem and
mention this error message and the query that caused it./h2
h2/h2
/body/html

at
com.google.appengine.tools.admin.ServerConnection.send(ServerConnection.java:
149)
at
com.google.appengine.tools.admin.ServerConnection.post(ServerConnection.java:
82)
at
com.google.appengine.tools.admin.AppVersionUpload.send(AppVersionUpload.java:
582)
at
com.google.appengine.tools.admin.AppVersionUpload.cloneFiles(AppVersionUpload.java:
452)
at
com.google.appengine.tools.admin.AppVersionUpload.beginTransaction(AppVersionUpload.java:
414)
at
com.google.appengine.tools.admin.AppVersionUpload.doUpload(AppVersionUpload.java:
112)
at
com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java:
56)
at com.google.appengine.tools.admin.AppCfg
$UpdateAction.execute(AppCfg.java:547)
at com.google.appengine.tools.admin.AppCfg.init(AppCfg.java:138)
at com.google.appengine.tools.admin.AppCfg.init(AppCfg.java:61)
at com.google.appengine.tools.admin.AppCfg.main(AppCfg.java:57)
com.google.appengine.tools.admin.AdminException: Unable to update app:
Error posting to URL:
https://appengine.google.com/api/appversion/cloneblobs?app_id=anothersocialeconomyversion=maelzel-40;
500 Internal Server Error


As it is an error server-side, it seems my users are stuck with a
broken app I cannot update :(

Any suggestion?

A+, Dom

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



Re: [appengine-java] Re: 1.4 eclipse plugin

2010-12-02 Thread Ikai Lan (Google)
Dance dance robot is a bit older and the API may have changed slightly (not
sure, I have not done a visual check), but it's a good example of how to use
JSNI with the Channel API:

http://code.google.com/p/dance-dance-robot/

--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blogger: http://googleappengine.blogspot.com
Reddit: http://www.reddit.com/r/appengine
Twitter: http://twitter.com/app_engine



On Thu, Dec 2, 2010 at 3:50 PM, emerix rafa...@gmail.com wrote:

 Great release! Are there some libraries/docs for GWT and the Channel
 API ?

 On Dec 2, 10:17 pm, Ikai Lan (Google) 
 ikai.l+gro...@google.comikai.l%2bgro...@google.com
 
 wrote:
  They're still rolling out:
 
  http://code.google.com/appengine/docs/java/channel/
 
  If you see an error, wait a bit and refresh.
 
  --
  Ikai Lan
  Developer Programs Engineer, Google App Engine
  Blogger:http://googleappengine.blogspot.com
  Reddit:http://www.reddit.com/r/appengine
  Twitter:http://twitter.com/app_engine
 
  On Thu, Dec 2, 2010 at 1:10 PM, Ikai Lan (Google)
  ikai.l+gro...@google.com ikai.l%2bgro...@google.com
 ikai.l%2bgro...@google.com ikai.l%252bgro...@google.com
 
 
 
 
 
 
 
   wrote:
   The docs aren't live yet. They'll be live later in the day.
 
   --
   Ikai Lan
   Developer Programs Engineer, Google App Engine
   Blogger:http://googleappengine.blogspot.com
   Reddit:http://www.reddit.com/r/appengine
   Twitter:http://twitter.com/app_engine
 
   On Thu, Dec 2, 2010 at 1:05 PM, Guillaume Laforge glafo...@gmail.com
 wrote:
 
   I don't see any Java API in the javadocs about the Channel API. Is it
   normal??
 
   On Thu, Dec 2, 2010 at 21:50, Guillaume Laforge glafo...@gmail.com
 wrote:
 
   Actually, one can download the SDK here at least:
  http://code.google.com/p/googleappengine/downloads/list
 
   On Thu, Dec 2, 2010 at 21:50, Guillaume Laforge glafo...@gmail.com
 wrote:
 
   It's not yet on the download area either, nor the documentation been
   updated.
   I guess the blog post was a bit in advance, and we'll see the
 artifacts
   shortly.
   We're all too excited and impatient :-)
 
   --
   Guillaume
  http://gaelyk.appspot.com
 
   On Thu, Dec 2, 2010 at 21:45, Matt Farnell mfarn...@gmail.com
 wrote:
 
   It seems 1.4 isn't yet available as on the eclipse plugin url
  http://dl.google.com/eclipse/plugin/3.6
 
   Is this an error or do we have to wait for a few extra days like
 last
   time?
 
   --
   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.comgoogle-appengine-java%2bunsubscr...@googlegroups.comgoogle-appengine-java%2B
 unsubscr...@googlegroups.com
   .
   For more options, visit this group at
  http://groups.google.com/group/google-appengine-java?hl=en.
 
   --
   Guillaume Laforge
   Groovy Project Manager
   Head of Groovy Development at SpringSource
  http://www.springsource.com/g2one
 
   --
   Guillaume Laforge
   Groovy Project Manager
   Head of Groovy Development at SpringSource
  http://www.springsource.com/g2one
 
   --
   Guillaume Laforge
   Groovy Project Manager
   Head of Groovy Development at SpringSource
  http://www.springsource.com/g2one
 
   --
   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.comgoogle-appengine-java%2bunsubscr...@googlegroups.comgoogle-appengine-java%2B
 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.comgoogle-appengine-java%2bunsubscr...@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] Tic Tac Toe not there

2010-12-02 Thread Thomas Wiradikusuma
I just read 1.4.0 release announcement, congrats to GAE team!

Btw the sample project doesn't seem to exist
http://code.google.com/p/java-channel-tac-toe/

-- 
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: Old Tasks stopped working -- http://gae/api/appversion/cloneblobs?... return HTTP 500!

2010-12-02 Thread Dom Derrien
Before posting my message here, I looked at various sources to see if
someone else was experiencing the same issue... After 20 minutes of
successives retries, being afraid to be really stuck, I decided to
post my message.

And guess what: 5-10mn later my update finally passes through!!!
Hurray :D

Forgive me for the noise.

Going back to see what's wrong with the tasks.

A+, Dom
--
On Dec 2, 8:54 pm, Dom Derrien dominique.derr...@gmail.com wrote:
 Hi,

 I've an application heavily relying on tasks and sooner this
 afternoon, the tasks stopped to be scheduled as normal. No error
 reported, just them having disappeared.

 Thinking it might be a side-effect of the deprecation of the API from
 the labs, I updated my environment for 1.4.0, upgraded mock classes,
 ran series of unit tests, etc. and when I was ready to deploy the
 updated code with a new version number, I got something starting with:



 Unable to update:
 java.io.IOException: Error posting to 
 URL:https://appengine.google.com/api/appversion/cloneblobs?app_id=another...
 500 Internal Server Error

 htmlhead
 meta http-equiv=content-type content=text/html;charset=utf-8
 title500 Server Error/title
 /head
 body text=#00 bgcolor=#ff
 h1Error: Server Error/h1
 h2The server encountered an error and could not complete your
 request.pIf the problem persists, please A HREF=http://
 code.google.com/appengine/community.htmlreport/A your problem and
 mention this error message and the query that caused it./h2
 h2/h2
 /body/html

         at
 com.google.appengine.tools.admin.ServerConnection.send(ServerConnection.java:
 149)
         at
 com.google.appengine.tools.admin.ServerConnection.post(ServerConnection.java:
 82)
         at
 com.google.appengine.tools.admin.AppVersionUpload.send(AppVersionUpload.java:
 582)
         at
 com.google.appengine.tools.admin.AppVersionUpload.cloneFiles(AppVersionUpload.java:
 452)
         at
 com.google.appengine.tools.admin.AppVersionUpload.beginTransaction(AppVersionUpload.java:
 414)
         at
 com.google.appengine.tools.admin.AppVersionUpload.doUpload(AppVersionUpload.java:
 112)
         at
 com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java:
 56)
         at com.google.appengine.tools.admin.AppCfg
 $UpdateAction.execute(AppCfg.java:547)
         at com.google.appengine.tools.admin.AppCfg.init(AppCfg.java:138)
         at com.google.appengine.tools.admin.AppCfg.init(AppCfg.java:61)
         at com.google.appengine.tools.admin.AppCfg.main(AppCfg.java:57)
 com.google.appengine.tools.admin.AdminException: Unable to update app:
 Error posting to 
 URL:https://appengine.google.com/api/appversion/cloneblobs?app_id=another...
 500 Internal Server Error
 

 As it is an error server-side, it seems my users are stuck with a
 broken app I cannot update :(

 Any suggestion?

 A+, Dom

-- 
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] Any idea on channel api without javascript?

2010-12-02 Thread Benjamin
Hi there,
I am currently using GAE as our game's server, we are not using
javascript as the frontend, but channel api is quite a useful stuff
for us.
Is there any way we can use the channel api without javascript?

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