[ http://nagoya.apache.org/jira/browse/XALANJ-1560?page=history ]

Henry Zongaro updated XALANJ-1560:
----------------------------------

    Priority: Critical

> Performance Problems-NEED HELP!
> -------------------------------
>
>          Key: XALANJ-1560
>          URL: http://nagoya.apache.org/jira/browse/XALANJ-1560
>      Project: XalanJ2
>         Type: Bug
>   Components: Xalan
>     Versions: 2.4
>  Environment: Operating System: HP-UX
> Platform: HP
>     Reporter: Andreas Felix
>     Assignee: Xalan Developers Mailing List
>     Priority: Critical
>  Attachments: xml_test.zip
>
> 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to