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=20710>. 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=20710 Performance Problems-NEED HELP! Summary: Performance Problems-NEED HELP! Product: XalanJ2 Version: 2.4 Platform: HP OS/Version: HP-UX Status: NEW Severity: Critical Priority: Other Component: Xalan AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] We use Xalan in the Version 2.4.1 for a Search-Engine(Web-Application). The database is Oracle 8.1.7 und the Web Server runs on HP-Ux with Apache and Tomcat. using Java Servlet with Java Version 1.2.2 .The Content from the Database (XML) is transformed in HTML with XSL�s. With multiple concurrent transformation (about 200 users on 1 machine, different stylesheets) the transformation times are getting higher and pushes the performance down. Code-Snippet: Result pOut = null; TransformerFactory myFactory = new TransformerFactory.newInstance(); // Prepare XSL-Transformer StreamSource xslSource= new StreamSource(new File(myStylesheet)); Transformer myTransformer = myFactory.newTransformer(xslSource); // Prepare XML // String xmldata InputStream xmlInputStream = new ByteArrayInputStream(xmlData.getBytes)); InputStream xmlIn= new BufferedInputStream(xmlInputStream); StreamSource xmlSource= new StreamSource(xmlIn); // Transformation myTransformer.transform(xmlSource, pOut); // Code-Snippet-End Have anybody related problems? Are the usage of Templates better for the Transformation process? deeply gratefule for any advice! thanks to the community! Andreas Felix
