Re: [appengine-java] Tasks SSL

2010-11-09 Thread Fabrizio Accatino
 - what error do you receive?  copy and paste log
 - try to remove ssl. The connection is internal. (AFAIK)

fabrizio


On Tue, Nov 9, 2010 at 3:37 AM, Dom Derrien dominique.derr...@gmail.comwrote:

 Context:
 - Tasks as defined in
 http://code.google.com/appengine/docs/java/taskqueue/overview.html
 - Secured URLs as described in
 http://code.google.com/appengine/docs/java/config/webxml.html

 In the following excerpts, you can see I want to be sure that only
 administrators can access over SSL resources  in the /_admin folder.
 This works fine when I access JSP page or call a servlet. However, the
 automatic task execution fails continuously on production, which
 generates a never ending task rescheduling...

 - Sample task scheduling:
QueueFactory.getDefaultQueue().add(url(/
 _admin/...).method(Method.GET));
 - web.xml part:
security-constraint
web-resource-collection
url-pattern/_admin/*/url-pattern
/web-resource-collection
auth-constraint
role-nameadmin/role-name
/auth-constraint
user-data-constraint
transport-guaranteeCONFIDENTIAL/transport-guarantee
/user-data-constraint
/security-constraint

 As tasks are issued server-side and consumed there without having
 transited on the public Internet (I hope so), I don't think there's a
 risk of having non encrypted task calls.

 I've just created another path for my tasks entry points (/_tasks) and
 the path is not covered by the SSL restriction. Is it the right way?
 Or did I hit a defect?

 Thanks,
 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.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] XMLSerializer for appengine Java

2010-11-09 Thread andrew
Is there a supported/included XMLSerializer that I can use on GAE-JAVA
for generating XML responses, without doing it all by hand in our own
code.

It's for XML output from Java objects, which are NOT dom documents or
likewise.

If it performs XML entity encoding, then even better.

I have searched and just found other posts on the net asking for the
same, or complaining, and org.xmlpull... doesn't seem to work.

If there are any tricks, then sample code to instantiate/call is very
appreciated.

thanks

-- 
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] No API environment is registered for this thread

2010-11-09 Thread Bhim Khadka
On 11/7/10, Eyal twoworldsf...@gmail.com wrote:
 Hi all,

 I'm trying to use JDO in an app engine application on Eclipse. When I
 use a web interface I'm able to make it work just fine. But I need to
 be able to run it as a java application and when I try I get the
 following exception:

 java.lang.NullPointerException: No API environment is registered for
 this thread.
   at
 com.google.appengine.api.datastore.DatastoreApiHelper.getCurrentAppId(DatastoreApiHelper.java:
 108)
   at
 com.google.appengine.api.datastore.DatastoreApiHelper.getCurrentAppIdNamespace(DatastoreApiHelper.java:
 118)
   at com.google.appengine.api.datastore.Query.init(Query.java:87)
   at
 org.datanucleus.store.appengine.query.DatastoreQuery.validate(DatastoreQuery.java:
 649)
   at
 org.datanucleus.store.appengine.query.DatastoreQuery.performExecute(DatastoreQuery.java:
 215)
   at
 org.datanucleus.store.appengine.query.JDOQLQuery.performExecute(JDOQLQuery.java:
 89)
   at org.datanucleus.store.query.Query.executeQuery(Query.java:1489)
   at org.datanucleus.store.query.Query.executeWithArray(Query.java:
 1371)
   at org.datanucleus.store.query.Query.execute(Query.java:1344)
   at org.datanucleus.jdo.JDOQuery.execute(JDOQuery.java:221)
   at com.eyes.manager.UpdateManager.main(UpdateManager.java:39)


 This is my jdeoconfig.xml, which is generated by the Eclipse plugin:

 ?xml version=1.0 encoding=utf-8?
 jdoconfig xmlns=http://java.sun.com/xml/ns/jdo/jdoconfig;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:noNamespaceSchemaLocation=http://java.sun.com/xml/ns/jdo/
 jdoconfig

persistence-manager-factory name=transactions-optional
property name=javax.jdo.PersistenceManagerFactoryClass

 value=org.datanucleus.store.appengine.jdo.DatastoreJDOPersistenceManagerFactory/

property name=javax.jdo.option.ConnectionURL
 value=appengine/
property name=javax.jdo.option.NontransactionalRead
 value=true/
property name=javax.jdo.option.NontransactionalWrite
 value=true/
property name=javax.jdo.option.RetainValues value=true/
property name=datanucleus.appengine.autoCreateDatastoreTxns
 value=true/
/persistence-manager-factory
 /jdoconfig

 Any idea how can I solve this? How do I register the API
 Environment?

 Thanks!
Bhim Bdr. Khadka
Lalrakshak Prakashan Pvt. Ltd
Phone: 01 4111974
Mobile No: 981096073

-- 
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: XMLSerializer for appengine Java

2010-11-09 Thread Didier Durand
Hi Andrew,

Check the bottom of 
http://code.google.com/appengine/docs/java/jrewhitelist.html,
you'll see the native xml classes of javax.xml.* supported by App
Engine.

regards
didier

On Nov 9, 10:15 am, andrew aute...@gmail.com wrote:
 Is there a supported/included XMLSerializer that I can use on GAE-JAVA
 for generating XML responses, without doing it all by hand in our own
 code.

 It's for XML output from Java objects, which are NOT dom documents or
 likewise.

 If it performs XML entity encoding, then even better.

 I have searched and just found other posts on the net asking for the
 same, or complaining, and org.xmlpull... doesn't seem to work.

 If there are any tricks, then sample code to instantiate/call is very
 appreciated.

 thanks

-- 
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: No API environment is registered for this thread

2010-11-09 Thread Eyal
Bhim, did you write anything?

Didier, I tried it but it doesn't work. I think that at this point I
have three more things to try:

1. Deploy a Java app and set up a cron job to start it, and hope
something good happens.

2. Run the demo app at
http://code.google.com/p/ga-api-java-samples/source/browse/trunk/src/v1/appengine-sample/#appengine-sample/src/sample/logic
. It seems to be doing exactly what I'm doing but maybe I'm missing
something.

3. This one is actually a question: can I get to the application's
datastore from outside of App Engine? If I can write to from another
technology altogether my application can work. But I assume that this
would require using some remote technology, a Web Service maybe, and
it seems like an overkill for an application that using a traditional
database and hosting service is conceptually very simple.

I'm going to post this to the Analytics group as well, and if none of
the above solutions work I'll have to ditch App Engine. It's
unfortunate because the technology is super-cool but if I can't get it
to work, I can't get it to work.

Thanks,
Eyal

On Nov 9, 11:32 am, Didier Durand durand.did...@gmail.com wrote:
 Hi Eyal,

 Now I get it: you're reaching the URL fetch timeout of App Engine

 Readhttp://code.google.com/appengine/docs/java/urlfetch/overview.html#Req...
 to get the instructions to set this timeout to see if it's enough for
 you to go through.

 regards

 didier

 On Nov 9, 10:23 am, Bhim Khadka khadka.b...@gmail.com wrote:







  On 11/7/10, Eyal twoworldsf...@gmail.com wrote:

   Hi all,

   I'm trying to use JDO in an app engine application on Eclipse. When I
   use a web interface I'm able to make it work just fine. But I need to
   be able to run it as a java application and when I try I get the
   following exception:

   java.lang.NullPointerException: No API environment is registered for
   this thread.
      at
   com.google.appengine.api.datastore.DatastoreApiHelper.getCurrentAppId(Datas
toreApiHelper.java:
   108)
      at
   com.google.appengine.api.datastore.DatastoreApiHelper.getCurrentAppIdNamesp
ace(DatastoreApiHelper.java:
   118)
      at com.google.appengine.api.datastore.Query.init(Query.java:87)
      at
   org.datanucleus.store.appengine.query.DatastoreQuery.validate(DatastoreQuer
y.java:
   649)
      at
   org.datanucleus.store.appengine.query.DatastoreQuery.performExecute(Datasto
reQuery.java:
   215)
      at
   org.datanucleus.store.appengine.query.JDOQLQuery.performExecute(JDOQLQuery.
java:
   89)
      at org.datanucleus.store.query.Query.executeQuery(Query.java:1489)
      at org.datanucleus.store.query.Query.executeWithArray(Query.java:
   1371)
      at org.datanucleus.store.query.Query.execute(Query.java:1344)
      at org.datanucleus.jdo.JDOQuery.execute(JDOQuery.java:221)
      at com.eyes.manager.UpdateManager.main(UpdateManager.java:39)

   This is my jdeoconfig.xml, which is generated by the Eclipse plugin:

   ?xml version=1.0 encoding=utf-8?
   jdoconfig xmlns=http://java.sun.com/xml/ns/jdo/jdoconfig;
      xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
      xsi:noNamespaceSchemaLocation=http://java.sun.com/xml/ns/jdo/
   jdoconfig

      persistence-manager-factory name=transactions-optional
          property name=javax.jdo.PersistenceManagerFactoryClass

   value=org.datanucleus.store.appengine.jdo.DatastoreJDOPersistenceManagerFa
ctory/

          property name=javax.jdo.option.ConnectionURL
   value=appengine/
          property name=javax.jdo.option.NontransactionalRead
   value=true/
          property name=javax.jdo.option.NontransactionalWrite
   value=true/
          property name=javax.jdo.option.RetainValues value=true/
          property name=datanucleus.appengine.autoCreateDatastoreTxns
   value=true/
      /persistence-manager-factory
   /jdoconfig

   Any idea how can I solve this? How do I register the API
   Environment?

   Thanks!

  Bhim Bdr. Khadka
  Lalrakshak Prakashan Pvt. Ltd
  Phone: 01 4111974
  Mobile No: 981096073

-- 
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: No API environment is registered for this thread

2010-11-09 Thread Didier Durand
Eyal,

1) Yes, working directly on App Engine, i.e very close to Google
Analytics will definitely help in terms of resp time so it may go
through with no problem.

3) You could write to App Engine Datastore from the outside via http
post and the ad hoc servlet responding to those post.


good luck and let us know

regards
didier

On Nov 9, 12:41 pm, Eyal twoworldsf...@gmail.com wrote:
 Bhim, did you write anything?

 Didier, I tried it but it doesn't work. I think that at this point I
 have three more things to try:

 1. Deploy a Java app and set up a cron job to start it, and hope
 something good happens.

 2. Run the demo app 
 athttp://code.google.com/p/ga-api-java-samples/source/browse/trunk/src/...
 . It seems to be doing exactly what I'm doing but maybe I'm missing
 something.

 3. This one is actually a question: can I get to the application's
 datastore from outside of App Engine? If I can write to from another
 technology altogether my application can work. But I assume that this
 would require using some remote technology, a Web Service maybe, and
 it seems like an overkill for an application that using a traditional
 database and hosting service is conceptually very simple.

 I'm going to post this to the Analytics group as well, and if none of
 the above solutions work I'll have to ditch App Engine. It's
 unfortunate because the technology is super-cool but if I can't get it
 to work, I can't get it to work.

 Thanks,
 Eyal

 On Nov 9, 11:32 am, Didier Durand durand.did...@gmail.com wrote:

  Hi Eyal,

  Now I get it: you're reaching the URL fetch timeout of App Engine

  Readhttp://code.google.com/appengine/docs/java/urlfetch/overview.html#Req...
  to get the instructions to set this timeout to see if it's enough for
  you to go through.

  regards

  didier

  On Nov 9, 10:23 am, Bhim Khadka khadka.b...@gmail.com wrote:

   On 11/7/10, Eyal twoworldsf...@gmail.com wrote:

Hi all,

I'm trying to use JDO in an app engine application on Eclipse. When I
use a web interface I'm able to make it work just fine. But I need to
be able to run it as a java application and when I try I get the
following exception:

java.lang.NullPointerException: No API environment is registered for
this thread.
   at
com.google.appengine.api.datastore.DatastoreApiHelper.getCurrentAppId(Datas
 toreApiHelper.java:
108)
   at
com.google.appengine.api.datastore.DatastoreApiHelper.getCurrentAppIdNamesp
 ace(DatastoreApiHelper.java:
118)
   at com.google.appengine.api.datastore.Query.init(Query.java:87)
   at
org.datanucleus.store.appengine.query.DatastoreQuery.validate(DatastoreQuer
 y.java:
649)
   at
org.datanucleus.store.appengine.query.DatastoreQuery.performExecute(Datasto
 reQuery.java:
215)
   at
org.datanucleus.store.appengine.query.JDOQLQuery.performExecute(JDOQLQuery.
 java:
89)
   at org.datanucleus.store.query.Query.executeQuery(Query.java:1489)
   at org.datanucleus.store.query.Query.executeWithArray(Query.java:
1371)
   at org.datanucleus.store.query.Query.execute(Query.java:1344)
   at org.datanucleus.jdo.JDOQuery.execute(JDOQuery.java:221)
   at com.eyes.manager.UpdateManager.main(UpdateManager.java:39)

This is my jdeoconfig.xml, which is generated by the Eclipse plugin:

?xml version=1.0 encoding=utf-8?
jdoconfig xmlns=http://java.sun.com/xml/ns/jdo/jdoconfig;
   xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
   xsi:noNamespaceSchemaLocation=http://java.sun.com/xml/ns/jdo/
jdoconfig

   persistence-manager-factory name=transactions-optional
       property name=javax.jdo.PersistenceManagerFactoryClass

value=org.datanucleus.store.appengine.jdo.DatastoreJDOPersistenceManagerFa
 ctory/

       property name=javax.jdo.option.ConnectionURL
value=appengine/
       property name=javax.jdo.option.NontransactionalRead
value=true/
       property name=javax.jdo.option.NontransactionalWrite
value=true/
       property name=javax.jdo.option.RetainValues value=true/
       property name=datanucleus.appengine.autoCreateDatastoreTxns
value=true/
   /persistence-manager-factory
/jdoconfig

Any idea how can I solve this? How do I register the API
Environment?

Thanks!

   Bhim Bdr. Khadka
   Lalrakshak Prakashan Pvt. Ltd
   Phone: 01 4111974
   Mobile No: 981096073

-- 
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] The disabling of sessions during a datastore down-time period

2010-11-09 Thread Ian Marshall
In the GAE/J documentation for Gracefully Degrading During Scheduled
Maintenance it states

Note: Because App Engine for Java sessions are backed by memcache and
the datastore, sessions are effectively disabled during read-only
periods. You must take this into account when designing your
application.

My code for detecting datastore down-times failed during last
Saturday's scheduled down-time. It attempts to detect a down-time by
writing to the mem cache using a StrictErrorHandler, and responding to
any MemcacheServiceException raised to disable parts of my web site
which write to the datastore, but I got severe errors before this got
detected:

  com.google.apphosting.api.ApiProxy$CapabilityDisabledException:
   The API call datastore_v3.Put() is temporarily unavailable.

This could be my fault in many ways (perhaps the mem cache stayed up).
In particular, I suspect that my app's use of sessions is at fault.
The relevant fragment of my appengine-web.xml config is:

  appengine-web-app xmlns=http://appengine.google.com/ns/1.0;
...
sessions-enabledtrue/sessions-enabled
...
  /appengine-web-app

This may be a silly question, but in what ways can one anticipate,
detect and handle the disabling of sessions during a datastore down-
time period?

-- 
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] Google Analytics on App Engine in Java

2010-11-09 Thread Eyal
Hi all,

Has anyone been successful in running this demo app and getting
results?
http://code.google.com/apis/analytics/docs/articles/gdataAppEngine.html

I'm running it on my machine but I'm getting a Timeout while
fetching: https://www.google.com/analytics/feeds/accounts/default;
error and no results come back.

If anyone can tell me how to get this to work I'll truly appreciate
it.

Thanks,
Eyal

-- 
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] GAE or EC2

2010-11-09 Thread Maxim Veksler
Hi Ikai,

I would like to tackle the question from a different angel.


Is GAE ready for real time web applications? What would your suggestion be
for a startup such as ours, where the service *must* be online 24/7 and
every minute of downtime costs our clients money (law suits... let's not
get into that). Can we base our business model on GAE? Do you consider the
system production ready? Would you advise we have an ready for execution
exit strategy?

I understand these are though questions to answer being a Google employee.

Judging by past month pingdom monitoring history of our POC - the error rate
is relatively high (HTTP 500,  30sec reply timeouts and co.). Please don't
get me wrong we are happy with GAE, our company communication is running on
Google Apps Premium and we would gladly signup for Google App Engine for
Business SLA (b.t.w, if any early testers access is available - Please let
me know).

I would appreciate comments on the above.

Also, a note about EC2 as it came up in this thread. We run our rendering 
analytics on EC2. Works cool as long as you don't need autoscale (manual,
before job submission scale is super easy -- Just API fire up as many
instances as you need).

Maxim.

On Tue, Nov 9, 2010 at 4:50 AM, Ikai Lan (Google)
ikai.l+gro...@google.comikai.l%2bgro...@google.com
 wrote:

 I'm biased, naturally, but here's my piece:

 They're both great, young platforms, and successful businesses have been
 built on both Google App Engine as well as Amazon EC2. Amazon's lower level
 access appeals to some, whereas Google App Engine's abstractions appeal to
 the folks in this group.

 Have you actually used EC2 before? If not, new accounts can sign up for a
 free micro instance. You'll want to check this out before you make any
 decisions. Since you're already looking at EC2, why not look at VPS
 solutions? I personally prefer a provider such as Slicehost or Linode to EC2
 for anything I can't currently do on Google App Engine.

 --
 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 8, 2010 at 5:59 PM, JY jy2...@gmail.com wrote:

 I want to ask fellow GAE users whether you think GAE is good choice to
 build real business on?
 I have used GAE for some personal projects, and right now help a
 friend on a tiny start up (but with big dream). The project is related
 to social network - I am thinking of two options:
 1, GAE
 The benefits are obvious. However, it is also locking you inyou
 don't have much control over it. If you are unhappy later, you will
 have to redo the persistence layer and migrate data etc.
 2, EC2
 You have much more control, and if the start-up gets funding, it is
 easy to migrate to dedicated hosting or even its own data center. The
 down side is developer (me, and only me) will have to spend quite some
 time to take care of the infrastructure (although I like this kind of
 work...)

 I think my biggest concern of GAE is over the quality of service, and
 the data-store - if I go EC2, I probably will use a NoSQL solution
 like MogoDb, or Cassandra. The development efforts might be similar -
 all products are sort of young, hot, and limited.

 Thanks.

 JY

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

2010-11-09 Thread l.denardo
If possible, I think this post could be added in the ones linked in
the SpringSecurity section:

http://blog.springsource.com/2010/08/02/spring-security-in-google-app-engine/

This is a much more up-to-date tutorial about SpringSecurity on GAE,
first hand from spring source.
Regards

Lorenzo

-- 
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: GAE or EC2

2010-11-09 Thread Robert Lancer
Well I certainly hope the lockin will end very soon (I've been waiting
for over a year), http://code.google.com/cloudportability/

But who knows, I've learned you cant trust Google, they are even
trying to kill net neutrality!

On Nov 9, 9:08 am, Maxim Veksler ma...@vekslers.org wrote:
 Hi Ikai,

 I would like to tackle the question from a different angel.

 Is GAE ready for real time web applications? What would your suggestion be
 for a startup such as ours, where the service *must* be online 24/7 and
 every minute of downtime costs our clients money (law suits... let's not
 get into that). Can we base our business model on GAE? Do you consider the
 system production ready? Would you advise we have an ready for execution
 exit strategy?

 I understand these are though questions to answer being a Google employee.

 Judging by past month pingdom monitoring history of our POC - the error rate
 is relatively high (HTTP 500,  30sec reply timeouts and co.). Please don't
 get me wrong we are happy with GAE, our company communication is running on
 Google Apps Premium and we would gladly signup for Google App Engine for
 Business SLA (b.t.w, if any early testers access is available - Please let
 me know).

 I would appreciate comments on the above.

 Also, a note about EC2 as it came up in this thread. We run our rendering 
 analytics on EC2. Works cool as long as you don't need autoscale (manual,
 before job submission scale is super easy -- Just API fire up as many
 instances as you need).

 Maxim.

 On Tue, Nov 9, 2010 at 4:50 AM, Ikai Lan (Google)
 ikai.l+gro...@google.comikai.l%2bgro...@google.com







  wrote:
  I'm biased, naturally, but here's my piece:

  They're both great, young platforms, and successful businesses have been
  built on both Google App Engine as well as Amazon EC2. Amazon's lower level
  access appeals to some, whereas Google App Engine's abstractions appeal to
  the folks in this group.

  Have you actually used EC2 before? If not, new accounts can sign up for a
  free micro instance. You'll want to check this out before you make any
  decisions. Since you're already looking at EC2, why not look at VPS
  solutions? I personally prefer a provider such as Slicehost or Linode to EC2
  for anything I can't currently do on Google App Engine.

  --
  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 8, 2010 at 5:59 PM, JY jy2...@gmail.com wrote:

  I want to ask fellow GAE users whether you think GAE is good choice to
  build real business on?
  I have used GAE for some personal projects, and right now help a
  friend on a tiny start up (but with big dream). The project is related
  to social network - I am thinking of two options:
  1, GAE
  The benefits are obvious. However, it is also locking you inyou
  don't have much control over it. If you are unhappy later, you will
  have to redo the persistence layer and migrate data etc.
  2, EC2
  You have much more control, and if the start-up gets funding, it is
  easy to migrate to dedicated hosting or even its own data center. The
  down side is developer (me, and only me) will have to spend quite some
  time to take care of the infrastructure (although I like this kind of
  work...)

  I think my biggest concern of GAE is over the quality of service, and
  the data-store - if I go EC2, I probably will use a NoSQL solution
  like MogoDb, or Cassandra. The development efforts might be similar -
  all products are sort of young, hot, and limited.

  Thanks.

  JY

  --
  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.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] Re: Tasks SSL

2010-11-09 Thread Dom Derrien
Re: what error = no error logged, task fails continuously and is
automatically retried (indefinitely).
Re: remove SSL = that's the workaround I described and applied.

My questions to the GAE/J team are:
- Is the workaround the right way?
- Did I hit a bug?

A+, Dom
--
On Nov 9, 3:05 am, Fabrizio Accatino fht...@gmail.com wrote:
  - what error do you receive?  copy and paste log
  - try to remove ssl. The connection is internal. (AFAIK)

 fabrizio

 On Tue, Nov 9, 2010 at 3:37 AM, Dom Derrien 
 dominique.derr...@gmail.comwrote:

  Context:
  - Tasks as defined in
 http://code.google.com/appengine/docs/java/taskqueue/overview.html
  - Secured URLs as described in
 http://code.google.com/appengine/docs/java/config/webxml.html

  In the following excerpts, you can see I want to be sure that only
  administrators can access over SSL resources  in the /_admin folder.
  This works fine when I access JSP page or call a servlet. However, the
  automatic task execution fails continuously on production, which
  generates a never ending task rescheduling...

  - Sample task scheduling:
     QueueFactory.getDefaultQueue().add(url(/
  _admin/...).method(Method.GET));
  - web.xml part:
     security-constraint
         web-resource-collection
             url-pattern/_admin/*/url-pattern
         /web-resource-collection
         auth-constraint
             role-nameadmin/role-name
         /auth-constraint
         user-data-constraint
             transport-guaranteeCONFIDENTIAL/transport-guarantee
         /user-data-constraint
     /security-constraint

  As tasks are issued server-side and consumed there without having
  transited on the public Internet (I hope so), I don't think there's a
  risk of having non encrypted task calls.

  I've just created another path for my tasks entry points (/_tasks) and
  the path is not covered by the SSL restriction. Is it the right way?
  Or did I hit a defect?

  Thanks,
  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.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: GAE or EC2

