Monday, 14 May 2007

JBoss 4.0.2 under Java 1.5 / 1.6

I had a slight problem with this combination and was getting the following exception:


provider org.apache.xalan.processor.TransformerFactoryImpl not found


After some searching it turns out that the provider class has moved and it's now necessary to set a property to locate the new location. I did this with a JAVA_OPTS switch in the setenv.bat:

set JAVA_OPTS=-Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl

0 comments: