-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: org.dom4j.DocumentException: Connection timed out
PostPosted: Wed Nov 01, 2006 4:46 pm 
Newbie

Joined: Wed Nov 01, 2006 4:11 pm
Posts: 7
I am seeing this error:

org.dom4j.DocumentException: Connection timed out: connect Nested exception: Connection timed out: connect

The DOCTYPE declaration is correct:

<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">

I can browse to the DTD url, and the hibernate jar has the DTD in it and Dom4J should use the hibernate entity resolver and pull the local dtd, correct?

So I'm at a loss. AFAIK, I haven't changed anything - but I must have, it just stopped working.

Much thanks for your assistance, been looking at this for a full day now.


Top
 Profile  
 
 Post subject: Solution
PostPosted: Wed Nov 01, 2006 6:05 pm 
Newbie

Joined: Wed Nov 01, 2006 4:11 pm
Posts: 7
My co-worker discovered that adding this to the host file resolves this:

192.168.1.155 hibernate.sourceforge.net

---

For some reason with how we are loading our xml resources, the local dtd resolver isn't working. If you are in a similar situation, give this host file addition a shot (even if you are able to already browse to the DTD in a browser).


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.