[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Strange intermittent exceptions from Xalan
Hi, 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 (v2.0.0) 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 at org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(Transformer FactoryImpl.java:650) The code is as follows: URL xslURL = new URL("http://mymachine/servlet/xsl/testXSL.xsl"); TransformerFactory tFactory = TransformerFactory.newInstance(); Transformer transformer = tFactory.newTransformer(new StreamSource(xslURL.toString())); Has anyone else encountered the above exception, and was it also intermittent? Regards, Peter ****************************************************************************** Check us out at http://www.syntegra.com *********************************************************************** XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|