Win a copy of Terraform in Action this week in the Cloud forum!

Eric Leschinski

Greenhorn
+ Follow
since Jun 21, 2011
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Eric Leschinski

I got the error: "java.net.ConnectException: Connection refused: connect"

What I was trying to do was validate an blahContext.xml file with a parser, but the problem comes when the parser tries to go out and validate the doctype dtd link.

myxml.xml:



The following code produces the error mentioned at the top. The failure happens when the parser goes out to validate the dtd link.

It works if you uncomment the commented lines where I overload the resolver to not do anything on link resolving. Bonus: it validates the other XML entities in the document.


Used these includes:





10 years ago
JSF