[google-appengine] NetBeans deployment plugin

2010-03-06 Thread Moretto
The following error is occuring. Any one have ideia? All the libs are
at the classpath.

dirname: operando extra `de'
Tente `dirname --help' para mais informação.
Exception in thread "main" java.lang.NoClassDefFoundError: com/google/
appengine/tools/admin/AppCfg
Caused by: java.lang.ClassNotFoundException:
com.google.appengine.tools.admin.AppCfg
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:
301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:
316)
Could not find the main class:
com.google.appengine.tools.admin.AppCfg.  Program will exit.
dirname: operando extra `de'
Tente `dirname --help' para mais informação.
Exception in thread "main" java.lang.NoClassDefFoundError: com/google/
appengine/tools/admin/AppCfg
Caused by: java.lang.ClassNotFoundException:
com.google.appengine.tools.admin.AppCfg
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:
301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:
316)
Could not find the main class:
com.google.appengine.tools.admin.AppCfg.  Program will exit.
dirname: operando extra `de'
Tente `dirname --help' para mais informação.
Exception in thread "main" java.lang.NoClassDefFoundError: com/google/
appengine/tools/admin/AppCfg
Caused by: java.lang.ClassNotFoundException:
com.google.appengine.tools.admin.AppCfg
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:
301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:
316)
Could not find the main class:
com.google.appengine.tools.admin.AppCfg.  Program will exit.
dirname: operando extra `de'
Tente `dirname --help' para mais informação.
Exception in thread "main" java.lang.NoClassDefFoundError: com/google/
appengine/tools/admin/AppCfg
Caused by: java.lang.ClassNotFoundException:
com.google.appengine.tools.admin.AppCfg
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:
301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:
316)
Could not find the main class:
com.google.appengine.tools.admin.AppCfg.  Program will exit.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: The server encountered an error and could not complete your request.

2010-03-06 Thread Waleed Abdulla
I think I know what's happening now, so I'm sharing it for everyone's
benefit. I was using the feedparser library to parse a feed, and that got
into some sort of infinite loop. What worries me, though, is the fact that
the App Engine didn't log any information from any of the logging.info()
messages that executed before reaching the infinite loop, which made it
really hard to find out what was going on. On localhost, the logging happens
even if the process dies eventually, but on the live app engine that doesn't
seem to be the case.

Waleed




On Thu, Mar 4, 2010 at 10:49 PM, Waleed Abdulla  wrote:

