You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "wolfgang.huber" <wo...@stud.fh-regensburg.de> on 2000/11/09 12:16:52 UTC

xsp-error

hi,
i've got a problem :
i am running suse linux 6.4 with Apache 1.3.12, Tomcat 3.1 and Cocoon
1.7.4.

everything is working, but i can not process
xsp-pages.

if i request the following xsp-page:

<!-- begin -->
<?xml version="1.0"?>
<?cocoon-process type="xsp"?>

<xsp:page language="java"
xmlns:xsp="http://www.apache.org/1999/XSP/Core">

<xsp:structure>
  <xsp:include>java.text.*</xsp:include>
</xsp:structure>


<html>
<head>
        <title>Sample XSP-Page</title>
</head>
<body>
   <p>blah blah blah</p>
   <xsp:logic>
        DateFormat df = DateFormat.getDateTimeInstance(DateFormat.FULL,
DateFormat.FULL);
   </xsp:logic>
   <xsp:expr>df</xsp:expr>
</body>
</html>
</xsp:page>
<!-- end -->


i get always the following error message, not dependend to the xsp-file
i request.
Every xsp-request causes the following error message:

<!-- begin of error message -->
                                                  Error found handling
the request.

     java.lang.NoSuchMethodError: org.w3c.dom.Node: method normalize()V
not found
             at
org.apache.cocoon.processor.xsp.language.java.XSPJavaPreprocessor.process(XSPJavaPreprocessor.java:87)
             at
org.apache.cocoon.processor.xsp.language.java.XSPJavaPreprocessor.process(XSPJavaPreprocessor.java:123)
             at
org.apache.cocoon.processor.xsp.language.java.XSPJavaPreprocessor.preprocess(XSPJavaPreprocessor.java:81)
             at
org.apache.cocoon.processor.xsp.XSPLogicsheet.apply(XSPLogicsheet.java:99)
             at
org.apache.cocoon.processor.xsp.XSPProcessor.process(XSPProcessor.java:385)
             at org.apache.cocoon.Engine.handle(Engine.java:305)
             at org.apache.cocoon.Cocoon.service(Cocoon.java:167)
             at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
             at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
             at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
             at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)
             at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
             at java.lang.Thread.run(Thread.java:475)

<!-- end of error message -->


where's the problem ?


  wolfgang

---------------------------------
this is LARGE
http://large.datablocks.net

Re: xsp-error

Posted by Sylvain Wallez <sy...@anyware-tech.com>.
You have a DOM level 1 parser in your classpath. You should put
xerces.jar _before_ xml.jar in Tomcat's classpath.

-Sylvain

"wolfgang.huber" a écrit :
> 
> hi,
> i've got a problem :
> i am running suse linux 6.4 with Apache 1.3.12, Tomcat 3.1 and Cocoon
> 1.7.4.
> 
> everything is working, but i can not process
> xsp-pages.
> 
> if i request the following xsp-page:
> 
> <!-- begin -->
> <?xml version="1.0"?>
> <?cocoon-process type="xsp"?>
> 
> <xsp:page language="java"
> xmlns:xsp="http://www.apache.org/1999/XSP/Core">
> 
> <xsp:structure>
>   <xsp:include>java.text.*</xsp:include>
> </xsp:structure>
> 
> <html>
> <head>
>         <title>Sample XSP-Page</title>
> </head>
> <body>
>    <p>blah blah blah</p>
>    <xsp:logic>
>         DateFormat df = DateFormat.getDateTimeInstance(DateFormat.FULL,
> DateFormat.FULL);
>    </xsp:logic>
>    <xsp:expr>df</xsp:expr>
> </body>
> </html>
> </xsp:page>
> <!-- end -->
> 
> i get always the following error message, not dependend to the xsp-file
> i request.
> Every xsp-request causes the following error message:
> 
> <!-- begin of error message -->
>                                                   Error found handling
> the request.
> 
>      java.lang.NoSuchMethodError: org.w3c.dom.Node: method normalize()V
> not found
>              at
> org.apache.cocoon.processor.xsp.language.java.XSPJavaPreprocessor.process(XSPJavaPreprocessor.java:87)
>              at
> org.apache.cocoon.processor.xsp.language.java.XSPJavaPreprocessor.process(XSPJavaPreprocessor.java:123)
>              at
> org.apache.cocoon.processor.xsp.language.java.XSPJavaPreprocessor.preprocess(XSPJavaPreprocessor.java:81)
>              at
> org.apache.cocoon.processor.xsp.XSPLogicsheet.apply(XSPLogicsheet.java:99)
>              at
> org.apache.cocoon.processor.xsp.XSPProcessor.process(XSPProcessor.java:385)
>              at org.apache.cocoon.Engine.handle(Engine.java:305)
>              at org.apache.cocoon.Cocoon.service(Cocoon.java:167)
>              at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>              at
> org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
>              at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
>              at
> org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)
>              at
> org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
>              at java.lang.Thread.run(Thread.java:475)
> 
> <!-- end of error message -->
> 
> where's the problem ?
> 
>   wolfgang
> 
> ---------------------------------
> this is LARGE
> http://large.datablocks.net

how to use dev-shapshots ???

Posted by Gabi Brysch <br...@inxnet.de>.
hi,

[Win2000, jdk1.3, jsdk1.2.2, tomcat3.1, cocoon1.8] !

i'm working with 1.8 - and i recognized, that some bugs
still in there have been already resolved ??

how do i integrate 'patched parts' into cocoon1.8 version ??

i already downloaded from the dev-snapshot the latest 'version 2.0xx',
but i can't find in there the same structure, than it was in
cocoon 1.8 when i downloaded it !!

how i can i use the 'new parts' without cvs ??

and if it isn't possible without cvs, where is a 'beginner manual' for it ??


thanks , GABI