2010-11-09 Thread kellin
Have you checked Google App Engine for Business and benefits of having
this option http://code.google.com/appengine/business/

On Nov 8, 8:59 pm, JY jy2...@gmail.com wrote:
 I want to ask fellow GAE users whether you think GAE is good choice to
 build real business on?
 I have used GAE for some personal projects, and right now help a
 friend on a tiny start up (but with big dream). The project is related
 to social network - I am thinking of two options:
 1, GAE
 The benefits are obvious. However, it is also locking you inyou
 don't have much control over it. If you are unhappy later, you will
 have to redo the persistence layer and migrate data etc.
 2, EC2
 You have much more control, and if the start-up gets funding, it is
 easy to migrate to dedicated hosting or even its own data center. The
 down side is developer (me, and only me) will have to spend quite some
 time to take care of the infrastructure (although I like this kind of
 work...)

 I think my biggest concern of GAE is over the quality of service, and
 the data-store - if I go EC2, I probably will use a NoSQL solution
 like MogoDb, or Cassandra. The development efforts might be similar -
 all products are sort of young, hot, and limited.

 Thanks.

 JY

-- 
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] Problems pointing my GoDaddy domain to App Engine (no other posts have been able to help!)

2010-11-09 Thread Kevin M
So I have a domain hosted on GoDaddy.com and I just set up Google App
Engine and Google Apps. I registered my new domain with Google Apps so
that I can see it in my dashboard and I believe I did what I needed to
do to verify I'm the owner of the domain. I added the CNAME entry in
GoDaddy for www to point to ghs.google.com and removed all others. I
set up the MX records I saw in another post so at least my email is
going where I expect it to. But, my new URL is not going to my google
app engine application for some reason. Do I need to change the Name
Servers from GoDaddy name servers to Google name servers? Do I need
A(Host) entries? I'm confused. Please 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-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] Problem setting a property to appengine entity using setProperty() method

