Jeff,

I've come up to a better solution: just create a servlet 2.5 style
header for web.xml. To to that,
   1. Remove these two lines from web.xml
      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE web-app
          PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//
EN"
          "http://java.sun.com/dtd/web-app_2_3.dtd";>
   2. Replace the first line (<web-app>) with this one:
      <web-app xmlns="http://java.sun.com/xml/ns/javaee";
version="2.5">


On Nov 17, 1:48 pm, Jeff Schwartz <jefftschwa...@gmail.com> wrote:
> The https version isn't available either. Attempts to reference it in the
> web.xml file abort with the following message:
>
> Connection timed out: connect    web.xml
>
> A temporary solution is to remove or comment out the reference to the dtd
> from the web.xml file until the issue is resolved which will permit you to
> deploy your application.
>
> Perhaps some other organization should step up and take responsibility for
> caching this file as Oracle doesn't seem to be the benevolent Java steward
> one would have hoped it would be. Perhaps Google itself could cache this on
> one of their servers and refactor the GWT plugin to reference that.
>
> I am growing increasingly weary of Oracle and their handling of Java. Makes
> me regret the day I ever thought they might be good for the language and I
> hope Google whoops their butt in court over the Android suit. And don't even
> get me started on their latest shenanigans with Apple over the JRE.
>
> Jeff
>
>
>
> On Wed, Nov 17, 2010 at 6:41 AM, Stream18 <strea...@gmail.com> wrote:
> > I finally found the reason for this error. It is java.sun.com server
> > that is failing to serve the DTD file we reference in our web.xml. It
> > seems sun (now Oracle) servers for http are not serving well these
> > days, maybe it is related with Oracle migrating java web servers to
> > new platform.
>
> > I solved this problem referencinghttps://java.sun.com/dtd/web-app_2_3.dtd
> > (SSL secured version) instead of the original
> >http://java.sun.com/dtd/web-app_2_3.dtd
> > in the web.xml file (DOCTYPE definition)
>
> > There is another possibility: you can use and reference a local copy
> > of this DTD file, see here how to do it:
>
> >http://stackoverflow.com/questions/4195022/local-copy-of-http-java-su...
>
> > Eduardo G.
>
> > On Nov 16, 8:23 am, George  Moschovitis <george.moschovi...@gmail.com>
> > wrote:
> > > I am getting a similar error, very frustrating...
>
> > > -g.
>
> > > On Nov 9, 2:47 pm, Erik <erik.e.wil...@gmail.com> wrote:
>
> > > > I have also been getting constant deployment errors with Java
> > > > deployment for the past couple days, seems like something is funny on
> > > > the google side, don't think my connection is flaky:
>
> > > > Nov 9, 2010 7:18:59 AM
> > > > com.google.apphosting.utils.config.AbstractConfigXmlReader
> > > > getTopLevelNode
> > > > SEVERE: Received IOException parsing the input stream for /home/erik/
> > > > workspace/wikihop/war/WEB-INF/web.xml
> > > > java.net.ConnectException: Connection timed out
> > > >         at java.net.PlainSocketImpl.socketConnect(Native Method)
> > > >  ...
> > > > SEVERE: Received exception processing /home/erik/workspace/wikihop/war/
> > > > WEB-INF/web.xml
> > > > com.google.apphosting.utils.config.AppEngineConfigException: Received
> > > > IOException parsing the input stream for /home/erik/workspace/wikihop/
> > > > war/WEB-INF/web.xml
> > > >         at
>
> > com.google.apphosting.utils.config.AbstractConfigXmlReader.getTopLevelNode(
> > AbstractConfigXmlReader.java:
> > > > 210)
> > > >  ...
> > > > Bad configuration: Received IOException parsing the input stream for /
> > > > home/erik/workspace/wikihop/war/WEB-INF/web.xml
> > > >   Caused by: Connection timed out
>
> > --
> > 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<google-appengine%2bunsubscr...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.
>
> --
> *Jeff Schwartz*

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

Reply via email to