cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sieg du Preez <>
Subject Re: Error when loading XSP pages: method normalize()V not found
Date Fri, 16 Jun 2000 05:29:46 GMT
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
Hi Diethelm,
<p>The problem is that IBM's xml4j.jar (for the ibm xml parser) is also
included in the classpath and which also include the org.w3c.dom package
with all the interfaces for the DOM.&nbsp; Now, the IBM's interfaces differ
from the ones being used by Xerces (level 1 vs. level 2 I would say).&nbsp;
You have to make sure that xerces.jar is specified before xml4j.jar.&nbsp;
In your admin.config (in the WebSphere\AppServer\bin dorectory), find the
<br>&nbsp;&nbsp;&nbsp; <b></b>=C:/WebSphere/AppServer/lib/ibmwebas.jar;...
<br>See that xerces, xalan, cocoon,etc are specified here and placed before
<p>Does it make sense?&nbsp; I'm pretty sure this is the reason.&nbsp;
If not, let me know...
<p>"Diethelm Guallar, Gonzalo" wrote:
<blockquote TYPE=CITE>&nbsp;
<p><font size=-1>Thanks for all the info. I did read the FAQ, but</font>
<br><font size=-1>my platform is different:</font>
<p><font size=-1>* Windows NT 4.0</font>
<br><font size=-1>* IBM WebSphere 3.02</font>
<br><font size=-1>* IBM Webserver (I understand this is really Apache)</font>
<p><font size=-1>I added Cocoon into Default Server/servletEngine/default_app,</font>
<br><font size=-1>and I have been fiddling with the classpath for the</font>
<br><font size=-1>default_app (there is no other visible place where I
<br><font size=-1>configure the classpath within WebSphere), adding and</font>
<br><font size=-1>moving cocoon.jar and some of the other jar files</font>
<br><font size=-1>distributed with cocoon, but I keep getting the normalize()V</font>
<br><font size=-1>error. Any other hints?</font>
<p><font size=-1>As you can tell, I'm not very knowledgeable in either</font>
<br><font size=-1>Cocoon or WebSphere.</font>
<p><font size=-1>[I'm CCing Sieg, who helped me in the past. Hi!]</font>
<p><font size=-1>Thanks in advance,</font>
<p><font size=-1>--</font>
<br><font size=-1>Gonzalo A. Diethelm</font>
<br><font size=-1></font>
<p><font size=-1>> -----Original Message-----</font>
<br><font size=-1>> From: David Parry [<a href=""></a>]</font>
<br><font size=-1>> Sent: Friday, June 09, 2000 8:04 PM</font>
<br><font size=-1>> To:</font>
<br><font size=-1>> Subject: Re: Error when loading XSP pages: method</font>
<br><font size=-1>> normalize()V not found</font>
<br><font size=-1>></font>
<br><font size=-1>></font>
<br><font size=-1>> on 9/6/00 11:57 pm, Diethelm Guallar, Gonzalo at</font>
<br><font size=-1>></font>
<br><font size=-1>> wrote:</font>
<br><font size=-1>> > line, I get the following stack trace:</font>
<br><font size=-1>> > java.lang.NoSuchMethodError: org.w3c.dom.Node: method</font>
<br><font size=-1>> normalize()V not found</font>
<br><font size=-1>> > at</font>
<br><font size=-1>></font>
<br><font size=-1>> sor.process</font>
<br><font size=-1>> > (</font>
<br><font size=-1>></font>
<br><font size=-1>> This almost constitutes an FAQ...</font>
<br><font size=-1>></font>
<br><font size=-1>> It's probably to do with the order that your CLASSPATH</font>
<br><font size=-1>> settings are set...</font>
<br><font size=-1>> there is an older version of org.w3c.dom.* which is
<br><font size=-1>> in one of the</font>
<br><font size=-1>> previous versions of JServ, which uses DOM version
1, and the</font>
<br><font size=-1>> newer versions</font>
<br><font size=-1>> of Xalan (or is it Xerces... I can't remember), which
<br><font size=-1>> DOM version 2...</font>
<br><font size=-1>> very similar, but different enough to cause this drama...</font>
<br><font size=-1>></font>
<br><font size=-1>> The answer (at least in JServ) is to put the CLASSPATHs
<br><font size=-1>> cocoon before</font>
<br><font size=-1>> the classpaths for Tomcat/Jserv (in order).</font>
<br><font size=-1>></font>
<br><font size=-1>> Is this right? (please correct me...)</font>
<br><font size=-1>></font>
<br><font size=-1>></font>
<br><font size=-1>> ------------------------------------------------</font>
<br><font size=-1>> David Parry, Object Mangler</font>
<br><font size=-1>></font>
<br><font size=-1>> 115 Highbury New Park, London N5 2HG</font>
<br><font size=-1>> Radiophonic Voice Index: +44 7887 550 939</font>
<br><font size=-1>> Digital paper facsimile: +44 870 168 9357</font>
<br><font size=-1>></font>
<br><font size=-1>> email:</font>
<br><font size=-1>> web: <a href="" TARGET="_blank"></a></font>
<br><font size=-1>> ------------------------------------------------</font>
<br><font size=-1>> >Have you considered the benefits of aluminium siding?</font>
<br><font size=-1>></font>
<br><font size=-1>></font>
<br><font size=-1>></font>
<br><font size=-1>> ---------------------------------------------------------------------</font>
<br><font size=-1>> To unsubscribe, e-mail:</font>
<br><font size=-1>> For additional commands, e-mail:</font>
<br><font size=-1>></font></blockquote>

View raw message