2010-11-09 Thread Mayumi Liyanage
Hi, I have an entity which has property Person person(user defined
object) so I wanted to setProperty(person, new Person()) however got
an IllegalArgumentException Person is not a supported property
type. It is a simple class with field String name and String country
which implements Serializable.

class People{ Person person; }

I am trying to:

entityOfTypePeople.setProperty(person, new Person());

this is where I get IllegalArgumentException Person is not a
supported property type.

Thanks

-- 
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] Only have 3/10 apps but cannot add another!

2010-11-09 Thread SimonH
My dashboard says I have 3 apps deployed and 10 apps remaining but when
I try to create a new app it requests a mobile number for verification.
When I enter my number it says the number has been used before (I used
it to verify a site on Google sites) so I can't verify!
I've put a lot of time into my latest app and I want to deploy it! What
should I do?

-- 
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] Problem setting a property to appengine entity using setProperty() method

2010-11-09 Thread Cyrille Vincey
You should have a look on the supported types in the datastore :
http://code.google.com/intl/fr-FR/appengine/docs/java/datastore/dataclasses
.html#Core_Value_Types

In your case, try the following:
entityOfTypePeople.setProperty(name, people.getName());
entityOfTypePeople.setProperty(country, people.getCountry());

Or try a simplier solution when getting started with appengine: have a
look on the JDO features rather than the low-level API.
Good luck.

