javax.xml.transform.TransformerException

You've installed TDI 6.1 on windows, but when you tried to run an exemple, you get the following error:

javax.xml.transform.TransformerException: java.io.IOException: Communication channel have been closed

Answer: This problem may be due to the presence of old (read: pre-6.1) xalan jar files. Check that you are using the JVM included with TDI 6.1: Java5.

Since TDI 6.1 uses the Java5 run-time, XML transformation jars have changed (including those performed to load Configs). During the transformation with old jars, the xml tree might not be formed correctly in memory, and this can lead to the IOException.

So make sure that you use the right Java libraries -- pointing TDI to the jvm bundled along with it is your safest bet. Also if you have any old xalan or xerces jars referenced by your Java classpath, remove these.

(Thanks to TDI-extraordinaire Karthik Satishkumar for this tidbit!)

-- EddieHartman - 15 Aug 2006
Topic revision: r1 - 15 Aug 2006, EddieHartman - This page was cached on 05 Aug 2023 - 19:03.

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TDI Users? Send feedback