----------------------------------------------------------------
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!!!
----------------------------------------------------------------
Should it read servername:port/servlets/Hello? I think it should be
servername:port/servlet/Hello - i.e. just "servlet" not servlets".
-----Original Message-----
From: O'Connor Cormac-coconn01 [mailto:Cormac.O'[EMAIL PROTECTED]]
Sent: Wednesday, November 01, 2000 11:57 AM
To: '[EMAIL PROTECTED]'
Subject: Cannot see Hello example
----------------------------------------------------------------
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!!!
----------------------------------------------------------------
Having spent a couple of days trying (& eventually succeeding) to get
./configure to work, I'm now having trouble seeing the example Hello
servlet
after installing Apache JServ 1.1.2 on Apache 1.3.14 on a Solaris 2.5.1
box.
My error is a basic HTTP 404 File Not Found, when I try to access my
servername:port/servlets/Hello
Is there a simple change I need to make to jserv.conf, jserv.properties
or
httpd.conf to view the sample servlet?
This may be a basic configuration change, but I can't find the solution
having trawled through the FAQ.
If it's already in the FAQ and you know where - please point me to the
exact
solution & I apologise for not seeing it.
If it's not there can someone please let me know the answer ?
Here's what I've done so far:
Configured Apache
./configure --prefix=/path/to/apache --enable-module=so
--enable-shared=max
--enable-rule=SHARED_CODE
make
make install
Configured Apache Jserv
./configure --prefix=/path/to/jserv
--with-apache-src=/path/to/apachesource/
--with-jdk-home=/path/to/jdk1.2.1 --with-JSDK=/www/jsdk.jar
#### (jsdk.jar=v2.0) ####
make
make install
Then I re-configured Apache with
./configure --prefix=/path/to/apache --enable-module=so
--enable-shared=max
--add-module=/path/to/mod_jserv.c --enable-shared=jserv
--enable-module=jserv
Tried to make Apache, but couldn't find file jserv.h when compiling
extra
modules,
so I copied jserv.h from /path/to/jserv/source/c to
/path/to/apache/source/modules/extra & it worked
#### (Should /path/to/mod_jserv.c be
/path/to/apachesource/src/modules/extra/mod_jserv.c or
/path/to/jservsource/src/c/mod_jserv.c) ####
make
make install
I then added,
Include /path/to/jservsource/example/jserv.conf
#### (or should this be /path/to/jserv/etc/jserv.conf) ####
and started apache,
apachectl start
Starting apache does not give any errors, but the browser gives me the
404
error when I go to servername:port/servlets/Hello
Any help is greatly appreciated,
Cormac.
--
--------------------------------------------------------------
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]