Re: [xsl] Strange intermittent exceptions from Xalan

Subject: Re: [xsl] Strange intermittent exceptions from Xalan
From: Johannes Döbler <jd@xxxxxxxxxxxxxx>
Date: Mon, 19 Mar 2001 17:06:14 +0100
Seems to be a problem with your Webserver when the xsl file is read via a http connection. Do you really need to access the XSL file via that sort of connection. Perhaps it is on the same machine as the application - in that case you just can read it locally (create a StreamSource and pass the file path to its constructor).


At 15:16 19.03.01 +0000, you wrote:

I've been developing a Java application that uses XSL transformations.  This
is hosted within a servlet on BEA Weblogic 5.1.  I'm using Xalan for Java 2

The problem is intermittent, and I haven't a clue as to why it would happen.
I am still trying to narrow if its a Weblogic problem or a Xalan problem,
and I wondered if any other XSL developers had come across anything similar.
I wouldn't mind, but its the sheer fact that it transforms sometimes, but
then fails.

The exception is:

javax.xml.transform.TransformerConfigurationException: Connection refused:
no further information

The code is as follows:

URL xslURL = new URL("http://mymachine/servlet/xsl/testXSL.xsl";);
TransformerFactory tFactory = TransformerFactory.newInstance();
Transformer transformer = tFactory.newTransformer(new

Has anyone else encountered the above exception, and was it also



Check us out at


XSL-List info and archive:

XSL-List info and archive:

Current Thread