This solves my issues, thanks Ikai!

Suggestion: make sure that the Eclipse plugin doesn't generate a
web.xml with DOCTYPE set.


On Nov 16, 7:19 am, Didier Durand <[email protected]> wrote:
> Ikai,
>
> suggestion for your deploy process: would it be possible to generate a
> warning in the console output of the deploy if we used the wrong
> DOCTYPE line int he source code that App Engine parses: that would
> allow people to fix their source code quickly even if they didn't read
> this thread
>
> regards
>
> didier
>
> On Nov 16, 1:46 am, "Ikai Lan (Google)" <[email protected]>
> wrote:
>
>
>
>
>
>
>
> > Okay, just got confirmation that the reason this isn't working
> > intermittently is related to having DOCTYPE in web.xml. Do you guys have a
> > line in your web.xml that looks like this?
>
> >  <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
> > 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd";>
>
> > If so, can you replace it with this?
>
> > <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> >  xmlns="http://java.sun.com/xml/ns/javaee"; 
> > xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd";
> >  xsi:schemaLocation="http://java.sun.com/xml/ns/javaeehttp://java.sun.com/xml/ns/javaee/we...";
> >  version="2.5">
>
> > The reason this issue occurs is that a deploy will attempt to retrieve the
> > DTD, but if the server is overloaded or not responsive, the deploy operation
> > will just time out.
>
> > --
> > 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 15, 2010 at 3:09 PM, Artem <[email protected]> wrote:
> > >  Here it is:http://paste.pocoo.org/show/291784/
>
> > > On 11/16/2010 01:29 AM, Ikai Lan (Google) wrote:
>
> > > Does anyone have a stack trace if an exception is thrown? Will deploy work
> > > after a rollback?
>
> > > --
> > > 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
>
> > >  --
> > > 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
> > > [email protected].
> > > To unsubscribe from this group, send email to
> > > [email protected]<google-appengine-java%2B
> > >  [email protected]>
> > > .
> > > 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to