[jdom-interest] Hi Again

Jason Hunter jhunter at collab.net
Tue Jun 26 22:35:03 PDT 2001


> Well, I am using tomcat 3.2.2, I wanted to load one of the web.xml files
> using the SAXBuilder, but I get this error:
> "org.jdom.JDOMException: Error in building: Operation timed out: no further
> information"
> what I figured is that there is a DOCTYPE declaration in this file that
> appears to be causing the error. This is the web.xml file that I used. When
> I removed the DOCTYPE declaration everything worked fine. Any suggestion
> would be really welcome

Sounds like Xerces is trying to contact java.sun.com to get the DTD
(yes, it does this even if validation is off) and is unsuccessful for
some reason, like you have a firewall.  You can use an EntityResolver in
the builder to avoid this issue.

-jh-



More information about the jdom-interest mailing list