xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Barnes <david...@yahoo.com>
Subject Unable to get Cocoon working
Date Tue, 08 Aug 2000 02:18:56 GMT
Hello,
I'm setting up Cocoon to be part of a test server for
the St. Louis Unix Users Group. I've got Tomcat going,
and I think I've followed the Cocoon directions, but
it still doesn't seem to be working.

What should my next steps be to debug? I don't see any
obvious error messages. The server, with all the
specs, is here: 

http://64.32.146.231/

The Cocoon pages are here:
http://64.32.146.231/examples/cocoon/

When I start Tomcat, I see the below:

Setting TOMCAT_HOME to bin/..
Using classpath:
.:bin/../lib/xerces_1_0_3.jar:bin/../lib/xalan_1_0_1.jar:bin/../lib/fop_0_12_1.jar:bin/../lib/cocoon.jar:bin/../lib/ant.jar:bin/../lib/bin:bin/../lib/cocoon.jar:bin/../lib/fop_0_12_1.jar:bin/../lib/jasper.jar:bin/../lib/servlet.jar:bin/../lib/servlet_2_2.jar:bin/../lib/stylebook-1.0-b2.jar:bin/../lib/test:bin/../lib/webserver.jar:bin/../lib/xalan_1_0_1.jar:bin/../lib/xerces_1_0_3.jar:bin/../lib/xml.jar:/usr/local/src/java/bin/../lib/tools.jar
[root@pilsner jakarta-tomcat]# Context log:
path="/examples" Adding context path="/examples" 
docBase="webapps/examples"
Context log: path="" Adding context path="" 
docBase="webapps/ROOT"
Context log: path="/test" Adding context path="/test" 
docBase="webapps/test"
Starting tomcat. Check logs/tomcat.log for error
messages 
Starting tomcat install="bin/.."
home="/usr/local/src/jakarta-tomcat"
classPath=".:bin/../lib/xerces_1_0_3.jar:bin/../lib/xalan_1_0_1.jar:bin/../lib/fop_0_12_1.jar:bin/../lib/cocoon.jar:bin/../lib/ant.jar:bin/../lib/bin:bin/../lib/cocoon.jar:bin/../lib/fop_0_12_1.jar:bin/../lib/jasper.jar:bin/../lib/servlet.jar:bin/../lib/servlet_2_2.jar:bin/../lib/stylebook-1.0-b2.jar:bin/../lib/test:bin/../lib/webserver.jar:bin/../lib/xalan_1_0_1.jar:bin/../lib/xerces_1_0_3.jar:bin/../lib/xml.jar:/usr/local/src/java/bin/../lib/tools.jar"
Context log: path="/admin" Automatic context load
docBase="/usr/local/src/jakarta-tomcat/webapps/admin"
Context log: path="/admin" Adding context
path="/admin" 
docBase="/usr/local/src/jakarta-tomcat/webapps/admin"

I altered the WEB-INF/web.xml file in the examples
subdirectory to contain the following:

   <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>
               
/usr/local/src/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>


What should I do next? Any help would be much
appreciated.

Thanks,

David Barnes



__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/

Mime
View raw message