On 09/11/10 07:19, Mayumi Liyanage mayumi.liyan...@coldwin.com wrote:

Hi, I have an entity which has property Person person(user defined
object) so I wanted to setProperty(person, new Person()) however got
an IllegalArgumentException Person is not a supported property
type. It is a simple class with field String name and String country
which implements Serializable.

class People{ Person person; }

I am trying to:

entityOfTypePeople.setProperty(person, new Person());

this is where I get IllegalArgumentException Person is not a
supported property type.

Thanks

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



Re: [appengine-java] The disabling of sessions during a datastore down-time period

2010-11-09 Thread Ikai Lan (Google)
Hey Ian,

During our maintenance periods, Memcache no longer goes down - we just flush
it.

Our docs on handing maintenance periods is unfortunately out of date. Thanks
for bringing this to my attention. I'll put this on my plate to document it.
In the meantime, here is some sample code. You can use your IDE's
autocomplete to explore this API:

http://pastie.org/1284924

import com.google.appengine.api.capabilities.CapabilitiesService;
import com.google.appengine.api.capabilities.CapabilitiesServiceFactory;
import com.google.appengine.api.capabilities.Capability;
import com.google.appengine.api.capabilities.CapabilityState;

CapabilitiesService cs =
CapabilitiesServiceFactory.getCapabilitiesService();
 CapabilityState state = cs.getStatus(Capability.DATASTORE);
