What is the web server you are running under NT/2000? Not the test
environment, but the deployment web server. Some web servers have
obsolete versions of JAXP parser/xalan. Some use them to parse
(but not transform) XML in the startup files associated with the
web server. You may not be able to simply go in and replace them.
You may have to use a customer URLClassLoader to pull the classes
you need out of javax.xml.transform, etc., and use Method.invoke()
from java.lang.reflect to manipulate the custom loaded classes.
A pain, but it works, and I have sample code if you need it.

Christa Silberbauer wrote:
> 
> Hello,
> 
> I have a problem with the TransformerImpl.transform -Method.
> My programm, which I have developed:
> It is a servlet, which read from a database informations and combine them
> with a XSL-File to a HTML Page.
> 
> e.g.
> TransformerFactory tFactory = TransformerFactory.newInstance();
> Transformer transformer = tFactory.newTransformer(new
> StreamSource("universel.xsl"));
> //Database Access
> transformer.transform(new StreamSource((Reader)rin), new StreamResult(out));
> 
> The programm run on my computer (with a ServletDebugEngine, I develop with
> Microsoft J++6.0) without problems.
> If I install the programm on a Windows2000 or Windows NT Server, the
> programm fails.
> The servlet is executed and don't throw any Exception.
> If the TransformerImpl.transform( ) Method have a fileoutput, the file is
> created, but empty.
> The same servlet executed on my computer, create the file and fill the file.
> 
> What can be wrong? Have you any idea?
> Who can help?
> 
> Thanks
> 
> Christa Silberbauer
> 
> [EMAIL PROTECTED]
> or [EMAIL PROTECTED]

Reply via email to