Hello,
This may be better suited to the Tomcat group but I thought I'd ask here first to see if anyone has had this problem. I've upgraded from Tomcat 4.0.6 to 4.1.12 and ApplyXSLT from xalan_j_2_4_1 has stopped working.
Basically It is looking for the document specified in the "URL" parameter at port 80 instead of 8080. This same thing was happening to me a long time ago but I can't remember what I did to solve.
Here is the url if that helps: http://mayor.lib.virginia.edu:8080/xslt/transform?URL=/xslt/transcripts/Dad_Scolds_Purdron14.xml&xslURL=/xslt/stylesheets/tib_and_eng.xsl&debug=true&test=Dad_Scolds_Purdron14.xml
This url works: http://mayor.lib.Virginia.EDU:8080/xslt/transcripts/Dad_Scolds_Purdron14.xml
This url doesn't work: http://mayor.lib.Virginia.EDU:80/xslt/transcripts/Dad_Scolds_Purdron14.xml
Here is the Servlet Exception:
HTTP Status 404 - <B>http://mayor.lib.Virginia.EDU:80/xslt/transcripts/Dad_Scolds_Purdron14.xml <BR>getDocument() resulted in ApplyXSLTException <BR>debug is true <BR>Parsing XML Document from request parameter: http://mayor.lib.Virginia.EDU:80/xslt/transcripts/Dad_Scolds_Purdron14.xml <BR></B> <BR> <PRE> java.io.FileNotFoundException: http://mayor.lib.Virginia.EDU:80/xslt/transcripts/Dad_Scolds_Purdron14.xml at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:573) at java.net.URL.openStream(URL.java:793) at servlet.ApplyXSLT.getDocument(ApplyXSLT.java:493) at servlet.ApplyXSLT.process(ApplyXSLT.java:316) at servlet.ApplyXSLT.doGet(ApplyXSLT.java:270) at
...clip... Apache Tomcat/4.1.12
Even including the host in the parameters causes it to look for the files through port 80.
http://mayor.lib.virginia.edu:8080/xslt/transform?URL=http://mayor.lib.virginia.edu:8080/xslt/transcripts/Dad_Scolds_Purdron14.xml&xslURL=http://mayor.lib.virginia.edu:8080/xslt/stylesheets/tib_and_eng.xsl&debug=true&test=Dad_Scolds_Purdron14.xml
The files are accessible through Apache if I change the path to include ~my-name in the URL but I shouldn't have to do that. Any ideas?
Travis McCauley Tibetan and Himalayan Digital Library (http://thdl.org) University of Virginia