> I might have more information after a lot of testing. It seems that if an
> internal error happens while processing the request on the App Engine, then
> that process is killed and none of the log messages are recorded. Can
> someone from Google confirm this?
>
> That might explain why I don't see any of the my logging.info() messages,
> which led me to think that that request is not hitting my app. Anyone else
> experienced this?
>
> Waleed
>
>
>
>
> On Tue, Mar 2, 2010 at 4:57 PM, Waleed Abdulla  wrote:
>
>> Hi Mark,
>> I'm testing this on my dev app, which has no load at all, so it's not
>> the simultaneous requests limit. Although the same problem happens on the
>> production app for that specific request. It's a reproducible problem. This
>> is what I see in the logs:
>>
>>
>> 03-02 04:42PM 08.454 /api/pshb?bid=363429&source=ppp&hub=http%3A%2F%
>> 2Fdev.networkedblogs.com%2F&topic=http%3A%2F%
>> 2Fchaoswrappedinchocolate-coveredgrins.blogspot.com%2Ffeeds%2Fposts%2Fdefault&sig=6aed0a71ee0d7573fe6fc37a7f40ac6f5f27071f
>> 500 40097ms 8cpu_ms 8api_cpu_ms 0kb NetworkedBlogs,gzip(gfe),gzip(gfe)
>>
>> 173.203.209.168 - - [02/Mar/2010:16:42:48 -0800] "POST
>> /api/pshb?bid=363429&source=ppp&hub=http%3A%2F%2Fdev.networkedblogs.com
>> %2F&topic=http%3A%2F%2Fchaoswrappedinchocolate-coveredgrins.blogspot.com%2Ffeeds%2Fposts%2Fdefault&sig=6aed0a71ee0d7573fe6fc37f7f40ac6f5f27071f
>> HTTP/1.1" 500 0 - "NetworkedBlogs,gzip(gfe),gzip(gfe)"
>>
>>
>> I have a logging.info() statement right at the start of the app as
>> follows:
>>
>> def main():
>> logging.info("processing request")
>> wsgiref.handlers.CGIHandler().run(application)
>>
>> But I don't see that info message in the log, so I'm taking that to
>> mean that the execution is not hitting my app. I don't see any other details
>> in the log other than what I lited above. The size of the POST body I'm
>> sending is 139836 bytes, which is not that big.
>>
>> Any other ideas?
>>
>>
>> Regards,
>> Waleed
>>
>>
>>
>>
>> On Tue, Mar 2, 2010 at 8:29 AM, Marc Provost  wrote:
>>
>>> Hi Waleed,
>>>
>>> You are not seeing any errors/warnings in the logs? There are a few
>>> possibilities here.
>>>
>>> If the request hits your app:
>>>
>>> * You could be hitting the 30 seconds limit (maybe because the input
>>> is too large or something). You should see an error in the logs.
>>> * Your code could also be raising an exception that you do not catch.
>>> You should see an error in the logs.
>>> * It is also possible that the return status of the request is set to
>>> 500 somehow. In this case, if your application could silently catch
>>> the exception without logging anything. But you should be able to
>>> debug it by logging info messages in your request handler.
>>>
>>> If your request does not hit your app:
>>>
>>> * You could be hitting the simultaneous requests limit. That's a
>>> warning in the logs, but it shouldn't be reproducible every time.
>>>
>>> Hope it helps,
>>> Marc
>>>
>>> On Mar 2, 3:09 am, Waleed  wrote:
>>> > I'm getting this error for some requests:
>>> >
>>> > The server encountered an error and could not complete your
>>> > request.If the problem persists, please report your problem and
>>> > mention this error message and the query that caused it.
>>> >
>>> > It's repeatable and the error happens every time for that specific
>>> > request I'm sending. I tested with another AE app and I get the same
>>> > problem. The request doesn't seem to be hitting my app, but fails
>>> > before that, so I can't do anything about it. When I submit the same
>>> > request with different data in the POST body, it goes through and
>>> > works well.
>>> >
>>> > My request is a simple POST with a blog feed in the body of the post.
>>> > Nothing particularly unique about it. And as I mentioned earlier, it
>>> > works for most feeds, except for a few where it breaks 100% of the
>>> > time.
>>> >
>>> > How can I debug this? Can anyone shed some light? App id is:
>>> > networkedblogs
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "Google App Engine" group.
>>> To post to this group, send email to google-appeng...@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> google-appengine+unsubscr...@googlegroups.com
>>> .
>>> For more options, visit this group at
>>> http://groups.google.com/group/g

[google-appengine] Re: Post-mortem for February 24th, 2010 outage

2010-03-06 Thread nickmilon
Thanks for sharing this as well as the previus post mortem (last July
if I remember well).
Keep on the good work !

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Application deployment time