Capability capability = state.getCapability();



--
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 Tue, Nov 9, 2010 at 3:42 AM, Ian Marshall ianmarshall...@gmail.comwrote:

 In the GAE/J documentation for Gracefully Degrading During Scheduled
 Maintenance it states

 Note: Because App Engine for Java sessions are backed by memcache and
 the datastore, sessions are effectively disabled during read-only
 periods. You must take this into account when designing your
 application.

 My code for detecting datastore down-times failed during last
 Saturday's scheduled down-time. It attempts to detect a down-time by
 writing to the mem cache using a StrictErrorHandler, and responding to
 any MemcacheServiceException raised to disable parts of my web site
 which write to the datastore, but I got severe errors before this got
 detected:

  com.google.apphosting.api.ApiProxy$CapabilityDisabledException:
   The API call datastore_v3.Put() is temporarily unavailable.

 This could be my fault in many ways (perhaps the mem cache stayed up).
 In particular, I suspect that my app's use of sessions is at fault.
 The relevant fragment of my appengine-web.xml config is:

  appengine-web-app xmlns=http://appengine.google.com/ns/1.0;
...
sessions-enabledtrue/sessions-enabled
...
  /appengine-web-app

 This may be a silly question, but in what ways can one anticipate,
 detect and handle the disabling of sessions during a datastore down-
 time period?

 --
 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] Only have 3/10 apps but cannot add another!

2010-11-09 Thread Ikai Lan (Google)
Strange that this happened. I've manually verified you.

--
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 Tue, Nov 9, 2010 at 6:13 AM, SimonH goo...@hayles.demon.co.uk wrote:

 My dashboard says I have 3 apps deployed and 10 apps remaining but when I
 try to create a new app it requests a mobile number for verification. When I
 enter my number it says the number has been used before (I used it to verify
 a site on Google sites) so I can't verify!
 I've put a lot of time into my latest app and I want to deploy it! What
 should I do?

 --
 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] Datastore viewer unavailable

2010-11-09 Thread Cyrille Vincey
Has some of you already experienced permanent unavailability of the admin
UI datastore viewer ?
It's been 2 days I cannot access my data through the UI now...
I have no quota limitation, nor activity load, and offline jobs execution
(mapreduce mainly) is ok.
Any clue ?


-- 
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: The disabling of sessions during a datastore down-time period

2010-11-09 Thread Ian Marshall
Hi Ikai,

Thanks for replying with the info about mem cache staying up and a
good way for me to detect the datastore's status. I'll change my
datastore down-time detection method using this.

Since I use sessions extensively and unavoidably in my application (a
big hello to Apache Wicket), do you have any general tips about how I
should react to session disablement? Is a general worst case to
present a page with a service disabled message during down-times? (I
already display a functionality degredation message during mem cache (!
= datastore!) down-times or my own pre-declared down-time date-time
slots, but I still rely on sessions to do this).

Cheers,

Ian


On Nov 9, 6:15 pm, Ikai Lan (Google) ikai.l+gro...@google.com
wrote:
 Hey Ian,

 During our maintenance periods, Memcache no longer goes down - we just flush
 it.

 Our docs on handing maintenance periods is unfortunately out of date. Thanks
 for bringing this to my attention. I'll put this on my plate to document it.
 In the meantime, here is some sample code. You can use your IDE's
 autocomplete to explore this API:

 http://pastie.org/1284924

 import com.google.appengine.api.capabilities.CapabilitiesService;
 import com.google.appengine.api.capabilities.CapabilitiesServiceFactory;
 import com.google.appengine.api.capabilities.Capability;
 import com.google.appengine.api.capabilities.CapabilityState;

 CapabilitiesService cs =
 CapabilitiesServiceFactory.getCapabilitiesService();
  CapabilityState state = cs.getStatus(Capability.DATASTORE);
 Capability capability = state.getCapability();

 --
 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 Tue, Nov 9, 2010 at 3:42 AM, Ian Marshall ianmarshall...@gmail.comwrote:

  In the GAE/J documentation for Gracefully Degrading During Scheduled
  Maintenance it states

  Note: Because App Engine for Java sessions are backed by memcache and
  the datastore, sessions are effectively disabled during read-only
  periods. You must take this into account when designing your
  application.

  My code for detecting datastore down-times failed during last
  Saturday's scheduled down-time. It attempts to detect a down-time by
  writing to the mem cache using a StrictErrorHandler, and responding to
  any MemcacheServiceException raised to disable parts of my web site
  which write to the datastore, but I got severe errors before this got
  detected:

   com.google.apphosting.api.ApiProxy$CapabilityDisabledException:
    The API call datastore_v3.Put() is temporarily unavailable.

  This could be my fault in many ways (perhaps the mem cache stayed up).
  In particular, I suspect that my app's use of sessions is at fault.
  The relevant fragment of my appengine-web.xml config is:

   appengine-web-app xmlns=http://appengine.google.com/ns/1.0;
     ...
     sessions-enabledtrue/sessions-enabled
     ...
   /appengine-web-app

  This may be a silly question, but in what ways can one anticipate,
  detect and handle the disabling of sessions during a datastore down-
  time period?

  --
  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] Re: The disabling of sessions during a datastore down-time period

