Hi,

we've developed a script language which is translated into a Java
program.

The following bit of code is standard in the generated Java class

* ----- *
| CODE  |
* ----- *
if (level>=10 & logging) logLine(3,new
String[]{"serializer",toString(serializer)},10);
if (level>=10 & logging) logLine(10,new String[]{},10);
try {
   TransformerFactory factory = null;
   factory = TransformerFactory.newInstance();
   if (level>=10 & logging) logLine(3,new
String[]{"factory",toString(factory)},10);
   serializer = factory.newTransformer();
   if (level>=10 & logging) logLine(3,new
String[]{"serializer",toString(serializer)},10);
}
catch (Exception e) {
   if (level>=10 & logging) logLine(23,new String[]{},10);
   if (level>=5 & logging) logLine(28,new String[]{"couldn't make new
transformer"},5);
}
if (level>=10 & logging) logLine(11,new String[]{},10);
* ----- *
| /CODE |
* ----- *

The first two logLines are logged, the third one (right after
TransformerFactory.newInstance()) isn't anymore. The program doesn't
quit, no exceptions are thrown.

On our developer machines this works without problems, when we install
our software on a clean, newly installed pc, it doesn't work.

I've tried adding the system value for
javax.xml.transform.TransformerFactory. I'm also sure the xalan.jar
(2.7.0) is on the classpath.

Anyone knows what to do now?

Thanks,
Brecht 

Reply via email to