You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Brian Minchau (JIRA)" <xa...@xml.apache.org> on 2005/04/05 22:20:16 UTC

[jira] Resolved: (XALANJ-1560) Performance Problems-NEED HELP!

     [ http://issues.apache.org/jira/browse/XALANJ-1560?page=history ]
     
Brian Minchau resolved XALANJ-1560:
-----------------------------------

     Assign To:     (was: Xalan Developers Mailing List)
    Resolution: Won't Fix

Resolving per the Xalan-J JIRA meeting April 5, 2005. Resolving as "Won't Fix". Significant 
performance work has gone in since 2.4.0, but not
enough for issue reporter. The testcase provided by Andreas Felix may yet be useful in the future. However we no longer consider this issue active.


> Performance Problems-NEED HELP!
> -------------------------------
>
>          Key: XALANJ-1560
>          URL: http://issues.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
>     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://issues.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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org