| Brian J. Sayatovic 2006-07-26, 1:28 pm |
| We have some code which is written against JAXP to use a Transformer from th
TransformerFactory to transform a DOM source into a String. It's blowing up
in the WebSphere Portal 5.1 universal test environment under RAD6 with a
VerifyError:
javax/xml/transform/Transformer.transform(Ljavax/xml/transform/Source
9;Ljavax/xml/transform/Result;)V]: java.lang.VerifyError:
javax/xml/transform/Transformer.transform(Ljavax/xml/transform/Source;Ljavax
/xml/transform/Result;)V
My crude interpreation is that something went wrong when it tried to invoke
that method on the actual Transformer instance, a Xalan class:
org.apache.xalan.transformer.TransformerIdentityImpl.
Now I've used the debugger to inspect the classpath of the context
classloader at runtime just before this fails, and it includes several files
which don't actually exist on my system:
...
C:\Program Files\Portal51UTE\PortalServer\shared\ap
p\xalan-2.4.1.jar
C:\Program Files\Portal51UTE\PortalServer\shared\ap
p\xalan.jar
C:\Program Files\Portal51UTE\PortalServer\shared\ap
p\wpai\xalan.jar
...
So I'm not sure where its picking the Xalan implementation up at runtime, or
if I'm just barking up the wrong tree entirely.
Any ideas?
Regards,
Brian.
|