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

I am running apache 1.3.9 and JServ 1.1.1 on Solaris 2.7.  I have configured
my webserver to use jserv as a DSO.  And I have configured the webserver and
jserv according to the instructions with jserv.  I have a http.conf file
which includes a jserv.conf file which has 1 zone mounted like this:

ApJServMount /example /example

Also, my ApJServDefaultProtocl is ajpv12.

The jserv.properties file has one zone declared ("example") and the
example.properties file has its repositories list set to the absolute path
to where my .class servlet is.  My problem is that when I try to access my
servlet, the webserver still thinks that it is a normal http request going
into the htdocs directory, and hence I get a 404 response.  This is what I
type into my browser:

http://wings:1024/example/Hello

My werbserver runs on port 1024, and my servlet is Hello.class.  I'm not
running the webserver as root, so that is why I use port 1024.

I must be missing something pretty fundamental here.  Can anyone lend any
suggestions?

Here are some relevant sections from my configuration files:

in http.conf:
-------------
Include /usr/home/tu/apache_1.3.9/conf/jserv/jserv.conf

in jserv.conf:
--------------
LoadModule jserv_module /usr/home/tu/apache_1.3.9/libexec/mod_jserv.so
<IfModule mod_jserv.c>
ApJServManual off
ApJServProperties /usr/home/tu/apache_1.3.9/conf/jserv/jserv.properties
ApJServDefaultProtocol ajpv12
ApJServDefaultPort 8007
ApJServMount /example /example
ApJServMountCopy on

in jserv.properties:
--------------------
wrapper.bin=/usr/bin/java
wrapper.classpath=/usr/home/tu/apache_1.3.9/libexec/ApacheJServ.jar
wrapper.classpath=/usr/home/tu/jsdk2.1/jsdk.jar
zones=example
example.properties=/usr/home/tu/apache_1.3.9/conf/jserv/example.properties

in example.properties:
----------------------
repositories=/usr/home/tu/apache_1.3.9/servlets




Thanks,

Edward Lin
SS8 Networks Inc.
tel(613)5922100x229
fax(613)5929634
[EMAIL PROTECTED]
http://www.ss8networks.com





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