Environment:

Tomcat 3.2.1
Xalan 2.0 (also tried 2.1.0)
Xerces 1.2.3


I applied a self-composed XSL from command line, it took 17 seconds. But
running it in a servlet on Tomcat, it took 80 seconds! After profiling,
I could identify that Thread.join() in endDocument() took up more than
90% of the time. I guess this is because it needs to wait all other
threads to finish to complete the work. I am using a SAX source to feed
into Xalan. 

I read somewhere in this mailing list that Xalan has some threading
issues with servlet container. Is this the issue? If so, what's my
alternative?

Many thanks in advance.

Sincerely,
Li Liang

Reply via email to