Do you include XML or DOM libraries in your WEB-INF/lib directory?  Remove 
those if you have them there.  XML and DOM libraries *must* be loaded from 
a parent classloader.  Tomcat should be ignoring the ones in WEB-INF/lib, 
but maybe it isn't fully and you are getting collisions.

Jake

At 05:10 AM 10/14/2002 +0000, you wrote:

>Hi all,
>
>I am trying to migrate one application from weblogic to tomcat.
>I was able to get it work in  tomcat 4.0.6 but it fails in tomcat
>4.1.12. The problem seems to lie in the xml parser. the jar files
>in the "jakarta-tomcat-4.1.12/common/endorsed" seems not compatible
>with the old ones. since the application is a binary only commercial
>product, I won't be able to make changes. Is there a workaround, or
>am I stuck with tomcat 4.0.x?
>
>java.lang.VerifyError: (class: com/xxx/dom/stubs/ApacheXMLStub, method:
>getXMLDocumentFromURL signature: (Ljava/lang/String;)Lorg/w3c/dom/Document;)
>Incompatible object argument for function call
>at java.lang.Class.forName0(Native Method)
>at java.lang.Class.forName(Class.java:140)
>...
>
>Thanks!
>
>
>
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to