2010-11-09 Thread Ikai Lan (Google)
That depends on what you're okay with. The simplest thing would be to show a
global error page or a message that things aren't working correctly. We
average less than one maintenance period a month and are working towards no
downtime error messages, so it might be to your advantage to do the easiest
thing and not overengineer a workaround. Note that we have another scheduled
maintenance in December. We haven't planned maintenance beyond that, but my
expectation they will happen at roughly the same frequently.

--
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 Tue, Nov 9, 2010 at 11:23 AM, Ian Marshall ianmarshall...@gmail.comwrote:

 Hi Ikai,

 Thanks for replying with the info about mem cache staying up and a
 good way for me to detect the datastore's status. I'll change my
 datastore down-time detection method using this.

 Since I use sessions extensively and unavoidably in my application (a
 big hello to Apache Wicket), do you have any general tips about how I
 should react to session disablement? Is a general worst case to
 present a page with a service disabled message during down-times? (I
 already display a functionality degredation message during mem cache (!
 = datastore!) down-times or my own pre-declared down-time date-time
 slots, but I still rely on sessions to do this).

 Cheers,

 Ian


 On Nov 9, 6:15 pm, Ikai Lan (Google) 
 ikai.l+gro...@google.comikai.l%2bgro...@google.com
 
 wrote:
  Hey Ian,
 
  During our maintenance periods, Memcache no longer goes down - we just
 flush
  it.
 
  Our docs on handing maintenance periods is unfortunately out of date.
 Thanks
  for bringing this to my attention. I'll put this on my plate to document
 it.
  In the meantime, here is some sample code. You can use your IDE's
  autocomplete to explore this API:
 
  http://pastie.org/1284924
 
  import com.google.appengine.api.capabilities.CapabilitiesService;
  import com.google.appengine.api.capabilities.CapabilitiesServiceFactory;
  import com.google.appengine.api.capabilities.Capability;
  import com.google.appengine.api.capabilities.CapabilityState;
 
  CapabilitiesService cs =
  CapabilitiesServiceFactory.getCapabilitiesService();
   CapabilityState state = cs.getStatus(Capability.DATASTORE);
  Capability capability = state.getCapability();
 
  --
  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 Tue, Nov 9, 2010 at 3:42 AM, Ian Marshall ianmarshall...@gmail.com
 wrote:
 
   In the GAE/J documentation for Gracefully Degrading During Scheduled
   Maintenance it states
 
   Note: Because App Engine for Java sessions are backed by memcache and
   the datastore, sessions are effectively disabled during read-only
   periods. You must take this into account when designing your
   application.
 
   My code for detecting datastore down-times failed during last
   Saturday's scheduled down-time. It attempts to detect a down-time by
   writing to the mem cache using a StrictErrorHandler, and responding to
   any MemcacheServiceException raised to disable parts of my web site
   which write to the datastore, but I got severe errors before this got
   detected:
 
com.google.apphosting.api.ApiProxy$CapabilityDisabledException:
 The API call datastore_v3.Put() is temporarily unavailable.
 
   This could be my fault in many ways (perhaps the mem cache stayed up).
   In particular, I suspect that my app's use of sessions is at fault.
   The relevant fragment of my appengine-web.xml config is:
 
appengine-web-app xmlns=http://appengine.google.com/ns/1.0;
  ...
  sessions-enabledtrue/sessions-enabled
  ...
/appengine-web-app
 
   This may be a silly question, but in what ways can one anticipate,
   detect and handle the disabling of sessions during a datastore down-
   time period?
 
   --
   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%2bunsubscr...@googlegroups.comgoogle-appengine-java%252bunsubscr...@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 

[appengine-java] Re: The disabling of sessions during a datastore down-time period

2010-11-09 Thread Ian Marshall
Thanks for the advice, Ikai.


On Nov 9, 7:31 pm, Ikai Lan (Google) ikai.l+gro...@google.com
wrote:
 That depends on what you're okay with. The simplest thing would be to show a
 global error page or a message that things aren't working correctly. We
 average less than one maintenance period a month and are working towards no
 downtime error messages, so it might be to your advantage to do the easiest
 thing and not overengineer a workaround. Note that we have another scheduled
 maintenance in December. We haven't planned maintenance beyond that, but my
 expectation they will happen at roughly the same frequently.

 --
 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 Tue, Nov 9, 2010 at 11:23 AM, Ian Marshall ianmarshall...@gmail.comwrote:

  Hi Ikai,

  Thanks for replying with the info about mem cache staying up and a
  good way for me to detect the datastore's status. I'll change my
  datastore down-time detection method using this.

  Since I use sessions extensively and unavoidably in my application (a
  big hello to Apache Wicket), do you have any general tips about how I
  should react to session disablement? Is a general worst case to
  present a page with a service disabled message during down-times? (I
  already display a functionality degredation message during mem cache (!
  = datastore!) down-times or my own pre-declared down-time date-time
  slots, but I still rely on sessions to do this).

  Cheers,

  Ian

  On Nov 9, 6:15 pm, Ikai Lan (Google) 
  ikai.l+gro...@google.comikai.l%2bgro...@google.com

  wrote:
   Hey Ian,

   During our maintenance periods, Memcache no longer goes down - we just
  flush
   it.

   Our docs on handing maintenance periods is unfortunately out of date.
  Thanks
   for bringing this to my attention. I'll put this on my plate to document
  it.
   In the meantime, here is some sample code. You can use your IDE's
   autocomplete to explore this API:

  http://pastie.org/1284924

   import com.google.appengine.api.capabilities.CapabilitiesService;
   import com.google.appengine.api.capabilities.CapabilitiesServiceFactory;
   import com.google.appengine.api.capabilities.Capability;
   import com.google.appengine.api.capabilities.CapabilityState;

   CapabilitiesService cs =
   CapabilitiesServiceFactory.getCapabilitiesService();
    CapabilityState state = cs.getStatus(Capability.DATASTORE);
   Capability capability = state.getCapability();

   --
   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 Tue, Nov 9, 2010 at 3:42 AM, Ian Marshall ianmarshall...@gmail.com
  wrote:

