DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4574>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4574 javax.xml.transformer.FactoryFinder#newInstance fails when called from servlets Summary: javax.xml.transformer.FactoryFinder#newInstance fails when called from servlets Product: XalanJ2 Version: CurrentCVS Platform: PC OS/Version: All Status: NEW Severity: Normal Priority: Other Component: javax.xml AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Since I updated Xalan-Java 2.2D12, my servlet using javax.xml.transformer.* has spewed up the following error: Error: 500 Location: /diary/servlet/view Internal Servlet Error: javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.processor.TransformerFactoryImpl not found at javax.xml.transform.TransformerFactory.newInstance(Unknown Source) at org.unixuser.ueno.diary.processors.TransformerProcessor.process(Unknown Source) at org.unixuser.ueno.diary.DiaryBuilder.process(Unknown Source) at org.unixuser.ueno.diary.DiaryBuilder.build(Unknown Source) at org.unixuser.ueno.diary.servlet.View.doGet(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java) at javax.servlet.http.HttpServlet.service(HttpServlet.java) ... Of course, the SPI class org.apache.xalan.processor.TransformerFactoryImpl is located in <tomcat>/webapps/diary/lib/xalan.jar counted when the servlet container started. When I made a change in FactoryFinder#newInstance(String,ClassLoader) not to use the context ClassLoader for the current thread (i.e. always to call Class.forName), it worked as before. Regards,
