You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xalan.apache.org by dmecir <dm...@yahoo.com> on 2009/03/23 10:10:12 UTC

Xalan produces empty output

When there is high load on the website (more than 10 requests per second),
Xalan produces empty output during the startup of Tomcat (5.5) for the first
1 or 2 transformed XSL stylesheets.

I cache the XSL templates objects in a shared cache that gets accessed in a
synchronized block (both put and get operations). Every request gets it's
own transformer factory, so they are not shared across requests. Each time I
do a transformation, I create a new transformer from the XSL template. I
verified that the XSL stylesheet gets loaded properly.

My webapp needs about 30 seconds for startup, everything is initialized
inside the servlet's init() method. I have the feeling that somehow there is
an overlap between init() and doGet().

Any hints?
Dominik


-- 
View this message in context: http://www.nabble.com/Xalan-produces-empty-output-tp22656475p22656475.html
Sent from the Xalan - J - Users mailing list archive at Nabble.com.