> I am having to rebuild Tomcat 4.0.1 from source (see reason below). > > My build seems to proceed smoothly till I reach build.xml in > tomcat-docs. Error is, > > webapps\tomcat-docs\build.xml:80: > javax.xml.transform.TransformerFactoryConfigurationError: Provider > org.apache.xalan.pro > cessor.TransformerFactoryImpl not found
Put the xalan JAR in $ANT_HOME/lib, and I think it should work. > Question: Can I abandon this part of the build (since it to do with > docs). If yes, then what do I change in the top level > build.xml file. > > > ---------------------------------------- > Reason for building (a.k.a "my gripe"): > ---------------------------------------- > > For some strange reason, in 4.0.1, in the file > org\apache\catalina\realm\JDBCRealm.java, line 549 > the code states [under function protected Connection open() ]: > > dbConnection = driver.connect(connectionURL, props); > > Whereas under Tomcat 3.0, in file > org\apache\tomcat\request\JDBCRealm.java, line 477 (& 479) > the call is > > dbConnection = DriverManager.getConnection(connectionURL); > > Why on earth did this call get changed from version 3.0 to version 4.0 > remains a mystery. Don't know. I've always used the second form. I think it would be reasonable to revert to DriverManager.getConnection if the other one causes trouble. > Needless to say it is causing havoc to connectivity when using the JDBC > realm. Remy
