|
Re[2]: xmlc and tomcat4.1.1.12 compatibility problem: msg#00098java.enhydra.xmlc
Hello David, Yes, but I believe that Richard accounted for this (search the archives) which is why it works in shared/lib even with Xerces-2.x.x in common/endorsed. Works for me completely. You should ask Richard about this. I think he uses reflection to determine what is supported. Jake Monday, November 25, 2002, 10:54:16 AM, you wrote: DL> I just found out that Apache 1.4.4 is implemented with an experimental DL> W3C DOM API that's not exactly compatible with the final release. DL> Namely, the setEncoding in the org.w3c.dom.Document is removed from DL> final release. This makes XMLC throws exception in some rare case. DL> With that in mind, I'd suggest putting the xerces.jar from XMLC 2.1 to DL> the TOMCAT_HOME/common/endorsed. This way, if you are running JDK 1.4, DL> the org.w3c.dom class will be picked up from the XMLC xerces.jar DL> instead of the default DOM API in the JDK. This would avoid the problem DL> with DOM API. DL> On Tuesday, Nov 26, 2002, at 10:56 Asia/Shanghai, Jacob Kjome wrote: >> >> No, actually you can leave Tomcat's endorsed directory alone. Just >> put the xerces version that comes with XMLC-2.1 into Tomcat's >> shared/lib directory... along with jtidy, gnu-regexp, and xmlc. >> Everything should be fine. >> >> Jake >> >> At 05:52 PM 11/25/2002 +0800, you wrote: >> >> Remove the two xerces jars files from the tomcat/common/endoursed >> directory. >> >> David >> >> >> On Monday, Nov 25, 2002, at 17:01 Asia/Shanghai, Bagyura István wrote: >> >> Hi everyone! >> >> I have a problem with tomcat 4.1.12 and xmlc that I haven't >> experienced before. >> I have a project that uses xmlc and runs under tomcat 4.0.1. It runs >> nicely. >> But I have tried to upgrade tomcat 4.1.12 and I've got the following >> error: >> >> java.lang.VerifyError: (class: >> org/enhydra/xml/lazydom/LazyElementNoNS, method: expandAttributes >> signature: ()V) Incompatible object argument for function call >> at java.lang.Class.forName0(Native Method) >> at java.lang.Class.forName(Class.java:120) >> at >> org.enhydra.xml.lazydom.html.LazyHTMLDocument.populateElementType(LazyH >> TMLDocument.java:689) >> at >> org.enhydra.xml.lazydom.html.LazyHTMLDocument.populateElementTypes(Lazy >> HTMLDocument.java:620) >> at >> org.enhydra.xml.lazydom.html.LazyHTMLDocument.(LazyHTMLDocument.java:70 >> 1) >> at >> org.enhydra.xml.xmlc.dom.lazydom.LazyHTMLDomFactory.createDocument(Lazy >> HTMLDomFactory.java:46) >> at com.hungary.smart.presentation.indexHTML.(indexHTML.java:417) >> >> I tried to configure my tomcat as the previous one, but it can't help. >> >> I can't figure out the solution. >> >> Thanks for your help! >> >> Istvan Bagyura >> >> >> </blockquote></x-html> >> -- Best regards, Jacob mailto:hoju@xxxxxxxx
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: xmlc and tomcat4.1.1.12 compatibility problem, David Li |
|---|---|
| Next by Date: | Re: Re[2]: xmlc and tomcat4.1.1.12 compatibility problem, David Li |
| Previous by Thread: | Re: xmlc and tomcat4.1.1.12 compatibility problem, David Li |
| Next by Thread: | Re: Re[2]: xmlc and tomcat4.1.1.12 compatibility problem, David Li |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |