I'm new to jserv, and servlets alltogether.
    I was trying to install cocoon, but couldn't get cocoon to recognize it's conf file, the location of which is passed as an initarg.  Then I tried a sample script included with the jserv I installed through my virtual server.  All the sample scripts without initargs work fine, but the script with the initarg used returns a 500 error.  When I check the jserv log I see this:
[31/07/2000 16:24:21:210] (ERROR) ajp12: Servlet Error: Initialization error while loading the servlet: Not given a directory to write survey results!
[31/07/2000 16:24:21:211] (ERROR) an error returned handling request via protocol "ajpv12"
 
    Here are the initialization lines in my zone.properties files.  I've verified in the source that those names (properties and resultsDir) are indeed the names of the arguments the servlets are attempting to find:
servlet.org.apache.cocoon.Cocoon.initArgs=properties=/usr/local/etc/httpd/cocoon/bin/cocoon.properties
servlet.survey.initArgs=resultsDir=/tmp
 
    Any help would be greatly appretiated.
 
Thanks,
Matt

Reply via email to