tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Liu <f...@mail.vipstage.com>
Subject Re: xml parser in 4.0.6 and 4.1.12
Date Tue, 15 Oct 2002 00:02:05 GMT

here are some more info:
cd jakarta-tomcat-4.1.12/common/endorsed
rm *.jar
restart tomcat, now everything works.
so it is definitely the incompatibility. any side effects for my
workaround?

Frank

On Mon, 14 Oct 2002, Frank Liu wrote:

>
> Yes, I tried to remove those but got other errors.
> eg: if I remove xerces.jar from WEB-INF/lib, I got
> "not found" errors for "org/apache/xerces/framework/...."
>
> jar tvf jakarta-tomcat-4.1.12/common/endorsed/xercesImpl.jar | grep framework
> doesn't show any matches. but they are in the old "xerces.jar" that I
> removed.
>
> Frank
>
>
> On Mon, 14 Oct 2002, Jacob Kjome wrote:
>
> >
> > 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:tomcat-user-unsubscribe@jakarta.apache.org>
> > >For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>
> >
>
>


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message