I fixed this problem. But when I ask http://localhost:8080/cocoon/hello-page.xml I get 
just text/html on the screen and nothing else. Also the title of the browser window 
shows as <xsl:value-of select="title" />

I have attached the xml and xsl code

hello-page.xml
============

<?xml version="1.0"?>
<?xml-stylesheet href="hello-page-html.xsl" type="text/xsl"?>
<?cocoon-process type="xslt"?>

<!DOCTYPE page [
 <!ELEMENT page (title?, content)>
 <!ELEMENT title (#PCDATA)>
 <!ELEMENT content (paragraph+)>
 <!ELEMENT paragraph (#PCDATA)>
]>

<!-- Written by Stefano Mazzocchi "stefano@apache.org" -->

<page>
 <title>Hello, Welcome to Cocoon Frameworks</title>
 <content>
  <paragraph>This is my first Cocoon page!</paragraph>
 </content>
</page>

hello-page-html.xsl
==============

<?xml version="1.0"?>

<!-- Written by Stefano Mazzocchi "stefano@apache.org" -->

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

  <xsl:template match="page">
   <xsl:processing-instruction name="cocoon-format">type="text/html"</xsl:processing-instruction>
   <html>
    <head>
     <title>
      <xsl:value-of select="title" />
     </title>
    </head>
    <body bgcolor="#ffffff">
     <xsl:apply-templates />
    </body>
   </html>
  </xsl:template>

  <xsl:template match="title">
   <h1 align="center">
    <xsl:apply-templates/>
   </h1>
  </xsl:template>

  <xsl:template match="paragraph">
   <p align="center">
    <i>
     <xsl:apply-templates/>
    </i>
   </p>
  </xsl:template>

</xsl:stylesheet>

Regards,
N.Shiva

-----Original Message-----
From:	NARAYANAN, SHIVA 
Sent:	Tuesday, July 03, 2001 1:46 PM
To:	'cocoon-users-info@xml.apache.org'
Subject:	RuntimeException: Error creating org.apache.cocoon.processor.xsp.XSPProcessor:

I am getting this error when I access http://localhost:8080/cocoon/hello-page.xml .

Publishing Engine could not be initialized
java.lang.RuntimeException: Error creating org.apache.cocoon.processor.xsp.XSPProcessor: make sure the needed classes can be found in the classpath (org/apache/turbine/services/resources/TurbineResourceService)

•	I get this message when I start Tomcat

Including all jars in E:\jakarta-tomcat-3.2.2\lib in your CLASSPATH.

Using CLASSPATH: E:\jakarta-tomcat-3.2.2\classes;E:\jakarta-tomcat-3.2.2\lib\ant.jar;E:\jakarta-tomcat-3.2.2\lib\cocoon.jar;E:\jakarta-tomcat-3.2.2\lib\fop_0_15_0.jar;E:\jakarta-tomcat-3.2.2\lib\jasper.jar;E:\jakarta-tomcat-3.2.2\lib\jaxp.jar;E:\jakarta-tomcat-3.2.2\lib\servlet.jar;E:\jakarta-tomcat-3.2.2\lib\webserver.jar;E:\jakarta-tomcat-3.2.2\lib\xalan_1_2_D02.jar;E:\jakarta-tomcat-3.2.2\lib\xerces_1_2.jar;E:\jakarta-tomcat-3.2.2\lib\zzz-parser.jar;D:\IBM Connectors\classes;D:\IBMCON~1\CICS\Classes\CTGCLI~1.JAR;e:\dev\xml-cocoon\lib\*.jar;e:\jdk1.2.2\lib\tools.jar;E:\jakarta-tomcat-3.2.2\lib\xerces_1_2.jar;E:\jakarta-tomcat-3.2.2\lib\xalan_1_2_D02.jar;E:\jakarta-tomcat-3.2.2\lib\fop_0_15_0.jar;E:\jakarta-tomcat-3.2.2\lib\cocoon.jar;;E:\jakarta-tomcat-3.2.2\lib\xerces_1_2.jar;E:\jakarta-tomcat-3.2.2\lib\xalan_1_2_D02.jar;E:\jakarta-tomcat-3.2.2\lib\fop_0_13_0.jar;E:\jakarta-tomcat-3.2.2\lib\cocoon.jar;E:\jdk1.2.2\lib\tools.jar

Starting Tomcat in new window

•	I  get this message too
         ContextManger : Adding Context Ctx( /cocoon)

•	I am using Cocoon 1.8.2 , Tomcat 3.2.2, jdk1.2.2

•	Copied cocoon.properties to E:\jakarta-tomcat-3.2.2\conf

•	Copied cocoon.jar,xerces_1_2.jar,xalan_1_2_D02.jar,fop_0_13_0.jar to E:\jakarta-tomcat-3.2.2\lib

•	Added this to 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:/jakarta-tomcat-3.2.2/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>

•	Added this to tomcat.bat
===========================
rem Cocoon classes and libraries
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\xerces_1_2.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\xalan_1_2_D02.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\fop_0_13_0.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\cocoon.jar

Regards,
Shiva