Re: Tomcat classloader



Moiristo wrote:

I have a web application that performs an XML transformation with an
XSLT style ***. It uses standard transformation classes from
jax.xml.transform, Transformer and TransformerFactory. The result is
saved in a StreamResult object.

Strange thing is, the first time when I perform a transformation, the
XSL (not the XML) Document is written to the StreamResult. On retry, it
works fine. I think it has something to do with the Tomcat classloader.
Why do you think this? Is it a wild guess? Or did you run your
web-application in *another* Java-web-server too, and you did *not* get the
described strange behaviour there?

Does anyone have other ideas on this (and possibly, a solution)?
Another reason might be a bug somewhere in your web-application (especially
in using static variables).

--
"Thomas:Fritsch$ops.de".replace(':', '.').replace('$', '@')
.