You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2006/11/04 16:11:55 UTC
DO NOT REPLY [Bug 40895] New: - Tomcat breaks XSLT on JRE5 or above
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
DO NOT REPLY [Bug 40895] - Tomcat breaks XSLT on JRE5 or above
Posted by bu...@apache.org.
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
markt@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
------- Additional Comments From markt@apache.org 2006-11-10 17:35 -------
As per
http://forum.java.sun.com/thread.jspa?tstart=30&forumID=34&threadID=542044&trange=15
another solution is to set a system property.
System.setProperty("javax.xml.transform.TransformerFactory",
"com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl");
This is not an issue for 5.5.x
5.0.x is no longer actively being worked on. I am therefore resolving this as
WONTFIX since that best reflects the status of this issue.
--
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