This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
[200406281800, jdk 1.5.0] try e.g. ../JSTLExample/xml/Transform.jsp from the JSTL 1.1 examples. ERROR: Tomcat throws: javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.processor.TransformerFactoryImpl not found javax.xml.transform.TransformerFactory.newInstance(Unknown Source) org.apache.taglibs.standard.tag.common.xml.TransformSupport.doStartTag(Unknown Source) ....
The problem is caused by Tomcat. It has own javax.xml.transform.TransformerFactory class in endorsed .../common/endorsed/xmlParserAPIs.jar. The factory using the org.apache.xalan.processor.TransformerFactoryImpl which was in the JDK 1.4.X but not in the 1.5.0 as a fallback-class, implementation class if nothing else was found.
Tomcat know about it. See: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=29579
Samples to reproduce: --------------------- - sample1.jsp: <% javax.xml.transform.TransformerFactory.newInstance(); %> - sample2.jsp: <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ taglib prefix="x" uri="http://java.sun.com/jsp/jstl/xml" %> <c:set var="xml"> <a><b>header!</b></a> </c:set> <c:set var="xsl"> <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:template match="text()"> <h1><xsl:value-of select="."/></h1> </xsl:template> </xsl:stylesheet> </c:set> <x:transform doc="${xml}" xslt="${xsl}"/>
This issue really means that Tomcat does not work with JDK 1.5, so this is quite severe. Upgrading priority to P2.
Fixed in trunk by Tomcat 5.0.28 integration
the ../JSTLExample/xml/Transform.jsp from "Samples > Web > JSTL Example" project throws now [#200603270300, Tomcat 5.5.9]: java.lang.NoClassDefFoundError: org/apache/xpath/VariableStack org.apache.taglibs.standard.tag.common.xml.ExprSupport.doStartTag(Unknown Source) org.apache.jsp.xml.Transform_jsp._jspx_meth_x_out_0(Transform_jsp.java:258) .... Looks like xalan.jars is missing, at least adding xalan.jar from JSTL distribution on class-path solves this problem. So we should consider adding .jar files from JSTL distribution form standart/lib/old-depndecies into Nb JSTL Library. The sample works fine with Glassfish but does not work with latest 'Tomcat - 5.5.16' server.
Updating link to Apache issuezilla: http://issues.apache.org/bugzilla/show_bug.cgi?id=29579 How do we move forward on this? There has been no activity on the Tomcat issue for almost two years, so how can this be resolved? Is there a chance we can make any progress, or will this need to be waived? I don't think there was any user report on this issue, so is it even a P2?
I agree with pjiricka, lowering priority back to P3.
-> P3 now.
The issue on Tomcat site is marked as invalid. I would like to close this isseu as WONTFIX. Do you agree?
Agree, it is Tomcat side problem, closing as WONTFIX.