- This topic has 4 replies, 2 voices, and was last updated 20 years, 3 months ago by
Rajesh Jain.
-
AuthorPosts
-
Rajesh JainMemberI have a mapping.xml with the following header for the DTD :
<!DOCTYPE mapping PUBLIC “-//EXOLAB/Castor Mapping DTD Version 1.0//EN”
“http://castor.exolab.org/mapping.dtd”>
<!– $Id: mapping.xml,v 1.1 2003/06/22 18:51:15 niko_schmuck Exp $ –>When I run the build All, I get a XML error saying
Server returned HTTP response code: 407 for URL: http://castor.exolab.org/mapping.dtd
I am behind a Proxy Server which requires Authentication.
I have specificed the Proxy Settings in the Preference->MyEclipse->Internet Tools->Internet Proxy
When I delete the DTD Entry, then it works fine.
Why does this error come?Secondly, when I run the WebApp under Tomcat , I get the same
error when I Java Code is opening a URL to a external site.I have specified the CATALINA_OPTS to the http.proxyHost ….
but seems that I am stuck.Could you please help you.,
TIA
Rajesh.
🙁 😳
Riyad KallaMemberWhen I delete the DTD Entry, then it works fine.
Why does this error come?You will need to download the DTD, and add an entry to the XML Catalog so the XML editor will validate the DTD from the catalog. Keep in mind that the URI will be a local file reference, like file:/c:/dtd/mapping.dtd, something like that.
I am behind a Proxy Server which requires Authentication.
I have specificed the Proxy Settings in the Preference->MyEclipse->Internet Tools->Internet Proxy
You have done the right thing, we need to fix the proxy so it is honored during validation, that is a bug.
Secondly, when I run the WebApp under Tomcat , I get the same
error when I Java Code is opening a URL to a external site.I have specified the CATALINA_OPTS to the http.proxyHost ….
but seems that I am stuck.Does this happen when you run Tomcat standalone, or just from MyEclipse?
Rajesh JainMember@support-rkalla wrote:
When I delete the DTD Entry, then it works fine.
Why does this error come?You will need to download the DTD, and add an entry to the XML Catalog so the XML editor will validate the DTD from the catalog. Keep in mind that the URI will be a local file reference, like file:/c:/dtd/mapping.dtd, something like that.
I am behind a Proxy Server which requires Authentication.
I have specificed the Proxy Settings in the Preference->MyEclipse->Internet Tools->Internet Proxy
You have done the right thing, we need to fix the proxy so it is honored during validation, that is a bug.
Secondly, when I run the WebApp under Tomcat , I get the same
error when I Java Code is opening a URL to a external site.I have specified the CATALINA_OPTS to the http.proxyHost ….
but seems that I am stuck.Does this happen when you run Tomcat standalone, or just from MyEclipse?
Quote:
When I delete the DTD Entry, then it works fine.
Why does this error come?You will need to download the DTD, and add an entry to the XML Catalog so the XML editor will validate the DTD from the catalog. Keep in mind that the URI will be a local file reference, like file:/c:/dtd/mapping.dtd, something like that.
Thanx for the tip on the DTD, but are the validations only for the DTD — which fail?
Quote:
I am behind a Proxy Server which requires Authentication.
I have specificed the Proxy Settings in the Preference->MyEclipse->Internet Tools->Internet Proxy
You have done the right thing, we need to fix the proxy so it is honored during validation, that is a bug.
When can we have the bug fixed, and is there a workaround, so that I can move forward.
Quote:
Secondly, when I run the WebApp under Tomcat , I get the same
error when I Java Code is opening a URL to a external site.I have specified the CATALINA_OPTS to the http.proxyHost ….
but seems that I am stuck.Does this happen when you run Tomcat standalone, or just from MyEclipse?
I have this issue within the MyEclipse and even outside (standalone).
thanx
Rajesh
Riyad KallaMemberThanx for the tip on the DTD, but are the validations only for the DTD — which fail?
If I understand you, yes the error is because the DTD is failing.
When can we have the bug fixed, and is there a workaround, so that I can move forward.
No ETA on the bug, the workaround is to add the DTD to the XML Catalog.
I have this issue within the MyEclipse and even outside (standalone).
I cannot help here, you will need to figure out (likely the Tomcat docs have info about Proxy use) what needs to be set to get it to work.
Rajesh JainMemberQuote:
When can we have the bug fixed, and is there a workaround, so that I can move forward.
No ETA on the bug, the workaround is to add the DTD to the XML Catalog.
My question was not for the DTD bug, I can live with that. I was refering to the bug in the Internet Proxy quote below
Quote:
I am behind a Proxy Server which requires Authentication.
I have specificed the Proxy Settings in the Preference->MyEclipse->Internet Tools->Internet Proxy
You have done the right thing, we need to fix the proxy so it is honored during validation, that is a bug.
When can we have the bug fixed, and is there a workaround, so that I can move forward.
Thanx again.
Rajesh
-
AuthorPosts