You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Leila Schneberger <le...@cim-logic.com> on 2000/03/14 20:11:10 UTC

Cocoon 1.7 handler "cocoon" not found

Hello,
I've recently installed cocoon 1.7. The *only* way I can ever see
Cocoon.xml is if the file already exists (doesn't seem to matter what is
in it). I get these errors in the httpd error_log for any xml files I
try to open:
 handler "cocoon" not found
What happens when I open any of the examples is that I see the xml file
as-is.

My environment is:
RedHat 6.1
Apache/1.3.9
ApacheJServ/1.1

Here's the lines from my jserv.properties file:
wrapper.classpath=/usr/lib/apache/ApacheJServ.jar
wrapper.classpath=/home/httpd/classes/servlet-2.0.jar
wrapper.classpath=/apps/cocoon-1.7/lib/fop_0_12_1.jar
#wrapper.classpath=/apps/cocoon-1.7/lib/servlet_2_2.jar
wrapper.classpath=/apps/cocoon-1.7/lib/stylebook-1.0-b2.jar
wrapper.classpath=/apps/cocoon-1.7/lib/xalan_0_19_4.jar
wrapper.classpath=/apps/cocoon-1.7/lib/xerces_1_0_1.jar
wrapper.classpath=/apps/cocoon-1.7/lib/xml.jar
wrapper.classpath=/apps/cocoon-1.7/bin/cocoon.jar
wrapper.classpath=/apps/jre1.2.2/lib/jndi.jar

Here's the lines from jserv.conf:
#ApJServAction .xml /servlets/org.apache.cocoon.Cocoon
Action cocoon /servlets/org.apache.cocoon.Cocoon
AddHandler cocoon xml

Invoking the localhost/servlets/IsItWorking indicates that Jserv is
working properly. Why isn't it recognizing the cocoon xml handler? Is
this a Jserv problem or a Cocoon problem? I can't seem to find much
documentation on where else to look.

Now that I've got a bogus Cocoon.xml file in my RootDirectory, I can at
least see the environment and engine information so I know I'm getting
close.

Any help would be greatly appreciated.
Thanks!
Leila