your problem is that you didn't change the jserv.conf
you need to add an ApJServMount directive for the lucas zone in your
jserv.conf. there are examples and comments in the jserv.conf itself.
"Jeff Abrahamson (via site@lelios)" wrote:
>
> Now that I have JServ 1.0 up and running and my servlets seem to work ok
> in the example directory, I thought I should be responsible and put them
> in their own directory. But what happens is that my apache 1.3.6 server
> thinks that <http://davinci.purple.com/lucas/hello> is in htdocs instead
> of being a servlet (see log entry at bottom).
>
> In particular, I configure as follows to add the new zone, as per the
> FAQ:
>
> - http.conf doesn't change
>
> - jserv.conf doesn't change
>
> - jserv.properties now says
>
> zones=example,lucas
> example.properties=/home/vividata/jssi/ApacheJServ-1.0/example/example.properties
>
> #lucas.properties=/home/httpd/conf/lucas.properties
> lucas.properties=/home/httpd/servlets/lucas/lucas.properties
>
> (Does it matter where lucas.properties goes?)
>
> Then in lucas.properties, the only thing that changes from
> example.properties is the repositories line:
>
> repositories=/home/httpd/servlets/lucas/
>
> And that directory looks ok. The hello.class file (not Hello.class)
> works if it's in example/ instead.
>
> [vividata@davinci lucas]$ ls -l /home/httpd/servlets/lucas/
> total 8
> -rw-rw-r-- 1 root root 1101 Jul 21 13:30 hello.class
> -rw-rw-r-- 1 root root 5303 Jul 21 13:30 lucas.properties
> [vividata@davinci lucas]$
>
> When I go to the URL that should run hello.class
> <http://davinci.purple.com/lucas/hello>, I see no response in the jserv
> log, but the following in the httpd log:
>
> 192.168.0.5 - - [21/Jul/1999:14:06:46 -0400] "GET /lucas/hello HTTP/1.0"
> 404 279
> [Wed Jul 21 14:06:46 1999] [error] [client 192.168.0.5] File does not
> exist: /usr/local/apache/htdocs/lucas/hello
>
> Of course it doesn't exist, it's supposed to look in the repositories
> directory, think I.
>
> Any suggestions appreciated.
>
> Tia.
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> READ THE FAQ!!!! <http://java.apache.org/faq/>
> Archives and Other: <http://java.apache.org/main/mail.html/>
> Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
READ THE FAQ!!!! <http://java.apache.org/faq/>
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]