Travis -- Are you connecting from your browser to a proxy server? If so, the servlet is retrieving the port on which the proxy server is listening, not the one that you specified in your original request.
You can configure Tomcat with the proxyPort attribute on the Connector element. Simply set it to "8080" and all should work. HTH, Gary > -----Original Message----- > From: Travis McCauley [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 21, 2002 12:18 PM > To: [EMAIL PROTECTED] > Subject: Tomcat 4.1.12 upgrade causes ApplyXSLT FileNotFoundException > > > 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/tr anscripts/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.x ml Here is the Servlet Exception: HTTP Status 404 - <B>http://mayor.lib.Virginia.EDU:80/xslt/transcripts/Dad_Scolds_Purdron1 4.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.x ml <BR></B> <BR> <PRE> java.io.FileNotFoundException: http://mayor.lib.Virginia.EDU:80/xslt/transcripts/Dad_Scolds_Purdron14.x ml at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnec tion.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.v irginia.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
