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=11081>. 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=11081 lack of synchronization (Could not compile stylesheet) Summary: lack of synchronization (Could not compile stylesheet) Product: XalanJ2 Version: 2.0.0 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: org.apache.xalan.xsltc AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] having (as XSLTC guide shows) TransformerFactory tFactory = TransformerFactory.newInstance(); Templates translet = tFactory.newTemplates(new StreamSource(xslInURI)); in multi-user and multi-threading application I often get exception while trying to first time compile the stylesheet ERROR: Invalid method signature: org/apache/xalan/xsltc/TransletOutputHandler;)V 2002-07-18 13:15:47,601 WARN [HttpProcessor[8080][1]] util.XSLTTemplateCache (XSLTTemplateCache.java:260) - Exception during transformer retrievialfile:/c:/project/ContentTransformers/xsl t/form.xsl javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet at org.apache.xalan.xsltc.trax.TransformerFactoryImpl.newTemplates (TransformerFactoryImpl.java:574) and than having TransformerFactory tFactory = TransformerFactory.newInstance(); synchronized (this) { Templates translet = tFactory.newTemplates(new StreamSource(xslInURI)); } it helps to avoid this problem
