cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hitesh Kr. Seth" <hitesh.s...@seranova.com>
Subject XSP Configuration Problem
Date Mon, 27 Mar 2000 16:42:07 GMT
Greetings

I would really appreciate if someone could look
at this. Thanks a lot.

Problem with XSP (I think it is a configuration issue)

Environment
    Cocoon 1.7
        Installation Directory E:\Cocoon
    Xerces 1.0.3
    Xalan 1.0.0
    Tomcat Web Server/3.1 Beta (JSP 1.1; Servlet 2.2; Java 1.2.2; Windows NT
4.0 x86; java.vendor=Sun Microsystems Inc.
        Installation Directory G:\Tomcat
    CLASSPATH
        Using classpath:
    G:\tomcat\classes;G:\tomcat\lib\webserver.jar;G:\tomcat\lib\jasper.jar;
    G:\tomcat\lib\xml.jar;G:\tomcat\lib\servlet.jar;D:\java\lib\tools.jar;

G:\tomcat\lib\jndi.jar;G:\tomcat\lib\cocoon.jar;G:\tomcat\lib\fop_0_12_1.jar
;
    E:\Xalan\Xalan.jar;E:\Xalan\Xerces.jar

No changes made into the cocoon.properties file (default)

Tomcat Web Server Configuration (web.xml)
<servlet>
  <servlet-name>org.apache.cocoon.Cocoon</servlet-name>
  <servlet-class>org.apache.cocoon.Cocoon</servlet-class>
  <init-param>
   <param-name>properties</param-name>
   <param-value>E:/Cocoon/conf/cocoon.properties</param-value>
  </init-param>
 </servlet>
 <servlet-mapping>
  <servlet-name>org.apache.cocoon.Cocoon</servlet-name>
  <url-pattern>*.xml</url-pattern>
 </servlet-mapping>


XSP File (HelloXSP.xml)

<?xml version="1.0"?>
<?cocoon-process type="xsp"?>
<xsp:page language="java" xmlns:xsp="http://www.apache.org/1999/XSP/Core">
 <page>
  <title>Hello World</title>
  <xsp:content>Hello World</xsp:content>
 </page>
</xsp:page>

Error:
    Error found handling the request.
    java.lang.NoSuchMethodError
         at
org.apache.xerces.dom.ElementImpl.normalize(ElementImpl.java:290)
         at
org.apache.cocoon.processor.xsp.language.java.XSPJavaPreprocessor.process(XS
PJavaPreprocessor.java:115)

(I tried the XSP examples in Cocoon (they don't work either,
However the normal xml/xsl work fine; So Cocoon is working)

Thanks.

Best Regards

Hitesh Kr. Seth.


Mime
View raw message