In the GAE/J documentation for Gracefully Degrading During Scheduled
Maintenance it states

Note: Because App Engine for Java sessions are backed by memcache and
the datastore, sessions are effectively disabled during read-only
periods. You must take this into account when designing your
application.

My code for detecting datastore down-times failed during last
Saturday's scheduled down-time. It attempts to detect a down-time by
writing to the mem cache using a StrictErrorHandler, and responding to
any MemcacheServiceException raised to disable parts of my web site
which write to the datastore, but I got severe errors before this got
detected:

 com.google.apphosting.api.ApiProxy$CapabilityDisabledException:
  The API call datastore_v3.Put() is temporarily unavailable.

This could be my fault in many ways (perhaps the mem cache stayed up).
In particular, I suspect that my app's use of sessions is at fault.
The relevant fragment of my appengine-web.xml config is:

 appengine-web-app xmlns=http://appengine.google.com/ns/1.0;
   ...
   sessions-enabledtrue/sessions-enabled
   ...
 /appengine-web-app

This may be a silly question, but in what ways can one anticipate,
detect and handle the disabling of sessions during a datastore down-
time period?

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

[appengine-java] Initializing DataStore with minimal required values

2010-11-09 Thread Blaise Gervais
Helo everyone,


I wonder about how to initialize the datastore (in Dev mode and on GAE)
with some required values. How can I insert entities required for my
app like the root user or the menu structure, or anything other ?


Thanks

-- 
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 Google Instant Previews works with ajax? .. and still they dont crawl ajax sites?

2010-11-09 Thread Gal Dolber
This don't have much sense... to get the instant preview they need to render
the page, so why make us render the page for the crawler?

-- 
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] package 'datastore_v3' or call 'Rollback()' was not found

2010-11-09 Thread lp
hi all,

when running a unit test using  i am getting the error below.

i have followed the data store unit test guide lines.
http://code.google.com/appengine/docs/java/tools/localunittesting.html#Writing_Datastore_Tests

is it as simple as a missing jar, but which one?

WARNING: Caught exception while allowing TestExecutionListener
[org.springframework.test.context.transaction.transactionaltestexecutionliste...@18346a3]
to process 'after' execution for test: method [public void
com.asteriski.mingle.geo.entity.PositionUserEntityTest.insertWithGoogleDataSource()],
instance
[com.asteriski.mingle.geo.entity.positionuserentityt...@19299f5],
exception [java.lang.NullPointerException]
com.google.apphosting.api.ApiProxy$CallNotFoundException: The API
package 'datastore_v3' or call 'Rollback()' was not found.
at
com.google.apphosting.api.ApiProxy.makeSyncCall(ApiProxy.java:95)
at
com.google.appengine.api.datastore.DatastoreApiHelper.makeSyncCall(DatastoreApiHelper.java:
58)
at
com.google.appengine.api.datastore.TransactionImpl.makeSyncCall(TransactionImpl.java:
42)
at
com.google.appengine.api.datastore.TransactionImpl.makeSyncCall(TransactionImpl.java:
56)
at
com.google.appengine.api.datastore.TransactionImpl.rollback(TransactionImpl.java:
77)

i assume that i am missing a appengine jar file in the maven
dependencies. is that correct?

any help is appreciated.

-lp

-- 
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: Initializing DataStore with minimal required values

2010-11-09 Thread Didier Durand
Hi,

you can either use bulkloader (see
http://ikaisays.com/2010/06/10/using-the-bulkloader-with-java-app-engine/)
or just write the code needed to store your date in the datastore (i.e
to create the appropriate entities with their values)
regards
didier


On Nov 9, 8:40 pm, Blaise Gervais gervai...@gmail.com wrote:
 Helo everyone,

 I wonder about how to initialize the datastore (in Dev mode and on GAE)
 with some required values. How can I insert entities required for my
 app like the root user or the menu structure, or anything other ?

 Thanks

-- 
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: package 'datastore_v3' or call 'Rollback()' was not found

2010-11-09 Thread lp
ok i was missing a maven dependency for appengine-api-1.0-
sdk-1.3.8.jar.

the gae-plugin was hiding the visibility of it to the test phase.

so i can now run a junit  test with transaction using persistence.

-lp


On Nov 10, 2:17 pm, lp lucio.picc...@gmail.com wrote:
 hi all,

 when running a unit test using  i am getting the error below.

 i have followed the data store unit test guide 
 lines.http://code.google.com/appengine/docs/java/tools/localunittesting.htm...

 is it as simple as a missing jar, but which one?

 WARNING: Caught exception while allowing TestExecutionListener
 [org.springframework.test.context.transaction.transactionaltestexecutionliste...@18346a3]
 to process 'after' execution for test: method [public void
 com.asteriski.mingle.geo.entity.PositionUserEntityTest.insertWithGoogleDataSource()],
 instance
 [com.asteriski.mingle.geo.entity.positionuserentityt...@19299f5],
 exception [java.lang.NullPointerException]
 com.google.apphosting.api.ApiProxy$CallNotFoundException: The API
 package 'datastore_v3' or call 'Rollback()' was not found.
         at
 com.google.apphosting.api.ApiProxy.makeSyncCall(ApiProxy.java:95)
         at
 com.google.appengine.api.datastore.DatastoreApiHelper.makeSyncCall(DatastoreApiHelper.java:
 58)
         at
 com.google.appengine.api.datastore.TransactionImpl.makeSyncCall(TransactionImpl.java:
 42)
         at
 com.google.appengine.api.datastore.TransactionImpl.makeSyncCall(TransactionImpl.java:
 56)
         at
 com.google.appengine.api.datastore.TransactionImpl.rollback(TransactionImpl.java:
 77)

 i assume that i am missing a appengine jar file in the maven
 dependencies. is that correct?

 any help is appreciated.

 -lp

-- 
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] java.lang.ClassNotFoundException

2010-11-09 Thread senderj
I encountered this exception even with the simplest project - a new
project in Eclipse for GAE with the generated Hello! World servlet.
Here is what I got in my logs in one run:

Warning:
java.lang.ClassNotFoundException: my.package.MypackageServlet
.
Error:
javax.servlet.ServletContext log: unavailable
javax.servlet.UnavailableException: my.package.MypackageServlet
.
Warning:
Failed startup of context
com.google.apphosting.utils.jetty.runtimeappenginewebappcont...@d2d58b{/,/
base/data/home/apps/whaleproxy3/1.346113531926587784}
java.lang.NullPointerException
.
Critical:
Uncaught exception from servlet
javax.servlet.UnavailableException: Initialization failed.
.

Everything was generated by Eclipse except the project name and
package name. Anybody knows what is wrong? I can provide the full log
if necessary.

-- 
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] Timeout while deploying

