[appengine-java] Re: How are static files handled in the servlet container?

2010-10-20 Thread TL
Anyone? Can you add a filter that will handle static files (like
minify)?

-- 
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: File size when downloading files is missing

2010-10-20 Thread rapher
Am i really alone with this problem?

blobstoreService.serve(blobKey, byterange, res) doesn't work either.

-- 
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: Jetty binds to localhost and not my wireless IP

2010-10-20 Thread Maxim Veksler
For eclipse do the following:

Click on the the [project name]  Debug As  Debug Configurations...
Go to Web Application  [project name]
Here under tab named Arguments add the following: --address=0.0.0.0,
so that your Arguments look like this: --port= --address=0.0.0.0 /
home/maxim/workspace/[project name]/war
Click apply.

From now on, your Jetty should start on 0.0.0.0:, you can verify
this by running lsof -i -P on Linux, the output should look like this:
ma...@maxim-desktop:~$ lsof -i -P | grep

java  17717 maxim   75r  IPv6 365614  0t0  TCP *: (LISTEN)


For reference, these are the options this command accepts:

Usage: dev-appserver [options] war directory

Options:
 --help, -h Show this help message and exit.
 --server=SERVERThe server to use to determine the latest
  -s SERVER   SDK version.
 --address=ADDRESS  The address of the interface on the local
machine
  -a ADDRESS  to bind to (or 0.0.0.0 for all
interfaces).
 --port=PORTThe port number to bind to on the local
machine.
  -p PORT
 --sdk_root=rootOverrides where the SDK is located.
 --disable_update_check Disable the check for newer SDK versions.


HTH

On Aug 14, 3:06 am, Jason Proctor juvat...@gmail.com wrote:
 in your build.xml, in the runserver target, add an address
 attribute to the dev_appserver tag --

 dev_appserver
   war=war
   address=0.0.0.0
 /

 works for me!

 On Jul 1, 3:13 pm, John Patterson jdpatter...@gmail.com wrote:







  Try -bindAddress 0.0.0.0 - it works for GWT, not sure about Jetty.

  On 2 Jul 2010, at 03:25, keyeslabs wrote:

   I'm running GAE eclipse dev environment (GAE installed via the eclipse
   update mechanism).  When I run my GAE application locally, it starts
   jetty, which seems to bind to localhost (127.0.0.1) rather than my
   machine's IP associated with my wireless card.  When I try to connect
   to the running GAE app from another machine using, for example,
  http://192.168.1.100:, the connection fails.  Things work from the
   machine on which the app is running by usinghttp://localhost:.

   So... my question is, how can I make jetty bind to more than one IP,
   or perhaps to a different IP?  Are there command-line params that I
   can pass to the Eclipse target?

   Thanks for the help!

   --  
   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 
   athttp://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] Discussion on will-it-play-in-app-engine

2010-10-20 Thread Cornel Creanga
BlazeDS messaging does not work on GAE.

-- 
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.3.8 upgrade delete datastore contents

2010-10-20 Thread Yegor
Actually, I have seen this behaviour in several recent releases of the
SDK. At this point, every time I upgrade, I kinda half-expect that my
test data will be gone. It would be nice if local data persisted
between releases.

On Oct 19, 12:20 pm, Ikai Lan (Google) ikai.l+gro...@google.com
wrote:
 This is a known issue with the 1.3.8 release. We're looking into it.

 --
 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, Oct 18, 2010 at 11:06 AM, Christian Goudreau 







 goudreau.christ...@gmail.com wrote:
  Same here and that's kinda problematic, I had a lot of test data and it
  would take days to reinitialize everything...  I guess I'll have no other
  choice but to come back to AppEngine 1.3.7 since the datastore.bin doesn't
  seem to be affected.

  Cheers,

  On Mon, Oct 18, 2010 at 2:29 AM, Vlad Skarzhevskyy skarzhevs...@gmail.com
   wrote:

  My data also disappeared in development environment with the same
  error.

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

  --
  Christian Goudreau
 www.arcbees.com

   --
  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] Recommended maximum number of entities in an entity group

2010-10-20 Thread nicanor.babula
Hi everbody,

I have a question regarding the datastore best-practices.

The appengine's official documentation says that is not a good
practice to put too many entities in the same entity group. What does
too many mean in this case? Hundreds? Thousands? Milions?

Thanks in advance,
Cristian Babula.

-- 
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] Please anyone from google on this

2010-10-20 Thread Gal Dolber
http://www.google.com/support/forum/p/Web+Search/thread?tid=47496ffe5ea01d39hl=en

I notice that it works ok on gwt's showcase.
Thanks

-- 
Guit: Elegant, beautiful, modular and *production ready* gwt applications.

http://code.google.com/p/guit/

-- 
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] AsyncDatastoreService - ready for use?

2010-10-20 Thread timwhunt
Someone pointed out in the Objectify group that there is now an
AsyncDatastoreService in the docs - see
http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/AsyncDatastoreService.html

I don't believe this was mentioned in any release notes, but I think
it is new (Did I miss it?).

So is it ready for regular use?

I don't see any query methods on the service like prepare(Query
query).  Can a query be done asynchronously?  How?

