tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 40895] New: - Tomcat breaks XSLT on JRE5 or above
Date Sat, 04 Nov 2006 15:11:55 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40895>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40895

           Summary: Tomcat breaks XSLT on JRE5 or above
           Product: Tomcat 5
           Version: 5.0.31
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: kk@kohsuke.org


Tomcat puts common/endorsed/xml-apis.jar to the endorsed directory. This
xml-api.jar is from Apache. When the application tries to invoke

  javax.xml.transform.TransformerFactory.newInstance()

this xml-apis.jar implementation eventually tries to fall back to the hard-coded
"org.apache.xalan.processor.TransformerFactoryImpl", which simply doesn't exist
anywhere in JRE5.

A few ways to fix this problem.

- Also bundle Xalan in Tomcat.
- Do not put xml-apis.jar and xerces.jar in the endorsed directory. Instead just
put them in the classpath. In this way, Tomcat can find some parser/transformer
in any version of JRE (1.3,1.4,5.0,...)

See http://www.google.com/search?q=Tomcat+TransformerFactoryConfigurationError
for how pervasive this issue is.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message