----------------------------------------------------------------
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!!!
----------------------------------------------------------------

Could the problem be that you mount:

        ApJServMount /servlets /my_zone

but in jserv.properties you define zones as:

        zones=myf_zone

- Fernando


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> [EMAIL PROTECTED]
> Sent: Tuesday, July 11, 2000 7:36 AM
> To: Java Apache Users
> Subject: Apache Jserv not finding Servlets
>
>
>
> ----------------------------------------------------------------
> 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 all,
> Trying to implement servlets on a Linux Virtual server. with Apache Web
> server, Java, and jsdk2.0
>
> *All my paths are correct,
> *The web server is owned by user 'web' I can restart it, but I don't have
> rights to kill any of its processes.
> *The only extreme I have not got to is to give all files directories full
> rights ie, read, write, and execute. or reboot the virtual server.
>
> I've set up my httpd.conf, jserv.properties, and servle_zone.properties
> repositories files as per instruction on the Apache JServ FAQ
> http://java.apache.org/faq/fom-serve/cache/129.html
>
>      "I'm hoping to use the same zone name (but as separate zones) for two
> domains on the same machine."
>
> the browser cannot find the servlet using
> http://my.doamin.com/servlet/my_servlet the log files say as follows:
>
> File Jserv.log:
> [11/07/2000 10:53:20:157] (ERROR) ajp12: Servlet Error: Servlet zone
> "home/httpd
> /servlets/my_zone" not found.
>
> File error_log:
> [11/07/2000 10:53:20:157] (ERROR) ajp12: Servlet Error: Servlet zone
> "home/httpd
> /servlets/my_zone" not found.
>
>
> I need help badly, looked at www.workingdogs., this faq so far no success.
> Below are excerpts from the httpd.con, jserv.properties files.
> Help...........
> Thanks in advance.
>
> Tony.
>
>
> Entries in httpd.conf
> ==========================
> LoadModule jserv_module /usr/lib/apache/mod_jserv.so
>
> <IfModule mod_jserv.c>
> ApJServManual "off"
> ApJServDefaultProtocol "ajpv12"
> ApJServDefaultPort "8007"
> ApJServMount /servlets /my_zone
> ApJServMountCopy "on"
> <Location /jserv/>
>   SetHandler jserv-status
>   order deny,allow
>   deny from all
>   allow from my.domain.com 999.999.999.999
> </Location>
> </IfModule>
>
> <VirtualHost 999.999.999.999 my.domain.com>
>    ServerName my.domain.com
>    DocumentRoot /www/VirHostsDocs/my.domain.com
>    <IfModule mod_jserv.c>
>       ApJServDefaultPort 8007
>       ApJservAction .gsp /servlets/gsp
>       ApJServMount /servlets /home/httpd/servlets/my_zone
>    </IfModule>
> </VirtualHost>
>
>
> Entries in jserv.properties
> =====================
> wrapper.bin=/usr/apps/java/bin/java
> wrapper.class=org.apache.jserv.JServ
> wrapper.classpath=/usr/apps/java/lib/tools.jar
> wrapper.classpath=/usr/lib/apache/ApacheJServ.jar
> wrapper.classpath=/usr/apps/jsdk2.0/lib/jsdk.jar
> # *** Remember to add the path of your servlets! :) ***
> wrapper.classpath=/home/httpd/servlets/my_zone
> wrapper.protocol=ajpv12
> zones=myf_zone
> my_zone.properties=/directory/path/to/servlets/my_zone/my_zone.properties
> security.maxConnections=50
> security.allowedAddresses=127.0.0.1,IP.of.MyDomain.com
> log=true
> log.file=/var/log/httpd/jserv.log
>
>
>
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search Archives:
> <http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
> Problems?:           [EMAIL PROTECTED]
>
>



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search Archives: 
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to