2010-03-06 Thread Spines
My cold start time for helloWorld is 1.5 seconds.  If I add JDO to
that, it adds an additional 5-6 seconds for me on the first use of
JDO.
On Mar 6, 12:55 am, Francois MASUREL  wrote:
> Here is what I get when I deploy my webapp with a very basic web.xml
> containing only one HelloWorldServelt, no filters and no listeners.
>
> I still get a 9-10 seconds deploying time :
>
>  03-06 12:54AM 35.471 /helloworld 200 9558ms 3966cpu_ms 0kb Mozilla/5.0
> (Windows; U; Windows NT 6.0; en-US) AppleWebKit/533.2 (KHTML, like Gecko)
> Chrome/5.0.342.1 Safari/533.2,gzip(gfe)
>
> 86.205.156.225 - f.masurel [06/Mar/2010:00:54:45 -0800] "GET
> /helloworld HTTP/1.1" 200 11 - "Mozilla/5.0 (Windows; U; Windows NT
> 6.0; en-US) AppleWebKit/533.2 (KHTML, like Gecko) Chrome/5.0.342.1
> Safari/533.2,gzip(gfe)"
>
>  03-06 12:43AM 01.518 /helloworld 200 8908ms 3927cpu_ms 0kb Mozilla/5.0
> (Windows; U; Windows NT 6.0; en-US) AppleWebKit/533.2 (KHTML, like Gecko)
> Chrome/5.0.342.1 Safari/533.2,gzip(gfe)
>
> 86.205.156.225 - f.masurel [06/Mar/2010:00:43:10 -0800] "GET
> /helloworld HTTP/1.1" 200 11 - "Mozilla/5.0 (Windows; U; Windows NT
> 6.0; en-US) AppleWebKit/533.2 (KHTML, like Gecko) Chrome/5.0.342.1
> Safari/533.2,gzip(gfe)"
>
> So deploying time seems to be proportional to the global size of
> code/librairies you deploy even if this code is never called.
>
> For you information, here is my HelloWorldServlet service method :
>
>     public void service(HttpServletRequest req, HttpServletResponse res)
>             throws ServletException, IOException {
>      res.getWriter().print("Hello World");
>     }
>
> And here is my web.xml :
>
> 
>
>     
>         HelloWorldServlet
>         com.mably.cms.web.HelloWorldServlet
>     
>
>     
>         HelloWorldServlet
>         /helloworld
>     
>
>     
>     
>         index.html
>         index.jsp
>     
>
> 
>
> If anybody at Google have some hints about that, they're welcome.
>
> My "simplified" testing app has ID "i-wands".
>
> François Masurel
>
> Le 2 mars 2010 11:48, François Masurel  a écrit :
>
>
>
> > Ok, thanx for your answer.
>
> > I'll make a test with a simple Hello World servlet with no
> > dependencies and see how it goes.
>
> > I guess I also need to disable servlet filters and context
> > listeners...
>
> > On 1 mar, 18:27, Wooble  wrote:
> > > I think you're confusing deploying with cold startup.
>
> > > Static files won't affect startup time (they will affect deployment,
> > > of course, since you need to upload any that have changed); servlets
> > > needing to load lots of jars and classes to do something simple will
> > > make that simple thing take a long time.
>
> > > On Mar 1, 9:21 am, François Masurel  wrote:
>
> > > > There seems to be an incompressible deploying time, even if you access
> > > > a pretty simple page in GAE.
>
> > > > In my case, a pretty basic servlet making a simple read in the
> > > > datastore can take as much as 15s to load.
>
> > > > My web.xml is pretty basic too, only one filter : I'm doing the
> > > > servlet lazy-loading myself coz I reached the "100 URLMap entries"
> > > > limit.
>
> > > > So I guess my application should load pretty quickly, isn't it ?
>
> > > > What am I doing wrong ?  Is the application global weight (classes,
> > > > jar, static files) is to take into account for the deploying time ?
>
> > > > Thanx for your answers.
>
> > > > Francois Masurel
> > > > Bordeaux, FRANCE
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.
> > To post to this group, send email to google-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com > e...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Why request time for script takes so long?

2010-03-06 Thread François Masurel
You should have a look at the following issues :

http://code.google.com/p/googleappengine/issues/detail?id=2456
http://code.google.com/p/googleappengine/issues/detail?id=2690

And star them if you want.

François

On 6 mar, 17:05, Shedokan  wrote:
> Hi, I live in israel and I'm making an app in app engine.
> When I go tomy app it takes about 5 seconds for it to load, and I have
> checked if it's my app that slowing things down and my app takes only
> half a second of all that time.
>
> so what's making my app slow?
>
> thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Why request time for script takes so long?

2010-03-06 Thread Shedokan
Hi, I live in israel and I'm making an app in app engine.
When I go tomy app it takes about 5 seconds for it to load, and I have
checked if it's my app that slowing things down and my app takes only
half a second of all that time.

so what's making my app slow?

thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] session user property not updated. weird bug?

2010-03-06 Thread Sumer Cip
Hi all,

Below is the code code I am using in my tests to update a reference
tied to my session, the session object I use if from gaeutilities
(wrapped it a little). I put a reference object in the session and all
working fine.

if not self.Session.user:
user = scMember.all().filter("name = ",
"testmember").get()
self.Session.user = user
else:
self.Session.user.playcount += 1
self.Session.user.put()

The problem with this code is the put() is not working, if I do not
restart app engine SDK. In the error scenario, user is set into the
session object, and in the second request I can update the playcount
only once. BUt the subsequent operations fail without any notice of
error and playcount stays "1" everytime even I have incremented it.
This is the testhandler and there is no other code running paralelly.
When I restart the SDK, the problem goes away, it works fine.
So, I am not sure if I am doing something wrong, it took me 6 hours to
identify this thing.

Any help will be appericiated.

Thanks,

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] "Captcha Required" when authenticating with a google apps account

2010-03-06 Thread Abhi
Hi,

