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: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to