2010-11-09 Thread Joakim S?derstr?m
Since yesterday, I've been experiencing difficulty while trying to use
appcfg to deploy a new version to App Engine. Sometimes I have to try
something like 10 times before the upload is successful. The error that
I get seems to be caused by a timeout. Complete stacktrace:



Reading application configuration data...
Nov 10, 2010 8:32:55 AM
com.google.apphosting.utils.config.AppEngineWebXmlReader
readAppEngineWebXml
INFO: Successfully processed war/WEB-INF/appengine-web.xml
2010-11-10 08:32:55.723:INFO::Logging to STDERR via
org.mortbay.log.StdErrLog
Nov 10, 2010 8:33:16 AM
com.google.apphosting.utils.config.AbstractConfigXmlReader
getTopLevelNode
SEVERE: Received IOException parsing the input stream for
war/WEB-INF/web.xml
java.net.ConnectException: Connection timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:310)
at
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:176)
at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:163)
at java.net.Socket.connect(Socket.java:546)
at java.net.Socket.connect(Socket.java:495)
at sun.net.NetworkClient.doConnect(NetworkClient.java:174)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:409)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:530)
at sun.net.www.http.HttpClient.init(HttpClient.java:240)
at sun.net.www.http.HttpClient.New(HttpClient.java:321)
at sun.net.www.http.HttpClient.New(HttpClient.java:338)
at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:935)
at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:876)
at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:801)
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1139)
at
com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:654)
at
com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:1292)
at
com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:1259)
at
com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImpl.java:260)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.dispatch(XMLDocumentScannerImpl.java:1169)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.next(XMLDocumentScannerImpl.java:1065)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:978)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:625)
at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:116)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:488)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:812)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:741)
at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:123)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1208)
at
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:525)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:392)
at org.mortbay.xml.XmlParser.parse(XmlParser.java:230)
at
com.google.apphosting.utils.config.AbstractConfigXmlReader.getTopLevelNode(AbstractConfigXmlReader.java:206)
at
com.google.apphosting.utils.config.AbstractConfigXmlReader.parse(AbstractConfigXmlReader.java:228)
at
com.google.apphosting.utils.config.WebXmlReader.processXml(WebXmlReader.java:142)
at
com.google.apphosting.utils.config.WebXmlReader.processXml(WebXmlReader.java:22)
at
com.google.apphosting.utils.config.AbstractConfigXmlReader.readConfigXml(AbstractConfigXmlReader.java:111)
at
com.google.apphosting.utils.config.WebXmlReader.readWebXml(WebXmlReader.java:73)
at
com.google.appengine.tools.admin.Application.init(Application.java:103)
at
com.google.appengine.tools.admin.Application.readApplication(Application.java:149)
at com.google.appengine.tools.admin.AppCfg.init(AppCfg.java:115)
at com.google.appengine.tools.admin.AppCfg.init(AppCfg.java:61)
at com.google.appengine.tools.admin.AppCfg.main(AppCfg.java:57)
Nov 10, 2010 8:33:16 AM
com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
SEVERE: Received exception processing war/WEB-INF/web.xml
com.google.apphosting.utils.config.AppEngineConfigException: Received
IOException parsing the input stream for war/WEB-INF/web.xml
at
com.google.apphosting.utils.config.AbstractConfigXmlReader.getTopLevelNode(AbstractConfigXmlReader.java:210)
at

[appengine-java] Timeout while deploying

2010-11-09 Thread Joakim S?derstr?m
Since yesterday, I've been experiencing difficulty while trying to use
appcfg to deploy a new version to App Engine. Sometimes I have to try
something like 10 times before the upload is successful. The error that
I get seems to be caused by a timeout. Complete stacktrace:



Reading application configuration data...
Nov 10, 2010 8:32:55 AM
com.google.apphosting.utils.config.AppEngineWebXmlReader
readAppEngineWebXml
INFO: Successfully processed war/WEB-INF/appengine-web.xml
2010-11-10 08:32:55.723:INFO::Logging to STDERR via
org.mortbay.log.StdErrLog
Nov 10, 2010 8:33:16 AM
com.google.apphosting.utils.config.AbstractConfigXmlReader
getTopLevelNode
SEVERE: Received IOException parsing the input stream for
war/WEB-INF/web.xml
java.net.ConnectException: Connection timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:310)
at
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:176)
at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:163)
at java.net.Socket.connect(Socket.java:546)
at java.net.Socket.connect(Socket.java:495)
at sun.net.NetworkClient.doConnect(NetworkClient.java:174)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:409)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:530)
at sun.net.www.http.HttpClient.init(HttpClient.java:240)
at sun.net.www.http.HttpClient.New(HttpClient.java:321)
at sun.net.www.http.HttpClient.New(HttpClient.java:338)
at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:935)
at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:876)
at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:801)
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1139)
at
com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:654)
at
com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:1292)
at
com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:1259)
at
com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImpl.java:260)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.dispatch(XMLDocumentScannerImpl.java:1169)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.next(XMLDocumentScannerImpl.java:1065)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:978)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:625)
at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:116)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:488)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:812)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:741)
at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:123)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1208)
at
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:525)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:392)
at org.mortbay.xml.XmlParser.parse(XmlParser.java:230)
at
com.google.apphosting.utils.config.AbstractConfigXmlReader.getTopLevelNode(AbstractConfigXmlReader.java:206)
at
com.google.apphosting.utils.config.AbstractConfigXmlReader.parse(AbstractConfigXmlReader.java:228)
at
com.google.apphosting.utils.config.WebXmlReader.processXml(WebXmlReader.java:142)
at
com.google.apphosting.utils.config.WebXmlReader.processXml(WebXmlReader.java:22)
at
com.google.apphosting.utils.config.AbstractConfigXmlReader.readConfigXml(AbstractConfigXmlReader.java:111)
at
com.google.apphosting.utils.config.WebXmlReader.readWebXml(WebXmlReader.java:73)
at
com.google.appengine.tools.admin.Application.init(Application.java:103)
at
com.google.appengine.tools.admin.Application.readApplication(Application.java:149)
at com.google.appengine.tools.admin.AppCfg.init(AppCfg.java:115)
at com.google.appengine.tools.admin.AppCfg.init(AppCfg.java:61)
at com.google.appengine.tools.admin.AppCfg.main(AppCfg.java:57)
Nov 10, 2010 8:33:16 AM
com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
SEVERE: Received exception processing war/WEB-INF/web.xml
com.google.apphosting.utils.config.AppEngineConfigException: Received
IOException parsing the input stream for war/WEB-INF/web.xml
at
com.google.apphosting.utils.config.AbstractConfigXmlReader.getTopLevelNode(AbstractConfigXmlReader.java:210)
at