I am trying to authenticate using to Google Spreadsheet service using
a google apps account. I always get a error "Captcha Required". My
code is as below:-

SpreadsheetService service = new 
SpreadsheetService("__SMS_CRON");
try {

service.setUserCredentials(Configuration.get().getEmailUsername(),
   
Configuration.get().getEmailPassword());
SpreadsheetFeed feed = service.getFeed(new URL("http://
spreadsheets.google.com/feeds/spreadsheets/private/full"),
SpreadsheetFeed.class);
List spreadsheets = feed.getEntries();

} catch (AuthenticationException e) {
log.severe("Authentication Failed!");
e.printStackTrace();
}


I get the following exception when I use a google apps username and
password. Whereas if I use a google username and password it works
correctly without any error.

com.google.gdata.client.GoogleService$CaptchaRequiredException:
Captcha required
at
com.google.gdata.client.GoogleAuthTokenFactory.getAuthException(GoogleAuthTokenFactory.java:
619)
at
com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(GoogleAuthTokenFactory.java:
500)
at
com.google.gdata.client.GoogleAuthTokenFactory.setUserCredentials(GoogleAuthTokenFactory.java:
346)
at
com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:
362)
at
com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:
317)
at
com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:
301)
at in.abhicode.sms.ProcessMainSheet.doGet(ProcessMainSheet.java:35)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
487)

Kindly help.

Thanks,
Abhi

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Using ClientLogin: HOSTED vs GOOGLE

2010-03-06 Thread tony
There are lots of postings about how to use ClientLogin to
programmatically authenticate with a Google App Engine app. For the
account type, they all recommend using HOSTED_OR_GOOGLE. This is
wrong, and I will explain why.

There are two kinds of accounts in the Google world. The ones you
create for GMail, etc are "Google" accounts. The ones you create for
Apps for Domains are "Hosted" accounts. You can use a Hosted Account
email to make a Google Account, thus creating an email address that is
associated with both kinds of accounts.

Your Google App Engine app can be configured to work with (1) Google
Accounts or (2) Hosted Accounts for a particular domain.

Assume that we are developing an app for Google Accounts. A user
enters in an email address that is associated with a Google Account
and a Hosted Account. Google will use their Google Account for the
login. This all works fine.

Now, if we use ClientLogin with this same email address and use
HOSTED_OR_GOOGLE for the account type, login will be successful, but
it will use the Hosted Account, since the Hosted Account takes
precedence. As I mentioned above, you cannot use a Hosted Account for
an app that expects a Google Account. So the authentication will not
work.

So, when using ClientLogin to authenticate with a Google App Engine
app, you need to use GOOGLE for the account type if the app is for
Google Accounts, or HOSTED for the account type if the app is for a
domain.

..tony..

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Cron jobs fail with error "Request was aborted after waiting too long to attempt to service your request."

2010-03-06 Thread John_Idol
Not fixed for me - I am still getting it pretty often not on cron-jobs
but on normal calls (even on the google login service call):

"Request was aborted after waiting too long to attempt to service your
request. Most likely, this indicates that you have reached your
simultaneous dynamic request limit. This is almost always due to
excessively high latency in your app. Please see
http://code.google.com/appengine/docs/quotas.html for more details."

This is pretty annoying and is a serious limitation to my commercial
app.

It seems to happen when the app is in idle state - once you manage to
load the first time then everything seems to go smoothly.

Puzzled ...

On Jan 29, 5:07 am, Abhinav Bhagwat  wrote:
> I am monitoring my app since past 1 week and I have found that the error
> rate has dropped to almost 0% (I see 1 or 2 requests failing sometimes).
> Thanks for fixing this issue.
>
> Thanks,
> Abhinav
>
>
>
> On Thu, Jan 21, 2010 at 5:55 AM, Xlorep DarkHelm  wrote:
> > Just as an FYI, I also have been seeing this bug happen over and over,
> > I have a cron job (that quite simply just drops off a task to be
> > processed into the default task queue), and it fails probably 60% of
> > the time, from casual glance at my logs. I originally just wanted this
> > cron to run once a day, but because of the high failure rate, I am
> > forced to make it run once an hour (and have code to gracefully end if
> > it already successfully ran within a day). Pretty frustrating to deal
> > with, and I'd appreciate if this problem was resolved.
>
> > I'm fairly confident in how I'm using the API as far as it is matching
> > the details in the documentation (the cron job is extraordinarily
> > simple).
>
> > My tasks also have this crop up, but they fortunately wait and try
> > again, which makes them work a lot better than the cron currently,
> > which just simply ends and refuses to try again without me using this
> > current work-around.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.
> > To post to this group, send email to google-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com > e...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Application deployment time

