Return-Path: Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 90235 invoked from network); 4 Apr 2000 13:43:50 -0000 Received: from andromeda.orionsci.com (HELO athena.orionsci.com) (207.19.76.254) by locus.apache.org with SMTP; 4 Apr 2000 13:43:50 -0000 Received: from SMTP agent by mail gateway Tue, 04 Apr 2000 09:46:18 -0500 Received: from orionsci.com ([192.246.204.20]) by athena.orionsci.com (Post.Office MTA v3.5.2 release 221 ID# 0-64753U300L2S100V35) with ESMTP id com for ; Tue, 4 Apr 2000 09:45:46 -0400 Message-ID: <38E9F28D.EC5D70B7@orionsci.com> Date: Tue, 04 Apr 2000 09:47:57 -0400 From: rajkumar@orionsci.com (Rajkumar, Joseph) Organization: Orion Scientific Systems, Inc. X-Mailer: Mozilla 4.72 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: cocoon-users@xml.apache.org Subject: Re: Apache jserv.conf References: <008d01bf9d77$b8164700$0701a8c0@esalon.largemedium.com> <20000403132537.A372@dt040n7f.maine.rr.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hi Mattew This IMHO is an error. I have it in this order in httpd.conf and not in jserv.conf AddHandler cocoon xml Action cocoon /servlet/org.apache.cocoon.Cocoon Regards Joseph Rajkumar Matthew Cordes wrote: > Hello, > I'm using jserv and Cocoon 1.7.2 with Apache 1.3.12 and for some reason > in my jserv.conf i f I include the following lines (as instructed), > Apache tells me this: > > >Invalid command 'Action', perhaps mis-spelled or defined by a module > >not included in the server configuration > > Here is exactly the line I added: > > >Action cocoon /servlet/org.apache.cocoon.Cocoon > >AddHandler cocoon xml > > If I comment out the Action line apache doesn't complain, but Cocoon > doesn't seem to work. Also, the Cocoon.xml I'm supposed to request from > apache, Is that a real file that I need to copy to my htdocs directory? > Or is it a virtual file created by Cocoon (I'm assuming virtual). > > Also, If I try to compile Cocoon via the build.sh script I get the > following error: > > Compiling 1 source files to > /usr/local/work/cocoon-1.7.2/build/classes > /usr/local/work/cocoon-1.7.2/build/src/org/apache/cocoon/parser/SunXMLParser.java:44: > class com.sun.xml.tree.XmlDocument is an abstract class. It can't be > instantiated. > return new XmlDocument(); > ^ > Note: /usr/local/work/cocoon-1.7.2/build/src/org/apache/cocoon/parser/SunXMLParser.java uses or overrides a deprecated API. Recompile with "-deprecation" for details. > > Any ideas? > > -matt > > --------------------------------------------------------------------- > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org > For additional commands, e-mail: cocoon-users-help@xml.apache.org