I've been looking forward to asynchronous Datastore access, so I'm
glad to see this!

-Tim

-- 
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] Include appengine-api-labs-1.3.8.jar in application deploy for TaskQueue?

2010-10-20 Thread andrew
In my application I have started to experiment with TaskQueue.

After deploying, on execution in the cloud I get the following
exception:

java.lang.NoClassDefFoundError: com/google/appengine/api/labs/
taskqueue/QueueFactory

I assume this is because TaskQueue is still in labs, and so is in the
appengine-api-labs-1.3.8.jar in the eclipse/plugins folder.

So, my question is:

Should include appengine-api-labs-1.3.8.jar in my project, copy it
to my /war/ folder and deploy it with my application into the cloud?

If so, I assume it's recommended to always upload the same version of
this jar (1.3.8) as the version of the production environment (1.3.8).

thanks

Andrew

-- 
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] Include appengine-api-labs-1.3.8.jar in application deploy for TaskQueue?

2010-10-20 Thread Don Schwarz
On Wed, Oct 20, 2010 at 3:48 PM, andrew aute...@gmail.com wrote:
 In my application I have started to experiment with TaskQueue.

 After deploying, on execution in the cloud I get the following
 exception:

 java.lang.NoClassDefFoundError: com/google/appengine/api/labs/
 taskqueue/QueueFactory

 I assume this is because TaskQueue is still in labs, and so is in the
 appengine-api-labs-1.3.8.jar in the eclipse/plugins folder.

 So, my question is:

 Should include appengine-api-labs-1.3.8.jar in my project, copy it
 to my /war/ folder and deploy it with my application into the cloud?


Yes.

 If so, I assume it's recommended to always upload the same version of
 this jar (1.3.8) as the version of the production environment (1.3.8).

Ideally, yes.

-- 
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: Include appengine-api-labs-1.3.8.jar in application deploy for TaskQueue?

2010-10-20 Thread andrew
VERY prompt reply Don.

Thanks.

I see another post here on a related subject.

Maybe for future releases the JARs in the SDK that ARE present in the
cloud could be separated from the JARs that must be uploaded with the
app (separate folders under lib?)?

Just an idea. Would help make our build scripts clearer, using a
classpath for the included ones and a copy to war for the non-included
ones, and we wouldn´t need to exclude explicitly from our war the
ones that are included in the production environment.

regards

-- 
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] AsyncDatastoreService - ready for use?

2010-10-20 Thread Ikai Lan (Google)
Good eyes! No, this isn't ready for use yet. You can't get an instance of
AsyncDatastoreService. The backend isn't ready for this call. We wanted to
release this, but there were showstopper bugs that prevented us from
shipping it. Look for it in an upcoming release.

--
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 Wed, Oct 20, 2010 at 1:02 PM, timwhunt timwh...@gmail.com wrote:

 Someone pointed out in the Objectify group that there is now an
 AsyncDatastoreService in the docs - see

 http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/AsyncDatastoreService.html

 I don't believe this was mentioned in any release notes, but I think
 it is new (Did I miss it?).

 So is it ready for regular use?

 I don't see any query methods on the service like prepare(Query
 query).  Can a query be done asynchronously?  How?

 I've been looking forward to asynchronous Datastore access, so I'm
 glad to see this!

 -Tim

 --
 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] Re: java.net.InetAddress present in new 1.3.8 SDK but not on live servers

2010-10-20 Thread mscwd01
Ikai, did you get a chance to look into this? When can we expect every
app to be upgraded to 1.3.8?

-- 
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: java.net.InetAddress present in new 1.3.8 SDK but not on live servers

2010-10-20 Thread Ikai Lan (Google)
You're in the 1.3.8 pool. I don't know why you are getting the error, since
others are reporting that it's working fine for them. I'm hoping to try to
reproduce this when I get a chance.

--
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 Wed, Oct 20, 2010 at 4:27 PM, mscwd01 mscw...@gmail.com wrote:

 Okay now I'm confused. I added a quick test page to see what version
 my app is running and it appears I am on 1.3.8.

 http://aduru-app.appspot.com/test.jsp

 How can I be getting this error then?

 Internal Server Error (500) - com/google/apphosting/runtime/security/
 shared/stub/java/net/InetAddress
 ...
 Caused by: java.lang.NoClassDefFoundError: com/google/apphosting/
 runtime/security/shared/stub/java/net/InetAddress



 On Oct 20, 11:12 pm, mscwd01 mscw...@gmail.com wrote:
  Ikai, did you get a chance to look into this? When can we expect every
  app to be upgraded to 1.3.8?

 --
 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] Automatic logout via Google Login Service ?

2010-10-20 Thread Didier Durand
Hello,

I implemented UserService with GWT to get the login service of Google
Accounts. Works fine with the provided login and logout links.

But, Google Accounts will accept login for all the accounts it knows
(much much more than my application with a few users only)

How can I force logout of a user that Google Accounts accepts right
after the login because my application doesn't know this user ?

Thanks
didier

-- 
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] OpenID Development server

2010-10-20 Thread Fabrizio Accatino
Issue opened
http://code.google.com/p/googleappengine/issues/detail?id=3922
http://code.google.com/p/googleappengine/issues/detail?id=3922

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