2010-03-06 Thread Francois MASUREL
Here is what I get when I deploy my webapp with a very basic web.xml
containing only one HelloWorldServelt, no filters and no listeners.


I still get a 9-10 seconds deploying time :

 03-06 12:54AM 35.471 /helloworld 200 9558ms 3966cpu_ms 0kb Mozilla/5.0
(Windows; U; Windows NT 6.0; en-US) AppleWebKit/533.2 (KHTML, like Gecko)
Chrome/5.0.342.1 Safari/533.2,gzip(gfe)


86.205.156.225 - f.masurel [06/Mar/2010:00:54:45 -0800] "GET
/helloworld HTTP/1.1" 200 11 - "Mozilla/5.0 (Windows; U; Windows NT
6.0; en-US) AppleWebKit/533.2 (KHTML, like Gecko) Chrome/5.0.342.1
Safari/533.2,gzip(gfe)"

 03-06 12:43AM 01.518 /helloworld 200 8908ms 3927cpu_ms 0kb Mozilla/5.0
(Windows; U; Windows NT 6.0; en-US) AppleWebKit/533.2 (KHTML, like Gecko)
Chrome/5.0.342.1 Safari/533.2,gzip(gfe)


86.205.156.225 - f.masurel [06/Mar/2010:00:43:10 -0800] "GET
/helloworld HTTP/1.1" 200 11 - "Mozilla/5.0 (Windows; U; Windows NT
6.0; en-US) AppleWebKit/533.2 (KHTML, like Gecko) Chrome/5.0.342.1
Safari/533.2,gzip(gfe)"


So deploying time seems to be proportional to the global size of
code/librairies you deploy even if this code is never called.

For you information, here is my HelloWorldServlet service method :

public void service(HttpServletRequest req, HttpServletResponse res)
throws ServletException, IOException {
 res.getWriter().print("Hello World");
}

And here is my web.xml :




HelloWorldServlet
com.mably.cms.web.HelloWorldServlet



HelloWorldServlet
/helloworld




index.html
index.jsp




If anybody at Google have some hints about that, they're welcome.

My "simplified" testing app has ID "i-wands".

François Masurel



Le 2 mars 2010 11:48, François Masurel  a écrit :

> Ok, thanx for your answer.
>
> I'll make a test with a simple Hello World servlet with no
> dependencies and see how it goes.
>
> I guess I also need to disable servlet filters and context
> listeners...
>
> On 1 mar, 18:27, Wooble  wrote:
> > I think you're confusing deploying with cold startup.
> >
> > Static files won't affect startup time (they will affect deployment,
> > of course, since you need to upload any that have changed); servlets
> > needing to load lots of jars and classes to do something simple will
> > make that simple thing take a long time.
> >
> > On Mar 1, 9:21 am, François Masurel  wrote:
> >
> >
> >
> > > There seems to be an incompressible deploying time, even if you access
> > > a pretty simple page in GAE.
> >
> > > In my case, a pretty basic servlet making a simple read in the
> > > datastore can take as much as 15s to load.
> >
> > > My web.xml is pretty basic too, only one filter : I'm doing the
> > > servlet lazy-loading myself coz I reached the "100 URLMap entries"
> > > limit.
> >
> > > So I guess my application should load pretty quickly, isn't it ?
> >
> > > What am I doing wrong ?  Is the application global weight (classes,
> > > jar, static files) is to take into account for the deploying time ?
> >
> > > Thanx for your answers.
> >
> > > Francois Masurel
> > > Bordeaux, FRANCE
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Strange OverQuotaError, Image API call.

2010-03-06 Thread Bartosz Kołodziej
I am getting OverQuotaError from Image API: "OverQuotaError: The API
call images.Transform() required more quota than is available"
But my application is not over quota.

Every other call/request is okey. Only image API seems to not work
correctly. Any help on this topic?

My current quota details, from dashboard:

Image Manipulation
Image Manipulation API Calls  0% 0 of 864000 Okay
Data Sent to API 0%  0.00 of 1.00 GBytes Okay
Data Received from API   0%  0.00 of 5.00 GBytes Okay
Transformations executed 0%  0 of 2592000Okay

(yes, 0%)

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.