tomcat 55 and javaxxmltransform
Thu, Jun 9, 2005
javax.xml.transform.Transformer is used by Guanxi::IdP/setup to write the auto generated certificate information to the IdP’s config file. It works fine on Tomcat 5.0.x but I’ve recently deployed Guanxi::IdP on Tomcat 5.5 on JDK 1.5 on Linux and got the following exception:
javax.xml.transform.TransformerException: java.io.FileNotFoundException: file:/ROOT_PATH/WEB-INF/config/idp.xml (No such file or directory)
The problem was caused by Tomcat 5.5 and the way it handles javax packages. It will only load them from it’s /common/endorsed directory.
Moving xercesImpl.jar and xml-apis.jar from WEB-INF/lib to common/endorsed solved the problem