----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------


On 08-Feb-2000 Tjabo Kloppenburg wrote:
> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files.  Don't make us guess your problem!!!
> ----------------------------------------------------------------
> 
> hi Walter,

The most common mistake with my name, but OK, I'm used to it.

> 
>> > when trying to surf to http://myserver/servlets/hello I get a 404 File not
>> > found.
>> Have a look at your jserv.properties files to see if the zone is defined
>> corretly, also you need to look at the zone file. That is were apache is
>> told
>> that /servlet[s]/ must be mapped to /usr/local/httpd/servlets/
> 
> Thanks, but I didn't find any errors. Is the ApJServMount statement
> correct?
> 
> in jserv.conf:
> ...
> repositories=/usr/local/httpd/servlets
> ApJServProperties /etc/httpd/jserv/jserv.properties
> ApJServMount /servlets /root
> ...

You don't need to set the repositories twice. The repositories should be in a
.properties file but I asum thats a type.

BTW: General classes/libs go into the repositories in the jserv.properties.
zone specific go into the zone.properties file. No need to set the repositories
twice.
 
> in jserv.properties I have:
> zones=root
> root.properties=/etc/httpd/jserv/zone.properties
> 
> and in zone.properties I have:
> repositories=/usr/local/httpd/servlets

Dit you make a servlet alias? Or is the class really hello.class and not
Hello.class.

I'm quite sure all these question have been asked before. Perhaps browsing the
archive will help you more.

Wouter
-- 
Mphasis Media BV.                                      Interactive architects
Wouter Boers <[EMAIL PROTECTED]>  Mphasis Media http://www.MphasiS.com
Phone: +31 (0)71 5238575                               Fax: +31 (0)71 5238576
Wouter Boers <[EMAIL PROTECTED]>                iKKe op het net http://www.iKKe.net


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to