WebSphere Portal Server - WPS 51 UTE VerifyError on Xalan Transformer

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > July 2006 > WPS 51 UTE VerifyError on Xalan Transformer





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author WPS 51 UTE VerifyError on Xalan Transformer
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.


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com