#4 Even with setproxy defined xmltask need proxy authentication

closed
nobody
None
5
2004-03-18
2004-03-04
No

Here´s the exception.

[xmltask] dropping d:\jbuilder4\lib\jaxp.jar from
path as it doesn't exist
[xmltask] java.io.IOException: Server returned HTTP
response code: 407 for URL
: http://java.sun.com/dtd/web-app_2_3.dtd
[xmltask] at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(Ht
tpURLConnection.java:709)
[xmltask] at
org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Un
known Source)
[xmltask] at
org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown
S
ource)
[xmltask] at
org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknow
n Source)
[xmltask] at
org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unkno
wn Source)
[xmltask] at
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.d
ispatch(Unknown Source)
[xmltask] at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDoc
ument(Unknown Source)
[xmltask] at
org.apache.xerces.parsers.XML11Configuration.parse(Unknown
So
urce)
[xmltask] at
org.apache.xerces.parsers.XML11Configuration.parse(Unknown
So
urce)
[xmltask] at
org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
[xmltask] at
org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
[xmltask] at
org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown
Sour
ce)
[xmltask] at
com.oopsconsultancy.xmltask.ant.XmlTask.documentFromFile(XmlT
ask.java:263)
[xmltask] at
com.oopsconsultancy.xmltask.ant.XmlTask.execute(XmlTask.java:
407)
[xmltask] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:269)
[xmltask] at
org.apache.tools.ant.Task.perform(Task.java:364)
[xmltask] at
org.apache.tools.ant.Target.execute(Target.java:301)
[xmltask] at
org.apache.tools.ant.Target.performTasks(Target.java:328)
[xmltask] at
org.apache.tools.ant.Project.executeTarget(Project.java:1215)

[xmltask] at
org.apache.tools.ant.Project.executeTargets(Project.java:1063
)
[xmltask] at
org.apache.tools.ant.Main.runBuild(Main.java:632)
[xmltask] at
org.apache.tools.ant.Main.startAnt(Main.java:183)
[xmltask] at
org.apache.tools.ant.launch.Launcher.run(Launcher.java:197)
[xmltask] at
org.apache.tools.ant.launch.Launcher.main(Launcher.java:56)

BUILD FAILED
D:\tmp\blah.xml:21: Server returned HTTP response code:
407 for URL: http://java
.sun.com/dtd/web-app_2_3.dtd

Discussion

  • Brian Agnew
    Brian Agnew
    2004-03-18

    Logged In: YES
    user_id=521055

    This is an interaction between the Xerces schema resolution
    mechanism and Ant. Use the <xmlcatalog/> mechanism to
    resolve remote DTDs/schema to local copies in order to
    resolve this.

     
  • Brian Agnew
    Brian Agnew
    2004-03-18

    • status: open --> closed