Hi,
I'm having problems getting JServ to work. I think it may be the way
I have it set up. This is what I have:
Apache web server 1.3.6
Apache JServ 1.05b
using Unix - SunOS 5.6
I have my classpath and path pointing to the proper locations for
jsdk(2.0), etc.
The system admin helped me configure everything, though he is new, and
while I'm pretty sure he set up the web server correctly, not sure about
the JServ (he knows nothing about JServ).
1. I have a web server directory - called apache. This contains the
uncompressed files for the web server. /home/apache
2. I have a JServ directory - called jserv. /home/jserv
3. When we configured the web server, we put everything into another
directory: /home/binary/apache
-- that's one thing I'm not sure if it's right - to have the web
server
files split up between two directories...
Because it's that way, I have the following:
/home/binary/apache/conf/httpd.conf
/srm.conf
/access.conf
/home/apache/conf/httpd.conf-dist
/srm.conf-dist
/access.conf-dist
/home/jserv/conf/httpd.conf
/jserv.properties
/servlets.properties ( = zone.properties)
/module.conf
-- having two httpd.conf files is confusing to me
I have ApacheJServ.jar in several locations; mod_jserv.c and
mod_jserv.o (and a bunch of jserv_ ... files ) are located in:
/home/apache/src/modulels/jserv/
I made a zone called myservlets - so in jserv.properties I have:
zones=myservlets
myservlets.properties=/home/jserv/conf/servlets.properties
etc..
In /home/binary/apache/conf/httpd.conf I have:
Include /home/jserv/conf/module.conf
ServerRoot "/home/binary/apache"
etc...
In module.conf, I don't know what to put for ApJServMount:
ApJServMount /servlets /zone
i.e. ApJServMount /servlets /myservlets
or
ApJServMount /servlets ajpv11://machine.domain.edu:JServPort/zone
i.e. ApJServMount /servlets
ajpv11://blizzard4.cs.clemson.edu:8007/myservlets
(or do I use 8080? - the port for the web server is 8080, jserv
is 8007)
-- This ApJServMount has me stumped. I don't know what the first
parameter is (/servlets)?? - is it always /servlets, or is it
/zone/servlets
(i.e./ myservlets/servlets), or the directory where my servlets
will be located?
What else do I need to tell you??? No matter what I try, I get error
404 Not Found in Netscape (version 4.51). I am stopping and starting
the
JServ whenever I make any changes.
I have another directory called /home/myservlets where I intended to
keep all my servlets, but it seems to be looking for them in
/home/binary/apache/htdocs even if I make my
repositories =/home/myservlets (I think - have to double check about
that).
If anyone has any ideas - please let me know.
Thanks,
Cathy
[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]